]> git.saurik.com Git - wxWidgets.git/blob - configure
fix the problem with parsing HTML comments (closes bug 1116708; based on patch 1168583)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 REZ
711 DEREZ
712 SETFILE
713 LIBICONV
714 SDL_CONFIG
715 SDL_CFLAGS
716 SDL_LIBS
717 LIBGNOMEPRINTUI_CFLAGS
718 LIBGNOMEPRINTUI_LIBS
719 GNOMEVFS_CFLAGS
720 GNOMEVFS_LIBS
721 HILDON_CFLAGS
722 HILDON_LIBS
723 CAIRO_CFLAGS
724 CAIRO_LIBS
725 GST_CFLAGS
726 GST_LIBS
727 CORE_BASE_LIBS
728 CORE_GUI_LIBS
729 wxUSE_ZLIB
730 wxUSE_REGEX
731 wxUSE_EXPAT
732 wxUSE_ODBC
733 wxUSE_LIBJPEG
734 wxUSE_LIBPNG
735 wxUSE_LIBTIFF
736 VENDOR
737 OFFICIAL_BUILD
738 WX_FLAVOUR
739 WX_LIB_FLAVOUR
740 WXUNIV
741 MONOLITHIC
742 USE_PLUGINS
743 EXTRALIBS
744 EXTRALIBS_XML
745 EXTRALIBS_HTML
746 EXTRALIBS_ODBC
747 EXTRALIBS_GUI
748 EXTRALIBS_OPENGL
749 EXTRALIBS_SDL
750 WITH_PLUGIN_SDL
751 EXTRALIBS_GNOMEPRINT
752 EXTRALIBS_GNOMEVFS
753 EXTRALIBS_HILDON
754 UNICODE
755 BUILD
756 DEBUG_INFO
757 DEBUG_FLAG
758 TOOLKIT_LOWERCASE
759 TOOLKIT_VERSION
760 SAMPLES_RPATH_FLAG
761 SAMPLES_RPATH_POSTLINK
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 SET_MAKE
766 MAKE_SET
767 AROPTIONS
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 PLATFORM_UNIX
772 PLATFORM_WIN32
773 PLATFORM_MSDOS
774 PLATFORM_MAC
775 PLATFORM_MACOS
776 PLATFORM_MACOSX
777 PLATFORM_OS2
778 PLATFORM_BEOS
779 SO_SUFFIX
780 SO_SUFFIX_MODULE
781 DLLIMP_SUFFIX
782 LIBPREFIX
783 LIBEXT
784 DLLPREFIX
785 DLLPREFIX_MODULE
786 dlldir
787 AIX_CXX_LD
788 SHARED_LD_CC
789 SHARED_LD_CXX
790 SHARED_LD_MODULE_CC
791 SHARED_LD_MODULE_CXX
792 PIC_FLAG
793 WINDOWS_IMPLIB
794 USE_SOVERSION
795 USE_SOVERLINUX
796 USE_SOVERSOLARIS
797 USE_SOVERCYGWIN
798 USE_MACVERSION
799 USE_SOSYMLINKS
800 SONAME_FLAG
801 DEPS_TRACKING
802 BK_DEPS
803 GCC_PCH
804 ICC_PCH
805 BK_MAKE_PCH
806 COND_BUILD_DEBUG
807 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
808 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
809 COND_BUILD_DEBUG_UNICODE_0
810 COND_BUILD_DEBUG_UNICODE_1
811 COND_BUILD_RELEASE
812 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
813 COND_BUILD_RELEASE_UNICODE_0
814 COND_BUILD_RELEASE_UNICODE_1
815 COND_DEBUG_FLAG_1
816 COND_DEBUG_INFO_0
817 COND_DEBUG_INFO_1
818 COND_DEPS_TRACKING_0
819 COND_DEPS_TRACKING_1
820 COND_GCC_PCH_1
821 COND_ICC_PCH_1
822 COND_MONOLITHIC_0
823 COND_MONOLITHIC_0_SHARED_0
824 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
832 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MAC_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
877 COND_PLATFORM_OS2_1
878 COND_PLATFORM_UNIX_0
879 COND_PLATFORM_UNIX_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
886 COND_SHARED_0
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_STC_1
895 COND_SHARED_0_USE_XRC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_ODBC_BUILTIN
898 COND_SHARED_0_WXUSE_REGEX_BUILTIN
899 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
900 COND_SHARED_1
901 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
902 COND_SHARED_1_USE_XRC_1
903 COND_TOOLKIT_
904 COND_TOOLKIT_COCOA
905 COND_TOOLKIT_COCOA_USE_GUI_1
906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
907 COND_TOOLKIT_DFB
908 COND_TOOLKIT_DFB_USE_GUI_1
909 COND_TOOLKIT_GTK
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_GTK_USE_GUI_1
917 COND_TOOLKIT_MAC
918 COND_TOOLKIT_MAC_USE_GUI_1
919 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MGL
921 COND_TOOLKIT_MGL_USE_GUI_1
922 COND_TOOLKIT_MOTIF
923 COND_TOOLKIT_MOTIF_USE_GUI_1
924 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW
926 COND_TOOLKIT_MSW_USE_GUI_1
927 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW_WXUNIV_0
929 COND_TOOLKIT_PM
930 COND_TOOLKIT_PM_USE_GUI_1
931 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE
933 COND_TOOLKIT_WINCE_USE_GUI_1
934 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE_WXUNIV_0
936 COND_TOOLKIT_X11
937 COND_TOOLKIT_X11_USE_GUI_1
938 COND_UNICODE_1
939 COND_USE_EXCEPTIONS_0
940 COND_USE_EXCEPTIONS_1
941 COND_USE_GUI_0
942 COND_USE_GUI_1
943 COND_USE_GUI_1_WXUNIV_0
944 COND_USE_GUI_1_WXUNIV_1
945 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
948 COND_USE_ODBC_1
949 COND_USE_OPENGL_1
950 COND_USE_PCH_1
951 COND_USE_PLUGINS_0
952 COND_USE_RTTI_0
953 COND_USE_RTTI_1
954 COND_USE_SOSYMLINKS_1
955 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
956 COND_USE_SOVERLINUX_1
957 COND_USE_SOVERSION_0
958 COND_USE_SOVERSOLARIS_1
959 COND_USE_STC_1
960 COND_USE_THREADS_0
961 COND_USE_THREADS_1
962 COND_USE_XRC_1
963 COND_WINDOWS_IMPLIB_1
964 COND_WITH_PLUGIN_SDL_1
965 COND_WXUNIV_0
966 COND_WXUNIV_1
967 COND_WXUSE_EXPAT_BUILTIN
968 COND_WXUSE_LIBJPEG_BUILTIN
969 COND_WXUSE_LIBPNG_BUILTIN
970 COND_WXUSE_LIBTIFF_BUILTIN
971 COND_WXUSE_ODBC_BUILTIN
972 COND_WXUSE_REGEX_BUILTIN
973 COND_WXUSE_ZLIB_BUILTIN
974 SHARED
975 WX_LIBRARY_BASENAME_NOGUI
976 WX_LIBRARY_BASENAME_GUI
977 USE_GUI
978 AFMINSTALL
979 WIN32INSTALL
980 TOOLKIT
981 TOOLKIT_DIR
982 TOOLCHAIN_NAME
983 TOOLCHAIN_FULLNAME
984 cross_compiling
985 WIDGET_SET
986 WX_RELEASE
987 WX_VERSION
988 WX_SUBVERSION
989 WX_CHARTYPE
990 WX_DEBUGTYPE
991 WXCONFIG_CPPFLAGS
992 WXCONFIG_CFLAGS
993 WXCONFIG_CXXFLAGS
994 WXCONFIG_LIBS
995 WXCONFIG_RPATH
996 WXCONFIG_LDFLAGS_GUI
997 WXCONFIG_RESFLAGS
998 EXE_LINKER
999 GUIDIST
1000 DISTDIR
1001 SAMPLES_SUBDIRS
1002 LDFLAGS_GL
1003 OPENGL_LIBS
1004 DMALLOC_LIBS
1005 WX_VERSION_TAG
1006 RESCOMP
1007 RESFLAGS
1008 RESPROGRAMOBJ
1009 WX_RESOURCES_MACOSX_ASCII
1010 WX_RESOURCES_MACOSX_DATA
1011 LIBWXMACRES
1012 POSTLINK_COMMAND
1013 MACSETFILE
1014 GCC
1015 CPPUNIT_CONFIG
1016 LIBOBJS
1017 LTLIBOBJS'
1018 ac_subst_files=''
1019 ac_precious_vars='build_alias
1020 host_alias
1021 target_alias
1022 CC
1023 CFLAGS
1024 LDFLAGS
1025 LIBS
1026 CPPFLAGS
1027 CPP
1028 CXX
1029 CXXFLAGS
1030 CCC
1031 PKG_CONFIG
1032 DIRECTFB_CFLAGS
1033 DIRECTFB_LIBS
1034 XMKMF
1035 PANGOX_CFLAGS
1036 PANGOX_LIBS
1037 PANGOFT2_CFLAGS
1038 PANGOFT2_LIBS
1039 PANGOXFT_CFLAGS
1040 PANGOXFT_LIBS
1041 LIBGNOMEPRINTUI_CFLAGS
1042 LIBGNOMEPRINTUI_LIBS
1043 GNOMEVFS_CFLAGS
1044 GNOMEVFS_LIBS
1045 HILDON_CFLAGS
1046 HILDON_LIBS
1047 CAIRO_CFLAGS
1048 CAIRO_LIBS
1049 GST_CFLAGS
1050 GST_LIBS'
1051 ac_subdirs_all='src/expat'
1052
1053 # Initialize some variables set by options.
1054 ac_init_help=
1055 ac_init_version=false
1056 # The variables have the same names as the options, with
1057 # dashes changed to underlines.
1058 cache_file=/dev/null
1059 exec_prefix=NONE
1060 no_create=
1061 no_recursion=
1062 prefix=NONE
1063 program_prefix=NONE
1064 program_suffix=NONE
1065 program_transform_name=s,x,x,
1066 silent=
1067 site=
1068 srcdir=
1069 verbose=
1070 x_includes=NONE
1071 x_libraries=NONE
1072
1073 # Installation directory options.
1074 # These are left unexpanded so users can "make install exec_prefix=/foo"
1075 # and all the variables that are supposed to be based on exec_prefix
1076 # by default will actually change.
1077 # Use braces instead of parens because sh, perl, etc. also accept them.
1078 # (The list follows the same order as the GNU Coding Standards.)
1079 bindir='${exec_prefix}/bin'
1080 sbindir='${exec_prefix}/sbin'
1081 libexecdir='${exec_prefix}/libexec'
1082 datarootdir='${prefix}/share'
1083 datadir='${datarootdir}'
1084 sysconfdir='${prefix}/etc'
1085 sharedstatedir='${prefix}/com'
1086 localstatedir='${prefix}/var'
1087 includedir='${prefix}/include'
1088 oldincludedir='/usr/include'
1089 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1090 infodir='${datarootdir}/info'
1091 htmldir='${docdir}'
1092 dvidir='${docdir}'
1093 pdfdir='${docdir}'
1094 psdir='${docdir}'
1095 libdir='${exec_prefix}/lib'
1096 localedir='${datarootdir}/locale'
1097 mandir='${datarootdir}/man'
1098
1099 ac_prev=
1100 ac_dashdash=
1101 for ac_option
1102 do
1103 # If the previous option needs an argument, assign it.
1104 if test -n "$ac_prev"; then
1105 eval $ac_prev=\$ac_option
1106 ac_prev=
1107 continue
1108 fi
1109
1110 case $ac_option in
1111 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1112 *) ac_optarg=yes ;;
1113 esac
1114
1115 # Accept the important Cygnus configure options, so we can diagnose typos.
1116
1117 case $ac_dashdash$ac_option in
1118 --)
1119 ac_dashdash=yes ;;
1120
1121 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1122 ac_prev=bindir ;;
1123 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1124 bindir=$ac_optarg ;;
1125
1126 -build | --build | --buil | --bui | --bu)
1127 ac_prev=build_alias ;;
1128 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1129 build_alias=$ac_optarg ;;
1130
1131 -cache-file | --cache-file | --cache-fil | --cache-fi \
1132 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1133 ac_prev=cache_file ;;
1134 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1135 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1136 cache_file=$ac_optarg ;;
1137
1138 --config-cache | -C)
1139 cache_file=config.cache ;;
1140
1141 -datadir | --datadir | --datadi | --datad)
1142 ac_prev=datadir ;;
1143 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1144 datadir=$ac_optarg ;;
1145
1146 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1147 | --dataroo | --dataro | --datar)
1148 ac_prev=datarootdir ;;
1149 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1150 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1151 datarootdir=$ac_optarg ;;
1152
1153 -disable-* | --disable-*)
1154 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1158 { (exit 1); exit 1; }; }
1159 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1160 eval enable_$ac_feature=no ;;
1161
1162 -docdir | --docdir | --docdi | --doc | --do)
1163 ac_prev=docdir ;;
1164 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1165 docdir=$ac_optarg ;;
1166
1167 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1168 ac_prev=dvidir ;;
1169 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1170 dvidir=$ac_optarg ;;
1171
1172 -enable-* | --enable-*)
1173 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1176 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1177 { (exit 1); exit 1; }; }
1178 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1179 eval enable_$ac_feature=\$ac_optarg ;;
1180
1181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1183 | --exec | --exe | --ex)
1184 ac_prev=exec_prefix ;;
1185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1187 | --exec=* | --exe=* | --ex=*)
1188 exec_prefix=$ac_optarg ;;
1189
1190 -gas | --gas | --ga | --g)
1191 # Obsolete; use --with-gas.
1192 with_gas=yes ;;
1193
1194 -help | --help | --hel | --he | -h)
1195 ac_init_help=long ;;
1196 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1197 ac_init_help=recursive ;;
1198 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1199 ac_init_help=short ;;
1200
1201 -host | --host | --hos | --ho)
1202 ac_prev=host_alias ;;
1203 -host=* | --host=* | --hos=* | --ho=*)
1204 host_alias=$ac_optarg ;;
1205
1206 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1207 ac_prev=htmldir ;;
1208 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1209 | --ht=*)
1210 htmldir=$ac_optarg ;;
1211
1212 -includedir | --includedir | --includedi | --included | --include \
1213 | --includ | --inclu | --incl | --inc)
1214 ac_prev=includedir ;;
1215 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1216 | --includ=* | --inclu=* | --incl=* | --inc=*)
1217 includedir=$ac_optarg ;;
1218
1219 -infodir | --infodir | --infodi | --infod | --info | --inf)
1220 ac_prev=infodir ;;
1221 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1222 infodir=$ac_optarg ;;
1223
1224 -libdir | --libdir | --libdi | --libd)
1225 ac_prev=libdir ;;
1226 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1227 libdir=$ac_optarg ;;
1228
1229 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1230 | --libexe | --libex | --libe)
1231 ac_prev=libexecdir ;;
1232 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1233 | --libexe=* | --libex=* | --libe=*)
1234 libexecdir=$ac_optarg ;;
1235
1236 -localedir | --localedir | --localedi | --localed | --locale)
1237 ac_prev=localedir ;;
1238 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1239 localedir=$ac_optarg ;;
1240
1241 -localstatedir | --localstatedir | --localstatedi | --localstated \
1242 | --localstate | --localstat | --localsta | --localst | --locals)
1243 ac_prev=localstatedir ;;
1244 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1245 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1246 localstatedir=$ac_optarg ;;
1247
1248 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1249 ac_prev=mandir ;;
1250 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1251 mandir=$ac_optarg ;;
1252
1253 -nfp | --nfp | --nf)
1254 # Obsolete; use --without-fp.
1255 with_fp=no ;;
1256
1257 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1258 | --no-cr | --no-c | -n)
1259 no_create=yes ;;
1260
1261 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1262 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1263 no_recursion=yes ;;
1264
1265 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1266 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1267 | --oldin | --oldi | --old | --ol | --o)
1268 ac_prev=oldincludedir ;;
1269 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1270 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1271 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1272 oldincludedir=$ac_optarg ;;
1273
1274 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1275 ac_prev=prefix ;;
1276 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1277 prefix=$ac_optarg ;;
1278
1279 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1280 | --program-pre | --program-pr | --program-p)
1281 ac_prev=program_prefix ;;
1282 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1283 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1284 program_prefix=$ac_optarg ;;
1285
1286 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1287 | --program-suf | --program-su | --program-s)
1288 ac_prev=program_suffix ;;
1289 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1290 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1291 program_suffix=$ac_optarg ;;
1292
1293 -program-transform-name | --program-transform-name \
1294 | --program-transform-nam | --program-transform-na \
1295 | --program-transform-n | --program-transform- \
1296 | --program-transform | --program-transfor \
1297 | --program-transfo | --program-transf \
1298 | --program-trans | --program-tran \
1299 | --progr-tra | --program-tr | --program-t)
1300 ac_prev=program_transform_name ;;
1301 -program-transform-name=* | --program-transform-name=* \
1302 | --program-transform-nam=* | --program-transform-na=* \
1303 | --program-transform-n=* | --program-transform-=* \
1304 | --program-transform=* | --program-transfor=* \
1305 | --program-transfo=* | --program-transf=* \
1306 | --program-trans=* | --program-tran=* \
1307 | --progr-tra=* | --program-tr=* | --program-t=*)
1308 program_transform_name=$ac_optarg ;;
1309
1310 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1311 ac_prev=pdfdir ;;
1312 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1313 pdfdir=$ac_optarg ;;
1314
1315 -psdir | --psdir | --psdi | --psd | --ps)
1316 ac_prev=psdir ;;
1317 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1318 psdir=$ac_optarg ;;
1319
1320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1321 | -silent | --silent | --silen | --sile | --sil)
1322 silent=yes ;;
1323
1324 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1325 ac_prev=sbindir ;;
1326 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1327 | --sbi=* | --sb=*)
1328 sbindir=$ac_optarg ;;
1329
1330 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1331 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1332 | --sharedst | --shareds | --shared | --share | --shar \
1333 | --sha | --sh)
1334 ac_prev=sharedstatedir ;;
1335 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1336 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1337 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1338 | --sha=* | --sh=*)
1339 sharedstatedir=$ac_optarg ;;
1340
1341 -site | --site | --sit)
1342 ac_prev=site ;;
1343 -site=* | --site=* | --sit=*)
1344 site=$ac_optarg ;;
1345
1346 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1347 ac_prev=srcdir ;;
1348 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1349 srcdir=$ac_optarg ;;
1350
1351 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1352 | --syscon | --sysco | --sysc | --sys | --sy)
1353 ac_prev=sysconfdir ;;
1354 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1355 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1356 sysconfdir=$ac_optarg ;;
1357
1358 -target | --target | --targe | --targ | --tar | --ta | --t)
1359 ac_prev=target_alias ;;
1360 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1361 target_alias=$ac_optarg ;;
1362
1363 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1364 verbose=yes ;;
1365
1366 -version | --version | --versio | --versi | --vers | -V)
1367 ac_init_version=: ;;
1368
1369 -with-* | --with-*)
1370 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1371 # Reject names that are not valid shell variable names.
1372 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1373 { echo "$as_me: error: invalid package name: $ac_package" >&2
1374 { (exit 1); exit 1; }; }
1375 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1376 eval with_$ac_package=\$ac_optarg ;;
1377
1378 -without-* | --without-*)
1379 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1382 { echo "$as_me: error: invalid package name: $ac_package" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1385 eval with_$ac_package=no ;;
1386
1387 --x)
1388 # Obsolete; use --with-x.
1389 with_x=yes ;;
1390
1391 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1392 | --x-incl | --x-inc | --x-in | --x-i)
1393 ac_prev=x_includes ;;
1394 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1395 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1396 x_includes=$ac_optarg ;;
1397
1398 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1399 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1400 ac_prev=x_libraries ;;
1401 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1402 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1403 x_libraries=$ac_optarg ;;
1404
1405 -*) { echo "$as_me: error: unrecognized option: $ac_option
1406 Try \`$0 --help' for more information." >&2
1407 { (exit 1); exit 1; }; }
1408 ;;
1409
1410 *=*)
1411 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1414 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1415 { (exit 1); exit 1; }; }
1416 eval $ac_envvar=\$ac_optarg
1417 export $ac_envvar ;;
1418
1419 *)
1420 # FIXME: should be removed in autoconf 3.0.
1421 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1422 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1423 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1424 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1425 ;;
1426
1427 esac
1428 done
1429
1430 if test -n "$ac_prev"; then
1431 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1432 { echo "$as_me: error: missing argument to $ac_option" >&2
1433 { (exit 1); exit 1; }; }
1434 fi
1435
1436 # Be sure to have absolute directory names.
1437 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1438 datadir sysconfdir sharedstatedir localstatedir includedir \
1439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1440 libdir localedir mandir
1441 do
1442 eval ac_val=\$$ac_var
1443 case $ac_val in
1444 [\\/$]* | ?:[\\/]* ) continue;;
1445 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1446 esac
1447 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1448 { (exit 1); exit 1; }; }
1449 done
1450
1451 # There might be people who depend on the old broken behavior: `$host'
1452 # used to hold the argument of --host etc.
1453 # FIXME: To remove some day.
1454 build=$build_alias
1455 host=$host_alias
1456 target=$target_alias
1457
1458 # FIXME: To remove some day.
1459 if test "x$host_alias" != x; then
1460 if test "x$build_alias" = x; then
1461 cross_compiling=maybe
1462 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1463 If a cross compiler is detected then cross compile mode will be used." >&2
1464 elif test "x$build_alias" != "x$host_alias"; then
1465 cross_compiling=yes
1466 fi
1467 fi
1468
1469 ac_tool_prefix=
1470 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1471
1472 test "$silent" = yes && exec 6>/dev/null
1473
1474
1475 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1476 ac_ls_di=`ls -di .` &&
1477 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1478 { echo "$as_me: error: Working directory cannot be determined" >&2
1479 { (exit 1); exit 1; }; }
1480 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1481 { echo "$as_me: error: pwd does not report name of working directory" >&2
1482 { (exit 1); exit 1; }; }
1483
1484
1485 # Find the source files, if location was not specified.
1486 if test -z "$srcdir"; then
1487 ac_srcdir_defaulted=yes
1488 # Try the directory containing this script, then the parent directory.
1489 ac_confdir=`$as_dirname -- "$0" ||
1490 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1491 X"$0" : 'X\(//\)[^/]' \| \
1492 X"$0" : 'X\(//\)$' \| \
1493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1494 echo X"$0" |
1495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1496 s//\1/
1497 q
1498 }
1499 /^X\(\/\/\)[^/].*/{
1500 s//\1/
1501 q
1502 }
1503 /^X\(\/\/\)$/{
1504 s//\1/
1505 q
1506 }
1507 /^X\(\/\).*/{
1508 s//\1/
1509 q
1510 }
1511 s/.*/./; q'`
1512 srcdir=$ac_confdir
1513 if test ! -r "$srcdir/$ac_unique_file"; then
1514 srcdir=..
1515 fi
1516 else
1517 ac_srcdir_defaulted=no
1518 fi
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1521 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1522 { (exit 1); exit 1; }; }
1523 fi
1524 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1525 ac_abs_confdir=`(
1526 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1527 { (exit 1); exit 1; }; }
1528 pwd)`
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531 srcdir=.
1532 fi
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1536 case $srcdir in
1537 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1538 esac
1539 for ac_var in $ac_precious_vars; do
1540 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_env_${ac_var}_value=\$${ac_var}
1542 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1544 done
1545
1546 #
1547 # Report the --help message.
1548 #
1549 if test "$ac_init_help" = "long"; then
1550 # Omit some internal or obsolete options to make the list less imposing.
1551 # This message is too long to be a string in the A/UX 3.1 sh.
1552 cat <<_ACEOF
1553 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1554
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1556
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE. See below for descriptions of some of the useful variables.
1559
1560 Defaults for the options are specified in brackets.
1561
1562 Configuration:
1563 -h, --help display this help and exit
1564 --help=short display options specific to this package
1565 --help=recursive display the short help of all the included packages
1566 -V, --version display version information and exit
1567 -q, --quiet, --silent do not print \`checking...' messages
1568 --cache-file=FILE cache test results in FILE [disabled]
1569 -C, --config-cache alias for \`--cache-file=config.cache'
1570 -n, --no-create do not create output files
1571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1572
1573 Installation directories:
1574 --prefix=PREFIX install architecture-independent files in PREFIX
1575 [$ac_default_prefix]
1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577 [PREFIX]
1578
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1583
1584 For better control, use the options below.
1585
1586 Fine tuning of the installation directories:
1587 --bindir=DIR user executables [EPREFIX/bin]
1588 --sbindir=DIR system admin executables [EPREFIX/sbin]
1589 --libexecdir=DIR program executables [EPREFIX/libexec]
1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1593 --libdir=DIR object code libraries [EPREFIX/lib]
1594 --includedir=DIR C header files [PREFIX/include]
1595 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1598 --infodir=DIR info documentation [DATAROOTDIR/info]
1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1600 --mandir=DIR man documentation [DATAROOTDIR/man]
1601 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1602 --htmldir=DIR html documentation [DOCDIR]
1603 --dvidir=DIR dvi documentation [DOCDIR]
1604 --pdfdir=DIR pdf documentation [DOCDIR]
1605 --psdir=DIR ps documentation [DOCDIR]
1606 _ACEOF
1607
1608 cat <<\_ACEOF
1609
1610 X features:
1611 --x-includes=DIR X include files are in DIR
1612 --x-libraries=DIR X library files are in DIR
1613
1614 System types:
1615 --build=BUILD configure for building on BUILD [guessed]
1616 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1617 --target=TARGET configure for building compilers for TARGET [HOST]
1618 _ACEOF
1619 fi
1620
1621 if test -n "$ac_init_help"; then
1622 case $ac_init_help in
1623 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1624 esac
1625 cat <<\_ACEOF
1626
1627 Optional Features:
1628 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1629 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1630 --enable-gui use GUI classes
1631 --enable-monolithic build wxWidgets as single library
1632 --enable-plugins build parts of wxWidgets as loadable components
1633 --enable-universal use wxWidgets GUI controls instead of native ones
1634 --enable-nanox use NanoX
1635 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1636 --enable-gpe use GNOME PDA Environment features if possible
1637 --enable-shared create shared library code
1638 --enable-optimise create optimised code
1639 --enable-debug same as debug_flag and debug_info
1640 --enable-stl use STL for containers
1641 --enable-omf use OMF object format
1642 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1643 --enable-debug_info create code with debugging information
1644 --enable-debug_gdb create code with extra GDB debugging information
1645 --enable-debug_cntxt use wxDebugContext
1646 --enable-mem_tracing create code with memory tracing
1647 --enable-profile create code with profiling information
1648 --enable-no_rtti create code without RTTI information
1649 --enable-no_exceptions create code without C++ exceptions handling
1650 --enable-permissive compile code disregarding strict ANSI
1651 --enable-no_deps create code without dependency information
1652 --disable-vararg_macros don't use vararg macros, even if they are supported
1653 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1654 --enable-compat26 enable wxWidgets 2.6 compatibility
1655 --disable-compat28 disable wxWidgets 2.8 compatibility
1656 --disable-rpath disable use of rpath for uninstalled builds
1657 --enable-intl use internationalization system
1658 --enable-config use wxConfig (and derived) classes
1659 --enable-protocols use wxProtocol and derived classes
1660 --enable-ftp use wxFTP (requires wxProtocol
1661 --enable-http use wxHTTP (requires wxProtocol
1662 --enable-fileproto use wxFileProto class (requires wxProtocol
1663 --enable-sockets use socket/network classes
1664 --enable-ole use OLE classes (Win32 only)
1665 --enable-dataobj use data object classes
1666 --enable-ipc use interprocess communication (wxSocket etc.)
1667 --enable-apple_ieee use the Apple IEEE codec
1668 --enable-arcstream use wxArchive streams
1669 --enable-backtrace use wxStackWalker class for getting backtraces
1670 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1671 --enable-cmdline use wxCmdLineParser class
1672 --enable-datetime use wxDateTime class
1673 --enable-debugreport use wxDebugReport class
1674 --enable-dialupman use dialup network classes
1675 --enable-dynlib use wxLibrary class for DLL loading
1676 --enable-dynamicloader use (new) wxDynamicLibrary class
1677 --enable-exceptions build exception-safe library
1678 --enable-ffile use wxFFile class
1679 --enable-file use wxFile class
1680 --enable-filesystem use virtual file systems classes
1681 --enable-fontmap use font encodings conversion classes
1682 --enable-fs_archive use virtual archive filesystems
1683 --enable-fs_inet use virtual HTTP/FTP filesystems
1684 --enable-fs_zip now replaced by fs_archive
1685 --enable-geometry use geometry class
1686 --enable-log use logging system
1687 --enable-longlong use wxLongLong class
1688 --enable-mimetype use wxMimeTypesManager
1689 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1690 --enable-snglinst use wxSingleInstanceChecker class
1691 --enable-std_iostreams use standard C++ stream classes
1692 --enable-std_string use standard C++ string classes
1693 --enable-stdpaths use wxStandardPaths class
1694 --enable-stopwatch use wxStopWatch class
1695 --enable-streams use wxStream etc classes
1696 --enable-sysoptions use wxSystemOptions
1697 --enable-tarstream use wxTar streams
1698 --enable-textbuf use wxTextBuffer class
1699 --enable-textfile use wxTextFile class
1700 --enable-timer use wxTimer class
1701 --enable-unicode compile wxString with Unicode support
1702 --enable-sound use wxSound class
1703 --enable-mediactrl use wxMediaCtrl class
1704 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1705 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1706 --enable-zipstream use wxZip streams
1707 --enable-url use wxURL class
1708 --enable-variant use wxVariant class
1709 --enable-protocol use wxProtocol class
1710 --enable-protocol-http HTTP support in wxProtocol
1711 --enable-protocol-ftp FTP support in wxProtocol
1712 --enable-protocol-file FILE support in wxProtocol
1713 --enable-threads use threads
1714 --enable-docview use document view architecture
1715 --enable-help use help subsystem
1716 --enable-mshtmlhelp use MS HTML Help (win32)
1717 --enable-html use wxHTML sub-library
1718 --enable-htmlhelp use wxHTML-based help
1719 --enable-xrc use XRC resources sub-library
1720 --enable-aui use AUI docking library
1721 --enable-stc use wxStyledTextCtrl library
1722 --enable-constraints use layout-constraints system
1723 --enable-printarch use printing architecture
1724 --enable-mdi use multiple document interface architecture
1725 --enable-mdidoc use docview architecture with MDI
1726 --enable-loggui use standard GUI logger
1727 --enable-logwin use wxLogWindow
1728 --enable-logdialog use wxLogDialog
1729 --enable-webkit use wxWebKitCtrl (Mac)
1730 --enable-richtext use wxRichTextCtrl
1731 --enable-graphics_ctx use graphics context 2D drawing API
1732 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1733 --enable-clipboard use wxClipboard class
1734 --enable-dnd use Drag'n'Drop classes
1735 --enable-metafile use win32 metafiles
1736 --enable-controls use all usual controls
1737 --enable-accel use accelerators
1738 --enable-animatectrl use wxAnimationCtrl class
1739 --enable-button use wxButton class
1740 --enable-bmpbutton use wxBitmapButton class
1741 --enable-bmpcombobox use wxBitmapComboBox class
1742 --enable-calendar use wxCalendarCtrl class
1743 --enable-caret use wxCaret class
1744 --enable-checkbox use wxCheckBox class
1745 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1746 --enable-choice use wxChoice class
1747 --enable-choicebook use wxChoicebook class
1748 --enable-collpane use wxCollapsiblePane class
1749 --enable-colourpicker use wxColourPickerCtrl class
1750 --enable-combobox use wxComboBox class
1751 --enable-comboctrl use wxComboCtrl class
1752 --enable-datepick use wxDatePickerCtrl class
1753 --enable-dirpicker use wxDirPickerCtrl class
1754 --enable-display use wxDisplay class
1755 --enable-detect_sm use code to detect X11 session manager
1756 --enable-filepicker use wxFilePickerCtrl class
1757 --enable-fontpicker use wxFontPickerCtrl class
1758 --enable-gauge use wxGauge class
1759 --enable-grid use wxGrid class
1760 --enable-dataviewctrl use wxDataViewCtrl class
1761 --enable-hyperlink use wxHyperlinkCtrl class
1762 --enable-imaglist use wxImageList class
1763 --enable-listbook use wxListbook class
1764 --enable-listbox use wxListBox class
1765 --enable-listctrl use wxListCtrl class
1766 --enable-notebook use wxNotebook class
1767 --enable-odcombobox use wxOwnerDrawnComboBox class
1768 --enable-radiobox use wxRadioBox class
1769 --enable-radiobtn use wxRadioButton class
1770 --enable-sash use wxSashWindow class
1771 --enable-scrollbar use wxScrollBar class and scrollable windows
1772 --enable-searchctrl use wxSearchCtrl class
1773 --enable-slider use wxSlider class
1774 --enable-spinbtn use wxSpinButton class
1775 --enable-spinctrl use wxSpinCtrl class
1776 --enable-splitter use wxSplitterWindow class
1777 --enable-statbmp use wxStaticBitmap class
1778 --enable-statbox use wxStaticBox class
1779 --enable-statline use wxStaticLine class
1780 --enable-stattext use wxStaticText class
1781 --enable-statusbar use wxStatusBar class
1782 --enable-tabdialog use wxTabControl class
1783 --enable-textctrl use wxTextCtrl class
1784 --enable-togglebtn use wxToggleButton class
1785 --enable-toolbar use wxToolBar class
1786 --enable-tbarnative use native wxToolBar class
1787 --enable-treebook use wxTreebook class
1788 --enable-toolbook use wxToolbook class
1789 --enable-treectrl use wxTreeCtrl class
1790 --enable-tipwindow use wxTipWindow class
1791 --enable-popupwin use wxPopUpWindow class
1792 --enable-commondlg use all common dialogs
1793 --enable-aboutdlg use wxAboutBox
1794 --enable-choicedlg use wxChoiceDialog
1795 --enable-coldlg use wxColourDialog
1796 --enable-filedlg use wxFileDialog
1797 --enable-finddlg use wxFindReplaceDialog
1798 --enable-fontdlg use wxFontDialog
1799 --enable-dirdlg use wxDirDialog
1800 --enable-msgdlg use wxMessageDialog
1801 --enable-numberdlg use wxNumberEntryDialog
1802 --enable-splash use wxSplashScreen
1803 --enable-textdlg use wxTextDialog
1804 --enable-tipdlg use startup tips
1805 --enable-progressdlg use wxProgressDialog
1806 --enable-wizarddlg use wxWizard
1807 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1808 --enable-miniframe use wxMiniFrame class
1809 --enable-tooltips use wxToolTip class
1810 --enable-splines use spline drawing code
1811 --enable-mousewheel use mousewheel
1812 --enable-validators use wxValidator and derived classes
1813 --enable-busyinfo use wxBusyInfo
1814 --enable-joystick use wxJoystick
1815 --enable-metafiles use wxMetaFile (Win32 only)
1816 --enable-dragimage use wxDragImage
1817 --enable-accessibility enable accessibility support
1818 --enable-dccache cache temporary wxDC objects (Win32 only)
1819 --enable-palette use wxPalette class
1820 --enable-image use wxImage class
1821 --enable-gif use gif images (GIF file format)
1822 --enable-pcx use pcx images (PCX file format)
1823 --enable-tga use tga images (TGA file format)
1824 --enable-iff use iff images (IFF file format)
1825 --enable-pnm use pnm images (PNM file format)
1826 --enable-xpm use xpm images (XPM file format)
1827 --enable-icocur use Windows ICO and CUR formats
1828 --enable-official_build official build of wxWidgets (win32 DLL only)
1829 --enable-vendor=VENDOR vendor name (win32 DLL only)
1830 --disable-largefile omit support for large files
1831 --disable-gtktest do not try to compile and run a test GTK+ program
1832 --disable-gtktest Do not try to compile and run a test GTK program
1833 --disable-sdltest Do not try to compile and run a test SDL program
1834 --enable-omf use OMF object format (OS/2)
1835 --disable-dependency-tracking
1836 don't use dependency tracking even if the compiler
1837 can
1838 --disable-precomp-headers
1839 don't use precompiled headers even if compiler can
1840
1841 Optional Packages:
1842 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1843 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1844 --without-subdirs don't generate makefiles for samples/demos/...
1845 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1846 --with-motif use Motif/Lesstif
1847 --with-mac use Mac OS X
1848 --with-cocoa use Cocoa
1849 --with-wine use Wine
1850 --with-msw use MS-Windows
1851 --with-pm use OS/2 Presentation Manager
1852 --with-mgl use SciTech MGL
1853 --with-directfb use DirectFB
1854 --with-microwin use MicroWindows
1855 --with-x11 use X11
1856 --with-libpng use libpng (PNG image format)
1857 --with-libjpeg use libjpeg (JPEG file format)
1858 --with-libtiff use libtiff (TIFF file format)
1859 --with-libxpm use libxpm (XPM file format)
1860 --with-libmspack use libmspack (CHM help files loading)
1861 --with-sdl use SDL for audio on Unix
1862 --with-gnomeprint use GNOME print for printing under GNOME
1863 --with-gnomevfs use GNOME VFS for associating MIME types
1864 --with-hildon use Hildon framework for Nokia 770
1865 --with-opengl use OpenGL (or Mesa)
1866 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1867 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1868 --with-regex enable support for wxRegEx class
1869 --with-zlib use zlib for LZW compression
1870 --with-odbc use the IODBC and wxODBC classes
1871 --with-expat enable XML support using expat parser
1872 --with-flavour=NAME specify a name to identify this build
1873 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1874 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1875 --with-x use the X Window System
1876 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1877 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1878 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1879 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1880 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1881
1882 Some influential environment variables:
1883 CC C compiler command
1884 CFLAGS C compiler flags
1885 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1886 nonstandard directory <lib dir>
1887 LIBS libraries to pass to the linker, e.g. -l<library>
1888 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1889 you have headers in a nonstandard directory <include dir>
1890 CPP C preprocessor
1891 CXX C++ compiler command
1892 CXXFLAGS C++ compiler flags
1893 PKG_CONFIG path to pkg-config utility
1894 DIRECTFB_CFLAGS
1895 C compiler flags for DIRECTFB, overriding pkg-config
1896 DIRECTFB_LIBS
1897 linker flags for DIRECTFB, overriding pkg-config
1898 XMKMF Path to xmkmf, Makefile generator for X Window System
1899 PANGOX_CFLAGS
1900 C compiler flags for PANGOX, overriding pkg-config
1901 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1902 PANGOFT2_CFLAGS
1903 C compiler flags for PANGOFT2, overriding pkg-config
1904 PANGOFT2_LIBS
1905 linker flags for PANGOFT2, overriding pkg-config
1906 PANGOXFT_CFLAGS
1907 C compiler flags for PANGOXFT, overriding pkg-config
1908 PANGOXFT_LIBS
1909 linker flags for PANGOXFT, overriding pkg-config
1910 LIBGNOMEPRINTUI_CFLAGS
1911 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1912 LIBGNOMEPRINTUI_LIBS
1913 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1914 GNOMEVFS_CFLAGS
1915 C compiler flags for GNOMEVFS, overriding pkg-config
1916 GNOMEVFS_LIBS
1917 linker flags for GNOMEVFS, overriding pkg-config
1918 HILDON_CFLAGS
1919 C compiler flags for HILDON, overriding pkg-config
1920 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1921 CAIRO_CFLAGS
1922 C compiler flags for CAIRO, overriding pkg-config
1923 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1924 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1925 GST_LIBS linker flags for GST, overriding pkg-config
1926
1927 Use these variables to override the choices made by `configure' or to help
1928 it to find libraries and programs with nonstandard names/locations.
1929
1930 Report bugs to <wx-dev@lists.wxwidgets.org>.
1931 _ACEOF
1932 ac_status=$?
1933 fi
1934
1935 if test "$ac_init_help" = "recursive"; then
1936 # If there are subdirs, report their specific --help.
1937 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1938 test -d "$ac_dir" || continue
1939 ac_builddir=.
1940
1941 case "$ac_dir" in
1942 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1943 *)
1944 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1945 # A ".." for each directory in $ac_dir_suffix.
1946 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1947 case $ac_top_builddir_sub in
1948 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1949 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1950 esac ;;
1951 esac
1952 ac_abs_top_builddir=$ac_pwd
1953 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1954 # for backward compatibility:
1955 ac_top_builddir=$ac_top_build_prefix
1956
1957 case $srcdir in
1958 .) # We are building in place.
1959 ac_srcdir=.
1960 ac_top_srcdir=$ac_top_builddir_sub
1961 ac_abs_top_srcdir=$ac_pwd ;;
1962 [\\/]* | ?:[\\/]* ) # Absolute name.
1963 ac_srcdir=$srcdir$ac_dir_suffix;
1964 ac_top_srcdir=$srcdir
1965 ac_abs_top_srcdir=$srcdir ;;
1966 *) # Relative name.
1967 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1968 ac_top_srcdir=$ac_top_build_prefix$srcdir
1969 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1970 esac
1971 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1972
1973 cd "$ac_dir" || { ac_status=$?; continue; }
1974 # Check for guested configure.
1975 if test -f "$ac_srcdir/configure.gnu"; then
1976 echo &&
1977 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1978 elif test -f "$ac_srcdir/configure"; then
1979 echo &&
1980 $SHELL "$ac_srcdir/configure" --help=recursive
1981 else
1982 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1983 fi || ac_status=$?
1984 cd "$ac_pwd" || { ac_status=$?; break; }
1985 done
1986 fi
1987
1988 test -n "$ac_init_help" && exit $ac_status
1989 if $ac_init_version; then
1990 cat <<\_ACEOF
1991 wxWidgets configure 2.9.0
1992 generated by GNU Autoconf 2.61
1993
1994 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1995 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1996 This configure script is free software; the Free Software Foundation
1997 gives unlimited permission to copy, distribute and modify it.
1998 _ACEOF
1999 exit
2000 fi
2001 cat >config.log <<_ACEOF
2002 This file contains any messages produced by compilers while
2003 running configure, to aid debugging if configure makes a mistake.
2004
2005 It was created by wxWidgets $as_me 2.9.0, which was
2006 generated by GNU Autoconf 2.61. Invocation command line was
2007
2008 $ $0 $@
2009
2010 _ACEOF
2011 exec 5>>config.log
2012 {
2013 cat <<_ASUNAME
2014 ## --------- ##
2015 ## Platform. ##
2016 ## --------- ##
2017
2018 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2019 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2020 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2021 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2022 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2023
2024 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2025 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2026
2027 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2028 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2029 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2030 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2031 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2032 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2033 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2034
2035 _ASUNAME
2036
2037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038 for as_dir in $PATH
2039 do
2040 IFS=$as_save_IFS
2041 test -z "$as_dir" && as_dir=.
2042 echo "PATH: $as_dir"
2043 done
2044 IFS=$as_save_IFS
2045
2046 } >&5
2047
2048 cat >&5 <<_ACEOF
2049
2050
2051 ## ----------- ##
2052 ## Core tests. ##
2053 ## ----------- ##
2054
2055 _ACEOF
2056
2057
2058 # Keep a trace of the command line.
2059 # Strip out --no-create and --no-recursion so they do not pile up.
2060 # Strip out --silent because we don't want to record it for future runs.
2061 # Also quote any args containing shell meta-characters.
2062 # Make two passes to allow for proper duplicate-argument suppression.
2063 ac_configure_args=
2064 ac_configure_args0=
2065 ac_configure_args1=
2066 ac_must_keep_next=false
2067 for ac_pass in 1 2
2068 do
2069 for ac_arg
2070 do
2071 case $ac_arg in
2072 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2074 | -silent | --silent | --silen | --sile | --sil)
2075 continue ;;
2076 *\'*)
2077 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2078 esac
2079 case $ac_pass in
2080 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2081 2)
2082 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2083 if test $ac_must_keep_next = true; then
2084 ac_must_keep_next=false # Got value, back to normal.
2085 else
2086 case $ac_arg in
2087 *=* | --config-cache | -C | -disable-* | --disable-* \
2088 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2089 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2090 | -with-* | --with-* | -without-* | --without-* | --x)
2091 case "$ac_configure_args0 " in
2092 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2093 esac
2094 ;;
2095 -* ) ac_must_keep_next=true ;;
2096 esac
2097 fi
2098 ac_configure_args="$ac_configure_args '$ac_arg'"
2099 ;;
2100 esac
2101 done
2102 done
2103 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2104 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2105
2106 # When interrupted or exit'd, cleanup temporary files, and complete
2107 # config.log. We remove comments because anyway the quotes in there
2108 # would cause problems or look ugly.
2109 # WARNING: Use '\'' to represent an apostrophe within the trap.
2110 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2111 trap 'exit_status=$?
2112 # Save into config.log some information that might help in debugging.
2113 {
2114 echo
2115
2116 cat <<\_ASBOX
2117 ## ---------------- ##
2118 ## Cache variables. ##
2119 ## ---------------- ##
2120 _ASBOX
2121 echo
2122 # The following way of writing the cache mishandles newlines in values,
2123 (
2124 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2125 eval ac_val=\$$ac_var
2126 case $ac_val in #(
2127 *${as_nl}*)
2128 case $ac_var in #(
2129 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2130 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2131 esac
2132 case $ac_var in #(
2133 _ | IFS | as_nl) ;; #(
2134 *) $as_unset $ac_var ;;
2135 esac ;;
2136 esac
2137 done
2138 (set) 2>&1 |
2139 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2140 *${as_nl}ac_space=\ *)
2141 sed -n \
2142 "s/'\''/'\''\\\\'\'''\''/g;
2143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2144 ;; #(
2145 *)
2146 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2147 ;;
2148 esac |
2149 sort
2150 )
2151 echo
2152
2153 cat <<\_ASBOX
2154 ## ----------------- ##
2155 ## Output variables. ##
2156 ## ----------------- ##
2157 _ASBOX
2158 echo
2159 for ac_var in $ac_subst_vars
2160 do
2161 eval ac_val=\$$ac_var
2162 case $ac_val in
2163 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2164 esac
2165 echo "$ac_var='\''$ac_val'\''"
2166 done | sort
2167 echo
2168
2169 if test -n "$ac_subst_files"; then
2170 cat <<\_ASBOX
2171 ## ------------------- ##
2172 ## File substitutions. ##
2173 ## ------------------- ##
2174 _ASBOX
2175 echo
2176 for ac_var in $ac_subst_files
2177 do
2178 eval ac_val=\$$ac_var
2179 case $ac_val in
2180 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2181 esac
2182 echo "$ac_var='\''$ac_val'\''"
2183 done | sort
2184 echo
2185 fi
2186
2187 if test -s confdefs.h; then
2188 cat <<\_ASBOX
2189 ## ----------- ##
2190 ## confdefs.h. ##
2191 ## ----------- ##
2192 _ASBOX
2193 echo
2194 cat confdefs.h
2195 echo
2196 fi
2197 test "$ac_signal" != 0 &&
2198 echo "$as_me: caught signal $ac_signal"
2199 echo "$as_me: exit $exit_status"
2200 } >&5
2201 rm -f core *.core core.conftest.* &&
2202 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2203 exit $exit_status
2204 ' 0
2205 for ac_signal in 1 2 13 15; do
2206 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2207 done
2208 ac_signal=0
2209
2210 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2211 rm -f -r conftest* confdefs.h
2212
2213 # Predefined preprocessor variables.
2214
2215 cat >>confdefs.h <<_ACEOF
2216 #define PACKAGE_NAME "$PACKAGE_NAME"
2217 _ACEOF
2218
2219
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2222 _ACEOF
2223
2224
2225 cat >>confdefs.h <<_ACEOF
2226 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2227 _ACEOF
2228
2229
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE_STRING "$PACKAGE_STRING"
2232 _ACEOF
2233
2234
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2237 _ACEOF
2238
2239
2240 # Let the site file select an alternate cache file if it wants to.
2241 # Prefer explicitly selected file to automatically selected ones.
2242 if test -n "$CONFIG_SITE"; then
2243 set x "$CONFIG_SITE"
2244 elif test "x$prefix" != xNONE; then
2245 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2246 else
2247 set x "$ac_default_prefix/share/config.site" \
2248 "$ac_default_prefix/etc/config.site"
2249 fi
2250 shift
2251 for ac_site_file
2252 do
2253 if test -r "$ac_site_file"; then
2254 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2255 echo "$as_me: loading site script $ac_site_file" >&6;}
2256 sed 's/^/| /' "$ac_site_file" >&5
2257 . "$ac_site_file"
2258 fi
2259 done
2260
2261 if test -r "$cache_file"; then
2262 # Some versions of bash will fail to source /dev/null (special
2263 # files actually), so we avoid doing that.
2264 if test -f "$cache_file"; then
2265 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2266 echo "$as_me: loading cache $cache_file" >&6;}
2267 case $cache_file in
2268 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2269 *) . "./$cache_file";;
2270 esac
2271 fi
2272 else
2273 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2274 echo "$as_me: creating cache $cache_file" >&6;}
2275 >$cache_file
2276 fi
2277
2278 # Check that the precious variables saved in the cache have kept the same
2279 # value.
2280 ac_cache_corrupted=false
2281 for ac_var in $ac_precious_vars; do
2282 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2283 eval ac_new_set=\$ac_env_${ac_var}_set
2284 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2285 eval ac_new_val=\$ac_env_${ac_var}_value
2286 case $ac_old_set,$ac_new_set in
2287 set,)
2288 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2289 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2290 ac_cache_corrupted=: ;;
2291 ,set)
2292 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2293 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2294 ac_cache_corrupted=: ;;
2295 ,);;
2296 *)
2297 if test "x$ac_old_val" != "x$ac_new_val"; then
2298 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2299 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2300 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2301 echo "$as_me: former value: $ac_old_val" >&2;}
2302 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2303 echo "$as_me: current value: $ac_new_val" >&2;}
2304 ac_cache_corrupted=:
2305 fi;;
2306 esac
2307 # Pass precious variables to config.status.
2308 if test "$ac_new_set" = set; then
2309 case $ac_new_val in
2310 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2311 *) ac_arg=$ac_var=$ac_new_val ;;
2312 esac
2313 case " $ac_configure_args " in
2314 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2315 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2316 esac
2317 fi
2318 done
2319 if $ac_cache_corrupted; then
2320 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2321 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2322 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2323 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2324 { (exit 1); exit 1; }; }
2325 fi
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351 ac_ext=c
2352 ac_cpp='$CPP $CPPFLAGS'
2353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2356
2357
2358
2359
2360
2361 ac_aux_dir=
2362 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2363 if test -f "$ac_dir/install-sh"; then
2364 ac_aux_dir=$ac_dir
2365 ac_install_sh="$ac_aux_dir/install-sh -c"
2366 break
2367 elif test -f "$ac_dir/install.sh"; then
2368 ac_aux_dir=$ac_dir
2369 ac_install_sh="$ac_aux_dir/install.sh -c"
2370 break
2371 elif test -f "$ac_dir/shtool"; then
2372 ac_aux_dir=$ac_dir
2373 ac_install_sh="$ac_aux_dir/shtool install -c"
2374 break
2375 fi
2376 done
2377 if test -z "$ac_aux_dir"; then
2378 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2379 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2380 { (exit 1); exit 1; }; }
2381 fi
2382
2383 # These three variables are undocumented and unsupported,
2384 # and are intended to be withdrawn in a future Autoconf release.
2385 # They can cause serious problems if a builder's source tree is in a directory
2386 # whose full name contains unusual characters.
2387 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2388 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2389 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2390
2391
2392 # Make sure we can run config.sub.
2393 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2394 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2395 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2396 { (exit 1); exit 1; }; }
2397
2398 { echo "$as_me:$LINENO: checking build system type" >&5
2399 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2400 if test "${ac_cv_build+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 else
2403 ac_build_alias=$build_alias
2404 test "x$ac_build_alias" = x &&
2405 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2406 test "x$ac_build_alias" = x &&
2407 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2408 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2409 { (exit 1); exit 1; }; }
2410 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2411 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2412 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2413 { (exit 1); exit 1; }; }
2414
2415 fi
2416 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2417 echo "${ECHO_T}$ac_cv_build" >&6; }
2418 case $ac_cv_build in
2419 *-*-*) ;;
2420 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2421 echo "$as_me: error: invalid value of canonical build" >&2;}
2422 { (exit 1); exit 1; }; };;
2423 esac
2424 build=$ac_cv_build
2425 ac_save_IFS=$IFS; IFS='-'
2426 set x $ac_cv_build
2427 shift
2428 build_cpu=$1
2429 build_vendor=$2
2430 shift; shift
2431 # Remember, the first character of IFS is used to create $*,
2432 # except with old shells:
2433 build_os=$*
2434 IFS=$ac_save_IFS
2435 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2436
2437
2438 { echo "$as_me:$LINENO: checking host system type" >&5
2439 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2440 if test "${ac_cv_host+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 else
2443 if test "x$host_alias" = x; then
2444 ac_cv_host=$ac_cv_build
2445 else
2446 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2447 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2448 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2449 { (exit 1); exit 1; }; }
2450 fi
2451
2452 fi
2453 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2454 echo "${ECHO_T}$ac_cv_host" >&6; }
2455 case $ac_cv_host in
2456 *-*-*) ;;
2457 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2458 echo "$as_me: error: invalid value of canonical host" >&2;}
2459 { (exit 1); exit 1; }; };;
2460 esac
2461 host=$ac_cv_host
2462 ac_save_IFS=$IFS; IFS='-'
2463 set x $ac_cv_host
2464 shift
2465 host_cpu=$1
2466 host_vendor=$2
2467 shift; shift
2468 # Remember, the first character of IFS is used to create $*,
2469 # except with old shells:
2470 host_os=$*
2471 IFS=$ac_save_IFS
2472 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2473
2474
2475 { echo "$as_me:$LINENO: checking target system type" >&5
2476 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2477 if test "${ac_cv_target+set}" = set; then
2478 echo $ECHO_N "(cached) $ECHO_C" >&6
2479 else
2480 if test "x$target_alias" = x; then
2481 ac_cv_target=$ac_cv_host
2482 else
2483 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2484 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2485 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2486 { (exit 1); exit 1; }; }
2487 fi
2488
2489 fi
2490 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2491 echo "${ECHO_T}$ac_cv_target" >&6; }
2492 case $ac_cv_target in
2493 *-*-*) ;;
2494 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2495 echo "$as_me: error: invalid value of canonical target" >&2;}
2496 { (exit 1); exit 1; }; };;
2497 esac
2498 target=$ac_cv_target
2499 ac_save_IFS=$IFS; IFS='-'
2500 set x $ac_cv_target
2501 shift
2502 target_cpu=$1
2503 target_vendor=$2
2504 shift; shift
2505 # Remember, the first character of IFS is used to create $*,
2506 # except with old shells:
2507 target_os=$*
2508 IFS=$ac_save_IFS
2509 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2510
2511
2512 # The aliases save the names the user supplied, while $host etc.
2513 # will get canonicalized.
2514 test -n "$target_alias" &&
2515 test "$program_prefix$program_suffix$program_transform_name" = \
2516 NONENONEs,x,x, &&
2517 program_prefix=${target_alias}-
2518
2519
2520
2521 wx_major_version_number=2
2522 wx_minor_version_number=9
2523 wx_release_number=0
2524 wx_subrelease_number=0
2525
2526 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2527 WX_VERSION=$WX_RELEASE.$wx_release_number
2528 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2529
2530 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2531
2532
2533 wx_top_builddir="`pwd`"
2534
2535
2536
2537
2538 USE_UNIX=1
2539 USE_OS2=0
2540 USE_WIN32=0
2541 USE_DOS=0
2542 USE_BEOS=0
2543 USE_MAC=0
2544
2545 USE_AIX=
2546 USE_BSD= USE_DARWIN= USE_FREEBSD=
2547 USE_GNU= USE_HPUX=
2548 USE_LINUX=
2549 USE_NETBSD=
2550 USE_OPENBSD=
2551 USE_OSF= USE_SGI=
2552 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2553 USE_ULTRIX=
2554 USE_UNIXWARE=
2555
2556 USE_ALPHA=
2557
2558 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2559
2560 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2561
2562 DEFAULT_wxUSE_COCOA=0
2563 DEFAULT_wxUSE_GTK=0
2564 DEFAULT_wxUSE_MAC=0
2565 DEFAULT_wxUSE_MGL=0
2566 DEFAULT_wxUSE_MICROWIN=0
2567 DEFAULT_wxUSE_MOTIF=0
2568 DEFAULT_wxUSE_MSW=0
2569 DEFAULT_wxUSE_PM=0
2570 DEFAULT_wxUSE_X11=0
2571 DEFAULT_wxUSE_DFB=0
2572
2573 DEFAULT_DEFAULT_wxUSE_COCOA=0
2574 DEFAULT_DEFAULT_wxUSE_GTK=0
2575 DEFAULT_DEFAULT_wxUSE_MAC=0
2576 DEFAULT_DEFAULT_wxUSE_MGL=0
2577 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2578 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2579 DEFAULT_DEFAULT_wxUSE_MSW=0
2580 DEFAULT_DEFAULT_wxUSE_PM=0
2581 DEFAULT_DEFAULT_wxUSE_X11=0
2582 DEFAULT_DEFAULT_wxUSE_DFB=0
2583
2584 PROGRAM_EXT=
2585 SO_SUFFIX=so
2586 SAMPLES_RPATH_FLAG=
2587 SAMPLES_RPATH_POSTLINK=
2588
2589 DEFAULT_STD_FLAG=yes
2590
2591 case "${host}" in
2592 *-hp-hpux* )
2593 USE_HPUX=1
2594 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2595 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2596 SO_SUFFIX=sl
2597 cat >>confdefs.h <<\_ACEOF
2598 #define __HPUX__ 1
2599 _ACEOF
2600
2601
2602 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2603 ;;
2604 *-*-linux* )
2605 USE_LINUX=1
2606 cat >>confdefs.h <<\_ACEOF
2607 #define __LINUX__ 1
2608 _ACEOF
2609
2610 TMP=`uname -m`
2611 if test "x$TMP" = "xalpha"; then
2612 USE_ALPHA=1
2613 cat >>confdefs.h <<\_ACEOF
2614 #define __ALPHA__ 1
2615 _ACEOF
2616
2617 fi
2618 DEFAULT_DEFAULT_wxUSE_GTK=1
2619 ;;
2620 *-*-gnu* | *-*-k*bsd*-gnu )
2621 USE_GNU=1
2622 TMP=`uname -m`
2623 if test "x$TMP" = "xalpha"; then
2624 USE_ALPHA=1
2625 cat >>confdefs.h <<\_ACEOF
2626 #define __ALPHA__ 1
2627 _ACEOF
2628
2629 fi
2630 DEFAULT_DEFAULT_wxUSE_GTK=1
2631 ;;
2632 *-*-irix5* | *-*-irix6* )
2633 USE_SGI=1
2634 USE_SVR4=1
2635 cat >>confdefs.h <<\_ACEOF
2636 #define __SGI__ 1
2637 _ACEOF
2638
2639 cat >>confdefs.h <<\_ACEOF
2640 #define __SVR4__ 1
2641 _ACEOF
2642
2643 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2644 ;;
2645 *-*-solaris2* )
2646 USE_SUN=1
2647 USE_SOLARIS=1
2648 USE_SVR4=1
2649 cat >>confdefs.h <<\_ACEOF
2650 #define __SUN__ 1
2651 _ACEOF
2652
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __SOLARIS__ 1
2655 _ACEOF
2656
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __SVR4__ 1
2659 _ACEOF
2660
2661 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2662 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2663 ;;
2664 *-*-sunos4* )
2665 USE_SUN=1
2666 USE_SUNOS=1
2667 USE_BSD=1
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SUN__ 1
2670 _ACEOF
2671
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SUNOS__ 1
2674 _ACEOF
2675
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __BSD__ 1
2678 _ACEOF
2679
2680 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2681 ;;
2682 *-*-freebsd*)
2683 USE_BSD=1
2684 USE_FREEBSD=1
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __FREEBSD__ 1
2687 _ACEOF
2688
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __BSD__ 1
2691 _ACEOF
2692
2693 DEFAULT_DEFAULT_wxUSE_GTK=1
2694 ;;
2695 *-*-openbsd*|*-*-mirbsd*)
2696 USE_BSD=1
2697 USE_OPENBSD=1
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __OPENBSD__ 1
2700 _ACEOF
2701
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __BSD__ 1
2704 _ACEOF
2705
2706 DEFAULT_DEFAULT_wxUSE_GTK=1
2707 ;;
2708 *-*-netbsd*)
2709 USE_BSD=1
2710 USE_NETBSD=1
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __NETBSD__ 1
2713 _ACEOF
2714
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __BSD__ 1
2717 _ACEOF
2718
2719 DEFAULT_DEFAULT_wxUSE_GTK=1
2720 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2721
2722 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2723 ;;
2724 *-*-osf* )
2725 USE_ALPHA=1
2726 USE_OSF=1
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __ALPHA__ 1
2729 _ACEOF
2730
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __OSF__ 1
2733 _ACEOF
2734
2735 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2736 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2737 ;;
2738 *-*-dgux5* )
2739 USE_ALPHA=1
2740 USE_SVR4=1
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __ALPHA__ 1
2743 _ACEOF
2744
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __SVR4__ 1
2747 _ACEOF
2748
2749 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2750 ;;
2751 *-*-sysv5* )
2752 USE_SYSV=1
2753 USE_SVR4=1
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __SYSV__ 1
2756 _ACEOF
2757
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __SVR4__ 1
2760 _ACEOF
2761
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 ;;
2764 *-*-aix* )
2765 USE_AIX=1
2766 USE_SYSV=1
2767 USE_SVR4=1
2768 SO_SUFFIX=a
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __AIX__ 1
2771 _ACEOF
2772
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __SYSV__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __SVR4__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 ;;
2783
2784 *-*-*UnixWare*)
2785 USE_SYSV=1
2786 USE_SVR4=1
2787 USE_UNIXWARE=1
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __UNIXWARE__ 1
2790 _ACEOF
2791
2792 ;;
2793
2794 *-*-cygwin* | *-*-mingw32* )
2795 SO_SUFFIX=dll
2796 PROGRAM_EXT=".exe"
2797 DEFAULT_DEFAULT_wxUSE_MSW=1
2798 ;;
2799
2800 *-pc-msdosdjgpp )
2801 USE_UNIX=0
2802 USE_DOS=1
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __DOS__ 1
2805 _ACEOF
2806
2807 PROGRAM_EXT=".exe"
2808 DEFAULT_DEFAULT_wxUSE_MGL=1
2809 ;;
2810
2811 *-pc-os2_emx | *-pc-os2-emx )
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __EMX__ 1
2814 _ACEOF
2815
2816 USE_OS2=1
2817 cat >>confdefs.h <<\_ACEOF
2818 #define __OS2__ 1
2819 _ACEOF
2820
2821 PROGRAM_EXT=".exe"
2822 DEFAULT_DEFAULT_wxUSE_PM=1
2823 CXX=gcc
2824 LDFLAGS="$LDFLAGS -Zcrtdll"
2825 ac_executable_extensions=".exe"
2826 export ac_executable_extensions
2827 ac_save_IFS="$IFS"
2828 IFS='\\'
2829 ac_TEMP_PATH=
2830 for ac_dir in $PATH; do
2831 IFS=$ac_save_IFS
2832 if test -z "$ac_TEMP_PATH"; then
2833 ac_TEMP_PATH="$ac_dir"
2834 else
2835 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2836 fi
2837 done
2838 export PATH="$ac_TEMP_PATH"
2839 unset ac_TEMP_PATH
2840 DEFAULT_STD_FLAG=no
2841 ;;
2842
2843 *-*-darwin* )
2844 USE_BSD=1
2845 USE_DARWIN=1
2846 SO_SUFFIX=dylib
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __BSD__ 1
2849 _ACEOF
2850
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __DARWIN__ 1
2853 _ACEOF
2854
2855 cat >>confdefs.h <<\_ACEOF
2856 #define TARGET_CARBON 1
2857 _ACEOF
2858
2859 DEFAULT_DEFAULT_wxUSE_MAC=1
2860 DEFAULT_STD_FLAG=no
2861 ;;
2862 powerpc-apple-macos* )
2863 USE_UNIX=0
2864 ac_cv_c_bigendian=yes
2865 SO_SUFFIX=shlib
2866 DEFAULT_DEFAULT_wxUSE_MAC=1
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869
2870 *-*-beos* )
2871 USE_BEOS=1
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __BEOS__ 1
2874 _ACEOF
2875
2876 ;;
2877
2878 *)
2879 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2880 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2881 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2882 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2883
2884 DEFAULT_DEFAULT_wxUSE_X11=1
2885 DEFAULT_wxUSE_SHARED=no
2886 esac
2887
2888
2889
2890
2891 wx_arg_cache_file="configarg.cache"
2892 echo "loading argument cache $wx_arg_cache_file"
2893 rm -f ${wx_arg_cache_file}.tmp
2894 touch ${wx_arg_cache_file}.tmp
2895 touch ${wx_arg_cache_file}
2896
2897
2898 DEBUG_CONFIGURE=0
2899 if test $DEBUG_CONFIGURE = 1; then
2900 DEFAULT_wxUSE_UNIVERSAL=no
2901 DEFAULT_wxUSE_STL=no
2902
2903 DEFAULT_wxUSE_NANOX=no
2904
2905 DEFAULT_wxUSE_THREADS=yes
2906
2907 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2908 DEFAULT_wxUSE_OPTIMISE=no
2909 DEFAULT_wxUSE_PROFILE=no
2910 DEFAULT_wxUSE_NO_DEPS=no
2911 DEFAULT_wxUSE_VARARG_MACROS=no
2912 DEFAULT_wxUSE_NO_RTTI=no
2913 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2914 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2915 DEFAULT_wxUSE_RPATH=yes
2916 DEFAULT_wxUSE_PERMISSIVE=no
2917 DEFAULT_wxUSE_DEBUG_FLAG=yes
2918 DEFAULT_wxUSE_DEBUG_INFO=yes
2919 DEFAULT_wxUSE_DEBUG_GDB=yes
2920 DEFAULT_wxUSE_MEM_TRACING=no
2921 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2922 DEFAULT_wxUSE_DMALLOC=no
2923 DEFAULT_wxUSE_APPLE_IEEE=no
2924
2925 DEFAULT_wxUSE_EXCEPTIONS=no
2926 DEFAULT_wxUSE_LOG=yes
2927 DEFAULT_wxUSE_LOGWINDOW=no
2928 DEFAULT_wxUSE_LOGGUI=no
2929 DEFAULT_wxUSE_LOGDIALOG=no
2930
2931 DEFAULT_wxUSE_GUI=yes
2932 DEFAULT_wxUSE_CONTROLS=no
2933
2934 DEFAULT_wxUSE_REGEX=no
2935 DEFAULT_wxUSE_XML=no
2936 DEFAULT_wxUSE_EXPAT=no
2937 DEFAULT_wxUSE_ZLIB=no
2938 DEFAULT_wxUSE_LIBPNG=no
2939 DEFAULT_wxUSE_LIBJPEG=no
2940 DEFAULT_wxUSE_LIBTIFF=no
2941 DEFAULT_wxUSE_LIBXPM=no
2942 DEFAULT_wxUSE_LIBMSPACK=no
2943 DEFAULT_wxUSE_LIBSDL=no
2944 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2945 DEFAULT_wxUSE_LIBGNOMEVFS=no
2946 DEFAULT_wxUSE_LIBHILDON=no
2947 DEFAULT_wxUSE_ODBC=no
2948 DEFAULT_wxUSE_OPENGL=no
2949
2950 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2951 DEFAULT_wxUSE_STACKWALKER=no
2952 DEFAULT_wxUSE_DEBUGREPORT=no
2953 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2954 DEFAULT_wxUSE_STD_IOSTREAM=no
2955 DEFAULT_wxUSE_STD_STRING=no
2956 DEFAULT_wxUSE_CMDLINE_PARSER=no
2957 DEFAULT_wxUSE_DATETIME=no
2958 DEFAULT_wxUSE_TIMER=no
2959 DEFAULT_wxUSE_STOPWATCH=no
2960 DEFAULT_wxUSE_FILE=no
2961 DEFAULT_wxUSE_FFILE=no
2962 DEFAULT_wxUSE_STDPATHS=no
2963 DEFAULT_wxUSE_TEXTBUFFER=no
2964 DEFAULT_wxUSE_TEXTFILE=no
2965 DEFAULT_wxUSE_SOUND=no
2966 DEFAULT_wxUSE_MEDIACTRL=no
2967 DEFAULT_wxUSE_GSTREAMER8=no
2968 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2969 DEFAULT_wxUSE_INTL=no
2970 DEFAULT_wxUSE_CONFIG=no
2971 DEFAULT_wxUSE_FONTMAP=no
2972 DEFAULT_wxUSE_STREAMS=no
2973 DEFAULT_wxUSE_SOCKETS=no
2974 DEFAULT_wxUSE_OLE=no
2975 DEFAULT_wxUSE_DATAOBJ=no
2976 DEFAULT_wxUSE_DIALUP_MANAGER=no
2977 DEFAULT_wxUSE_JOYSTICK=no
2978 DEFAULT_wxUSE_DYNLIB_CLASS=no
2979 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2980 DEFAULT_wxUSE_LONGLONG=no
2981 DEFAULT_wxUSE_GEOMETRY=no
2982
2983 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2984 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2985 DEFAULT_wxUSE_POSTSCRIPT=no
2986
2987 DEFAULT_wxUSE_CLIPBOARD=no
2988 DEFAULT_wxUSE_TOOLTIPS=no
2989 DEFAULT_wxUSE_DRAG_AND_DROP=no
2990 DEFAULT_wxUSE_DRAGIMAGE=no
2991 DEFAULT_wxUSE_SPLINES=no
2992 DEFAULT_wxUSE_MOUSEWHEEL=no
2993
2994 DEFAULT_wxUSE_MDI=no
2995 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2996 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2997 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2998
2999 DEFAULT_wxUSE_CONSTRAINTS=no
3000 DEFAULT_wxUSE_IPC=no
3001 DEFAULT_wxUSE_HELP=no
3002 DEFAULT_wxUSE_MS_HTML_HELP=no
3003 DEFAULT_wxUSE_WXHTML_HELP=no
3004 DEFAULT_wxUSE_TREELAYOUT=no
3005 DEFAULT_wxUSE_METAFILE=no
3006 DEFAULT_wxUSE_MIMETYPE=no
3007 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3008 DEFAULT_wxUSE_PROTOCOL=no
3009 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3010 DEFAULT_wxUSE_PROTOCOL_FTP=no
3011 DEFAULT_wxUSE_PROTOCOL_FILE=no
3012 DEFAULT_wxUSE_URL=no
3013 DEFAULT_wxUSE_VARIANT=no
3014
3015 DEFAULT_wxUSE_ABOUTDLG=no
3016 DEFAULT_wxUSE_COMMONDLGS=no
3017 DEFAULT_wxUSE_CHOICEDLG=no
3018 DEFAULT_wxUSE_COLOURDLG=no
3019 DEFAULT_wxUSE_DIRDLG=no
3020 DEFAULT_wxUSE_FILEDLG=no
3021 DEFAULT_wxUSE_FINDREPLDLG=no
3022 DEFAULT_wxUSE_FONTDLG=no
3023 DEFAULT_wxUSE_MSGDLG=no
3024 DEFAULT_wxUSE_NUMBERDLG=no
3025 DEFAULT_wxUSE_TEXTDLG=no
3026 DEFAULT_wxUSE_SPLASH=no
3027 DEFAULT_wxUSE_STARTUP_TIPS=no
3028 DEFAULT_wxUSE_PROGRESSDLG=no
3029 DEFAULT_wxUSE_WIZARDDLG=no
3030
3031 DEFAULT_wxUSE_MENUS=no
3032 DEFAULT_wxUSE_MINIFRAME=no
3033 DEFAULT_wxUSE_HTML=no
3034 DEFAULT_wxUSE_RICHTEXT=no
3035 DEFAULT_wxUSE_XRC=no
3036 DEFAULT_wxUSE_AUI=no
3037 DEFAULT_wxUSE_STC=no
3038 DEFAULT_wxUSE_WEBKIT=no
3039 DEFAULT_wxUSE_FILESYSTEM=no
3040 DEFAULT_wxUSE_FS_INET=no
3041 DEFAULT_wxUSE_FS_ZIP=no
3042 DEFAULT_wxUSE_FS_ARCHIVE=no
3043 DEFAULT_wxUSE_BUSYINFO=no
3044 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3045 DEFAULT_wxUSE_ZIPSTREAM=no
3046 DEFAULT_wxUSE_TARSTREAM=no
3047 DEFAULT_wxUSE_VALIDATORS=no
3048
3049 DEFAULT_wxUSE_ACCEL=no
3050 DEFAULT_wxUSE_ANIMATIONCTRL=no
3051 DEFAULT_wxUSE_BUTTON=no
3052 DEFAULT_wxUSE_BMPBUTTON=no
3053 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3054 DEFAULT_wxUSE_CALCTRL=no
3055 DEFAULT_wxUSE_CARET=no
3056 DEFAULT_wxUSE_CHECKBOX=no
3057 DEFAULT_wxUSE_CHECKLST=no
3058 DEFAULT_wxUSE_CHOICE=no
3059 DEFAULT_wxUSE_CHOICEBOOK=no
3060 DEFAULT_wxUSE_COLLPANE=no
3061 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3062 DEFAULT_wxUSE_COMBOBOX=no
3063 DEFAULT_wxUSE_COMBOCTRL=no
3064 DEFAULT_wxUSE_DATEPICKCTRL=no
3065 DEFAULT_wxUSE_DISPLAY=no
3066 DEFAULT_wxUSE_DETECT_SM=no
3067 DEFAULT_wxUSE_DIRPICKERCTRL=no
3068 DEFAULT_wxUSE_FILEPICKERCTRL=no
3069 DEFAULT_wxUSE_FONTPICKERCTRL=no
3070 DEFAULT_wxUSE_GAUGE=no
3071 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3072 DEFAULT_wxUSE_GRID=no
3073 DEFAULT_wxUSE_HYPERLINKCTRL=no
3074 DEFAULT_wxUSE_DATAVIEWCTRL=no
3075 DEFAULT_wxUSE_IMAGLIST=no
3076 DEFAULT_wxUSE_LISTBOOK=no
3077 DEFAULT_wxUSE_LISTBOX=no
3078 DEFAULT_wxUSE_LISTCTRL=no
3079 DEFAULT_wxUSE_NOTEBOOK=no
3080 DEFAULT_wxUSE_ODCOMBOBOX=no
3081 DEFAULT_wxUSE_RADIOBOX=no
3082 DEFAULT_wxUSE_RADIOBTN=no
3083 DEFAULT_wxUSE_SASH=no
3084 DEFAULT_wxUSE_SCROLLBAR=no
3085 DEFAULT_wxUSE_SEARCHCTRL=no
3086 DEFAULT_wxUSE_SLIDER=no
3087 DEFAULT_wxUSE_SPINBTN=no
3088 DEFAULT_wxUSE_SPINCTRL=no
3089 DEFAULT_wxUSE_SPLITTER=no
3090 DEFAULT_wxUSE_STATBMP=no
3091 DEFAULT_wxUSE_STATBOX=no
3092 DEFAULT_wxUSE_STATLINE=no
3093 DEFAULT_wxUSE_STATTEXT=no
3094 DEFAULT_wxUSE_STATUSBAR=yes
3095 DEFAULT_wxUSE_TAB_DIALOG=no
3096 DEFAULT_wxUSE_TEXTCTRL=no
3097 DEFAULT_wxUSE_TOGGLEBTN=no
3098 DEFAULT_wxUSE_TOOLBAR=no
3099 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3100 DEFAULT_wxUSE_TREEBOOK=no
3101 DEFAULT_wxUSE_TOOLBOOK=no
3102 DEFAULT_wxUSE_TREECTRL=no
3103 DEFAULT_wxUSE_POPUPWIN=no
3104 DEFAULT_wxUSE_TIPWINDOW=no
3105
3106 DEFAULT_wxUSE_UNICODE=no
3107 DEFAULT_wxUSE_UNICODE_MSLU=no
3108 DEFAULT_wxUSE_WCSRTOMBS=no
3109
3110 DEFAULT_wxUSE_PALETTE=no
3111 DEFAULT_wxUSE_IMAGE=no
3112 DEFAULT_wxUSE_GIF=no
3113 DEFAULT_wxUSE_PCX=no
3114 DEFAULT_wxUSE_TGA=no
3115 DEFAULT_wxUSE_PNM=no
3116 DEFAULT_wxUSE_IFF=no
3117 DEFAULT_wxUSE_XPM=no
3118 DEFAULT_wxUSE_ICO_CUR=no
3119 DEFAULT_wxUSE_ACCESSIBILITY=no
3120
3121 DEFAULT_wxUSE_MONOLITHIC=no
3122 DEFAULT_wxUSE_PLUGINS=no
3123 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3124 else
3125 DEFAULT_wxUSE_UNIVERSAL=no
3126 DEFAULT_wxUSE_STL=no
3127
3128 DEFAULT_wxUSE_NANOX=no
3129
3130 DEFAULT_wxUSE_THREADS=yes
3131
3132 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3133 DEFAULT_wxUSE_OPTIMISE=yes
3134 DEFAULT_wxUSE_PROFILE=no
3135 DEFAULT_wxUSE_NO_DEPS=no
3136 DEFAULT_wxUSE_VARARG_MACROS=yes
3137 DEFAULT_wxUSE_NO_RTTI=no
3138 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3139 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3140 DEFAULT_wxUSE_RPATH=yes
3141 DEFAULT_wxUSE_PERMISSIVE=no
3142 DEFAULT_wxUSE_DEBUG_FLAG=no
3143 DEFAULT_wxUSE_DEBUG_INFO=no
3144 DEFAULT_wxUSE_DEBUG_GDB=no
3145 DEFAULT_wxUSE_MEM_TRACING=no
3146 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3147 DEFAULT_wxUSE_DMALLOC=no
3148 DEFAULT_wxUSE_APPLE_IEEE=yes
3149
3150 DEFAULT_wxUSE_EXCEPTIONS=yes
3151 DEFAULT_wxUSE_LOG=yes
3152 DEFAULT_wxUSE_LOGWINDOW=yes
3153 DEFAULT_wxUSE_LOGGUI=yes
3154 DEFAULT_wxUSE_LOGDIALOG=yes
3155
3156 DEFAULT_wxUSE_GUI=yes
3157
3158 DEFAULT_wxUSE_REGEX=yes
3159 DEFAULT_wxUSE_XML=yes
3160 DEFAULT_wxUSE_EXPAT=yes
3161 DEFAULT_wxUSE_ZLIB=yes
3162 DEFAULT_wxUSE_LIBPNG=yes
3163 DEFAULT_wxUSE_LIBJPEG=yes
3164 DEFAULT_wxUSE_LIBTIFF=yes
3165 DEFAULT_wxUSE_LIBXPM=yes
3166 DEFAULT_wxUSE_LIBMSPACK=yes
3167 DEFAULT_wxUSE_LIBSDL=no
3168 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3169 DEFAULT_wxUSE_LIBGNOMEVFS=no
3170 DEFAULT_wxUSE_LIBHILDON=no
3171 DEFAULT_wxUSE_ODBC=no
3172 DEFAULT_wxUSE_OPENGL=no
3173
3174 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3175 DEFAULT_wxUSE_STACKWALKER=yes
3176 DEFAULT_wxUSE_DEBUGREPORT=yes
3177 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3178 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3179 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3180 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3181 DEFAULT_wxUSE_DATETIME=yes
3182 DEFAULT_wxUSE_TIMER=yes
3183 DEFAULT_wxUSE_STOPWATCH=yes
3184 DEFAULT_wxUSE_FILE=yes
3185 DEFAULT_wxUSE_FFILE=yes
3186 DEFAULT_wxUSE_STDPATHS=yes
3187 DEFAULT_wxUSE_TEXTBUFFER=yes
3188 DEFAULT_wxUSE_TEXTFILE=yes
3189 DEFAULT_wxUSE_SOUND=yes
3190 DEFAULT_wxUSE_MEDIACTRL=no
3191 DEFAULT_wxUSE_GSTREAMER8=no
3192 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3193 DEFAULT_wxUSE_INTL=yes
3194 DEFAULT_wxUSE_CONFIG=yes
3195 DEFAULT_wxUSE_FONTMAP=yes
3196 DEFAULT_wxUSE_STREAMS=yes
3197 DEFAULT_wxUSE_SOCKETS=yes
3198 DEFAULT_wxUSE_OLE=yes
3199 DEFAULT_wxUSE_DATAOBJ=yes
3200 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3201 DEFAULT_wxUSE_JOYSTICK=yes
3202 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3203 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3204 DEFAULT_wxUSE_LONGLONG=yes
3205 DEFAULT_wxUSE_GEOMETRY=yes
3206
3207 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3208 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3209 DEFAULT_wxUSE_POSTSCRIPT=yes
3210
3211 DEFAULT_wxUSE_CLIPBOARD=yes
3212 DEFAULT_wxUSE_TOOLTIPS=yes
3213 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3214 DEFAULT_wxUSE_DRAGIMAGE=yes
3215 DEFAULT_wxUSE_SPLINES=yes
3216 DEFAULT_wxUSE_MOUSEWHEEL=yes
3217
3218 DEFAULT_wxUSE_MDI=yes
3219 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3220 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3221 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3222
3223 DEFAULT_wxUSE_CONSTRAINTS=yes
3224 DEFAULT_wxUSE_IPC=yes
3225 DEFAULT_wxUSE_HELP=yes
3226 DEFAULT_wxUSE_MS_HTML_HELP=yes
3227 DEFAULT_wxUSE_WXHTML_HELP=yes
3228 DEFAULT_wxUSE_TREELAYOUT=yes
3229 DEFAULT_wxUSE_METAFILE=yes
3230 DEFAULT_wxUSE_MIMETYPE=yes
3231 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3232 DEFAULT_wxUSE_PROTOCOL=yes
3233 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3234 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3235 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3236 DEFAULT_wxUSE_URL=yes
3237 DEFAULT_wxUSE_VARIANT=yes
3238
3239 DEFAULT_wxUSE_ABOUTDLG=yes
3240 DEFAULT_wxUSE_COMMONDLGS=yes
3241 DEFAULT_wxUSE_CHOICEDLG=yes
3242 DEFAULT_wxUSE_COLOURDLG=yes
3243 DEFAULT_wxUSE_DIRDLG=yes
3244 DEFAULT_wxUSE_FILEDLG=yes
3245 DEFAULT_wxUSE_FINDREPLDLG=yes
3246 DEFAULT_wxUSE_FONTDLG=yes
3247 DEFAULT_wxUSE_MSGDLG=yes
3248 DEFAULT_wxUSE_NUMBERDLG=yes
3249 DEFAULT_wxUSE_TEXTDLG=yes
3250 DEFAULT_wxUSE_SPLASH=yes
3251 DEFAULT_wxUSE_STARTUP_TIPS=yes
3252 DEFAULT_wxUSE_PROGRESSDLG=yes
3253 DEFAULT_wxUSE_WIZARDDLG=yes
3254
3255 DEFAULT_wxUSE_MENUS=yes
3256 DEFAULT_wxUSE_MINIFRAME=yes
3257 DEFAULT_wxUSE_HTML=yes
3258 DEFAULT_wxUSE_RICHTEXT=yes
3259 DEFAULT_wxUSE_XRC=yes
3260 DEFAULT_wxUSE_AUI=yes
3261 DEFAULT_wxUSE_STC=yes
3262 DEFAULT_wxUSE_WEBKIT=yes
3263 DEFAULT_wxUSE_FILESYSTEM=yes
3264 DEFAULT_wxUSE_FS_INET=yes
3265 DEFAULT_wxUSE_FS_ZIP=yes
3266 DEFAULT_wxUSE_FS_ARCHIVE=yes
3267 DEFAULT_wxUSE_BUSYINFO=yes
3268 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3269 DEFAULT_wxUSE_ZIPSTREAM=yes
3270 DEFAULT_wxUSE_TARSTREAM=yes
3271 DEFAULT_wxUSE_VALIDATORS=yes
3272
3273 DEFAULT_wxUSE_ACCEL=yes
3274 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3275 DEFAULT_wxUSE_BUTTON=yes
3276 DEFAULT_wxUSE_BMPBUTTON=yes
3277 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3278 DEFAULT_wxUSE_CALCTRL=yes
3279 DEFAULT_wxUSE_CARET=yes
3280 DEFAULT_wxUSE_CHECKBOX=yes
3281 DEFAULT_wxUSE_CHECKLST=yes
3282 DEFAULT_wxUSE_CHOICE=yes
3283 DEFAULT_wxUSE_CHOICEBOOK=yes
3284 DEFAULT_wxUSE_COLLPANE=yes
3285 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3286 DEFAULT_wxUSE_COMBOBOX=yes
3287 DEFAULT_wxUSE_COMBOCTRL=yes
3288 DEFAULT_wxUSE_DATEPICKCTRL=yes
3289 DEFAULT_wxUSE_DISPLAY=yes
3290 DEFAULT_wxUSE_DETECT_SM=yes
3291 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3292 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3293 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3294 DEFAULT_wxUSE_GAUGE=yes
3295 DEFAULT_wxUSE_GRID=yes
3296 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3297 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3298 DEFAULT_wxUSE_DATAVIEWCTRL=no
3299 DEFAULT_wxUSE_IMAGLIST=yes
3300 DEFAULT_wxUSE_LISTBOOK=yes
3301 DEFAULT_wxUSE_LISTBOX=yes
3302 DEFAULT_wxUSE_LISTCTRL=yes
3303 DEFAULT_wxUSE_NOTEBOOK=yes
3304 DEFAULT_wxUSE_ODCOMBOBOX=yes
3305 DEFAULT_wxUSE_RADIOBOX=yes
3306 DEFAULT_wxUSE_RADIOBTN=yes
3307 DEFAULT_wxUSE_SASH=yes
3308 DEFAULT_wxUSE_SCROLLBAR=yes
3309 DEFAULT_wxUSE_SEARCHCTRL=yes
3310 DEFAULT_wxUSE_SLIDER=yes
3311 DEFAULT_wxUSE_SPINBTN=yes
3312 DEFAULT_wxUSE_SPINCTRL=yes
3313 DEFAULT_wxUSE_SPLITTER=yes
3314 DEFAULT_wxUSE_STATBMP=yes
3315 DEFAULT_wxUSE_STATBOX=yes
3316 DEFAULT_wxUSE_STATLINE=yes
3317 DEFAULT_wxUSE_STATTEXT=yes
3318 DEFAULT_wxUSE_STATUSBAR=yes
3319 DEFAULT_wxUSE_TAB_DIALOG=no
3320 DEFAULT_wxUSE_TEXTCTRL=yes
3321 DEFAULT_wxUSE_TOGGLEBTN=yes
3322 DEFAULT_wxUSE_TOOLBAR=yes
3323 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3324 DEFAULT_wxUSE_TREEBOOK=yes
3325 DEFAULT_wxUSE_TOOLBOOK=yes
3326 DEFAULT_wxUSE_TREECTRL=yes
3327 DEFAULT_wxUSE_POPUPWIN=yes
3328 DEFAULT_wxUSE_TIPWINDOW=yes
3329
3330 DEFAULT_wxUSE_UNICODE=no
3331 DEFAULT_wxUSE_UNICODE_MSLU=yes
3332 DEFAULT_wxUSE_WCSRTOMBS=no
3333
3334 DEFAULT_wxUSE_PALETTE=yes
3335 DEFAULT_wxUSE_IMAGE=yes
3336 DEFAULT_wxUSE_GIF=yes
3337 DEFAULT_wxUSE_PCX=yes
3338 DEFAULT_wxUSE_TGA=yes
3339 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3340 DEFAULT_wxUSE_XPM=yes
3341 DEFAULT_wxUSE_ICO_CUR=yes
3342 DEFAULT_wxUSE_ACCESSIBILITY=no
3343
3344 DEFAULT_wxUSE_MONOLITHIC=no
3345 DEFAULT_wxUSE_PLUGINS=no
3346 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3347
3348 DEFAULT_wxUSE_GTK2=yes
3349 fi
3350
3351
3352
3353
3354 for toolkit in `echo $ALL_TOOLKITS`; do
3355 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3356 if test "x$LINE" != "x" ; then
3357 has_toolkit_in_cache=1
3358 eval "DEFAULT_$LINE"
3359 eval "CACHE_$toolkit=1"
3360
3361 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3362 if test "x$LINE" != "x" ; then
3363 eval "DEFAULT_$LINE"
3364 fi
3365 fi
3366 done
3367
3368
3369
3370 enablestring=
3371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3373 no_cache=0
3374 # Check whether --enable-gui was given.
3375 if test "${enable_gui+set}" = set; then
3376 enableval=$enable_gui;
3377 if test "$enableval" = yes; then
3378 ac_cv_use_gui='wxUSE_GUI=yes'
3379 else
3380 ac_cv_use_gui='wxUSE_GUI=no'
3381 fi
3382
3383 else
3384
3385 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3386 if test "x$LINE" != x ; then
3387 eval "DEFAULT_$LINE"
3388 else
3389 no_cache=1
3390 fi
3391
3392 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3393
3394 fi
3395
3396
3397 eval "$ac_cv_use_gui"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3400 fi
3401
3402 if test "$wxUSE_GUI" = yes; then
3403 { echo "$as_me:$LINENO: result: yes" >&5
3404 echo "${ECHO_T}yes" >&6; }
3405 else
3406 { echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6; }
3408 fi
3409
3410
3411 enablestring=
3412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3413 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3414 no_cache=0
3415 # Check whether --enable-monolithic was given.
3416 if test "${enable_monolithic+set}" = set; then
3417 enableval=$enable_monolithic;
3418 if test "$enableval" = yes; then
3419 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3420 else
3421 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3422 fi
3423
3424 else
3425
3426 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3427 if test "x$LINE" != x ; then
3428 eval "DEFAULT_$LINE"
3429 else
3430 no_cache=1
3431 fi
3432
3433 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3434
3435 fi
3436
3437
3438 eval "$ac_cv_use_monolithic"
3439 if test "$no_cache" != 1; then
3440 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3441 fi
3442
3443 if test "$wxUSE_MONOLITHIC" = yes; then
3444 { echo "$as_me:$LINENO: result: yes" >&5
3445 echo "${ECHO_T}yes" >&6; }
3446 else
3447 { echo "$as_me:$LINENO: result: no" >&5
3448 echo "${ECHO_T}no" >&6; }
3449 fi
3450
3451
3452 enablestring=
3453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3454 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3455 no_cache=0
3456 # Check whether --enable-plugins was given.
3457 if test "${enable_plugins+set}" = set; then
3458 enableval=$enable_plugins;
3459 if test "$enableval" = yes; then
3460 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3461 else
3462 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3463 fi
3464
3465 else
3466
3467 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3470 else
3471 no_cache=1
3472 fi
3473
3474 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3475
3476 fi
3477
3478
3479 eval "$ac_cv_use_plugins"
3480 if test "$no_cache" != 1; then
3481 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3482 fi
3483
3484 if test "$wxUSE_PLUGINS" = yes; then
3485 { echo "$as_me:$LINENO: result: yes" >&5
3486 echo "${ECHO_T}yes" >&6; }
3487 else
3488 { echo "$as_me:$LINENO: result: no" >&5
3489 echo "${ECHO_T}no" >&6; }
3490 fi
3491
3492
3493 withstring=without
3494 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3495 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3496 no_cache=0
3497
3498 # Check whether --with-subdirs was given.
3499 if test "${with_subdirs+set}" = set; then
3500 withval=$with_subdirs;
3501 if test "$withval" = yes; then
3502 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3503 else
3504 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3505 fi
3506
3507 else
3508
3509 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3510 if test "x$LINE" != x ; then
3511 eval "DEFAULT_$LINE"
3512 else
3513 no_cache=1
3514 fi
3515
3516 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3517
3518 fi
3519
3520
3521 eval "$ac_cv_use_subdirs"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3524 fi
3525
3526 if test "$wxWITH_SUBDIRS" = yes; then
3527 { echo "$as_me:$LINENO: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6; }
3529 else
3530 { echo "$as_me:$LINENO: result: no" >&5
3531 echo "${ECHO_T}no" >&6; }
3532 fi
3533
3534
3535 if test "$wxUSE_GUI" = "yes"; then
3536
3537
3538 enablestring=
3539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3540 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3541 no_cache=0
3542 # Check whether --enable-universal was given.
3543 if test "${enable_universal+set}" = set; then
3544 enableval=$enable_universal;
3545 if test "$enableval" = yes; then
3546 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3547 else
3548 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3549 fi
3550
3551 else
3552
3553 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3554 if test "x$LINE" != x ; then
3555 eval "DEFAULT_$LINE"
3556 else
3557 no_cache=1
3558 fi
3559
3560 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3561
3562 fi
3563
3564
3565 eval "$ac_cv_use_universal"
3566 if test "$no_cache" != 1; then
3567 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3568 fi
3569
3570 if test "$wxUSE_UNIVERSAL" = yes; then
3571 { echo "$as_me:$LINENO: result: yes" >&5
3572 echo "${ECHO_T}yes" >&6; }
3573 else
3574 { echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6; }
3576 fi
3577
3578
3579 # Check whether --with-gtk was given.
3580 if test "${with_gtk+set}" = set; then
3581 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3582 fi
3583
3584
3585 # Check whether --with-motif was given.
3586 if test "${with_motif+set}" = set; then
3587 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3588 fi
3589
3590
3591 # Check whether --with-mac was given.
3592 if test "${with_mac+set}" = set; then
3593 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3594 fi
3595
3596
3597 # Check whether --with-cocoa was given.
3598 if test "${with_cocoa+set}" = set; then
3599 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3600 fi
3601
3602
3603 # Check whether --with-wine was given.
3604 if test "${with_wine+set}" = set; then
3605 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3606 fi
3607
3608
3609 # Check whether --with-msw was given.
3610 if test "${with_msw+set}" = set; then
3611 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3612 fi
3613
3614
3615 # Check whether --with-pm was given.
3616 if test "${with_pm+set}" = set; then
3617 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3618 fi
3619
3620
3621 # Check whether --with-mgl was given.
3622 if test "${with_mgl+set}" = set; then
3623 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3624 fi
3625
3626
3627 # Check whether --with-directfb was given.
3628 if test "${with_directfb+set}" = set; then
3629 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3630 fi
3631
3632
3633 # Check whether --with-microwin was given.
3634 if test "${with_microwin+set}" = set; then
3635 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3636 fi
3637
3638
3639 # Check whether --with-x11 was given.
3640 if test "${with_x11+set}" = set; then
3641 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3642 fi
3643
3644
3645 enablestring=
3646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3647 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3648 no_cache=0
3649 # Check whether --enable-nanox was given.
3650 if test "${enable_nanox+set}" = set; then
3651 enableval=$enable_nanox;
3652 if test "$enableval" = yes; then
3653 ac_cv_use_nanox='wxUSE_NANOX=yes'
3654 else
3655 ac_cv_use_nanox='wxUSE_NANOX=no'
3656 fi
3657
3658 else
3659
3660 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3661 if test "x$LINE" != x ; then
3662 eval "DEFAULT_$LINE"
3663 else
3664 no_cache=1
3665 fi
3666
3667 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3668
3669 fi
3670
3671
3672 eval "$ac_cv_use_nanox"
3673 if test "$no_cache" != 1; then
3674 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3675 fi
3676
3677 if test "$wxUSE_NANOX" = yes; then
3678 { echo "$as_me:$LINENO: result: yes" >&5
3679 echo "${ECHO_T}yes" >&6; }
3680 else
3681 { echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6; }
3683 fi
3684
3685
3686 # Check whether --enable-gtk2 was given.
3687 if test "${enable_gtk2+set}" = set; then
3688 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3689 fi
3690
3691
3692 enablestring=
3693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3694 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3695 no_cache=0
3696 # Check whether --enable-gpe was given.
3697 if test "${enable_gpe+set}" = set; then
3698 enableval=$enable_gpe;
3699 if test "$enableval" = yes; then
3700 ac_cv_use_gpe='wxUSE_GPE=yes'
3701 else
3702 ac_cv_use_gpe='wxUSE_GPE=no'
3703 fi
3704
3705 else
3706
3707 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3708 if test "x$LINE" != x ; then
3709 eval "DEFAULT_$LINE"
3710 else
3711 no_cache=1
3712 fi
3713
3714 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3715
3716 fi
3717
3718
3719 eval "$ac_cv_use_gpe"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3722 fi
3723
3724 if test "$wxUSE_GPE" = yes; then
3725 { echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6; }
3727 else
3728 { echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6; }
3730 fi
3731
3732
3733
3734 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3735 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3736 no_cache=0
3737
3738 # Check whether --with-libpng was given.
3739 if test "${with_libpng+set}" = set; then
3740 withval=$with_libpng;
3741 if test "$withval" = yes; then
3742 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3743 elif test "$withval" = no; then
3744 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3745 elif test "$withval" = sys; then
3746 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3747 elif test "$withval" = builtin; then
3748 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3749 else
3750 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3751 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3752 { (exit 1); exit 1; }; }
3753 fi
3754
3755 else
3756
3757 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3758 if test "x$LINE" != x ; then
3759 eval "DEFAULT_$LINE"
3760 else
3761 no_cache=1
3762 fi
3763
3764 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3765
3766 fi
3767
3768
3769 eval "$ac_cv_use_libpng"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3772 fi
3773
3774 if test "$wxUSE_LIBPNG" = yes; then
3775 { echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6; }
3777 elif test "$wxUSE_LIBPNG" = no; then
3778 { echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6; }
3780 elif test "$wxUSE_LIBPNG" = sys; then
3781 { echo "$as_me:$LINENO: result: system version" >&5
3782 echo "${ECHO_T}system version" >&6; }
3783 elif test "$wxUSE_LIBPNG" = builtin; then
3784 { echo "$as_me:$LINENO: result: builtin version" >&5
3785 echo "${ECHO_T}builtin version" >&6; }
3786 else
3787 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3788 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3789 { (exit 1); exit 1; }; }
3790 fi
3791
3792
3793 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3794 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3795 no_cache=0
3796
3797 # Check whether --with-libjpeg was given.
3798 if test "${with_libjpeg+set}" = set; then
3799 withval=$with_libjpeg;
3800 if test "$withval" = yes; then
3801 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3802 elif test "$withval" = no; then
3803 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3804 elif test "$withval" = sys; then
3805 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3806 elif test "$withval" = builtin; then
3807 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3808 else
3809 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3810 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3811 { (exit 1); exit 1; }; }
3812 fi
3813
3814 else
3815
3816 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3819 else
3820 no_cache=1
3821 fi
3822
3823 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3824
3825 fi
3826
3827
3828 eval "$ac_cv_use_libjpeg"
3829 if test "$no_cache" != 1; then
3830 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3831 fi
3832
3833 if test "$wxUSE_LIBJPEG" = yes; then
3834 { echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6; }
3836 elif test "$wxUSE_LIBJPEG" = no; then
3837 { echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6; }
3839 elif test "$wxUSE_LIBJPEG" = sys; then
3840 { echo "$as_me:$LINENO: result: system version" >&5
3841 echo "${ECHO_T}system version" >&6; }
3842 elif test "$wxUSE_LIBJPEG" = builtin; then
3843 { echo "$as_me:$LINENO: result: builtin version" >&5
3844 echo "${ECHO_T}builtin version" >&6; }
3845 else
3846 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3847 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3848 { (exit 1); exit 1; }; }
3849 fi
3850
3851
3852 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3853 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3854 no_cache=0
3855
3856 # Check whether --with-libtiff was given.
3857 if test "${with_libtiff+set}" = set; then
3858 withval=$with_libtiff;
3859 if test "$withval" = yes; then
3860 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3861 elif test "$withval" = no; then
3862 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3863 elif test "$withval" = sys; then
3864 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3865 elif test "$withval" = builtin; then
3866 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3867 else
3868 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3869 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3870 { (exit 1); exit 1; }; }
3871 fi
3872
3873 else
3874
3875 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x ; then
3877 eval "DEFAULT_$LINE"
3878 else
3879 no_cache=1
3880 fi
3881
3882 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3883
3884 fi
3885
3886
3887 eval "$ac_cv_use_libtiff"
3888 if test "$no_cache" != 1; then
3889 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3890 fi
3891
3892 if test "$wxUSE_LIBTIFF" = yes; then
3893 { echo "$as_me:$LINENO: result: yes" >&5
3894 echo "${ECHO_T}yes" >&6; }
3895 elif test "$wxUSE_LIBTIFF" = no; then
3896 { echo "$as_me:$LINENO: result: no" >&5
3897 echo "${ECHO_T}no" >&6; }
3898 elif test "$wxUSE_LIBTIFF" = sys; then
3899 { echo "$as_me:$LINENO: result: system version" >&5
3900 echo "${ECHO_T}system version" >&6; }
3901 elif test "$wxUSE_LIBTIFF" = builtin; then
3902 { echo "$as_me:$LINENO: result: builtin version" >&5
3903 echo "${ECHO_T}builtin version" >&6; }
3904 else
3905 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3906 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3907 { (exit 1); exit 1; }; }
3908 fi
3909
3910
3911 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3912 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3913 no_cache=0
3914
3915 # Check whether --with-libxpm was given.
3916 if test "${with_libxpm+set}" = set; then
3917 withval=$with_libxpm;
3918 if test "$withval" = yes; then
3919 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3920 elif test "$withval" = no; then
3921 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3922 elif test "$withval" = sys; then
3923 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3924 elif test "$withval" = builtin; then
3925 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3926 else
3927 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3928 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3929 { (exit 1); exit 1; }; }
3930 fi
3931
3932 else
3933
3934 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3935 if test "x$LINE" != x ; then
3936 eval "DEFAULT_$LINE"
3937 else
3938 no_cache=1
3939 fi
3940
3941 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3942
3943 fi
3944
3945
3946 eval "$ac_cv_use_libxpm"
3947 if test "$no_cache" != 1; then
3948 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3949 fi
3950
3951 if test "$wxUSE_LIBXPM" = yes; then
3952 { echo "$as_me:$LINENO: result: yes" >&5
3953 echo "${ECHO_T}yes" >&6; }
3954 elif test "$wxUSE_LIBXPM" = no; then
3955 { echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6; }
3957 elif test "$wxUSE_LIBXPM" = sys; then
3958 { echo "$as_me:$LINENO: result: system version" >&5
3959 echo "${ECHO_T}system version" >&6; }
3960 elif test "$wxUSE_LIBXPM" = builtin; then
3961 { echo "$as_me:$LINENO: result: builtin version" >&5
3962 echo "${ECHO_T}builtin version" >&6; }
3963 else
3964 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3965 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3966 { (exit 1); exit 1; }; }
3967 fi
3968
3969
3970 withstring=
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3973 no_cache=0
3974
3975 # Check whether --with-libmspack was given.
3976 if test "${with_libmspack+set}" = set; then
3977 withval=$with_libmspack;
3978 if test "$withval" = yes; then
3979 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3980 else
3981 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3982 fi
3983
3984 else
3985
3986 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x ; then
3988 eval "DEFAULT_$LINE"
3989 else
3990 no_cache=1
3991 fi
3992
3993 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3994
3995 fi
3996
3997
3998 eval "$ac_cv_use_libmspack"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4001 fi
4002
4003 if test "$wxUSE_LIBMSPACK" = yes; then
4004 { echo "$as_me:$LINENO: result: yes" >&5
4005 echo "${ECHO_T}yes" >&6; }
4006 else
4007 { echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6; }
4009 fi
4010
4011
4012 withstring=
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4015 no_cache=0
4016
4017 # Check whether --with-sdl was given.
4018 if test "${with_sdl+set}" = set; then
4019 withval=$with_sdl;
4020 if test "$withval" = yes; then
4021 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4022 else
4023 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4024 fi
4025
4026 else
4027
4028 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x ; then
4030 eval "DEFAULT_$LINE"
4031 else
4032 no_cache=1
4033 fi
4034
4035 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4036
4037 fi
4038
4039
4040 eval "$ac_cv_use_sdl"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4043 fi
4044
4045 if test "$wxUSE_LIBSDL" = yes; then
4046 { echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6; }
4048 else
4049 { echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6; }
4051 fi
4052
4053
4054 withstring=
4055 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4056 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4057 no_cache=0
4058
4059 # Check whether --with-gnomeprint was given.
4060 if test "${with_gnomeprint+set}" = set; then
4061 withval=$with_gnomeprint;
4062 if test "$withval" = yes; then
4063 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4064 else
4065 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4066 fi
4067
4068 else
4069
4070 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x ; then
4072 eval "DEFAULT_$LINE"
4073 else
4074 no_cache=1
4075 fi
4076
4077 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4078
4079 fi
4080
4081
4082 eval "$ac_cv_use_gnomeprint"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4085 fi
4086
4087 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4088 { echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6; }
4090 else
4091 { echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6; }
4093 fi
4094
4095
4096 withstring=
4097 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4098 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4099 no_cache=0
4100
4101 # Check whether --with-gnomevfs was given.
4102 if test "${with_gnomevfs+set}" = set; then
4103 withval=$with_gnomevfs;
4104 if test "$withval" = yes; then
4105 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4106 else
4107 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4108 fi
4109
4110 else
4111
4112 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4115 else
4116 no_cache=1
4117 fi
4118
4119 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4120
4121 fi
4122
4123
4124 eval "$ac_cv_use_gnomevfs"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4127 fi
4128
4129 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4130 { echo "$as_me:$LINENO: result: yes" >&5
4131 echo "${ECHO_T}yes" >&6; }
4132 else
4133 { echo "$as_me:$LINENO: result: no" >&5
4134 echo "${ECHO_T}no" >&6; }
4135 fi
4136
4137
4138 withstring=
4139 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4140 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4141 no_cache=0
4142
4143 # Check whether --with-hildon was given.
4144 if test "${with_hildon+set}" = set; then
4145 withval=$with_hildon;
4146 if test "$withval" = yes; then
4147 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4148 else
4149 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4150 fi
4151
4152 else
4153
4154 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x ; then
4156 eval "DEFAULT_$LINE"
4157 else
4158 no_cache=1
4159 fi
4160
4161 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4162
4163 fi
4164
4165
4166 eval "$ac_cv_use_hildon"
4167 if test "$no_cache" != 1; then
4168 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4169 fi
4170
4171 if test "$wxUSE_LIBHILDON" = yes; then
4172 { echo "$as_me:$LINENO: result: yes" >&5
4173 echo "${ECHO_T}yes" >&6; }
4174 else
4175 { echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6; }
4177 fi
4178
4179
4180 withstring=
4181 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4182 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4183 no_cache=0
4184
4185 # Check whether --with-opengl was given.
4186 if test "${with_opengl+set}" = set; then
4187 withval=$with_opengl;
4188 if test "$withval" = yes; then
4189 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4190 else
4191 ac_cv_use_opengl='wxUSE_OPENGL=no'
4192 fi
4193
4194 else
4195
4196 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x ; then
4198 eval "DEFAULT_$LINE"
4199 else
4200 no_cache=1
4201 fi
4202
4203 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4204
4205 fi
4206
4207
4208 eval "$ac_cv_use_opengl"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4211 fi
4212
4213 if test "$wxUSE_OPENGL" = yes; then
4214 { echo "$as_me:$LINENO: result: yes" >&5
4215 echo "${ECHO_T}yes" >&6; }
4216 else
4217 { echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6; }
4219 fi
4220
4221
4222 if test "$wxUSE_UNIVERSAL" = "yes"; then
4223
4224 # Check whether --with-themes was given.
4225 if test "${with_themes+set}" = set; then
4226 withval=$with_themes; wxUNIV_THEMES="$withval"
4227 fi
4228
4229 fi
4230
4231 fi
4232
4233
4234 withstring=
4235 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4236 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4237 no_cache=0
4238
4239 # Check whether --with-dmalloc was given.
4240 if test "${with_dmalloc+set}" = set; then
4241 withval=$with_dmalloc;
4242 if test "$withval" = yes; then
4243 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4244 else
4245 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4246 fi
4247
4248 else
4249
4250 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4251 if test "x$LINE" != x ; then
4252 eval "DEFAULT_$LINE"
4253 else
4254 no_cache=1
4255 fi
4256
4257 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4258
4259 fi
4260
4261
4262 eval "$ac_cv_use_dmalloc"
4263 if test "$no_cache" != 1; then
4264 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4265 fi
4266
4267 if test "$wxUSE_DMALLOC" = yes; then
4268 { echo "$as_me:$LINENO: result: yes" >&5
4269 echo "${ECHO_T}yes" >&6; }
4270 else
4271 { echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6; }
4273 fi
4274
4275
4276 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4277 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4278 no_cache=0
4279
4280 # Check whether --with-regex was given.
4281 if test "${with_regex+set}" = set; then
4282 withval=$with_regex;
4283 if test "$withval" = yes; then
4284 ac_cv_use_regex='wxUSE_REGEX=yes'
4285 elif test "$withval" = no; then
4286 ac_cv_use_regex='wxUSE_REGEX=no'
4287 elif test "$withval" = sys; then
4288 ac_cv_use_regex='wxUSE_REGEX=sys'
4289 elif test "$withval" = builtin; then
4290 ac_cv_use_regex='wxUSE_REGEX=builtin'
4291 else
4292 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4293 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4294 { (exit 1); exit 1; }; }
4295 fi
4296
4297 else
4298
4299 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x ; then
4301 eval "DEFAULT_$LINE"
4302 else
4303 no_cache=1
4304 fi
4305
4306 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4307
4308 fi
4309
4310
4311 eval "$ac_cv_use_regex"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4314 fi
4315
4316 if test "$wxUSE_REGEX" = yes; then
4317 { echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6; }
4319 elif test "$wxUSE_REGEX" = no; then
4320 { echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6; }
4322 elif test "$wxUSE_REGEX" = sys; then
4323 { echo "$as_me:$LINENO: result: system version" >&5
4324 echo "${ECHO_T}system version" >&6; }
4325 elif test "$wxUSE_REGEX" = builtin; then
4326 { echo "$as_me:$LINENO: result: builtin version" >&5
4327 echo "${ECHO_T}builtin version" >&6; }
4328 else
4329 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4330 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4331 { (exit 1); exit 1; }; }
4332 fi
4333
4334
4335 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4336 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4337 no_cache=0
4338
4339 # Check whether --with-zlib was given.
4340 if test "${with_zlib+set}" = set; then
4341 withval=$with_zlib;
4342 if test "$withval" = yes; then
4343 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4344 elif test "$withval" = no; then
4345 ac_cv_use_zlib='wxUSE_ZLIB=no'
4346 elif test "$withval" = sys; then
4347 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4348 elif test "$withval" = builtin; then
4349 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4350 else
4351 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4352 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4353 { (exit 1); exit 1; }; }
4354 fi
4355
4356 else
4357
4358 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x ; then
4360 eval "DEFAULT_$LINE"
4361 else
4362 no_cache=1
4363 fi
4364
4365 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4366
4367 fi
4368
4369
4370 eval "$ac_cv_use_zlib"
4371 if test "$no_cache" != 1; then
4372 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4373 fi
4374
4375 if test "$wxUSE_ZLIB" = yes; then
4376 { echo "$as_me:$LINENO: result: yes" >&5
4377 echo "${ECHO_T}yes" >&6; }
4378 elif test "$wxUSE_ZLIB" = no; then
4379 { echo "$as_me:$LINENO: result: no" >&5
4380 echo "${ECHO_T}no" >&6; }
4381 elif test "$wxUSE_ZLIB" = sys; then
4382 { echo "$as_me:$LINENO: result: system version" >&5
4383 echo "${ECHO_T}system version" >&6; }
4384 elif test "$wxUSE_ZLIB" = builtin; then
4385 { echo "$as_me:$LINENO: result: builtin version" >&5
4386 echo "${ECHO_T}builtin version" >&6; }
4387 else
4388 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4389 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4390 { (exit 1); exit 1; }; }
4391 fi
4392
4393
4394 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4395 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4396 no_cache=0
4397
4398 # Check whether --with-odbc was given.
4399 if test "${with_odbc+set}" = set; then
4400 withval=$with_odbc;
4401 if test "$withval" = yes; then
4402 ac_cv_use_odbc='wxUSE_ODBC=yes'
4403 elif test "$withval" = no; then
4404 ac_cv_use_odbc='wxUSE_ODBC=no'
4405 elif test "$withval" = sys; then
4406 ac_cv_use_odbc='wxUSE_ODBC=sys'
4407 elif test "$withval" = builtin; then
4408 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4409 else
4410 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4411 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4412 { (exit 1); exit 1; }; }
4413 fi
4414
4415 else
4416
4417 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4418 if test "x$LINE" != x ; then
4419 eval "DEFAULT_$LINE"
4420 else
4421 no_cache=1
4422 fi
4423
4424 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4425
4426 fi
4427
4428
4429 eval "$ac_cv_use_odbc"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4432 fi
4433
4434 if test "$wxUSE_ODBC" = yes; then
4435 { echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6; }
4437 elif test "$wxUSE_ODBC" = no; then
4438 { echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6; }
4440 elif test "$wxUSE_ODBC" = sys; then
4441 { echo "$as_me:$LINENO: result: system version" >&5
4442 echo "${ECHO_T}system version" >&6; }
4443 elif test "$wxUSE_ODBC" = builtin; then
4444 { echo "$as_me:$LINENO: result: builtin version" >&5
4445 echo "${ECHO_T}builtin version" >&6; }
4446 else
4447 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4448 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4449 { (exit 1); exit 1; }; }
4450 fi
4451
4452
4453 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4454 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4455 no_cache=0
4456
4457 # Check whether --with-expat was given.
4458 if test "${with_expat+set}" = set; then
4459 withval=$with_expat;
4460 if test "$withval" = yes; then
4461 ac_cv_use_expat='wxUSE_EXPAT=yes'
4462 elif test "$withval" = no; then
4463 ac_cv_use_expat='wxUSE_EXPAT=no'
4464 elif test "$withval" = sys; then
4465 ac_cv_use_expat='wxUSE_EXPAT=sys'
4466 elif test "$withval" = builtin; then
4467 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4468 else
4469 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4470 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4471 { (exit 1); exit 1; }; }
4472 fi
4473
4474 else
4475
4476 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4477 if test "x$LINE" != x ; then
4478 eval "DEFAULT_$LINE"
4479 else
4480 no_cache=1
4481 fi
4482
4483 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4484
4485 fi
4486
4487
4488 eval "$ac_cv_use_expat"
4489 if test "$no_cache" != 1; then
4490 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4491 fi
4492
4493 if test "$wxUSE_EXPAT" = yes; then
4494 { echo "$as_me:$LINENO: result: yes" >&5
4495 echo "${ECHO_T}yes" >&6; }
4496 elif test "$wxUSE_EXPAT" = no; then
4497 { echo "$as_me:$LINENO: result: no" >&5
4498 echo "${ECHO_T}no" >&6; }
4499 elif test "$wxUSE_EXPAT" = sys; then
4500 { echo "$as_me:$LINENO: result: system version" >&5
4501 echo "${ECHO_T}system version" >&6; }
4502 elif test "$wxUSE_EXPAT" = builtin; then
4503 { echo "$as_me:$LINENO: result: builtin version" >&5
4504 echo "${ECHO_T}builtin version" >&6; }
4505 else
4506 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4507 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4508 { (exit 1); exit 1; }; }
4509 fi
4510
4511
4512
4513
4514 enablestring=
4515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4516 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4517 no_cache=0
4518 # Check whether --enable-shared was given.
4519 if test "${enable_shared+set}" = set; then
4520 enableval=$enable_shared;
4521 if test "$enableval" = yes; then
4522 ac_cv_use_shared='wxUSE_SHARED=yes'
4523 else
4524 ac_cv_use_shared='wxUSE_SHARED=no'
4525 fi
4526
4527 else
4528
4529 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4530 if test "x$LINE" != x ; then
4531 eval "DEFAULT_$LINE"
4532 else
4533 no_cache=1
4534 fi
4535
4536 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4537
4538 fi
4539
4540
4541 eval "$ac_cv_use_shared"
4542 if test "$no_cache" != 1; then
4543 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4544 fi
4545
4546 if test "$wxUSE_SHARED" = yes; then
4547 { echo "$as_me:$LINENO: result: yes" >&5
4548 echo "${ECHO_T}yes" >&6; }
4549 else
4550 { echo "$as_me:$LINENO: result: no" >&5
4551 echo "${ECHO_T}no" >&6; }
4552 fi
4553
4554
4555 enablestring=
4556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4557 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4558 no_cache=0
4559 # Check whether --enable-optimise was given.
4560 if test "${enable_optimise+set}" = set; then
4561 enableval=$enable_optimise;
4562 if test "$enableval" = yes; then
4563 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4564 else
4565 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4566 fi
4567
4568 else
4569
4570 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4571 if test "x$LINE" != x ; then
4572 eval "DEFAULT_$LINE"
4573 else
4574 no_cache=1
4575 fi
4576
4577 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4578
4579 fi
4580
4581
4582 eval "$ac_cv_use_optimise"
4583 if test "$no_cache" != 1; then
4584 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4585 fi
4586
4587 if test "$wxUSE_OPTIMISE" = yes; then
4588 { echo "$as_me:$LINENO: result: yes" >&5
4589 echo "${ECHO_T}yes" >&6; }
4590 else
4591 { echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6; }
4593 fi
4594
4595
4596 enablestring=
4597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4598 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4599 no_cache=0
4600 # Check whether --enable-debug was given.
4601 if test "${enable_debug+set}" = set; then
4602 enableval=$enable_debug;
4603 if test "$enableval" = yes; then
4604 ac_cv_use_debug='wxUSE_DEBUG=yes'
4605 else
4606 ac_cv_use_debug='wxUSE_DEBUG=no'
4607 fi
4608
4609 else
4610
4611 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x ; then
4613 eval "DEFAULT_$LINE"
4614 else
4615 no_cache=1
4616 fi
4617
4618 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4619
4620 fi
4621
4622
4623 eval "$ac_cv_use_debug"
4624 if test "$no_cache" != 1; then
4625 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4626 fi
4627
4628 if test "$wxUSE_DEBUG" = yes; then
4629 { echo "$as_me:$LINENO: result: yes" >&5
4630 echo "${ECHO_T}yes" >&6; }
4631 else
4632 { echo "$as_me:$LINENO: result: no" >&5
4633 echo "${ECHO_T}no" >&6; }
4634 fi
4635
4636
4637 enablestring=
4638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4640 no_cache=0
4641 # Check whether --enable-stl was given.
4642 if test "${enable_stl+set}" = set; then
4643 enableval=$enable_stl;
4644 if test "$enableval" = yes; then
4645 ac_cv_use_stl='wxUSE_STL=yes'
4646 else
4647 ac_cv_use_stl='wxUSE_STL=no'
4648 fi
4649
4650 else
4651
4652 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4655 else
4656 no_cache=1
4657 fi
4658
4659 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4660
4661 fi
4662
4663
4664 eval "$ac_cv_use_stl"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4667 fi
4668
4669 if test "$wxUSE_STL" = yes; then
4670 { echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6; }
4672 else
4673 { echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6; }
4675 fi
4676
4677 if test "$USE_OS2" = "1"; then
4678 DEFAULT_wxUSE_OMF=no
4679
4680 enablestring=
4681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4682 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4683 no_cache=0
4684 # Check whether --enable-omf was given.
4685 if test "${enable_omf+set}" = set; then
4686 enableval=$enable_omf;
4687 if test "$enableval" = yes; then
4688 ac_cv_use_omf='wxUSE_OMF=yes'
4689 else
4690 ac_cv_use_omf='wxUSE_OMF=no'
4691 fi
4692
4693 else
4694
4695 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x ; then
4697 eval "DEFAULT_$LINE"
4698 else
4699 no_cache=1
4700 fi
4701
4702 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4703
4704 fi
4705
4706
4707 eval "$ac_cv_use_omf"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4710 fi
4711
4712 if test "$wxUSE_OMF" = yes; then
4713 { echo "$as_me:$LINENO: result: yes" >&5
4714 echo "${ECHO_T}yes" >&6; }
4715 else
4716 { echo "$as_me:$LINENO: result: no" >&5
4717 echo "${ECHO_T}no" >&6; }
4718 fi
4719
4720 fi
4721
4722 if test "$wxUSE_DEBUG" = "yes"; then
4723 DEFAULT_wxUSE_DEBUG_FLAG=yes
4724 DEFAULT_wxUSE_DEBUG_INFO=yes
4725 BUILD=debug
4726 elif test "$wxUSE_DEBUG" = "no"; then
4727 DEFAULT_wxUSE_DEBUG_FLAG=no
4728 DEFAULT_wxUSE_DEBUG_INFO=no
4729 BUILD=release
4730 fi
4731
4732
4733 enablestring=
4734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4735 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4736 no_cache=0
4737 # Check whether --enable-debug_flag was given.
4738 if test "${enable_debug_flag+set}" = set; then
4739 enableval=$enable_debug_flag;
4740 if test "$enableval" = yes; then
4741 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4742 else
4743 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4744 fi
4745
4746 else
4747
4748 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4749 if test "x$LINE" != x ; then
4750 eval "DEFAULT_$LINE"
4751 else
4752 no_cache=1
4753 fi
4754
4755 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4756
4757 fi
4758
4759
4760 eval "$ac_cv_use_debug_flag"
4761 if test "$no_cache" != 1; then
4762 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4763 fi
4764
4765 if test "$wxUSE_DEBUG_FLAG" = yes; then
4766 { echo "$as_me:$LINENO: result: yes" >&5
4767 echo "${ECHO_T}yes" >&6; }
4768 else
4769 { echo "$as_me:$LINENO: result: no" >&5
4770 echo "${ECHO_T}no" >&6; }
4771 fi
4772
4773
4774 enablestring=
4775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4776 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4777 no_cache=0
4778 # Check whether --enable-debug_info was given.
4779 if test "${enable_debug_info+set}" = set; then
4780 enableval=$enable_debug_info;
4781 if test "$enableval" = yes; then
4782 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4783 else
4784 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4785 fi
4786
4787 else
4788
4789 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4790 if test "x$LINE" != x ; then
4791 eval "DEFAULT_$LINE"
4792 else
4793 no_cache=1
4794 fi
4795
4796 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4797
4798 fi
4799
4800
4801 eval "$ac_cv_use_debug_info"
4802 if test "$no_cache" != 1; then
4803 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4804 fi
4805
4806 if test "$wxUSE_DEBUG_INFO" = yes; then
4807 { echo "$as_me:$LINENO: result: yes" >&5
4808 echo "${ECHO_T}yes" >&6; }
4809 else
4810 { echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6; }
4812 fi
4813
4814
4815 enablestring=
4816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4817 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4818 no_cache=0
4819 # Check whether --enable-debug_gdb was given.
4820 if test "${enable_debug_gdb+set}" = set; then
4821 enableval=$enable_debug_gdb;
4822 if test "$enableval" = yes; then
4823 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4824 else
4825 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4826 fi
4827
4828 else
4829
4830 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4831 if test "x$LINE" != x ; then
4832 eval "DEFAULT_$LINE"
4833 else
4834 no_cache=1
4835 fi
4836
4837 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4838
4839 fi
4840
4841
4842 eval "$ac_cv_use_debug_gdb"
4843 if test "$no_cache" != 1; then
4844 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4845 fi
4846
4847 if test "$wxUSE_DEBUG_GDB" = yes; then
4848 { echo "$as_me:$LINENO: result: yes" >&5
4849 echo "${ECHO_T}yes" >&6; }
4850 else
4851 { echo "$as_me:$LINENO: result: no" >&5
4852 echo "${ECHO_T}no" >&6; }
4853 fi
4854
4855
4856 enablestring=
4857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4859 no_cache=0
4860 # Check whether --enable-debug_cntxt was given.
4861 if test "${enable_debug_cntxt+set}" = set; then
4862 enableval=$enable_debug_cntxt;
4863 if test "$enableval" = yes; then
4864 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4865 else
4866 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4867 fi
4868
4869 else
4870
4871 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4874 else
4875 no_cache=1
4876 fi
4877
4878 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4879
4880 fi
4881
4882
4883 eval "$ac_cv_use_debug_cntxt"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4886 fi
4887
4888 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4889 { echo "$as_me:$LINENO: result: yes" >&5
4890 echo "${ECHO_T}yes" >&6; }
4891 else
4892 { echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6; }
4894 fi
4895
4896
4897 enablestring=
4898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4899 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4900 no_cache=0
4901 # Check whether --enable-mem_tracing was given.
4902 if test "${enable_mem_tracing+set}" = set; then
4903 enableval=$enable_mem_tracing;
4904 if test "$enableval" = yes; then
4905 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4906 else
4907 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4908 fi
4909
4910 else
4911
4912 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x ; then
4914 eval "DEFAULT_$LINE"
4915 else
4916 no_cache=1
4917 fi
4918
4919 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4920
4921 fi
4922
4923
4924 eval "$ac_cv_use_mem_tracing"
4925 if test "$no_cache" != 1; then
4926 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4927 fi
4928
4929 if test "$wxUSE_MEM_TRACING" = yes; then
4930 { echo "$as_me:$LINENO: result: yes" >&5
4931 echo "${ECHO_T}yes" >&6; }
4932 else
4933 { echo "$as_me:$LINENO: result: no" >&5
4934 echo "${ECHO_T}no" >&6; }
4935 fi
4936
4937
4938 enablestring=
4939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4940 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4941 no_cache=0
4942 # Check whether --enable-profile was given.
4943 if test "${enable_profile+set}" = set; then
4944 enableval=$enable_profile;
4945 if test "$enableval" = yes; then
4946 ac_cv_use_profile='wxUSE_PROFILE=yes'
4947 else
4948 ac_cv_use_profile='wxUSE_PROFILE=no'
4949 fi
4950
4951 else
4952
4953 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4954 if test "x$LINE" != x ; then
4955 eval "DEFAULT_$LINE"
4956 else
4957 no_cache=1
4958 fi
4959
4960 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4961
4962 fi
4963
4964
4965 eval "$ac_cv_use_profile"
4966 if test "$no_cache" != 1; then
4967 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4968 fi
4969
4970 if test "$wxUSE_PROFILE" = yes; then
4971 { echo "$as_me:$LINENO: result: yes" >&5
4972 echo "${ECHO_T}yes" >&6; }
4973 else
4974 { echo "$as_me:$LINENO: result: no" >&5
4975 echo "${ECHO_T}no" >&6; }
4976 fi
4977
4978
4979 enablestring=
4980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4982 no_cache=0
4983 # Check whether --enable-no_rtti was given.
4984 if test "${enable_no_rtti+set}" = set; then
4985 enableval=$enable_no_rtti;
4986 if test "$enableval" = yes; then
4987 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4988 else
4989 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4990 fi
4991
4992 else
4993
4994 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x ; then
4996 eval "DEFAULT_$LINE"
4997 else
4998 no_cache=1
4999 fi
5000
5001 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5002
5003 fi
5004
5005
5006 eval "$ac_cv_use_no_rtti"
5007 if test "$no_cache" != 1; then
5008 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5009 fi
5010
5011 if test "$wxUSE_NO_RTTI" = yes; then
5012 { echo "$as_me:$LINENO: result: yes" >&5
5013 echo "${ECHO_T}yes" >&6; }
5014 else
5015 { echo "$as_me:$LINENO: result: no" >&5
5016 echo "${ECHO_T}no" >&6; }
5017 fi
5018
5019
5020 enablestring=
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5023 no_cache=0
5024 # Check whether --enable-no_exceptions was given.
5025 if test "${enable_no_exceptions+set}" = set; then
5026 enableval=$enable_no_exceptions;
5027 if test "$enableval" = yes; then
5028 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5029 else
5030 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5031 fi
5032
5033 else
5034
5035 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x ; then
5037 eval "DEFAULT_$LINE"
5038 else
5039 no_cache=1
5040 fi
5041
5042 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5043
5044 fi
5045
5046
5047 eval "$ac_cv_use_no_exceptions"
5048 if test "$no_cache" != 1; then
5049 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5050 fi
5051
5052 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5053 { echo "$as_me:$LINENO: result: yes" >&5
5054 echo "${ECHO_T}yes" >&6; }
5055 else
5056 { echo "$as_me:$LINENO: result: no" >&5
5057 echo "${ECHO_T}no" >&6; }
5058 fi
5059
5060
5061 enablestring=
5062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5063 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5064 no_cache=0
5065 # Check whether --enable-permissive was given.
5066 if test "${enable_permissive+set}" = set; then
5067 enableval=$enable_permissive;
5068 if test "$enableval" = yes; then
5069 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5070 else
5071 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5072 fi
5073
5074 else
5075
5076 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x ; then
5078 eval "DEFAULT_$LINE"
5079 else
5080 no_cache=1
5081 fi
5082
5083 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5084
5085 fi
5086
5087
5088 eval "$ac_cv_use_permissive"
5089 if test "$no_cache" != 1; then
5090 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5091 fi
5092
5093 if test "$wxUSE_PERMISSIVE" = yes; then
5094 { echo "$as_me:$LINENO: result: yes" >&5
5095 echo "${ECHO_T}yes" >&6; }
5096 else
5097 { echo "$as_me:$LINENO: result: no" >&5
5098 echo "${ECHO_T}no" >&6; }
5099 fi
5100
5101
5102 enablestring=
5103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5104 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5105 no_cache=0
5106 # Check whether --enable-no_deps was given.
5107 if test "${enable_no_deps+set}" = set; then
5108 enableval=$enable_no_deps;
5109 if test "$enableval" = yes; then
5110 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5111 else
5112 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5113 fi
5114
5115 else
5116
5117 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x ; then
5119 eval "DEFAULT_$LINE"
5120 else
5121 no_cache=1
5122 fi
5123
5124 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5125
5126 fi
5127
5128
5129 eval "$ac_cv_use_no_deps"
5130 if test "$no_cache" != 1; then
5131 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5132 fi
5133
5134 if test "$wxUSE_NO_DEPS" = yes; then
5135 { echo "$as_me:$LINENO: result: yes" >&5
5136 echo "${ECHO_T}yes" >&6; }
5137 else
5138 { echo "$as_me:$LINENO: result: no" >&5
5139 echo "${ECHO_T}no" >&6; }
5140 fi
5141
5142
5143 enablestring=
5144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5145 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5146 no_cache=0
5147 # Check whether --enable-vararg_macros was given.
5148 if test "${enable_vararg_macros+set}" = set; then
5149 enableval=$enable_vararg_macros;
5150 if test "$enableval" = yes; then
5151 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5152 else
5153 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5154 fi
5155
5156 else
5157
5158 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5159 if test "x$LINE" != x ; then
5160 eval "DEFAULT_$LINE"
5161 else
5162 no_cache=1
5163 fi
5164
5165 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5166
5167 fi
5168
5169
5170 eval "$ac_cv_use_vararg_macros"
5171 if test "$no_cache" != 1; then
5172 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5173 fi
5174
5175 if test "$wxUSE_VARARG_MACROS" = yes; then
5176 { echo "$as_me:$LINENO: result: yes" >&5
5177 echo "${ECHO_T}yes" >&6; }
5178 else
5179 { echo "$as_me:$LINENO: result: no" >&5
5180 echo "${ECHO_T}no" >&6; }
5181 fi
5182
5183
5184 enablestring=
5185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5186 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5187 no_cache=0
5188 # Check whether --enable-universal_binary was given.
5189 if test "${enable_universal_binary+set}" = set; then
5190 enableval=$enable_universal_binary;
5191 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5192
5193 else
5194
5195 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x ; then
5197 eval "DEFAULT_$LINE"
5198 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5199 else
5200 no_cache=1
5201 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5202 fi
5203
5204 fi
5205
5206
5207 eval "$wx_cv_use_universal_binary"
5208 if test "$no_cache" != 1; then
5209 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5210 fi
5211
5212 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5213 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5214
5215
5216
5217 enablestring=enable
5218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5220 no_cache=0
5221 # Check whether --enable-compat26 was given.
5222 if test "${enable_compat26+set}" = set; then
5223 enableval=$enable_compat26;
5224 if test "$enableval" = yes; then
5225 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5226 else
5227 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5228 fi
5229
5230 else
5231
5232 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5233 if test "x$LINE" != x ; then
5234 eval "DEFAULT_$LINE"
5235 else
5236 no_cache=1
5237 fi
5238
5239 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5240
5241 fi
5242
5243
5244 eval "$ac_cv_use_compat26"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5247 fi
5248
5249 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5250 { echo "$as_me:$LINENO: result: yes" >&5
5251 echo "${ECHO_T}yes" >&6; }
5252 else
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5255 fi
5256
5257
5258 enablestring=disable
5259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5260 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5261 no_cache=0
5262 # Check whether --enable-compat28 was given.
5263 if test "${enable_compat28+set}" = set; then
5264 enableval=$enable_compat28;
5265 if test "$enableval" = yes; then
5266 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5267 else
5268 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5269 fi
5270
5271 else
5272
5273 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5274 if test "x$LINE" != x ; then
5275 eval "DEFAULT_$LINE"
5276 else
5277 no_cache=1
5278 fi
5279
5280 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5281
5282 fi
5283
5284
5285 eval "$ac_cv_use_compat28"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5288 fi
5289
5290 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5291 { echo "$as_me:$LINENO: result: yes" >&5
5292 echo "${ECHO_T}yes" >&6; }
5293 else
5294 { echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6; }
5296 fi
5297
5298
5299
5300 enablestring=
5301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5303 no_cache=0
5304 # Check whether --enable-rpath was given.
5305 if test "${enable_rpath+set}" = set; then
5306 enableval=$enable_rpath;
5307 if test "$enableval" = yes; then
5308 ac_cv_use_rpath='wxUSE_RPATH=yes'
5309 else
5310 ac_cv_use_rpath='wxUSE_RPATH=no'
5311 fi
5312
5313 else
5314
5315 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5316 if test "x$LINE" != x ; then
5317 eval "DEFAULT_$LINE"
5318 else
5319 no_cache=1
5320 fi
5321
5322 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5323
5324 fi
5325
5326
5327 eval "$ac_cv_use_rpath"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5330 fi
5331
5332 if test "$wxUSE_RPATH" = yes; then
5333 { echo "$as_me:$LINENO: result: yes" >&5
5334 echo "${ECHO_T}yes" >&6; }
5335 else
5336 { echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6; }
5338 fi
5339
5340
5341
5342
5343
5344 enablestring=
5345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5347 no_cache=0
5348 # Check whether --enable-intl was given.
5349 if test "${enable_intl+set}" = set; then
5350 enableval=$enable_intl;
5351 if test "$enableval" = yes; then
5352 ac_cv_use_intl='wxUSE_INTL=yes'
5353 else
5354 ac_cv_use_intl='wxUSE_INTL=no'
5355 fi
5356
5357 else
5358
5359 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5360 if test "x$LINE" != x ; then
5361 eval "DEFAULT_$LINE"
5362 else
5363 no_cache=1
5364 fi
5365
5366 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5367
5368 fi
5369
5370
5371 eval "$ac_cv_use_intl"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5374 fi
5375
5376 if test "$wxUSE_INTL" = yes; then
5377 { echo "$as_me:$LINENO: result: yes" >&5
5378 echo "${ECHO_T}yes" >&6; }
5379 else
5380 { echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6; }
5382 fi
5383
5384
5385 enablestring=
5386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5387 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5388 no_cache=0
5389 # Check whether --enable-config was given.
5390 if test "${enable_config+set}" = set; then
5391 enableval=$enable_config;
5392 if test "$enableval" = yes; then
5393 ac_cv_use_config='wxUSE_CONFIG=yes'
5394 else
5395 ac_cv_use_config='wxUSE_CONFIG=no'
5396 fi
5397
5398 else
5399
5400 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5401 if test "x$LINE" != x ; then
5402 eval "DEFAULT_$LINE"
5403 else
5404 no_cache=1
5405 fi
5406
5407 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5408
5409 fi
5410
5411
5412 eval "$ac_cv_use_config"
5413 if test "$no_cache" != 1; then
5414 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5415 fi
5416
5417 if test "$wxUSE_CONFIG" = yes; then
5418 { echo "$as_me:$LINENO: result: yes" >&5
5419 echo "${ECHO_T}yes" >&6; }
5420 else
5421 { echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6; }
5423 fi
5424
5425
5426
5427 enablestring=
5428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5429 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5430 no_cache=0
5431 # Check whether --enable-protocols was given.
5432 if test "${enable_protocols+set}" = set; then
5433 enableval=$enable_protocols;
5434 if test "$enableval" = yes; then
5435 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5436 else
5437 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5438 fi
5439
5440 else
5441
5442 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5443 if test "x$LINE" != x ; then
5444 eval "DEFAULT_$LINE"
5445 else
5446 no_cache=1
5447 fi
5448
5449 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5450
5451 fi
5452
5453
5454 eval "$ac_cv_use_protocols"
5455 if test "$no_cache" != 1; then
5456 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5457 fi
5458
5459 if test "$wxUSE_PROTOCOL" = yes; then
5460 { echo "$as_me:$LINENO: result: yes" >&5
5461 echo "${ECHO_T}yes" >&6; }
5462 else
5463 { echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6; }
5465 fi
5466
5467
5468 enablestring=
5469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5470 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5471 no_cache=0
5472 # Check whether --enable-ftp was given.
5473 if test "${enable_ftp+set}" = set; then
5474 enableval=$enable_ftp;
5475 if test "$enableval" = yes; then
5476 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5477 else
5478 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5479 fi
5480
5481 else
5482
5483 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5484 if test "x$LINE" != x ; then
5485 eval "DEFAULT_$LINE"
5486 else
5487 no_cache=1
5488 fi
5489
5490 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5491
5492 fi
5493
5494
5495 eval "$ac_cv_use_ftp"
5496 if test "$no_cache" != 1; then
5497 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5498 fi
5499
5500 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5501 { echo "$as_me:$LINENO: result: yes" >&5
5502 echo "${ECHO_T}yes" >&6; }
5503 else
5504 { echo "$as_me:$LINENO: result: no" >&5
5505 echo "${ECHO_T}no" >&6; }
5506 fi
5507
5508
5509 enablestring=
5510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5511 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5512 no_cache=0
5513 # Check whether --enable-http was given.
5514 if test "${enable_http+set}" = set; then
5515 enableval=$enable_http;
5516 if test "$enableval" = yes; then
5517 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5518 else
5519 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5520 fi
5521
5522 else
5523
5524 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x ; then
5526 eval "DEFAULT_$LINE"
5527 else
5528 no_cache=1
5529 fi
5530
5531 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5532
5533 fi
5534
5535
5536 eval "$ac_cv_use_http"
5537 if test "$no_cache" != 1; then
5538 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5539 fi
5540
5541 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5542 { echo "$as_me:$LINENO: result: yes" >&5
5543 echo "${ECHO_T}yes" >&6; }
5544 else
5545 { echo "$as_me:$LINENO: result: no" >&5
5546 echo "${ECHO_T}no" >&6; }
5547 fi
5548
5549
5550 enablestring=
5551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5552 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5553 no_cache=0
5554 # Check whether --enable-fileproto was given.
5555 if test "${enable_fileproto+set}" = set; then
5556 enableval=$enable_fileproto;
5557 if test "$enableval" = yes; then
5558 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5559 else
5560 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5561 fi
5562
5563 else
5564
5565 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5566 if test "x$LINE" != x ; then
5567 eval "DEFAULT_$LINE"
5568 else
5569 no_cache=1
5570 fi
5571
5572 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5573
5574 fi
5575
5576
5577 eval "$ac_cv_use_fileproto"
5578 if test "$no_cache" != 1; then
5579 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5580 fi
5581
5582 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5583 { echo "$as_me:$LINENO: result: yes" >&5
5584 echo "${ECHO_T}yes" >&6; }
5585 else
5586 { echo "$as_me:$LINENO: result: no" >&5
5587 echo "${ECHO_T}no" >&6; }
5588 fi
5589
5590
5591 enablestring=
5592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5593 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5594 no_cache=0
5595 # Check whether --enable-sockets was given.
5596 if test "${enable_sockets+set}" = set; then
5597 enableval=$enable_sockets;
5598 if test "$enableval" = yes; then
5599 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5600 else
5601 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5602 fi
5603
5604 else
5605
5606 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5607 if test "x$LINE" != x ; then
5608 eval "DEFAULT_$LINE"
5609 else
5610 no_cache=1
5611 fi
5612
5613 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5614
5615 fi
5616
5617
5618 eval "$ac_cv_use_sockets"
5619 if test "$no_cache" != 1; then
5620 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5621 fi
5622
5623 if test "$wxUSE_SOCKETS" = yes; then
5624 { echo "$as_me:$LINENO: result: yes" >&5
5625 echo "${ECHO_T}yes" >&6; }
5626 else
5627 { echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6; }
5629 fi
5630
5631
5632 enablestring=
5633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5634 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5635 no_cache=0
5636 # Check whether --enable-ole was given.
5637 if test "${enable_ole+set}" = set; then
5638 enableval=$enable_ole;
5639 if test "$enableval" = yes; then
5640 ac_cv_use_ole='wxUSE_OLE=yes'
5641 else
5642 ac_cv_use_ole='wxUSE_OLE=no'
5643 fi
5644
5645 else
5646
5647 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5648 if test "x$LINE" != x ; then
5649 eval "DEFAULT_$LINE"
5650 else
5651 no_cache=1
5652 fi
5653
5654 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5655
5656 fi
5657
5658
5659 eval "$ac_cv_use_ole"
5660 if test "$no_cache" != 1; then
5661 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5662 fi
5663
5664 if test "$wxUSE_OLE" = yes; then
5665 { echo "$as_me:$LINENO: result: yes" >&5
5666 echo "${ECHO_T}yes" >&6; }
5667 else
5668 { echo "$as_me:$LINENO: result: no" >&5
5669 echo "${ECHO_T}no" >&6; }
5670 fi
5671
5672
5673 enablestring=
5674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5675 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5676 no_cache=0
5677 # Check whether --enable-dataobj was given.
5678 if test "${enable_dataobj+set}" = set; then
5679 enableval=$enable_dataobj;
5680 if test "$enableval" = yes; then
5681 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5682 else
5683 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5684 fi
5685
5686 else
5687
5688 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x ; then
5690 eval "DEFAULT_$LINE"
5691 else
5692 no_cache=1
5693 fi
5694
5695 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5696
5697 fi
5698
5699
5700 eval "$ac_cv_use_dataobj"
5701 if test "$no_cache" != 1; then
5702 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5703 fi
5704
5705 if test "$wxUSE_DATAOBJ" = yes; then
5706 { echo "$as_me:$LINENO: result: yes" >&5
5707 echo "${ECHO_T}yes" >&6; }
5708 else
5709 { echo "$as_me:$LINENO: result: no" >&5
5710 echo "${ECHO_T}no" >&6; }
5711 fi
5712
5713
5714
5715 enablestring=
5716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5717 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5718 no_cache=0
5719 # Check whether --enable-ipc was given.
5720 if test "${enable_ipc+set}" = set; then
5721 enableval=$enable_ipc;
5722 if test "$enableval" = yes; then
5723 ac_cv_use_ipc='wxUSE_IPC=yes'
5724 else
5725 ac_cv_use_ipc='wxUSE_IPC=no'
5726 fi
5727
5728 else
5729
5730 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5731 if test "x$LINE" != x ; then
5732 eval "DEFAULT_$LINE"
5733 else
5734 no_cache=1
5735 fi
5736
5737 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5738
5739 fi
5740
5741
5742 eval "$ac_cv_use_ipc"
5743 if test "$no_cache" != 1; then
5744 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5745 fi
5746
5747 if test "$wxUSE_IPC" = yes; then
5748 { echo "$as_me:$LINENO: result: yes" >&5
5749 echo "${ECHO_T}yes" >&6; }
5750 else
5751 { echo "$as_me:$LINENO: result: no" >&5
5752 echo "${ECHO_T}no" >&6; }
5753 fi
5754
5755
5756
5757 enablestring=
5758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5760 no_cache=0
5761 # Check whether --enable-apple_ieee was given.
5762 if test "${enable_apple_ieee+set}" = set; then
5763 enableval=$enable_apple_ieee;
5764 if test "$enableval" = yes; then
5765 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5766 else
5767 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5768 fi
5769
5770 else
5771
5772 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5773 if test "x$LINE" != x ; then
5774 eval "DEFAULT_$LINE"
5775 else
5776 no_cache=1
5777 fi
5778
5779 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5780
5781 fi
5782
5783
5784 eval "$ac_cv_use_apple_ieee"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5787 fi
5788
5789 if test "$wxUSE_APPLE_IEEE" = yes; then
5790 { echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6; }
5792 else
5793 { echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6; }
5795 fi
5796
5797
5798 enablestring=
5799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5801 no_cache=0
5802 # Check whether --enable-arcstream was given.
5803 if test "${enable_arcstream+set}" = set; then
5804 enableval=$enable_arcstream;
5805 if test "$enableval" = yes; then
5806 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5807 else
5808 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5809 fi
5810
5811 else
5812
5813 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5814 if test "x$LINE" != x ; then
5815 eval "DEFAULT_$LINE"
5816 else
5817 no_cache=1
5818 fi
5819
5820 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5821
5822 fi
5823
5824
5825 eval "$ac_cv_use_arcstream"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5828 fi
5829
5830 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5831 { echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6; }
5833 else
5834 { echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6; }
5836 fi
5837
5838
5839 enablestring=
5840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5842 no_cache=0
5843 # Check whether --enable-backtrace was given.
5844 if test "${enable_backtrace+set}" = set; then
5845 enableval=$enable_backtrace;
5846 if test "$enableval" = yes; then
5847 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5848 else
5849 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5850 fi
5851
5852 else
5853
5854 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5855 if test "x$LINE" != x ; then
5856 eval "DEFAULT_$LINE"
5857 else
5858 no_cache=1
5859 fi
5860
5861 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5862
5863 fi
5864
5865
5866 eval "$ac_cv_use_backtrace"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5869 fi
5870
5871 if test "$wxUSE_STACKWALKER" = yes; then
5872 { echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6; }
5874 else
5875 { echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6; }
5877 fi
5878
5879
5880 enablestring=
5881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5883 no_cache=0
5884 # Check whether --enable-catch_segvs was given.
5885 if test "${enable_catch_segvs+set}" = set; then
5886 enableval=$enable_catch_segvs;
5887 if test "$enableval" = yes; then
5888 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5889 else
5890 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5891 fi
5892
5893 else
5894
5895 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5896 if test "x$LINE" != x ; then
5897 eval "DEFAULT_$LINE"
5898 else
5899 no_cache=1
5900 fi
5901
5902 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5903
5904 fi
5905
5906
5907 eval "$ac_cv_use_catch_segvs"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5910 fi
5911
5912 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5913 { echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6; }
5915 else
5916 { echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6; }
5918 fi
5919
5920
5921 enablestring=
5922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5924 no_cache=0
5925 # Check whether --enable-cmdline was given.
5926 if test "${enable_cmdline+set}" = set; then
5927 enableval=$enable_cmdline;
5928 if test "$enableval" = yes; then
5929 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5930 else
5931 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5932 fi
5933
5934 else
5935
5936 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5937 if test "x$LINE" != x ; then
5938 eval "DEFAULT_$LINE"
5939 else
5940 no_cache=1
5941 fi
5942
5943 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5944
5945 fi
5946
5947
5948 eval "$ac_cv_use_cmdline"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5951 fi
5952
5953 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5954 { echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6; }
5956 else
5957 { echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6; }
5959 fi
5960
5961
5962 enablestring=
5963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5965 no_cache=0
5966 # Check whether --enable-datetime was given.
5967 if test "${enable_datetime+set}" = set; then
5968 enableval=$enable_datetime;
5969 if test "$enableval" = yes; then
5970 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5971 else
5972 ac_cv_use_datetime='wxUSE_DATETIME=no'
5973 fi
5974
5975 else
5976
5977 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5978 if test "x$LINE" != x ; then
5979 eval "DEFAULT_$LINE"
5980 else
5981 no_cache=1
5982 fi
5983
5984 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5985
5986 fi
5987
5988
5989 eval "$ac_cv_use_datetime"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5992 fi
5993
5994 if test "$wxUSE_DATETIME" = yes; then
5995 { echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6; }
5997 else
5998 { echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6; }
6000 fi
6001
6002
6003 enablestring=
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6006 no_cache=0
6007 # Check whether --enable-debugreport was given.
6008 if test "${enable_debugreport+set}" = set; then
6009 enableval=$enable_debugreport;
6010 if test "$enableval" = yes; then
6011 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6012 else
6013 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6014 fi
6015
6016 else
6017
6018 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6021 else
6022 no_cache=1
6023 fi
6024
6025 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6026
6027 fi
6028
6029
6030 eval "$ac_cv_use_debugreport"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6033 fi
6034
6035 if test "$wxUSE_DEBUGREPORT" = yes; then
6036 { echo "$as_me:$LINENO: result: yes" >&5
6037 echo "${ECHO_T}yes" >&6; }
6038 else
6039 { echo "$as_me:$LINENO: result: no" >&5
6040 echo "${ECHO_T}no" >&6; }
6041 fi
6042
6043
6044 enablestring=
6045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6047 no_cache=0
6048 # Check whether --enable-dialupman was given.
6049 if test "${enable_dialupman+set}" = set; then
6050 enableval=$enable_dialupman;
6051 if test "$enableval" = yes; then
6052 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6053 else
6054 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6055 fi
6056
6057 else
6058
6059 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6060 if test "x$LINE" != x ; then
6061 eval "DEFAULT_$LINE"
6062 else
6063 no_cache=1
6064 fi
6065
6066 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6067
6068 fi
6069
6070
6071 eval "$ac_cv_use_dialupman"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6074 fi
6075
6076 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6077 { echo "$as_me:$LINENO: result: yes" >&5
6078 echo "${ECHO_T}yes" >&6; }
6079 else
6080 { echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6; }
6082 fi
6083
6084
6085 enablestring=
6086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6087 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6088 no_cache=0
6089 # Check whether --enable-dynlib was given.
6090 if test "${enable_dynlib+set}" = set; then
6091 enableval=$enable_dynlib;
6092 if test "$enableval" = yes; then
6093 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6094 else
6095 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6096 fi
6097
6098 else
6099
6100 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6101 if test "x$LINE" != x ; then
6102 eval "DEFAULT_$LINE"
6103 else
6104 no_cache=1
6105 fi
6106
6107 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6108
6109 fi
6110
6111
6112 eval "$ac_cv_use_dynlib"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6115 fi
6116
6117 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6118 { echo "$as_me:$LINENO: result: yes" >&5
6119 echo "${ECHO_T}yes" >&6; }
6120 else
6121 { echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6; }
6123 fi
6124
6125
6126 enablestring=
6127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6129 no_cache=0
6130 # Check whether --enable-dynamicloader was given.
6131 if test "${enable_dynamicloader+set}" = set; then
6132 enableval=$enable_dynamicloader;
6133 if test "$enableval" = yes; then
6134 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6135 else
6136 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6137 fi
6138
6139 else
6140
6141 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6142 if test "x$LINE" != x ; then
6143 eval "DEFAULT_$LINE"
6144 else
6145 no_cache=1
6146 fi
6147
6148 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6149
6150 fi
6151
6152
6153 eval "$ac_cv_use_dynamicloader"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6156 fi
6157
6158 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6159 { echo "$as_me:$LINENO: result: yes" >&5
6160 echo "${ECHO_T}yes" >&6; }
6161 else
6162 { echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6; }
6164 fi
6165
6166
6167 enablestring=
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6170 no_cache=0
6171 # Check whether --enable-exceptions was given.
6172 if test "${enable_exceptions+set}" = set; then
6173 enableval=$enable_exceptions;
6174 if test "$enableval" = yes; then
6175 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6176 else
6177 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6178 fi
6179
6180 else
6181
6182 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6185 else
6186 no_cache=1
6187 fi
6188
6189 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6190
6191 fi
6192
6193
6194 eval "$ac_cv_use_exceptions"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6197 fi
6198
6199 if test "$wxUSE_EXCEPTIONS" = yes; then
6200 { echo "$as_me:$LINENO: result: yes" >&5
6201 echo "${ECHO_T}yes" >&6; }
6202 else
6203 { echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6; }
6205 fi
6206
6207
6208 enablestring=
6209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6211 no_cache=0
6212 # Check whether --enable-ffile was given.
6213 if test "${enable_ffile+set}" = set; then
6214 enableval=$enable_ffile;
6215 if test "$enableval" = yes; then
6216 ac_cv_use_ffile='wxUSE_FFILE=yes'
6217 else
6218 ac_cv_use_ffile='wxUSE_FFILE=no'
6219 fi
6220
6221 else
6222
6223 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x ; then
6225 eval "DEFAULT_$LINE"
6226 else
6227 no_cache=1
6228 fi
6229
6230 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6231
6232 fi
6233
6234
6235 eval "$ac_cv_use_ffile"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6238 fi
6239
6240 if test "$wxUSE_FFILE" = yes; then
6241 { echo "$as_me:$LINENO: result: yes" >&5
6242 echo "${ECHO_T}yes" >&6; }
6243 else
6244 { echo "$as_me:$LINENO: result: no" >&5
6245 echo "${ECHO_T}no" >&6; }
6246 fi
6247
6248
6249 enablestring=
6250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6251 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6252 no_cache=0
6253 # Check whether --enable-file was given.
6254 if test "${enable_file+set}" = set; then
6255 enableval=$enable_file;
6256 if test "$enableval" = yes; then
6257 ac_cv_use_file='wxUSE_FILE=yes'
6258 else
6259 ac_cv_use_file='wxUSE_FILE=no'
6260 fi
6261
6262 else
6263
6264 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x ; then
6266 eval "DEFAULT_$LINE"
6267 else
6268 no_cache=1
6269 fi
6270
6271 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6272
6273 fi
6274
6275
6276 eval "$ac_cv_use_file"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6279 fi
6280
6281 if test "$wxUSE_FILE" = yes; then
6282 { echo "$as_me:$LINENO: result: yes" >&5
6283 echo "${ECHO_T}yes" >&6; }
6284 else
6285 { echo "$as_me:$LINENO: result: no" >&5
6286 echo "${ECHO_T}no" >&6; }
6287 fi
6288
6289
6290 enablestring=
6291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6292 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6293 no_cache=0
6294 # Check whether --enable-filesystem was given.
6295 if test "${enable_filesystem+set}" = set; then
6296 enableval=$enable_filesystem;
6297 if test "$enableval" = yes; then
6298 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6299 else
6300 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6301 fi
6302
6303 else
6304
6305 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6306 if test "x$LINE" != x ; then
6307 eval "DEFAULT_$LINE"
6308 else
6309 no_cache=1
6310 fi
6311
6312 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6313
6314 fi
6315
6316
6317 eval "$ac_cv_use_filesystem"
6318 if test "$no_cache" != 1; then
6319 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6320 fi
6321
6322 if test "$wxUSE_FILESYSTEM" = yes; then
6323 { echo "$as_me:$LINENO: result: yes" >&5
6324 echo "${ECHO_T}yes" >&6; }
6325 else
6326 { echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6; }
6328 fi
6329
6330
6331 enablestring=
6332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6333 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6334 no_cache=0
6335 # Check whether --enable-fontmap was given.
6336 if test "${enable_fontmap+set}" = set; then
6337 enableval=$enable_fontmap;
6338 if test "$enableval" = yes; then
6339 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6340 else
6341 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6342 fi
6343
6344 else
6345
6346 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6347 if test "x$LINE" != x ; then
6348 eval "DEFAULT_$LINE"
6349 else
6350 no_cache=1
6351 fi
6352
6353 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6354
6355 fi
6356
6357
6358 eval "$ac_cv_use_fontmap"
6359 if test "$no_cache" != 1; then
6360 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6361 fi
6362
6363 if test "$wxUSE_FONTMAP" = yes; then
6364 { echo "$as_me:$LINENO: result: yes" >&5
6365 echo "${ECHO_T}yes" >&6; }
6366 else
6367 { echo "$as_me:$LINENO: result: no" >&5
6368 echo "${ECHO_T}no" >&6; }
6369 fi
6370
6371
6372 enablestring=
6373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6374 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6375 no_cache=0
6376 # Check whether --enable-fs_archive was given.
6377 if test "${enable_fs_archive+set}" = set; then
6378 enableval=$enable_fs_archive;
6379 if test "$enableval" = yes; then
6380 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6381 else
6382 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6383 fi
6384
6385 else
6386
6387 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6388 if test "x$LINE" != x ; then
6389 eval "DEFAULT_$LINE"
6390 else
6391 no_cache=1
6392 fi
6393
6394 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6395
6396 fi
6397
6398
6399 eval "$ac_cv_use_fs_archive"
6400 if test "$no_cache" != 1; then
6401 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6402 fi
6403
6404 if test "$wxUSE_FS_ARCHIVE" = yes; then
6405 { echo "$as_me:$LINENO: result: yes" >&5
6406 echo "${ECHO_T}yes" >&6; }
6407 else
6408 { echo "$as_me:$LINENO: result: no" >&5
6409 echo "${ECHO_T}no" >&6; }
6410 fi
6411
6412
6413 enablestring=
6414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6415 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6416 no_cache=0
6417 # Check whether --enable-fs_inet was given.
6418 if test "${enable_fs_inet+set}" = set; then
6419 enableval=$enable_fs_inet;
6420 if test "$enableval" = yes; then
6421 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6422 else
6423 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6424 fi
6425
6426 else
6427
6428 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x ; then
6430 eval "DEFAULT_$LINE"
6431 else
6432 no_cache=1
6433 fi
6434
6435 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6436
6437 fi
6438
6439
6440 eval "$ac_cv_use_fs_inet"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6443 fi
6444
6445 if test "$wxUSE_FS_INET" = yes; then
6446 { echo "$as_me:$LINENO: result: yes" >&5
6447 echo "${ECHO_T}yes" >&6; }
6448 else
6449 { echo "$as_me:$LINENO: result: no" >&5
6450 echo "${ECHO_T}no" >&6; }
6451 fi
6452
6453
6454 enablestring=
6455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6456 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6457 no_cache=0
6458 # Check whether --enable-fs_zip was given.
6459 if test "${enable_fs_zip+set}" = set; then
6460 enableval=$enable_fs_zip;
6461 if test "$enableval" = yes; then
6462 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6463 else
6464 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6465 fi
6466
6467 else
6468
6469 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6470 if test "x$LINE" != x ; then
6471 eval "DEFAULT_$LINE"
6472 else
6473 no_cache=1
6474 fi
6475
6476 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6477
6478 fi
6479
6480
6481 eval "$ac_cv_use_fs_zip"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6484 fi
6485
6486 if test "$wxUSE_FS_ZIP" = yes; then
6487 { echo "$as_me:$LINENO: result: yes" >&5
6488 echo "${ECHO_T}yes" >&6; }
6489 else
6490 { echo "$as_me:$LINENO: result: no" >&5
6491 echo "${ECHO_T}no" >&6; }
6492 fi
6493
6494
6495 enablestring=
6496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6497 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6498 no_cache=0
6499 # Check whether --enable-geometry was given.
6500 if test "${enable_geometry+set}" = set; then
6501 enableval=$enable_geometry;
6502 if test "$enableval" = yes; then
6503 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6504 else
6505 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6506 fi
6507
6508 else
6509
6510 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6511 if test "x$LINE" != x ; then
6512 eval "DEFAULT_$LINE"
6513 else
6514 no_cache=1
6515 fi
6516
6517 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6518
6519 fi
6520
6521
6522 eval "$ac_cv_use_geometry"
6523 if test "$no_cache" != 1; then
6524 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6525 fi
6526
6527 if test "$wxUSE_GEOMETRY" = yes; then
6528 { echo "$as_me:$LINENO: result: yes" >&5
6529 echo "${ECHO_T}yes" >&6; }
6530 else
6531 { echo "$as_me:$LINENO: result: no" >&5
6532 echo "${ECHO_T}no" >&6; }
6533 fi
6534
6535
6536 enablestring=
6537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6538 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6539 no_cache=0
6540 # Check whether --enable-log was given.
6541 if test "${enable_log+set}" = set; then
6542 enableval=$enable_log;
6543 if test "$enableval" = yes; then
6544 ac_cv_use_log='wxUSE_LOG=yes'
6545 else
6546 ac_cv_use_log='wxUSE_LOG=no'
6547 fi
6548
6549 else
6550
6551 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6552 if test "x$LINE" != x ; then
6553 eval "DEFAULT_$LINE"
6554 else
6555 no_cache=1
6556 fi
6557
6558 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6559
6560 fi
6561
6562
6563 eval "$ac_cv_use_log"
6564 if test "$no_cache" != 1; then
6565 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6566 fi
6567
6568 if test "$wxUSE_LOG" = yes; then
6569 { echo "$as_me:$LINENO: result: yes" >&5
6570 echo "${ECHO_T}yes" >&6; }
6571 else
6572 { echo "$as_me:$LINENO: result: no" >&5
6573 echo "${ECHO_T}no" >&6; }
6574 fi
6575
6576
6577 enablestring=
6578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6579 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6580 no_cache=0
6581 # Check whether --enable-longlong was given.
6582 if test "${enable_longlong+set}" = set; then
6583 enableval=$enable_longlong;
6584 if test "$enableval" = yes; then
6585 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6586 else
6587 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6588 fi
6589
6590 else
6591
6592 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x ; then
6594 eval "DEFAULT_$LINE"
6595 else
6596 no_cache=1
6597 fi
6598
6599 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6600
6601 fi
6602
6603
6604 eval "$ac_cv_use_longlong"
6605 if test "$no_cache" != 1; then
6606 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6607 fi
6608
6609 if test "$wxUSE_LONGLONG" = yes; then
6610 { echo "$as_me:$LINENO: result: yes" >&5
6611 echo "${ECHO_T}yes" >&6; }
6612 else
6613 { echo "$as_me:$LINENO: result: no" >&5
6614 echo "${ECHO_T}no" >&6; }
6615 fi
6616
6617
6618 enablestring=
6619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6620 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6621 no_cache=0
6622 # Check whether --enable-mimetype was given.
6623 if test "${enable_mimetype+set}" = set; then
6624 enableval=$enable_mimetype;
6625 if test "$enableval" = yes; then
6626 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6627 else
6628 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6629 fi
6630
6631 else
6632
6633 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6634 if test "x$LINE" != x ; then
6635 eval "DEFAULT_$LINE"
6636 else
6637 no_cache=1
6638 fi
6639
6640 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6641
6642 fi
6643
6644
6645 eval "$ac_cv_use_mimetype"
6646 if test "$no_cache" != 1; then
6647 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6648 fi
6649
6650 if test "$wxUSE_MIMETYPE" = yes; then
6651 { echo "$as_me:$LINENO: result: yes" >&5
6652 echo "${ECHO_T}yes" >&6; }
6653 else
6654 { echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6; }
6656 fi
6657
6658
6659 enablestring=
6660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6661 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6662 no_cache=0
6663 # Check whether --enable-mslu was given.
6664 if test "${enable_mslu+set}" = set; then
6665 enableval=$enable_mslu;
6666 if test "$enableval" = yes; then
6667 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6668 else
6669 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6670 fi
6671
6672 else
6673
6674 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6675 if test "x$LINE" != x ; then
6676 eval "DEFAULT_$LINE"
6677 else
6678 no_cache=1
6679 fi
6680
6681 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6682
6683 fi
6684
6685
6686 eval "$ac_cv_use_mslu"
6687 if test "$no_cache" != 1; then
6688 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6689 fi
6690
6691 if test "$wxUSE_UNICODE_MSLU" = yes; then
6692 { echo "$as_me:$LINENO: result: yes" >&5
6693 echo "${ECHO_T}yes" >&6; }
6694 else
6695 { echo "$as_me:$LINENO: result: no" >&5
6696 echo "${ECHO_T}no" >&6; }
6697 fi
6698
6699
6700 enablestring=
6701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6702 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6703 no_cache=0
6704 # Check whether --enable-snglinst was given.
6705 if test "${enable_snglinst+set}" = set; then
6706 enableval=$enable_snglinst;
6707 if test "$enableval" = yes; then
6708 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6709 else
6710 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6711 fi
6712
6713 else
6714
6715 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6716 if test "x$LINE" != x ; then
6717 eval "DEFAULT_$LINE"
6718 else
6719 no_cache=1
6720 fi
6721
6722 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6723
6724 fi
6725
6726
6727 eval "$ac_cv_use_snglinst"
6728 if test "$no_cache" != 1; then
6729 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6730 fi
6731
6732 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6733 { echo "$as_me:$LINENO: result: yes" >&5
6734 echo "${ECHO_T}yes" >&6; }
6735 else
6736 { echo "$as_me:$LINENO: result: no" >&5
6737 echo "${ECHO_T}no" >&6; }
6738 fi
6739
6740
6741 enablestring=
6742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6743 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6744 no_cache=0
6745 # Check whether --enable-std_iostreams was given.
6746 if test "${enable_std_iostreams+set}" = set; then
6747 enableval=$enable_std_iostreams;
6748 if test "$enableval" = yes; then
6749 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6750 else
6751 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6752 fi
6753
6754 else
6755
6756 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6757 if test "x$LINE" != x ; then
6758 eval "DEFAULT_$LINE"
6759 else
6760 no_cache=1
6761 fi
6762
6763 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6764
6765 fi
6766
6767
6768 eval "$ac_cv_use_std_iostreams"
6769 if test "$no_cache" != 1; then
6770 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6771 fi
6772
6773 if test "$wxUSE_STD_IOSTREAM" = yes; then
6774 { echo "$as_me:$LINENO: result: yes" >&5
6775 echo "${ECHO_T}yes" >&6; }
6776 else
6777 { echo "$as_me:$LINENO: result: no" >&5
6778 echo "${ECHO_T}no" >&6; }
6779 fi
6780
6781
6782 enablestring=
6783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6784 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6785 no_cache=0
6786 # Check whether --enable-std_string was given.
6787 if test "${enable_std_string+set}" = set; then
6788 enableval=$enable_std_string;
6789 if test "$enableval" = yes; then
6790 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6791 else
6792 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6793 fi
6794
6795 else
6796
6797 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6798 if test "x$LINE" != x ; then
6799 eval "DEFAULT_$LINE"
6800 else
6801 no_cache=1
6802 fi
6803
6804 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6805
6806 fi
6807
6808
6809 eval "$ac_cv_use_std_string"
6810 if test "$no_cache" != 1; then
6811 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6812 fi
6813
6814 if test "$wxUSE_STD_STRING" = yes; then
6815 { echo "$as_me:$LINENO: result: yes" >&5
6816 echo "${ECHO_T}yes" >&6; }
6817 else
6818 { echo "$as_me:$LINENO: result: no" >&5
6819 echo "${ECHO_T}no" >&6; }
6820 fi
6821
6822
6823 enablestring=
6824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6825 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6826 no_cache=0
6827 # Check whether --enable-stdpaths was given.
6828 if test "${enable_stdpaths+set}" = set; then
6829 enableval=$enable_stdpaths;
6830 if test "$enableval" = yes; then
6831 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6832 else
6833 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6834 fi
6835
6836 else
6837
6838 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6839 if test "x$LINE" != x ; then
6840 eval "DEFAULT_$LINE"
6841 else
6842 no_cache=1
6843 fi
6844
6845 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6846
6847 fi
6848
6849
6850 eval "$ac_cv_use_stdpaths"
6851 if test "$no_cache" != 1; then
6852 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6853 fi
6854
6855 if test "$wxUSE_STDPATHS" = yes; then
6856 { echo "$as_me:$LINENO: result: yes" >&5
6857 echo "${ECHO_T}yes" >&6; }
6858 else
6859 { echo "$as_me:$LINENO: result: no" >&5
6860 echo "${ECHO_T}no" >&6; }
6861 fi
6862
6863
6864 enablestring=
6865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6866 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6867 no_cache=0
6868 # Check whether --enable-stopwatch was given.
6869 if test "${enable_stopwatch+set}" = set; then
6870 enableval=$enable_stopwatch;
6871 if test "$enableval" = yes; then
6872 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6873 else
6874 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6875 fi
6876
6877 else
6878
6879 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x ; then
6881 eval "DEFAULT_$LINE"
6882 else
6883 no_cache=1
6884 fi
6885
6886 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6887
6888 fi
6889
6890
6891 eval "$ac_cv_use_stopwatch"
6892 if test "$no_cache" != 1; then
6893 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6894 fi
6895
6896 if test "$wxUSE_STOPWATCH" = yes; then
6897 { echo "$as_me:$LINENO: result: yes" >&5
6898 echo "${ECHO_T}yes" >&6; }
6899 else
6900 { echo "$as_me:$LINENO: result: no" >&5
6901 echo "${ECHO_T}no" >&6; }
6902 fi
6903
6904
6905 enablestring=
6906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6907 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6908 no_cache=0
6909 # Check whether --enable-streams was given.
6910 if test "${enable_streams+set}" = set; then
6911 enableval=$enable_streams;
6912 if test "$enableval" = yes; then
6913 ac_cv_use_streams='wxUSE_STREAMS=yes'
6914 else
6915 ac_cv_use_streams='wxUSE_STREAMS=no'
6916 fi
6917
6918 else
6919
6920 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6921 if test "x$LINE" != x ; then
6922 eval "DEFAULT_$LINE"
6923 else
6924 no_cache=1
6925 fi
6926
6927 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6928
6929 fi
6930
6931
6932 eval "$ac_cv_use_streams"
6933 if test "$no_cache" != 1; then
6934 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6935 fi
6936
6937 if test "$wxUSE_STREAMS" = yes; then
6938 { echo "$as_me:$LINENO: result: yes" >&5
6939 echo "${ECHO_T}yes" >&6; }
6940 else
6941 { echo "$as_me:$LINENO: result: no" >&5
6942 echo "${ECHO_T}no" >&6; }
6943 fi
6944
6945
6946 enablestring=
6947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6948 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6949 no_cache=0
6950 # Check whether --enable-system_options was given.
6951 if test "${enable_system_options+set}" = set; then
6952 enableval=$enable_system_options;
6953 if test "$enableval" = yes; then
6954 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6955 else
6956 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6957 fi
6958
6959 else
6960
6961 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6962 if test "x$LINE" != x ; then
6963 eval "DEFAULT_$LINE"
6964 else
6965 no_cache=1
6966 fi
6967
6968 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6969
6970 fi
6971
6972
6973 eval "$ac_cv_use_system_options"
6974 if test "$no_cache" != 1; then
6975 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6976 fi
6977
6978 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6979 { echo "$as_me:$LINENO: result: yes" >&5
6980 echo "${ECHO_T}yes" >&6; }
6981 else
6982 { echo "$as_me:$LINENO: result: no" >&5
6983 echo "${ECHO_T}no" >&6; }
6984 fi
6985
6986
6987 enablestring=
6988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6989 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6990 no_cache=0
6991 # Check whether --enable-tarstream was given.
6992 if test "${enable_tarstream+set}" = set; then
6993 enableval=$enable_tarstream;
6994 if test "$enableval" = yes; then
6995 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6996 else
6997 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6998 fi
6999
7000 else
7001
7002 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x ; then
7004 eval "DEFAULT_$LINE"
7005 else
7006 no_cache=1
7007 fi
7008
7009 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7010
7011 fi
7012
7013
7014 eval "$ac_cv_use_tarstream"
7015 if test "$no_cache" != 1; then
7016 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7017 fi
7018
7019 if test "$wxUSE_TARSTREAM" = yes; then
7020 { echo "$as_me:$LINENO: result: yes" >&5
7021 echo "${ECHO_T}yes" >&6; }
7022 else
7023 { echo "$as_me:$LINENO: result: no" >&5
7024 echo "${ECHO_T}no" >&6; }
7025 fi
7026
7027
7028 enablestring=
7029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7030 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7031 no_cache=0
7032 # Check whether --enable-textbuf was given.
7033 if test "${enable_textbuf+set}" = set; then
7034 enableval=$enable_textbuf;
7035 if test "$enableval" = yes; then
7036 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7037 else
7038 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7039 fi
7040
7041 else
7042
7043 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x ; then
7045 eval "DEFAULT_$LINE"
7046 else
7047 no_cache=1
7048 fi
7049
7050 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7051
7052 fi
7053
7054
7055 eval "$ac_cv_use_textbuf"
7056 if test "$no_cache" != 1; then
7057 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7058 fi
7059
7060 if test "$wxUSE_TEXTBUFFER" = yes; then
7061 { echo "$as_me:$LINENO: result: yes" >&5
7062 echo "${ECHO_T}yes" >&6; }
7063 else
7064 { echo "$as_me:$LINENO: result: no" >&5
7065 echo "${ECHO_T}no" >&6; }
7066 fi
7067
7068
7069 enablestring=
7070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7072 no_cache=0
7073 # Check whether --enable-textfile was given.
7074 if test "${enable_textfile+set}" = set; then
7075 enableval=$enable_textfile;
7076 if test "$enableval" = yes; then
7077 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7078 else
7079 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7080 fi
7081
7082 else
7083
7084 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7085 if test "x$LINE" != x ; then
7086 eval "DEFAULT_$LINE"
7087 else
7088 no_cache=1
7089 fi
7090
7091 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7092
7093 fi
7094
7095
7096 eval "$ac_cv_use_textfile"
7097 if test "$no_cache" != 1; then
7098 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7099 fi
7100
7101 if test "$wxUSE_TEXTFILE" = yes; then
7102 { echo "$as_me:$LINENO: result: yes" >&5
7103 echo "${ECHO_T}yes" >&6; }
7104 else
7105 { echo "$as_me:$LINENO: result: no" >&5
7106 echo "${ECHO_T}no" >&6; }
7107 fi
7108
7109
7110 enablestring=
7111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7112 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7113 no_cache=0
7114 # Check whether --enable-timer was given.
7115 if test "${enable_timer+set}" = set; then
7116 enableval=$enable_timer;
7117 if test "$enableval" = yes; then
7118 ac_cv_use_timer='wxUSE_TIMER=yes'
7119 else
7120 ac_cv_use_timer='wxUSE_TIMER=no'
7121 fi
7122
7123 else
7124
7125 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7126 if test "x$LINE" != x ; then
7127 eval "DEFAULT_$LINE"
7128 else
7129 no_cache=1
7130 fi
7131
7132 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7133
7134 fi
7135
7136
7137 eval "$ac_cv_use_timer"
7138 if test "$no_cache" != 1; then
7139 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7140 fi
7141
7142 if test "$wxUSE_TIMER" = yes; then
7143 { echo "$as_me:$LINENO: result: yes" >&5
7144 echo "${ECHO_T}yes" >&6; }
7145 else
7146 { echo "$as_me:$LINENO: result: no" >&5
7147 echo "${ECHO_T}no" >&6; }
7148 fi
7149
7150
7151 enablestring=
7152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7154 no_cache=0
7155 # Check whether --enable-unicode was given.
7156 if test "${enable_unicode+set}" = set; then
7157 enableval=$enable_unicode;
7158 if test "$enableval" = yes; then
7159 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7160 else
7161 ac_cv_use_unicode='wxUSE_UNICODE=no'
7162 fi
7163
7164 else
7165
7166 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7167 if test "x$LINE" != x ; then
7168 eval "DEFAULT_$LINE"
7169 else
7170 no_cache=1
7171 fi
7172
7173 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7174
7175 fi
7176
7177
7178 eval "$ac_cv_use_unicode"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7181 fi
7182
7183 if test "$wxUSE_UNICODE" = yes; then
7184 { echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6; }
7186 else
7187 { echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6; }
7189 fi
7190
7191
7192 enablestring=
7193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7194 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7195 no_cache=0
7196 # Check whether --enable-sound was given.
7197 if test "${enable_sound+set}" = set; then
7198 enableval=$enable_sound;
7199 if test "$enableval" = yes; then
7200 ac_cv_use_sound='wxUSE_SOUND=yes'
7201 else
7202 ac_cv_use_sound='wxUSE_SOUND=no'
7203 fi
7204
7205 else
7206
7207 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7208 if test "x$LINE" != x ; then
7209 eval "DEFAULT_$LINE"
7210 else
7211 no_cache=1
7212 fi
7213
7214 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7215
7216 fi
7217
7218
7219 eval "$ac_cv_use_sound"
7220 if test "$no_cache" != 1; then
7221 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7222 fi
7223
7224 if test "$wxUSE_SOUND" = yes; then
7225 { echo "$as_me:$LINENO: result: yes" >&5
7226 echo "${ECHO_T}yes" >&6; }
7227 else
7228 { echo "$as_me:$LINENO: result: no" >&5
7229 echo "${ECHO_T}no" >&6; }
7230 fi
7231
7232
7233 enablestring=
7234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7235 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7236 no_cache=0
7237 # Check whether --enable-mediactrl was given.
7238 if test "${enable_mediactrl+set}" = set; then
7239 enableval=$enable_mediactrl;
7240 if test "$enableval" = yes; then
7241 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7242 else
7243 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7244 fi
7245
7246 else
7247
7248 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7249 if test "x$LINE" != x ; then
7250 eval "DEFAULT_$LINE"
7251 else
7252 no_cache=1
7253 fi
7254
7255 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7256
7257 fi
7258
7259
7260 eval "$ac_cv_use_mediactrl"
7261 if test "$no_cache" != 1; then
7262 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7263 fi
7264
7265 if test "$wxUSE_MEDIACTRL" = yes; then
7266 { echo "$as_me:$LINENO: result: yes" >&5
7267 echo "${ECHO_T}yes" >&6; }
7268 else
7269 { echo "$as_me:$LINENO: result: no" >&5
7270 echo "${ECHO_T}no" >&6; }
7271 fi
7272
7273
7274 enablestring=
7275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7276 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7277 no_cache=0
7278 # Check whether --enable-gstreamer8 was given.
7279 if test "${enable_gstreamer8+set}" = set; then
7280 enableval=$enable_gstreamer8;
7281 if test "$enableval" = yes; then
7282 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7283 else
7284 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7285 fi
7286
7287 else
7288
7289 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7290 if test "x$LINE" != x ; then
7291 eval "DEFAULT_$LINE"
7292 else
7293 no_cache=1
7294 fi
7295
7296 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7297
7298 fi
7299
7300
7301 eval "$ac_cv_use_gstreamer8"
7302 if test "$no_cache" != 1; then
7303 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7304 fi
7305
7306 if test "$wxUSE_GSTREAMER8" = yes; then
7307 { echo "$as_me:$LINENO: result: yes" >&5
7308 echo "${ECHO_T}yes" >&6; }
7309 else
7310 { echo "$as_me:$LINENO: result: no" >&5
7311 echo "${ECHO_T}no" >&6; }
7312 fi
7313
7314
7315 enablestring=
7316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7317 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7318 no_cache=0
7319 # Check whether --enable-printfposparam was given.
7320 if test "${enable_printfposparam+set}" = set; then
7321 enableval=$enable_printfposparam;
7322 if test "$enableval" = yes; then
7323 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7324 else
7325 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7326 fi
7327
7328 else
7329
7330 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x ; then
7332 eval "DEFAULT_$LINE"
7333 else
7334 no_cache=1
7335 fi
7336
7337 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7338
7339 fi
7340
7341
7342 eval "$ac_cv_use_printfposparam"
7343 if test "$no_cache" != 1; then
7344 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7345 fi
7346
7347 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7348 { echo "$as_me:$LINENO: result: yes" >&5
7349 echo "${ECHO_T}yes" >&6; }
7350 else
7351 { echo "$as_me:$LINENO: result: no" >&5
7352 echo "${ECHO_T}no" >&6; }
7353 fi
7354
7355
7356 enablestring=
7357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7358 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7359 no_cache=0
7360 # Check whether --enable-zipstream was given.
7361 if test "${enable_zipstream+set}" = set; then
7362 enableval=$enable_zipstream;
7363 if test "$enableval" = yes; then
7364 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7365 else
7366 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7367 fi
7368
7369 else
7370
7371 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7372 if test "x$LINE" != x ; then
7373 eval "DEFAULT_$LINE"
7374 else
7375 no_cache=1
7376 fi
7377
7378 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7379
7380 fi
7381
7382
7383 eval "$ac_cv_use_zipstream"
7384 if test "$no_cache" != 1; then
7385 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7386 fi
7387
7388 if test "$wxUSE_ZIPSTREAM" = yes; then
7389 { echo "$as_me:$LINENO: result: yes" >&5
7390 echo "${ECHO_T}yes" >&6; }
7391 else
7392 { echo "$as_me:$LINENO: result: no" >&5
7393 echo "${ECHO_T}no" >&6; }
7394 fi
7395
7396
7397
7398 enablestring=
7399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7400 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7401 no_cache=0
7402 # Check whether --enable-url was given.
7403 if test "${enable_url+set}" = set; then
7404 enableval=$enable_url;
7405 if test "$enableval" = yes; then
7406 ac_cv_use_url='wxUSE_URL=yes'
7407 else
7408 ac_cv_use_url='wxUSE_URL=no'
7409 fi
7410
7411 else
7412
7413 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7414 if test "x$LINE" != x ; then
7415 eval "DEFAULT_$LINE"
7416 else
7417 no_cache=1
7418 fi
7419
7420 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7421
7422 fi
7423
7424
7425 eval "$ac_cv_use_url"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7428 fi
7429
7430 if test "$wxUSE_URL" = yes; then
7431 { echo "$as_me:$LINENO: result: yes" >&5
7432 echo "${ECHO_T}yes" >&6; }
7433 else
7434 { echo "$as_me:$LINENO: result: no" >&5
7435 echo "${ECHO_T}no" >&6; }
7436 fi
7437
7438
7439 enablestring=
7440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7442 no_cache=0
7443 # Check whether --enable-variant was given.
7444 if test "${enable_variant+set}" = set; then
7445 enableval=$enable_variant;
7446 if test "$enableval" = yes; then
7447 ac_cv_use_variant='wxUSE_VARIANT=yes'
7448 else
7449 ac_cv_use_variant='wxUSE_VARIANT=no'
7450 fi
7451
7452 else
7453
7454 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7455 if test "x$LINE" != x ; then
7456 eval "DEFAULT_$LINE"
7457 else
7458 no_cache=1
7459 fi
7460
7461 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7462
7463 fi
7464
7465
7466 eval "$ac_cv_use_variant"
7467 if test "$no_cache" != 1; then
7468 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7469 fi
7470
7471 if test "$wxUSE_VARIANT" = yes; then
7472 { echo "$as_me:$LINENO: result: yes" >&5
7473 echo "${ECHO_T}yes" >&6; }
7474 else
7475 { echo "$as_me:$LINENO: result: no" >&5
7476 echo "${ECHO_T}no" >&6; }
7477 fi
7478
7479
7480 enablestring=
7481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7483 no_cache=0
7484 # Check whether --enable-protocol was given.
7485 if test "${enable_protocol+set}" = set; then
7486 enableval=$enable_protocol;
7487 if test "$enableval" = yes; then
7488 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7489 else
7490 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7491 fi
7492
7493 else
7494
7495 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7496 if test "x$LINE" != x ; then
7497 eval "DEFAULT_$LINE"
7498 else
7499 no_cache=1
7500 fi
7501
7502 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7503
7504 fi
7505
7506
7507 eval "$ac_cv_use_protocol"
7508 if test "$no_cache" != 1; then
7509 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7510 fi
7511
7512 if test "$wxUSE_PROTOCOL" = yes; then
7513 { echo "$as_me:$LINENO: result: yes" >&5
7514 echo "${ECHO_T}yes" >&6; }
7515 else
7516 { echo "$as_me:$LINENO: result: no" >&5
7517 echo "${ECHO_T}no" >&6; }
7518 fi
7519
7520
7521 enablestring=
7522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7524 no_cache=0
7525 # Check whether --enable-protocol_http was given.
7526 if test "${enable_protocol_http+set}" = set; then
7527 enableval=$enable_protocol_http;
7528 if test "$enableval" = yes; then
7529 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7530 else
7531 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7532 fi
7533
7534 else
7535
7536 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7537 if test "x$LINE" != x ; then
7538 eval "DEFAULT_$LINE"
7539 else
7540 no_cache=1
7541 fi
7542
7543 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7544
7545 fi
7546
7547
7548 eval "$ac_cv_use_protocol_http"
7549 if test "$no_cache" != 1; then
7550 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7551 fi
7552
7553 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7554 { echo "$as_me:$LINENO: result: yes" >&5
7555 echo "${ECHO_T}yes" >&6; }
7556 else
7557 { echo "$as_me:$LINENO: result: no" >&5
7558 echo "${ECHO_T}no" >&6; }
7559 fi
7560
7561
7562 enablestring=
7563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7565 no_cache=0
7566 # Check whether --enable-protocol_ftp was given.
7567 if test "${enable_protocol_ftp+set}" = set; then
7568 enableval=$enable_protocol_ftp;
7569 if test "$enableval" = yes; then
7570 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7571 else
7572 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7573 fi
7574
7575 else
7576
7577 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7578 if test "x$LINE" != x ; then
7579 eval "DEFAULT_$LINE"
7580 else
7581 no_cache=1
7582 fi
7583
7584 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7585
7586 fi
7587
7588
7589 eval "$ac_cv_use_protocol_ftp"
7590 if test "$no_cache" != 1; then
7591 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7592 fi
7593
7594 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7595 { echo "$as_me:$LINENO: result: yes" >&5
7596 echo "${ECHO_T}yes" >&6; }
7597 else
7598 { echo "$as_me:$LINENO: result: no" >&5
7599 echo "${ECHO_T}no" >&6; }
7600 fi
7601
7602
7603 enablestring=
7604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7606 no_cache=0
7607 # Check whether --enable-protocol_file was given.
7608 if test "${enable_protocol_file+set}" = set; then
7609 enableval=$enable_protocol_file;
7610 if test "$enableval" = yes; then
7611 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7612 else
7613 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7614 fi
7615
7616 else
7617
7618 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7619 if test "x$LINE" != x ; then
7620 eval "DEFAULT_$LINE"
7621 else
7622 no_cache=1
7623 fi
7624
7625 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7626
7627 fi
7628
7629
7630 eval "$ac_cv_use_protocol_file"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7633 fi
7634
7635 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7636 { echo "$as_me:$LINENO: result: yes" >&5
7637 echo "${ECHO_T}yes" >&6; }
7638 else
7639 { echo "$as_me:$LINENO: result: no" >&5
7640 echo "${ECHO_T}no" >&6; }
7641 fi
7642
7643
7644
7645
7646
7647 enablestring=
7648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7650 no_cache=0
7651 # Check whether --enable-threads was given.
7652 if test "${enable_threads+set}" = set; then
7653 enableval=$enable_threads;
7654 if test "$enableval" = yes; then
7655 ac_cv_use_threads='wxUSE_THREADS=yes'
7656 else
7657 ac_cv_use_threads='wxUSE_THREADS=no'
7658 fi
7659
7660 else
7661
7662 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7663 if test "x$LINE" != x ; then
7664 eval "DEFAULT_$LINE"
7665 else
7666 no_cache=1
7667 fi
7668
7669 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7670
7671 fi
7672
7673
7674 eval "$ac_cv_use_threads"
7675 if test "$no_cache" != 1; then
7676 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7677 fi
7678
7679 if test "$wxUSE_THREADS" = yes; then
7680 { echo "$as_me:$LINENO: result: yes" >&5
7681 echo "${ECHO_T}yes" >&6; }
7682 else
7683 { echo "$as_me:$LINENO: result: no" >&5
7684 echo "${ECHO_T}no" >&6; }
7685 fi
7686
7687
7688 if test "$wxUSE_GUI" = "yes"; then
7689
7690
7691
7692 enablestring=
7693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7694 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7695 no_cache=0
7696 # Check whether --enable-docview was given.
7697 if test "${enable_docview+set}" = set; then
7698 enableval=$enable_docview;
7699 if test "$enableval" = yes; then
7700 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7701 else
7702 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7703 fi
7704
7705 else
7706
7707 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7708 if test "x$LINE" != x ; then
7709 eval "DEFAULT_$LINE"
7710 else
7711 no_cache=1
7712 fi
7713
7714 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7715
7716 fi
7717
7718
7719 eval "$ac_cv_use_docview"
7720 if test "$no_cache" != 1; then
7721 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7722 fi
7723
7724 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7725 { echo "$as_me:$LINENO: result: yes" >&5
7726 echo "${ECHO_T}yes" >&6; }
7727 else
7728 { echo "$as_me:$LINENO: result: no" >&5
7729 echo "${ECHO_T}no" >&6; }
7730 fi
7731
7732
7733 enablestring=
7734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7735 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7736 no_cache=0
7737 # Check whether --enable-help was given.
7738 if test "${enable_help+set}" = set; then
7739 enableval=$enable_help;
7740 if test "$enableval" = yes; then
7741 ac_cv_use_help='wxUSE_HELP=yes'
7742 else
7743 ac_cv_use_help='wxUSE_HELP=no'
7744 fi
7745
7746 else
7747
7748 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7749 if test "x$LINE" != x ; then
7750 eval "DEFAULT_$LINE"
7751 else
7752 no_cache=1
7753 fi
7754
7755 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7756
7757 fi
7758
7759
7760 eval "$ac_cv_use_help"
7761 if test "$no_cache" != 1; then
7762 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7763 fi
7764
7765 if test "$wxUSE_HELP" = yes; then
7766 { echo "$as_me:$LINENO: result: yes" >&5
7767 echo "${ECHO_T}yes" >&6; }
7768 else
7769 { echo "$as_me:$LINENO: result: no" >&5
7770 echo "${ECHO_T}no" >&6; }
7771 fi
7772
7773
7774 enablestring=
7775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7776 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7777 no_cache=0
7778 # Check whether --enable-mshtmlhelp was given.
7779 if test "${enable_mshtmlhelp+set}" = set; then
7780 enableval=$enable_mshtmlhelp;
7781 if test "$enableval" = yes; then
7782 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7783 else
7784 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7785 fi
7786
7787 else
7788
7789 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7790 if test "x$LINE" != x ; then
7791 eval "DEFAULT_$LINE"
7792 else
7793 no_cache=1
7794 fi
7795
7796 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7797
7798 fi
7799
7800
7801 eval "$ac_cv_use_mshtmlhelp"
7802 if test "$no_cache" != 1; then
7803 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7804 fi
7805
7806 if test "$wxUSE_MS_HTML_HELP" = yes; then
7807 { echo "$as_me:$LINENO: result: yes" >&5
7808 echo "${ECHO_T}yes" >&6; }
7809 else
7810 { echo "$as_me:$LINENO: result: no" >&5
7811 echo "${ECHO_T}no" >&6; }
7812 fi
7813
7814
7815 enablestring=
7816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7817 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7818 no_cache=0
7819 # Check whether --enable-html was given.
7820 if test "${enable_html+set}" = set; then
7821 enableval=$enable_html;
7822 if test "$enableval" = yes; then
7823 ac_cv_use_html='wxUSE_HTML=yes'
7824 else
7825 ac_cv_use_html='wxUSE_HTML=no'
7826 fi
7827
7828 else
7829
7830 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7831 if test "x$LINE" != x ; then
7832 eval "DEFAULT_$LINE"
7833 else
7834 no_cache=1
7835 fi
7836
7837 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7838
7839 fi
7840
7841
7842 eval "$ac_cv_use_html"
7843 if test "$no_cache" != 1; then
7844 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7845 fi
7846
7847 if test "$wxUSE_HTML" = yes; then
7848 { echo "$as_me:$LINENO: result: yes" >&5
7849 echo "${ECHO_T}yes" >&6; }
7850 else
7851 { echo "$as_me:$LINENO: result: no" >&5
7852 echo "${ECHO_T}no" >&6; }
7853 fi
7854
7855
7856 enablestring=
7857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7858 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7859 no_cache=0
7860 # Check whether --enable-htmlhelp was given.
7861 if test "${enable_htmlhelp+set}" = set; then
7862 enableval=$enable_htmlhelp;
7863 if test "$enableval" = yes; then
7864 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7865 else
7866 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7867 fi
7868
7869 else
7870
7871 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7872 if test "x$LINE" != x ; then
7873 eval "DEFAULT_$LINE"
7874 else
7875 no_cache=1
7876 fi
7877
7878 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7879
7880 fi
7881
7882
7883 eval "$ac_cv_use_htmlhelp"
7884 if test "$no_cache" != 1; then
7885 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7886 fi
7887
7888 if test "$wxUSE_WXHTML_HELP" = yes; then
7889 { echo "$as_me:$LINENO: result: yes" >&5
7890 echo "${ECHO_T}yes" >&6; }
7891 else
7892 { echo "$as_me:$LINENO: result: no" >&5
7893 echo "${ECHO_T}no" >&6; }
7894 fi
7895
7896
7897 enablestring=
7898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7899 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7900 no_cache=0
7901 # Check whether --enable-xrc was given.
7902 if test "${enable_xrc+set}" = set; then
7903 enableval=$enable_xrc;
7904 if test "$enableval" = yes; then
7905 ac_cv_use_xrc='wxUSE_XRC=yes'
7906 else
7907 ac_cv_use_xrc='wxUSE_XRC=no'
7908 fi
7909
7910 else
7911
7912 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7913 if test "x$LINE" != x ; then
7914 eval "DEFAULT_$LINE"
7915 else
7916 no_cache=1
7917 fi
7918
7919 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7920
7921 fi
7922
7923
7924 eval "$ac_cv_use_xrc"
7925 if test "$no_cache" != 1; then
7926 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7927 fi
7928
7929 if test "$wxUSE_XRC" = yes; then
7930 { echo "$as_me:$LINENO: result: yes" >&5
7931 echo "${ECHO_T}yes" >&6; }
7932 else
7933 { echo "$as_me:$LINENO: result: no" >&5
7934 echo "${ECHO_T}no" >&6; }
7935 fi
7936
7937
7938 enablestring=
7939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7940 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7941 no_cache=0
7942 # Check whether --enable-aui was given.
7943 if test "${enable_aui+set}" = set; then
7944 enableval=$enable_aui;
7945 if test "$enableval" = yes; then
7946 ac_cv_use_aui='wxUSE_AUI=yes'
7947 else
7948 ac_cv_use_aui='wxUSE_AUI=no'
7949 fi
7950
7951 else
7952
7953 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7954 if test "x$LINE" != x ; then
7955 eval "DEFAULT_$LINE"
7956 else
7957 no_cache=1
7958 fi
7959
7960 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7961
7962 fi
7963
7964
7965 eval "$ac_cv_use_aui"
7966 if test "$no_cache" != 1; then
7967 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7968 fi
7969
7970 if test "$wxUSE_AUI" = yes; then
7971 { echo "$as_me:$LINENO: result: yes" >&5
7972 echo "${ECHO_T}yes" >&6; }
7973 else
7974 { echo "$as_me:$LINENO: result: no" >&5
7975 echo "${ECHO_T}no" >&6; }
7976 fi
7977
7978
7979 enablestring=
7980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7981 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7982 no_cache=0
7983 # Check whether --enable-stc was given.
7984 if test "${enable_stc+set}" = set; then
7985 enableval=$enable_stc;
7986 if test "$enableval" = yes; then
7987 ac_cv_use_stc='wxUSE_STC=yes'
7988 else
7989 ac_cv_use_stc='wxUSE_STC=no'
7990 fi
7991
7992 else
7993
7994 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7995 if test "x$LINE" != x ; then
7996 eval "DEFAULT_$LINE"
7997 else
7998 no_cache=1
7999 fi
8000
8001 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8002
8003 fi
8004
8005
8006 eval "$ac_cv_use_stc"
8007 if test "$no_cache" != 1; then
8008 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8009 fi
8010
8011 if test "$wxUSE_STC" = yes; then
8012 { echo "$as_me:$LINENO: result: yes" >&5
8013 echo "${ECHO_T}yes" >&6; }
8014 else
8015 { echo "$as_me:$LINENO: result: no" >&5
8016 echo "${ECHO_T}no" >&6; }
8017 fi
8018
8019
8020 enablestring=
8021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8022 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8023 no_cache=0
8024 # Check whether --enable-constraints was given.
8025 if test "${enable_constraints+set}" = set; then
8026 enableval=$enable_constraints;
8027 if test "$enableval" = yes; then
8028 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8029 else
8030 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8031 fi
8032
8033 else
8034
8035 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8036 if test "x$LINE" != x ; then
8037 eval "DEFAULT_$LINE"
8038 else
8039 no_cache=1
8040 fi
8041
8042 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8043
8044 fi
8045
8046
8047 eval "$ac_cv_use_constraints"
8048 if test "$no_cache" != 1; then
8049 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8050 fi
8051
8052 if test "$wxUSE_CONSTRAINTS" = yes; then
8053 { echo "$as_me:$LINENO: result: yes" >&5
8054 echo "${ECHO_T}yes" >&6; }
8055 else
8056 { echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6; }
8058 fi
8059
8060
8061 enablestring=
8062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8064 no_cache=0
8065 # Check whether --enable-printarch was given.
8066 if test "${enable_printarch+set}" = set; then
8067 enableval=$enable_printarch;
8068 if test "$enableval" = yes; then
8069 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8070 else
8071 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8072 fi
8073
8074 else
8075
8076 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8077 if test "x$LINE" != x ; then
8078 eval "DEFAULT_$LINE"
8079 else
8080 no_cache=1
8081 fi
8082
8083 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8084
8085 fi
8086
8087
8088 eval "$ac_cv_use_printarch"
8089 if test "$no_cache" != 1; then
8090 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8091 fi
8092
8093 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8094 { echo "$as_me:$LINENO: result: yes" >&5
8095 echo "${ECHO_T}yes" >&6; }
8096 else
8097 { echo "$as_me:$LINENO: result: no" >&5
8098 echo "${ECHO_T}no" >&6; }
8099 fi
8100
8101
8102 enablestring=
8103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8104 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8105 no_cache=0
8106 # Check whether --enable-mdi was given.
8107 if test "${enable_mdi+set}" = set; then
8108 enableval=$enable_mdi;
8109 if test "$enableval" = yes; then
8110 ac_cv_use_mdi='wxUSE_MDI=yes'
8111 else
8112 ac_cv_use_mdi='wxUSE_MDI=no'
8113 fi
8114
8115 else
8116
8117 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8118 if test "x$LINE" != x ; then
8119 eval "DEFAULT_$LINE"
8120 else
8121 no_cache=1
8122 fi
8123
8124 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8125
8126 fi
8127
8128
8129 eval "$ac_cv_use_mdi"
8130 if test "$no_cache" != 1; then
8131 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8132 fi
8133
8134 if test "$wxUSE_MDI" = yes; then
8135 { echo "$as_me:$LINENO: result: yes" >&5
8136 echo "${ECHO_T}yes" >&6; }
8137 else
8138 { echo "$as_me:$LINENO: result: no" >&5
8139 echo "${ECHO_T}no" >&6; }
8140 fi
8141
8142
8143 enablestring=
8144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8145 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8146 no_cache=0
8147 # Check whether --enable-mdidoc was given.
8148 if test "${enable_mdidoc+set}" = set; then
8149 enableval=$enable_mdidoc;
8150 if test "$enableval" = yes; then
8151 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8152 else
8153 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8154 fi
8155
8156 else
8157
8158 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8159 if test "x$LINE" != x ; then
8160 eval "DEFAULT_$LINE"
8161 else
8162 no_cache=1
8163 fi
8164
8165 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8166
8167 fi
8168
8169
8170 eval "$ac_cv_use_mdidoc"
8171 if test "$no_cache" != 1; then
8172 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8173 fi
8174
8175 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8176 { echo "$as_me:$LINENO: result: yes" >&5
8177 echo "${ECHO_T}yes" >&6; }
8178 else
8179 { echo "$as_me:$LINENO: result: no" >&5
8180 echo "${ECHO_T}no" >&6; }
8181 fi
8182
8183
8184 enablestring=
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8187 no_cache=0
8188 # Check whether --enable-loggui was given.
8189 if test "${enable_loggui+set}" = set; then
8190 enableval=$enable_loggui;
8191 if test "$enableval" = yes; then
8192 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8193 else
8194 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8195 fi
8196
8197 else
8198
8199 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x ; then
8201 eval "DEFAULT_$LINE"
8202 else
8203 no_cache=1
8204 fi
8205
8206 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8207
8208 fi
8209
8210
8211 eval "$ac_cv_use_loggui"
8212 if test "$no_cache" != 1; then
8213 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8214 fi
8215
8216 if test "$wxUSE_LOGGUI" = yes; then
8217 { echo "$as_me:$LINENO: result: yes" >&5
8218 echo "${ECHO_T}yes" >&6; }
8219 else
8220 { echo "$as_me:$LINENO: result: no" >&5
8221 echo "${ECHO_T}no" >&6; }
8222 fi
8223
8224
8225 enablestring=
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8228 no_cache=0
8229 # Check whether --enable-logwin was given.
8230 if test "${enable_logwin+set}" = set; then
8231 enableval=$enable_logwin;
8232 if test "$enableval" = yes; then
8233 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8234 else
8235 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8236 fi
8237
8238 else
8239
8240 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8241 if test "x$LINE" != x ; then
8242 eval "DEFAULT_$LINE"
8243 else
8244 no_cache=1
8245 fi
8246
8247 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8248
8249 fi
8250
8251
8252 eval "$ac_cv_use_logwin"
8253 if test "$no_cache" != 1; then
8254 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8255 fi
8256
8257 if test "$wxUSE_LOGWINDOW" = yes; then
8258 { echo "$as_me:$LINENO: result: yes" >&5
8259 echo "${ECHO_T}yes" >&6; }
8260 else
8261 { echo "$as_me:$LINENO: result: no" >&5
8262 echo "${ECHO_T}no" >&6; }
8263 fi
8264
8265
8266 enablestring=
8267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8268 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8269 no_cache=0
8270 # Check whether --enable-logdialog was given.
8271 if test "${enable_logdialog+set}" = set; then
8272 enableval=$enable_logdialog;
8273 if test "$enableval" = yes; then
8274 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8275 else
8276 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8277 fi
8278
8279 else
8280
8281 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8282 if test "x$LINE" != x ; then
8283 eval "DEFAULT_$LINE"
8284 else
8285 no_cache=1
8286 fi
8287
8288 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8289
8290 fi
8291
8292
8293 eval "$ac_cv_use_logdialog"
8294 if test "$no_cache" != 1; then
8295 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8296 fi
8297
8298 if test "$wxUSE_LOGDIALOG" = yes; then
8299 { echo "$as_me:$LINENO: result: yes" >&5
8300 echo "${ECHO_T}yes" >&6; }
8301 else
8302 { echo "$as_me:$LINENO: result: no" >&5
8303 echo "${ECHO_T}no" >&6; }
8304 fi
8305
8306
8307 enablestring=
8308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8309 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8310 no_cache=0
8311 # Check whether --enable-webkit was given.
8312 if test "${enable_webkit+set}" = set; then
8313 enableval=$enable_webkit;
8314 if test "$enableval" = yes; then
8315 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8316 else
8317 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8318 fi
8319
8320 else
8321
8322 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8323 if test "x$LINE" != x ; then
8324 eval "DEFAULT_$LINE"
8325 else
8326 no_cache=1
8327 fi
8328
8329 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8330
8331 fi
8332
8333
8334 eval "$ac_cv_use_webkit"
8335 if test "$no_cache" != 1; then
8336 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8337 fi
8338
8339 if test "$wxUSE_WEBKIT" = yes; then
8340 { echo "$as_me:$LINENO: result: yes" >&5
8341 echo "${ECHO_T}yes" >&6; }
8342 else
8343 { echo "$as_me:$LINENO: result: no" >&5
8344 echo "${ECHO_T}no" >&6; }
8345 fi
8346
8347
8348 enablestring=
8349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8350 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8351 no_cache=0
8352 # Check whether --enable-richtext was given.
8353 if test "${enable_richtext+set}" = set; then
8354 enableval=$enable_richtext;
8355 if test "$enableval" = yes; then
8356 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8357 else
8358 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8359 fi
8360
8361 else
8362
8363 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x ; then
8365 eval "DEFAULT_$LINE"
8366 else
8367 no_cache=1
8368 fi
8369
8370 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8371
8372 fi
8373
8374
8375 eval "$ac_cv_use_richtext"
8376 if test "$no_cache" != 1; then
8377 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8378 fi
8379
8380 if test "$wxUSE_RICHTEXT" = yes; then
8381 { echo "$as_me:$LINENO: result: yes" >&5
8382 echo "${ECHO_T}yes" >&6; }
8383 else
8384 { echo "$as_me:$LINENO: result: no" >&5
8385 echo "${ECHO_T}no" >&6; }
8386 fi
8387
8388
8389 enablestring=
8390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8391 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8392 no_cache=0
8393 # Check whether --enable-graphics_ctx was given.
8394 if test "${enable_graphics_ctx+set}" = set; then
8395 enableval=$enable_graphics_ctx;
8396 if test "$enableval" = yes; then
8397 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8398 else
8399 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8400 fi
8401
8402 else
8403
8404 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8405 if test "x$LINE" != x ; then
8406 eval "DEFAULT_$LINE"
8407 else
8408 no_cache=1
8409 fi
8410
8411 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8412
8413 fi
8414
8415
8416 eval "$ac_cv_use_graphics_ctx"
8417 if test "$no_cache" != 1; then
8418 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8419 fi
8420
8421 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8422 { echo "$as_me:$LINENO: result: yes" >&5
8423 echo "${ECHO_T}yes" >&6; }
8424 else
8425 { echo "$as_me:$LINENO: result: no" >&5
8426 echo "${ECHO_T}no" >&6; }
8427 fi
8428
8429
8430
8431 enablestring=
8432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8433 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8434 no_cache=0
8435 # Check whether --enable-postscript was given.
8436 if test "${enable_postscript+set}" = set; then
8437 enableval=$enable_postscript;
8438 if test "$enableval" = yes; then
8439 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8440 else
8441 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8442 fi
8443
8444 else
8445
8446 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8447 if test "x$LINE" != x ; then
8448 eval "DEFAULT_$LINE"
8449 else
8450 no_cache=1
8451 fi
8452
8453 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8454
8455 fi
8456
8457
8458 eval "$ac_cv_use_postscript"
8459 if test "$no_cache" != 1; then
8460 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8461 fi
8462
8463 if test "$wxUSE_POSTSCRIPT" = yes; then
8464 { echo "$as_me:$LINENO: result: yes" >&5
8465 echo "${ECHO_T}yes" >&6; }
8466 else
8467 { echo "$as_me:$LINENO: result: no" >&5
8468 echo "${ECHO_T}no" >&6; }
8469 fi
8470
8471
8472
8473
8474
8475 enablestring=
8476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8477 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8478 no_cache=0
8479 # Check whether --enable-clipboard was given.
8480 if test "${enable_clipboard+set}" = set; then
8481 enableval=$enable_clipboard;
8482 if test "$enableval" = yes; then
8483 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8484 else
8485 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8486 fi
8487
8488 else
8489
8490 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8491 if test "x$LINE" != x ; then
8492 eval "DEFAULT_$LINE"
8493 else
8494 no_cache=1
8495 fi
8496
8497 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8498
8499 fi
8500
8501
8502 eval "$ac_cv_use_clipboard"
8503 if test "$no_cache" != 1; then
8504 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8505 fi
8506
8507 if test "$wxUSE_CLIPBOARD" = yes; then
8508 { echo "$as_me:$LINENO: result: yes" >&5
8509 echo "${ECHO_T}yes" >&6; }
8510 else
8511 { echo "$as_me:$LINENO: result: no" >&5
8512 echo "${ECHO_T}no" >&6; }
8513 fi
8514
8515
8516 enablestring=
8517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8518 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8519 no_cache=0
8520 # Check whether --enable-dnd was given.
8521 if test "${enable_dnd+set}" = set; then
8522 enableval=$enable_dnd;
8523 if test "$enableval" = yes; then
8524 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8525 else
8526 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8527 fi
8528
8529 else
8530
8531 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8532 if test "x$LINE" != x ; then
8533 eval "DEFAULT_$LINE"
8534 else
8535 no_cache=1
8536 fi
8537
8538 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8539
8540 fi
8541
8542
8543 eval "$ac_cv_use_dnd"
8544 if test "$no_cache" != 1; then
8545 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8546 fi
8547
8548 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8549 { echo "$as_me:$LINENO: result: yes" >&5
8550 echo "${ECHO_T}yes" >&6; }
8551 else
8552 { echo "$as_me:$LINENO: result: no" >&5
8553 echo "${ECHO_T}no" >&6; }
8554 fi
8555
8556
8557 enablestring=
8558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8559 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8560 no_cache=0
8561 # Check whether --enable-metafile was given.
8562 if test "${enable_metafile+set}" = set; then
8563 enableval=$enable_metafile;
8564 if test "$enableval" = yes; then
8565 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8566 else
8567 ac_cv_use_metafile='wxUSE_METAFILE=no'
8568 fi
8569
8570 else
8571
8572 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8573 if test "x$LINE" != x ; then
8574 eval "DEFAULT_$LINE"
8575 else
8576 no_cache=1
8577 fi
8578
8579 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8580
8581 fi
8582
8583
8584 eval "$ac_cv_use_metafile"
8585 if test "$no_cache" != 1; then
8586 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8587 fi
8588
8589 if test "$wxUSE_METAFILE" = yes; then
8590 { echo "$as_me:$LINENO: result: yes" >&5
8591 echo "${ECHO_T}yes" >&6; }
8592 else
8593 { echo "$as_me:$LINENO: result: no" >&5
8594 echo "${ECHO_T}no" >&6; }
8595 fi
8596
8597
8598
8599
8600
8601 enablestring=
8602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8603 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8604 no_cache=0
8605 # Check whether --enable-controls was given.
8606 if test "${enable_controls+set}" = set; then
8607 enableval=$enable_controls;
8608 if test "$enableval" = yes; then
8609 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8610 else
8611 ac_cv_use_controls='wxUSE_CONTROLS=no'
8612 fi
8613
8614 else
8615
8616 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8617 if test "x$LINE" != x ; then
8618 eval "DEFAULT_$LINE"
8619 else
8620 no_cache=1
8621 fi
8622
8623 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8624
8625 fi
8626
8627
8628 eval "$ac_cv_use_controls"
8629 if test "$no_cache" != 1; then
8630 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8631 fi
8632
8633 if test "$wxUSE_CONTROLS" = yes; then
8634 { echo "$as_me:$LINENO: result: yes" >&5
8635 echo "${ECHO_T}yes" >&6; }
8636 else
8637 { echo "$as_me:$LINENO: result: no" >&5
8638 echo "${ECHO_T}no" >&6; }
8639 fi
8640
8641
8642 if test "$wxUSE_CONTROLS" = "yes"; then
8643 DEFAULT_wxUSE_ACCEL=yes
8644 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8645 DEFAULT_wxUSE_BMPBUTTON=yes
8646 DEFAULT_wxUSE_BUTTON=yes
8647 DEFAULT_wxUSE_CALCTRL=yes
8648 DEFAULT_wxUSE_CARET=yes
8649 DEFAULT_wxUSE_COMBOBOX=yes
8650 DEFAULT_wxUSE_CHECKBOX=yes
8651 DEFAULT_wxUSE_CHECKLISTBOX=yes
8652 DEFAULT_wxUSE_CHOICE=yes
8653 DEFAULT_wxUSE_CHOICEBOOK=yes
8654 DEFAULT_wxUSE_COLLPANE=yes
8655 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8656 DEFAULT_wxUSE_COMBOBOX=yes
8657 DEFAULT_wxUSE_DATEPICKCTRL=yes
8658 DEFAULT_wxUSE_DISPLAY=yes
8659 DEFAULT_wxUSE_DETECT_SM=yes
8660 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8661 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8662 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8663 DEFAULT_wxUSE_GAUGE=yes
8664 DEFAULT_wxUSE_GRID=yes
8665 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8666 DEFAULT_wxUSE_DATAVIEWCTRL=no
8667 DEFAULT_wxUSE_IMAGLIST=yes
8668 DEFAULT_wxUSE_LISTBOOK=yes
8669 DEFAULT_wxUSE_LISTBOX=yes
8670 DEFAULT_wxUSE_LISTCTRL=yes
8671 DEFAULT_wxUSE_NOTEBOOK=yes
8672 DEFAULT_wxUSE_RADIOBOX=yes
8673 DEFAULT_wxUSE_RADIOBTN=yes
8674 DEFAULT_wxUSE_SASH=yes
8675 DEFAULT_wxUSE_SCROLLBAR=yes
8676 DEFAULT_wxUSE_SEARCHCTRL=yes
8677 DEFAULT_wxUSE_SLIDER=yes
8678 DEFAULT_wxUSE_SPINBTN=yes
8679 DEFAULT_wxUSE_SPINCTRL=yes
8680 DEFAULT_wxUSE_SPLITTER=yes
8681 DEFAULT_wxUSE_STATBMP=yes
8682 DEFAULT_wxUSE_STATBOX=yes
8683 DEFAULT_wxUSE_STATLINE=yes
8684 DEFAULT_wxUSE_STATUSBAR=yes
8685 DEFAULT_wxUSE_TAB_DIALOG=yes
8686 DEFAULT_wxUSE_TOGGLEBTN=yes
8687 DEFAULT_wxUSE_TOOLBAR=yes
8688 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8689 DEFAULT_wxUSE_TOOLTIPS=yes
8690 DEFAULT_wxUSE_TREEBOOK=yes
8691 DEFAULT_wxUSE_TOOLBOOK=yes
8692 DEFAULT_wxUSE_TREECTRL=yes
8693 DEFAULT_wxUSE_POPUPWIN=yes
8694 DEFAULT_wxUSE_TIPWINDOW=yes
8695 elif test "$wxUSE_CONTROLS" = "no"; then
8696 DEFAULT_wxUSE_ACCEL=no
8697 DEFAULT_wxUSE_ANIMATIONCTRL=no
8698 DEFAULT_wxUSE_BMPBUTTON=no
8699 DEFAULT_wxUSE_BUTTON=no
8700 DEFAULT_wxUSE_CALCTRL=no
8701 DEFAULT_wxUSE_CARET=no
8702 DEFAULT_wxUSE_COLLPANE=no
8703 DEFAULT_wxUSE_COMBOBOX=no
8704 DEFAULT_wxUSE_CHECKBOX=no
8705 DEFAULT_wxUSE_CHECKLISTBOX=no
8706 DEFAULT_wxUSE_CHOICE=no
8707 DEFAULT_wxUSE_CHOICEBOOK=no
8708 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8709 DEFAULT_wxUSE_COMBOBOX=no
8710 DEFAULT_wxUSE_DATEPICKCTRL=no
8711 DEFAULT_wxUSE_DISPLAY=no
8712 DEFAULT_wxUSE_DETECT_SM=no
8713 DEFAULT_wxUSE_DIRPICKERCTRL=no
8714 DEFAULT_wxUSE_FILEPICKERCTRL=no
8715 DEFAULT_wxUSE_FONTPICKERCTRL=no
8716 DEFAULT_wxUSE_GAUGE=no
8717 DEFAULT_wxUSE_GRID=no
8718 DEFAULT_wxUSE_HYPERLINKCTRL=no
8719 DEFAULT_wxUSE_DATAVIEWCTRL=no
8720 DEFAULT_wxUSE_IMAGLIST=no
8721 DEFAULT_wxUSE_LISTBOOK=no
8722 DEFAULT_wxUSE_LISTBOX=no
8723 DEFAULT_wxUSE_LISTCTRL=no
8724 DEFAULT_wxUSE_NOTEBOOK=no
8725 DEFAULT_wxUSE_RADIOBOX=no
8726 DEFAULT_wxUSE_RADIOBTN=no
8727 DEFAULT_wxUSE_SASH=no
8728 DEFAULT_wxUSE_SCROLLBAR=no
8729 DEFAULT_wxUSE_SEARCHCTRL=no
8730 DEFAULT_wxUSE_SLIDER=no
8731 DEFAULT_wxUSE_SPINBTN=no
8732 DEFAULT_wxUSE_SPINCTRL=no
8733 DEFAULT_wxUSE_SPLITTER=no
8734 DEFAULT_wxUSE_STATBMP=no
8735 DEFAULT_wxUSE_STATBOX=no
8736 DEFAULT_wxUSE_STATLINE=no
8737 DEFAULT_wxUSE_STATUSBAR=no
8738 DEFAULT_wxUSE_TAB_DIALOG=no
8739 DEFAULT_wxUSE_TOGGLEBTN=no
8740 DEFAULT_wxUSE_TOOLBAR=no
8741 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8742 DEFAULT_wxUSE_TOOLTIPS=no
8743 DEFAULT_wxUSE_TREEBOOK=no
8744 DEFAULT_wxUSE_TOOLBOOK=no
8745 DEFAULT_wxUSE_TREECTRL=no
8746 DEFAULT_wxUSE_POPUPWIN=no
8747 DEFAULT_wxUSE_TIPWINDOW=no
8748 fi
8749
8750
8751 enablestring=
8752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8753 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8754 no_cache=0
8755 # Check whether --enable-accel was given.
8756 if test "${enable_accel+set}" = set; then
8757 enableval=$enable_accel;
8758 if test "$enableval" = yes; then
8759 ac_cv_use_accel='wxUSE_ACCEL=yes'
8760 else
8761 ac_cv_use_accel='wxUSE_ACCEL=no'
8762 fi
8763
8764 else
8765
8766 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8767 if test "x$LINE" != x ; then
8768 eval "DEFAULT_$LINE"
8769 else
8770 no_cache=1
8771 fi
8772
8773 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8774
8775 fi
8776
8777
8778 eval "$ac_cv_use_accel"
8779 if test "$no_cache" != 1; then
8780 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8781 fi
8782
8783 if test "$wxUSE_ACCEL" = yes; then
8784 { echo "$as_me:$LINENO: result: yes" >&5
8785 echo "${ECHO_T}yes" >&6; }
8786 else
8787 { echo "$as_me:$LINENO: result: no" >&5
8788 echo "${ECHO_T}no" >&6; }
8789 fi
8790
8791
8792 enablestring=
8793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8794 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8795 no_cache=0
8796 # Check whether --enable-animatectrl was given.
8797 if test "${enable_animatectrl+set}" = set; then
8798 enableval=$enable_animatectrl;
8799 if test "$enableval" = yes; then
8800 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8801 else
8802 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8803 fi
8804
8805 else
8806
8807 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8808 if test "x$LINE" != x ; then
8809 eval "DEFAULT_$LINE"
8810 else
8811 no_cache=1
8812 fi
8813
8814 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8815
8816 fi
8817
8818
8819 eval "$ac_cv_use_animatectrl"
8820 if test "$no_cache" != 1; then
8821 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8822 fi
8823
8824 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8825 { echo "$as_me:$LINENO: result: yes" >&5
8826 echo "${ECHO_T}yes" >&6; }
8827 else
8828 { echo "$as_me:$LINENO: result: no" >&5
8829 echo "${ECHO_T}no" >&6; }
8830 fi
8831
8832
8833 enablestring=
8834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8835 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8836 no_cache=0
8837 # Check whether --enable-button was given.
8838 if test "${enable_button+set}" = set; then
8839 enableval=$enable_button;
8840 if test "$enableval" = yes; then
8841 ac_cv_use_button='wxUSE_BUTTON=yes'
8842 else
8843 ac_cv_use_button='wxUSE_BUTTON=no'
8844 fi
8845
8846 else
8847
8848 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8849 if test "x$LINE" != x ; then
8850 eval "DEFAULT_$LINE"
8851 else
8852 no_cache=1
8853 fi
8854
8855 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8856
8857 fi
8858
8859
8860 eval "$ac_cv_use_button"
8861 if test "$no_cache" != 1; then
8862 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8863 fi
8864
8865 if test "$wxUSE_BUTTON" = yes; then
8866 { echo "$as_me:$LINENO: result: yes" >&5
8867 echo "${ECHO_T}yes" >&6; }
8868 else
8869 { echo "$as_me:$LINENO: result: no" >&5
8870 echo "${ECHO_T}no" >&6; }
8871 fi
8872
8873
8874 enablestring=
8875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8876 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8877 no_cache=0
8878 # Check whether --enable-bmpbutton was given.
8879 if test "${enable_bmpbutton+set}" = set; then
8880 enableval=$enable_bmpbutton;
8881 if test "$enableval" = yes; then
8882 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8883 else
8884 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8885 fi
8886
8887 else
8888
8889 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8890 if test "x$LINE" != x ; then
8891 eval "DEFAULT_$LINE"
8892 else
8893 no_cache=1
8894 fi
8895
8896 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8897
8898 fi
8899
8900
8901 eval "$ac_cv_use_bmpbutton"
8902 if test "$no_cache" != 1; then
8903 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8904 fi
8905
8906 if test "$wxUSE_BMPBUTTON" = yes; then
8907 { echo "$as_me:$LINENO: result: yes" >&5
8908 echo "${ECHO_T}yes" >&6; }
8909 else
8910 { echo "$as_me:$LINENO: result: no" >&5
8911 echo "${ECHO_T}no" >&6; }
8912 fi
8913
8914
8915 enablestring=
8916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8918 no_cache=0
8919 # Check whether --enable-bmpcombobox was given.
8920 if test "${enable_bmpcombobox+set}" = set; then
8921 enableval=$enable_bmpcombobox;
8922 if test "$enableval" = yes; then
8923 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8924 else
8925 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8926 fi
8927
8928 else
8929
8930 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8931 if test "x$LINE" != x ; then
8932 eval "DEFAULT_$LINE"
8933 else
8934 no_cache=1
8935 fi
8936
8937 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8938
8939 fi
8940
8941
8942 eval "$ac_cv_use_bmpcombobox"
8943 if test "$no_cache" != 1; then
8944 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8945 fi
8946
8947 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8948 { echo "$as_me:$LINENO: result: yes" >&5
8949 echo "${ECHO_T}yes" >&6; }
8950 else
8951 { echo "$as_me:$LINENO: result: no" >&5
8952 echo "${ECHO_T}no" >&6; }
8953 fi
8954
8955
8956 enablestring=
8957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8958 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8959 no_cache=0
8960 # Check whether --enable-calendar was given.
8961 if test "${enable_calendar+set}" = set; then
8962 enableval=$enable_calendar;
8963 if test "$enableval" = yes; then
8964 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8965 else
8966 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8967 fi
8968
8969 else
8970
8971 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8972 if test "x$LINE" != x ; then
8973 eval "DEFAULT_$LINE"
8974 else
8975 no_cache=1
8976 fi
8977
8978 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8979
8980 fi
8981
8982
8983 eval "$ac_cv_use_calendar"
8984 if test "$no_cache" != 1; then
8985 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8986 fi
8987
8988 if test "$wxUSE_CALCTRL" = yes; then
8989 { echo "$as_me:$LINENO: result: yes" >&5
8990 echo "${ECHO_T}yes" >&6; }
8991 else
8992 { echo "$as_me:$LINENO: result: no" >&5
8993 echo "${ECHO_T}no" >&6; }
8994 fi
8995
8996
8997 enablestring=
8998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8999 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9000 no_cache=0
9001 # Check whether --enable-caret was given.
9002 if test "${enable_caret+set}" = set; then
9003 enableval=$enable_caret;
9004 if test "$enableval" = yes; then
9005 ac_cv_use_caret='wxUSE_CARET=yes'
9006 else
9007 ac_cv_use_caret='wxUSE_CARET=no'
9008 fi
9009
9010 else
9011
9012 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9013 if test "x$LINE" != x ; then
9014 eval "DEFAULT_$LINE"
9015 else
9016 no_cache=1
9017 fi
9018
9019 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9020
9021 fi
9022
9023
9024 eval "$ac_cv_use_caret"
9025 if test "$no_cache" != 1; then
9026 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9027 fi
9028
9029 if test "$wxUSE_CARET" = yes; then
9030 { echo "$as_me:$LINENO: result: yes" >&5
9031 echo "${ECHO_T}yes" >&6; }
9032 else
9033 { echo "$as_me:$LINENO: result: no" >&5
9034 echo "${ECHO_T}no" >&6; }
9035 fi
9036
9037
9038 enablestring=
9039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9040 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9041 no_cache=0
9042 # Check whether --enable-checkbox was given.
9043 if test "${enable_checkbox+set}" = set; then
9044 enableval=$enable_checkbox;
9045 if test "$enableval" = yes; then
9046 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9047 else
9048 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9049 fi
9050
9051 else
9052
9053 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9056 else
9057 no_cache=1
9058 fi
9059
9060 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9061
9062 fi
9063
9064
9065 eval "$ac_cv_use_checkbox"
9066 if test "$no_cache" != 1; then
9067 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9068 fi
9069
9070 if test "$wxUSE_CHECKBOX" = yes; then
9071 { echo "$as_me:$LINENO: result: yes" >&5
9072 echo "${ECHO_T}yes" >&6; }
9073 else
9074 { echo "$as_me:$LINENO: result: no" >&5
9075 echo "${ECHO_T}no" >&6; }
9076 fi
9077
9078
9079 enablestring=
9080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9082 no_cache=0
9083 # Check whether --enable-checklst was given.
9084 if test "${enable_checklst+set}" = set; then
9085 enableval=$enable_checklst;
9086 if test "$enableval" = yes; then
9087 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9088 else
9089 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9090 fi
9091
9092 else
9093
9094 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9095 if test "x$LINE" != x ; then
9096 eval "DEFAULT_$LINE"
9097 else
9098 no_cache=1
9099 fi
9100
9101 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9102
9103 fi
9104
9105
9106 eval "$ac_cv_use_checklst"
9107 if test "$no_cache" != 1; then
9108 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9109 fi
9110
9111 if test "$wxUSE_CHECKLST" = yes; then
9112 { echo "$as_me:$LINENO: result: yes" >&5
9113 echo "${ECHO_T}yes" >&6; }
9114 else
9115 { echo "$as_me:$LINENO: result: no" >&5
9116 echo "${ECHO_T}no" >&6; }
9117 fi
9118
9119
9120 enablestring=
9121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9122 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9123 no_cache=0
9124 # Check whether --enable-choice was given.
9125 if test "${enable_choice+set}" = set; then
9126 enableval=$enable_choice;
9127 if test "$enableval" = yes; then
9128 ac_cv_use_choice='wxUSE_CHOICE=yes'
9129 else
9130 ac_cv_use_choice='wxUSE_CHOICE=no'
9131 fi
9132
9133 else
9134
9135 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9136 if test "x$LINE" != x ; then
9137 eval "DEFAULT_$LINE"
9138 else
9139 no_cache=1
9140 fi
9141
9142 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9143
9144 fi
9145
9146
9147 eval "$ac_cv_use_choice"
9148 if test "$no_cache" != 1; then
9149 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9150 fi
9151
9152 if test "$wxUSE_CHOICE" = yes; then
9153 { echo "$as_me:$LINENO: result: yes" >&5
9154 echo "${ECHO_T}yes" >&6; }
9155 else
9156 { echo "$as_me:$LINENO: result: no" >&5
9157 echo "${ECHO_T}no" >&6; }
9158 fi
9159
9160
9161 enablestring=
9162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9164 no_cache=0
9165 # Check whether --enable-choicebook was given.
9166 if test "${enable_choicebook+set}" = set; then
9167 enableval=$enable_choicebook;
9168 if test "$enableval" = yes; then
9169 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9170 else
9171 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9172 fi
9173
9174 else
9175
9176 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x ; then
9178 eval "DEFAULT_$LINE"
9179 else
9180 no_cache=1
9181 fi
9182
9183 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9184
9185 fi
9186
9187
9188 eval "$ac_cv_use_choicebook"
9189 if test "$no_cache" != 1; then
9190 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9191 fi
9192
9193 if test "$wxUSE_CHOICEBOOK" = yes; then
9194 { echo "$as_me:$LINENO: result: yes" >&5
9195 echo "${ECHO_T}yes" >&6; }
9196 else
9197 { echo "$as_me:$LINENO: result: no" >&5
9198 echo "${ECHO_T}no" >&6; }
9199 fi
9200
9201
9202 enablestring=
9203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9205 no_cache=0
9206 # Check whether --enable-collpane was given.
9207 if test "${enable_collpane+set}" = set; then
9208 enableval=$enable_collpane;
9209 if test "$enableval" = yes; then
9210 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9211 else
9212 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9213 fi
9214
9215 else
9216
9217 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x ; then
9219 eval "DEFAULT_$LINE"
9220 else
9221 no_cache=1
9222 fi
9223
9224 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9225
9226 fi
9227
9228
9229 eval "$ac_cv_use_collpane"
9230 if test "$no_cache" != 1; then
9231 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9232 fi
9233
9234 if test "$wxUSE_COLLPANE" = yes; then
9235 { echo "$as_me:$LINENO: result: yes" >&5
9236 echo "${ECHO_T}yes" >&6; }
9237 else
9238 { echo "$as_me:$LINENO: result: no" >&5
9239 echo "${ECHO_T}no" >&6; }
9240 fi
9241
9242
9243 enablestring=
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9246 no_cache=0
9247 # Check whether --enable-colourpicker was given.
9248 if test "${enable_colourpicker+set}" = set; then
9249 enableval=$enable_colourpicker;
9250 if test "$enableval" = yes; then
9251 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9252 else
9253 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9254 fi
9255
9256 else
9257
9258 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9261 else
9262 no_cache=1
9263 fi
9264
9265 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9266
9267 fi
9268
9269
9270 eval "$ac_cv_use_colourpicker"
9271 if test "$no_cache" != 1; then
9272 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9273 fi
9274
9275 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9276 { echo "$as_me:$LINENO: result: yes" >&5
9277 echo "${ECHO_T}yes" >&6; }
9278 else
9279 { echo "$as_me:$LINENO: result: no" >&5
9280 echo "${ECHO_T}no" >&6; }
9281 fi
9282
9283
9284 enablestring=
9285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9287 no_cache=0
9288 # Check whether --enable-combobox was given.
9289 if test "${enable_combobox+set}" = set; then
9290 enableval=$enable_combobox;
9291 if test "$enableval" = yes; then
9292 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9293 else
9294 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9295 fi
9296
9297 else
9298
9299 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9302 else
9303 no_cache=1
9304 fi
9305
9306 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9307
9308 fi
9309
9310
9311 eval "$ac_cv_use_combobox"
9312 if test "$no_cache" != 1; then
9313 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9314 fi
9315
9316 if test "$wxUSE_COMBOBOX" = yes; then
9317 { echo "$as_me:$LINENO: result: yes" >&5
9318 echo "${ECHO_T}yes" >&6; }
9319 else
9320 { echo "$as_me:$LINENO: result: no" >&5
9321 echo "${ECHO_T}no" >&6; }
9322 fi
9323
9324
9325 enablestring=
9326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9327 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9328 no_cache=0
9329 # Check whether --enable-comboctrl was given.
9330 if test "${enable_comboctrl+set}" = set; then
9331 enableval=$enable_comboctrl;
9332 if test "$enableval" = yes; then
9333 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9334 else
9335 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9336 fi
9337
9338 else
9339
9340 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9343 else
9344 no_cache=1
9345 fi
9346
9347 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9348
9349 fi
9350
9351
9352 eval "$ac_cv_use_comboctrl"
9353 if test "$no_cache" != 1; then
9354 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9355 fi
9356
9357 if test "$wxUSE_COMBOCTRL" = yes; then
9358 { echo "$as_me:$LINENO: result: yes" >&5
9359 echo "${ECHO_T}yes" >&6; }
9360 else
9361 { echo "$as_me:$LINENO: result: no" >&5
9362 echo "${ECHO_T}no" >&6; }
9363 fi
9364
9365
9366 enablestring=
9367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9368 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9369 no_cache=0
9370 # Check whether --enable-datepick was given.
9371 if test "${enable_datepick+set}" = set; then
9372 enableval=$enable_datepick;
9373 if test "$enableval" = yes; then
9374 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9375 else
9376 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9377 fi
9378
9379 else
9380
9381 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9384 else
9385 no_cache=1
9386 fi
9387
9388 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9389
9390 fi
9391
9392
9393 eval "$ac_cv_use_datepick"
9394 if test "$no_cache" != 1; then
9395 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9396 fi
9397
9398 if test "$wxUSE_DATEPICKCTRL" = yes; then
9399 { echo "$as_me:$LINENO: result: yes" >&5
9400 echo "${ECHO_T}yes" >&6; }
9401 else
9402 { echo "$as_me:$LINENO: result: no" >&5
9403 echo "${ECHO_T}no" >&6; }
9404 fi
9405
9406
9407 enablestring=
9408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9410 no_cache=0
9411 # Check whether --enable-dirpicker was given.
9412 if test "${enable_dirpicker+set}" = set; then
9413 enableval=$enable_dirpicker;
9414 if test "$enableval" = yes; then
9415 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9416 else
9417 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9418 fi
9419
9420 else
9421
9422 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9425 else
9426 no_cache=1
9427 fi
9428
9429 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9430
9431 fi
9432
9433
9434 eval "$ac_cv_use_dirpicker"
9435 if test "$no_cache" != 1; then
9436 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9437 fi
9438
9439 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9440 { echo "$as_me:$LINENO: result: yes" >&5
9441 echo "${ECHO_T}yes" >&6; }
9442 else
9443 { echo "$as_me:$LINENO: result: no" >&5
9444 echo "${ECHO_T}no" >&6; }
9445 fi
9446
9447
9448 enablestring=
9449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9450 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9451 no_cache=0
9452 # Check whether --enable-display was given.
9453 if test "${enable_display+set}" = set; then
9454 enableval=$enable_display;
9455 if test "$enableval" = yes; then
9456 ac_cv_use_display='wxUSE_DISPLAY=yes'
9457 else
9458 ac_cv_use_display='wxUSE_DISPLAY=no'
9459 fi
9460
9461 else
9462
9463 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9466 else
9467 no_cache=1
9468 fi
9469
9470 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9471
9472 fi
9473
9474
9475 eval "$ac_cv_use_display"
9476 if test "$no_cache" != 1; then
9477 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9478 fi
9479
9480 if test "$wxUSE_DISPLAY" = yes; then
9481 { echo "$as_me:$LINENO: result: yes" >&5
9482 echo "${ECHO_T}yes" >&6; }
9483 else
9484 { echo "$as_me:$LINENO: result: no" >&5
9485 echo "${ECHO_T}no" >&6; }
9486 fi
9487
9488
9489 enablestring=
9490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9491 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9492 no_cache=0
9493 # Check whether --enable-detect_sm was given.
9494 if test "${enable_detect_sm+set}" = set; then
9495 enableval=$enable_detect_sm;
9496 if test "$enableval" = yes; then
9497 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9498 else
9499 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9500 fi
9501
9502 else
9503
9504 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9507 else
9508 no_cache=1
9509 fi
9510
9511 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9512
9513 fi
9514
9515
9516 eval "$ac_cv_use_detect_sm"
9517 if test "$no_cache" != 1; then
9518 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9519 fi
9520
9521 if test "$wxUSE_DETECT_SM" = yes; then
9522 { echo "$as_me:$LINENO: result: yes" >&5
9523 echo "${ECHO_T}yes" >&6; }
9524 else
9525 { echo "$as_me:$LINENO: result: no" >&5
9526 echo "${ECHO_T}no" >&6; }
9527 fi
9528
9529
9530 enablestring=
9531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9533 no_cache=0
9534 # Check whether --enable-filepicker was given.
9535 if test "${enable_filepicker+set}" = set; then
9536 enableval=$enable_filepicker;
9537 if test "$enableval" = yes; then
9538 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9539 else
9540 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9541 fi
9542
9543 else
9544
9545 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9548 else
9549 no_cache=1
9550 fi
9551
9552 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9553
9554 fi
9555
9556
9557 eval "$ac_cv_use_filepicker"
9558 if test "$no_cache" != 1; then
9559 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9560 fi
9561
9562 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9563 { echo "$as_me:$LINENO: result: yes" >&5
9564 echo "${ECHO_T}yes" >&6; }
9565 else
9566 { echo "$as_me:$LINENO: result: no" >&5
9567 echo "${ECHO_T}no" >&6; }
9568 fi
9569
9570
9571 enablestring=
9572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9573 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9574 no_cache=0
9575 # Check whether --enable-fontpicker was given.
9576 if test "${enable_fontpicker+set}" = set; then
9577 enableval=$enable_fontpicker;
9578 if test "$enableval" = yes; then
9579 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9580 else
9581 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9582 fi
9583
9584 else
9585
9586 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9587 if test "x$LINE" != x ; then
9588 eval "DEFAULT_$LINE"
9589 else
9590 no_cache=1
9591 fi
9592
9593 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9594
9595 fi
9596
9597
9598 eval "$ac_cv_use_fontpicker"
9599 if test "$no_cache" != 1; then
9600 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9601 fi
9602
9603 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9604 { echo "$as_me:$LINENO: result: yes" >&5
9605 echo "${ECHO_T}yes" >&6; }
9606 else
9607 { echo "$as_me:$LINENO: result: no" >&5
9608 echo "${ECHO_T}no" >&6; }
9609 fi
9610
9611
9612 enablestring=
9613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9614 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9615 no_cache=0
9616 # Check whether --enable-gauge was given.
9617 if test "${enable_gauge+set}" = set; then
9618 enableval=$enable_gauge;
9619 if test "$enableval" = yes; then
9620 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9621 else
9622 ac_cv_use_gauge='wxUSE_GAUGE=no'
9623 fi
9624
9625 else
9626
9627 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9630 else
9631 no_cache=1
9632 fi
9633
9634 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9635
9636 fi
9637
9638
9639 eval "$ac_cv_use_gauge"
9640 if test "$no_cache" != 1; then
9641 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9642 fi
9643
9644 if test "$wxUSE_GAUGE" = yes; then
9645 { echo "$as_me:$LINENO: result: yes" >&5
9646 echo "${ECHO_T}yes" >&6; }
9647 else
9648 { echo "$as_me:$LINENO: result: no" >&5
9649 echo "${ECHO_T}no" >&6; }
9650 fi
9651
9652
9653 enablestring=
9654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9655 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9656 no_cache=0
9657 # Check whether --enable-grid was given.
9658 if test "${enable_grid+set}" = set; then
9659 enableval=$enable_grid;
9660 if test "$enableval" = yes; then
9661 ac_cv_use_grid='wxUSE_GRID=yes'
9662 else
9663 ac_cv_use_grid='wxUSE_GRID=no'
9664 fi
9665
9666 else
9667
9668 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9669 if test "x$LINE" != x ; then
9670 eval "DEFAULT_$LINE"
9671 else
9672 no_cache=1
9673 fi
9674
9675 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9676
9677 fi
9678
9679
9680 eval "$ac_cv_use_grid"
9681 if test "$no_cache" != 1; then
9682 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9683 fi
9684
9685 if test "$wxUSE_GRID" = yes; then
9686 { echo "$as_me:$LINENO: result: yes" >&5
9687 echo "${ECHO_T}yes" >&6; }
9688 else
9689 { echo "$as_me:$LINENO: result: no" >&5
9690 echo "${ECHO_T}no" >&6; }
9691 fi
9692
9693
9694 enablestring=
9695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9696 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9697 no_cache=0
9698 # Check whether --enable-dataviewctrl was given.
9699 if test "${enable_dataviewctrl+set}" = set; then
9700 enableval=$enable_dataviewctrl;
9701 if test "$enableval" = yes; then
9702 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9703 else
9704 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9705 fi
9706
9707 else
9708
9709 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x ; then
9711 eval "DEFAULT_$LINE"
9712 else
9713 no_cache=1
9714 fi
9715
9716 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9717
9718 fi
9719
9720
9721 eval "$ac_cv_use_dataviewctrl"
9722 if test "$no_cache" != 1; then
9723 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9724 fi
9725
9726 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9727 { echo "$as_me:$LINENO: result: yes" >&5
9728 echo "${ECHO_T}yes" >&6; }
9729 else
9730 { echo "$as_me:$LINENO: result: no" >&5
9731 echo "${ECHO_T}no" >&6; }
9732 fi
9733
9734
9735 enablestring=
9736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9737 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9738 no_cache=0
9739 # Check whether --enable-hyperlink was given.
9740 if test "${enable_hyperlink+set}" = set; then
9741 enableval=$enable_hyperlink;
9742 if test "$enableval" = yes; then
9743 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9744 else
9745 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9746 fi
9747
9748 else
9749
9750 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9751 if test "x$LINE" != x ; then
9752 eval "DEFAULT_$LINE"
9753 else
9754 no_cache=1
9755 fi
9756
9757 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9758
9759 fi
9760
9761
9762 eval "$ac_cv_use_hyperlink"
9763 if test "$no_cache" != 1; then
9764 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9765 fi
9766
9767 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9768 { echo "$as_me:$LINENO: result: yes" >&5
9769 echo "${ECHO_T}yes" >&6; }
9770 else
9771 { echo "$as_me:$LINENO: result: no" >&5
9772 echo "${ECHO_T}no" >&6; }
9773 fi
9774
9775
9776 enablestring=
9777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9778 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9779 no_cache=0
9780 # Check whether --enable-imaglist was given.
9781 if test "${enable_imaglist+set}" = set; then
9782 enableval=$enable_imaglist;
9783 if test "$enableval" = yes; then
9784 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9785 else
9786 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9787 fi
9788
9789 else
9790
9791 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9792 if test "x$LINE" != x ; then
9793 eval "DEFAULT_$LINE"
9794 else
9795 no_cache=1
9796 fi
9797
9798 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9799
9800 fi
9801
9802
9803 eval "$ac_cv_use_imaglist"
9804 if test "$no_cache" != 1; then
9805 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9806 fi
9807
9808 if test "$wxUSE_IMAGLIST" = yes; then
9809 { echo "$as_me:$LINENO: result: yes" >&5
9810 echo "${ECHO_T}yes" >&6; }
9811 else
9812 { echo "$as_me:$LINENO: result: no" >&5
9813 echo "${ECHO_T}no" >&6; }
9814 fi
9815
9816
9817 enablestring=
9818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9819 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9820 no_cache=0
9821 # Check whether --enable-listbook was given.
9822 if test "${enable_listbook+set}" = set; then
9823 enableval=$enable_listbook;
9824 if test "$enableval" = yes; then
9825 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9826 else
9827 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9828 fi
9829
9830 else
9831
9832 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x ; then
9834 eval "DEFAULT_$LINE"
9835 else
9836 no_cache=1
9837 fi
9838
9839 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9840
9841 fi
9842
9843
9844 eval "$ac_cv_use_listbook"
9845 if test "$no_cache" != 1; then
9846 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9847 fi
9848
9849 if test "$wxUSE_LISTBOOK" = yes; then
9850 { echo "$as_me:$LINENO: result: yes" >&5
9851 echo "${ECHO_T}yes" >&6; }
9852 else
9853 { echo "$as_me:$LINENO: result: no" >&5
9854 echo "${ECHO_T}no" >&6; }
9855 fi
9856
9857
9858 enablestring=
9859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9860 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9861 no_cache=0
9862 # Check whether --enable-listbox was given.
9863 if test "${enable_listbox+set}" = set; then
9864 enableval=$enable_listbox;
9865 if test "$enableval" = yes; then
9866 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9867 else
9868 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9869 fi
9870
9871 else
9872
9873 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9874 if test "x$LINE" != x ; then
9875 eval "DEFAULT_$LINE"
9876 else
9877 no_cache=1
9878 fi
9879
9880 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9881
9882 fi
9883
9884
9885 eval "$ac_cv_use_listbox"
9886 if test "$no_cache" != 1; then
9887 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9888 fi
9889
9890 if test "$wxUSE_LISTBOX" = yes; then
9891 { echo "$as_me:$LINENO: result: yes" >&5
9892 echo "${ECHO_T}yes" >&6; }
9893 else
9894 { echo "$as_me:$LINENO: result: no" >&5
9895 echo "${ECHO_T}no" >&6; }
9896 fi
9897
9898
9899 enablestring=
9900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9901 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9902 no_cache=0
9903 # Check whether --enable-listctrl was given.
9904 if test "${enable_listctrl+set}" = set; then
9905 enableval=$enable_listctrl;
9906 if test "$enableval" = yes; then
9907 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9908 else
9909 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9910 fi
9911
9912 else
9913
9914 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9915 if test "x$LINE" != x ; then
9916 eval "DEFAULT_$LINE"
9917 else
9918 no_cache=1
9919 fi
9920
9921 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9922
9923 fi
9924
9925
9926 eval "$ac_cv_use_listctrl"
9927 if test "$no_cache" != 1; then
9928 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9929 fi
9930
9931 if test "$wxUSE_LISTCTRL" = yes; then
9932 { echo "$as_me:$LINENO: result: yes" >&5
9933 echo "${ECHO_T}yes" >&6; }
9934 else
9935 { echo "$as_me:$LINENO: result: no" >&5
9936 echo "${ECHO_T}no" >&6; }
9937 fi
9938
9939
9940 enablestring=
9941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9942 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9943 no_cache=0
9944 # Check whether --enable-notebook was given.
9945 if test "${enable_notebook+set}" = set; then
9946 enableval=$enable_notebook;
9947 if test "$enableval" = yes; then
9948 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9949 else
9950 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9951 fi
9952
9953 else
9954
9955 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9956 if test "x$LINE" != x ; then
9957 eval "DEFAULT_$LINE"
9958 else
9959 no_cache=1
9960 fi
9961
9962 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9963
9964 fi
9965
9966
9967 eval "$ac_cv_use_notebook"
9968 if test "$no_cache" != 1; then
9969 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9970 fi
9971
9972 if test "$wxUSE_NOTEBOOK" = yes; then
9973 { echo "$as_me:$LINENO: result: yes" >&5
9974 echo "${ECHO_T}yes" >&6; }
9975 else
9976 { echo "$as_me:$LINENO: result: no" >&5
9977 echo "${ECHO_T}no" >&6; }
9978 fi
9979
9980
9981 enablestring=
9982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9983 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
9984 no_cache=0
9985 # Check whether --enable-odcombobox was given.
9986 if test "${enable_odcombobox+set}" = set; then
9987 enableval=$enable_odcombobox;
9988 if test "$enableval" = yes; then
9989 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9990 else
9991 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9992 fi
9993
9994 else
9995
9996 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9997 if test "x$LINE" != x ; then
9998 eval "DEFAULT_$LINE"
9999 else
10000 no_cache=1
10001 fi
10002
10003 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10004
10005 fi
10006
10007
10008 eval "$ac_cv_use_odcombobox"
10009 if test "$no_cache" != 1; then
10010 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10011 fi
10012
10013 if test "$wxUSE_ODCOMBOBOX" = yes; then
10014 { echo "$as_me:$LINENO: result: yes" >&5
10015 echo "${ECHO_T}yes" >&6; }
10016 else
10017 { echo "$as_me:$LINENO: result: no" >&5
10018 echo "${ECHO_T}no" >&6; }
10019 fi
10020
10021
10022 enablestring=
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10025 no_cache=0
10026 # Check whether --enable-radiobox was given.
10027 if test "${enable_radiobox+set}" = set; then
10028 enableval=$enable_radiobox;
10029 if test "$enableval" = yes; then
10030 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10031 else
10032 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10033 fi
10034
10035 else
10036
10037 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10038 if test "x$LINE" != x ; then
10039 eval "DEFAULT_$LINE"
10040 else
10041 no_cache=1
10042 fi
10043
10044 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10045
10046 fi
10047
10048
10049 eval "$ac_cv_use_radiobox"
10050 if test "$no_cache" != 1; then
10051 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10052 fi
10053
10054 if test "$wxUSE_RADIOBOX" = yes; then
10055 { echo "$as_me:$LINENO: result: yes" >&5
10056 echo "${ECHO_T}yes" >&6; }
10057 else
10058 { echo "$as_me:$LINENO: result: no" >&5
10059 echo "${ECHO_T}no" >&6; }
10060 fi
10061
10062
10063 enablestring=
10064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10065 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10066 no_cache=0
10067 # Check whether --enable-radiobtn was given.
10068 if test "${enable_radiobtn+set}" = set; then
10069 enableval=$enable_radiobtn;
10070 if test "$enableval" = yes; then
10071 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10072 else
10073 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10074 fi
10075
10076 else
10077
10078 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10079 if test "x$LINE" != x ; then
10080 eval "DEFAULT_$LINE"
10081 else
10082 no_cache=1
10083 fi
10084
10085 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10086
10087 fi
10088
10089
10090 eval "$ac_cv_use_radiobtn"
10091 if test "$no_cache" != 1; then
10092 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10093 fi
10094
10095 if test "$wxUSE_RADIOBTN" = yes; then
10096 { echo "$as_me:$LINENO: result: yes" >&5
10097 echo "${ECHO_T}yes" >&6; }
10098 else
10099 { echo "$as_me:$LINENO: result: no" >&5
10100 echo "${ECHO_T}no" >&6; }
10101 fi
10102
10103
10104 enablestring=
10105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10106 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10107 no_cache=0
10108 # Check whether --enable-sash was given.
10109 if test "${enable_sash+set}" = set; then
10110 enableval=$enable_sash;
10111 if test "$enableval" = yes; then
10112 ac_cv_use_sash='wxUSE_SASH=yes'
10113 else
10114 ac_cv_use_sash='wxUSE_SASH=no'
10115 fi
10116
10117 else
10118
10119 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10120 if test "x$LINE" != x ; then
10121 eval "DEFAULT_$LINE"
10122 else
10123 no_cache=1
10124 fi
10125
10126 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10127
10128 fi
10129
10130
10131 eval "$ac_cv_use_sash"
10132 if test "$no_cache" != 1; then
10133 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10134 fi
10135
10136 if test "$wxUSE_SASH" = yes; then
10137 { echo "$as_me:$LINENO: result: yes" >&5
10138 echo "${ECHO_T}yes" >&6; }
10139 else
10140 { echo "$as_me:$LINENO: result: no" >&5
10141 echo "${ECHO_T}no" >&6; }
10142 fi
10143
10144
10145 enablestring=
10146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10147 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10148 no_cache=0
10149 # Check whether --enable-scrollbar was given.
10150 if test "${enable_scrollbar+set}" = set; then
10151 enableval=$enable_scrollbar;
10152 if test "$enableval" = yes; then
10153 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10154 else
10155 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10156 fi
10157
10158 else
10159
10160 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10161 if test "x$LINE" != x ; then
10162 eval "DEFAULT_$LINE"
10163 else
10164 no_cache=1
10165 fi
10166
10167 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10168
10169 fi
10170
10171
10172 eval "$ac_cv_use_scrollbar"
10173 if test "$no_cache" != 1; then
10174 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10175 fi
10176
10177 if test "$wxUSE_SCROLLBAR" = yes; then
10178 { echo "$as_me:$LINENO: result: yes" >&5
10179 echo "${ECHO_T}yes" >&6; }
10180 else
10181 { echo "$as_me:$LINENO: result: no" >&5
10182 echo "${ECHO_T}no" >&6; }
10183 fi
10184
10185
10186 enablestring=
10187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10188 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10189 no_cache=0
10190 # Check whether --enable-searchctrl was given.
10191 if test "${enable_searchctrl+set}" = set; then
10192 enableval=$enable_searchctrl;
10193 if test "$enableval" = yes; then
10194 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10195 else
10196 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10197 fi
10198
10199 else
10200
10201 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10202 if test "x$LINE" != x ; then
10203 eval "DEFAULT_$LINE"
10204 else
10205 no_cache=1
10206 fi
10207
10208 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10209
10210 fi
10211
10212
10213 eval "$ac_cv_use_searchctrl"
10214 if test "$no_cache" != 1; then
10215 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10216 fi
10217
10218 if test "$wxUSE_SEARCHCTRL" = yes; then
10219 { echo "$as_me:$LINENO: result: yes" >&5
10220 echo "${ECHO_T}yes" >&6; }
10221 else
10222 { echo "$as_me:$LINENO: result: no" >&5
10223 echo "${ECHO_T}no" >&6; }
10224 fi
10225
10226
10227 enablestring=
10228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10229 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10230 no_cache=0
10231 # Check whether --enable-slider was given.
10232 if test "${enable_slider+set}" = set; then
10233 enableval=$enable_slider;
10234 if test "$enableval" = yes; then
10235 ac_cv_use_slider='wxUSE_SLIDER=yes'
10236 else
10237 ac_cv_use_slider='wxUSE_SLIDER=no'
10238 fi
10239
10240 else
10241
10242 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10243 if test "x$LINE" != x ; then
10244 eval "DEFAULT_$LINE"
10245 else
10246 no_cache=1
10247 fi
10248
10249 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10250
10251 fi
10252
10253
10254 eval "$ac_cv_use_slider"
10255 if test "$no_cache" != 1; then
10256 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10257 fi
10258
10259 if test "$wxUSE_SLIDER" = yes; then
10260 { echo "$as_me:$LINENO: result: yes" >&5
10261 echo "${ECHO_T}yes" >&6; }
10262 else
10263 { echo "$as_me:$LINENO: result: no" >&5
10264 echo "${ECHO_T}no" >&6; }
10265 fi
10266
10267
10268 enablestring=
10269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10270 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10271 no_cache=0
10272 # Check whether --enable-spinbtn was given.
10273 if test "${enable_spinbtn+set}" = set; then
10274 enableval=$enable_spinbtn;
10275 if test "$enableval" = yes; then
10276 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10277 else
10278 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10279 fi
10280
10281 else
10282
10283 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10284 if test "x$LINE" != x ; then
10285 eval "DEFAULT_$LINE"
10286 else
10287 no_cache=1
10288 fi
10289
10290 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10291
10292 fi
10293
10294
10295 eval "$ac_cv_use_spinbtn"
10296 if test "$no_cache" != 1; then
10297 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10298 fi
10299
10300 if test "$wxUSE_SPINBTN" = yes; then
10301 { echo "$as_me:$LINENO: result: yes" >&5
10302 echo "${ECHO_T}yes" >&6; }
10303 else
10304 { echo "$as_me:$LINENO: result: no" >&5
10305 echo "${ECHO_T}no" >&6; }
10306 fi
10307
10308
10309 enablestring=
10310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10311 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10312 no_cache=0
10313 # Check whether --enable-spinctrl was given.
10314 if test "${enable_spinctrl+set}" = set; then
10315 enableval=$enable_spinctrl;
10316 if test "$enableval" = yes; then
10317 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10318 else
10319 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10320 fi
10321
10322 else
10323
10324 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10325 if test "x$LINE" != x ; then
10326 eval "DEFAULT_$LINE"
10327 else
10328 no_cache=1
10329 fi
10330
10331 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10332
10333 fi
10334
10335
10336 eval "$ac_cv_use_spinctrl"
10337 if test "$no_cache" != 1; then
10338 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10339 fi
10340
10341 if test "$wxUSE_SPINCTRL" = yes; then
10342 { echo "$as_me:$LINENO: result: yes" >&5
10343 echo "${ECHO_T}yes" >&6; }
10344 else
10345 { echo "$as_me:$LINENO: result: no" >&5
10346 echo "${ECHO_T}no" >&6; }
10347 fi
10348
10349
10350 enablestring=
10351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10352 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10353 no_cache=0
10354 # Check whether --enable-splitter was given.
10355 if test "${enable_splitter+set}" = set; then
10356 enableval=$enable_splitter;
10357 if test "$enableval" = yes; then
10358 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10359 else
10360 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10361 fi
10362
10363 else
10364
10365 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10366 if test "x$LINE" != x ; then
10367 eval "DEFAULT_$LINE"
10368 else
10369 no_cache=1
10370 fi
10371
10372 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10373
10374 fi
10375
10376
10377 eval "$ac_cv_use_splitter"
10378 if test "$no_cache" != 1; then
10379 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10380 fi
10381
10382 if test "$wxUSE_SPLITTER" = yes; then
10383 { echo "$as_me:$LINENO: result: yes" >&5
10384 echo "${ECHO_T}yes" >&6; }
10385 else
10386 { echo "$as_me:$LINENO: result: no" >&5
10387 echo "${ECHO_T}no" >&6; }
10388 fi
10389
10390
10391 enablestring=
10392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10393 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10394 no_cache=0
10395 # Check whether --enable-statbmp was given.
10396 if test "${enable_statbmp+set}" = set; then
10397 enableval=$enable_statbmp;
10398 if test "$enableval" = yes; then
10399 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10400 else
10401 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10402 fi
10403
10404 else
10405
10406 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10407 if test "x$LINE" != x ; then
10408 eval "DEFAULT_$LINE"
10409 else
10410 no_cache=1
10411 fi
10412
10413 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10414
10415 fi
10416
10417
10418 eval "$ac_cv_use_statbmp"
10419 if test "$no_cache" != 1; then
10420 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10421 fi
10422
10423 if test "$wxUSE_STATBMP" = yes; then
10424 { echo "$as_me:$LINENO: result: yes" >&5
10425 echo "${ECHO_T}yes" >&6; }
10426 else
10427 { echo "$as_me:$LINENO: result: no" >&5
10428 echo "${ECHO_T}no" >&6; }
10429 fi
10430
10431
10432 enablestring=
10433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10434 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10435 no_cache=0
10436 # Check whether --enable-statbox was given.
10437 if test "${enable_statbox+set}" = set; then
10438 enableval=$enable_statbox;
10439 if test "$enableval" = yes; then
10440 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10441 else
10442 ac_cv_use_statbox='wxUSE_STATBOX=no'
10443 fi
10444
10445 else
10446
10447 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10448 if test "x$LINE" != x ; then
10449 eval "DEFAULT_$LINE"
10450 else
10451 no_cache=1
10452 fi
10453
10454 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10455
10456 fi
10457
10458
10459 eval "$ac_cv_use_statbox"
10460 if test "$no_cache" != 1; then
10461 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10462 fi
10463
10464 if test "$wxUSE_STATBOX" = yes; then
10465 { echo "$as_me:$LINENO: result: yes" >&5
10466 echo "${ECHO_T}yes" >&6; }
10467 else
10468 { echo "$as_me:$LINENO: result: no" >&5
10469 echo "${ECHO_T}no" >&6; }
10470 fi
10471
10472
10473 enablestring=
10474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10475 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10476 no_cache=0
10477 # Check whether --enable-statline was given.
10478 if test "${enable_statline+set}" = set; then
10479 enableval=$enable_statline;
10480 if test "$enableval" = yes; then
10481 ac_cv_use_statline='wxUSE_STATLINE=yes'
10482 else
10483 ac_cv_use_statline='wxUSE_STATLINE=no'
10484 fi
10485
10486 else
10487
10488 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10489 if test "x$LINE" != x ; then
10490 eval "DEFAULT_$LINE"
10491 else
10492 no_cache=1
10493 fi
10494
10495 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10496
10497 fi
10498
10499
10500 eval "$ac_cv_use_statline"
10501 if test "$no_cache" != 1; then
10502 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10503 fi
10504
10505 if test "$wxUSE_STATLINE" = yes; then
10506 { echo "$as_me:$LINENO: result: yes" >&5
10507 echo "${ECHO_T}yes" >&6; }
10508 else
10509 { echo "$as_me:$LINENO: result: no" >&5
10510 echo "${ECHO_T}no" >&6; }
10511 fi
10512
10513
10514 enablestring=
10515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10516 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10517 no_cache=0
10518 # Check whether --enable-stattext was given.
10519 if test "${enable_stattext+set}" = set; then
10520 enableval=$enable_stattext;
10521 if test "$enableval" = yes; then
10522 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10523 else
10524 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10525 fi
10526
10527 else
10528
10529 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10530 if test "x$LINE" != x ; then
10531 eval "DEFAULT_$LINE"
10532 else
10533 no_cache=1
10534 fi
10535
10536 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10537
10538 fi
10539
10540
10541 eval "$ac_cv_use_stattext"
10542 if test "$no_cache" != 1; then
10543 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10544 fi
10545
10546 if test "$wxUSE_STATTEXT" = yes; then
10547 { echo "$as_me:$LINENO: result: yes" >&5
10548 echo "${ECHO_T}yes" >&6; }
10549 else
10550 { echo "$as_me:$LINENO: result: no" >&5
10551 echo "${ECHO_T}no" >&6; }
10552 fi
10553
10554
10555 enablestring=
10556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10557 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10558 no_cache=0
10559 # Check whether --enable-statusbar was given.
10560 if test "${enable_statusbar+set}" = set; then
10561 enableval=$enable_statusbar;
10562 if test "$enableval" = yes; then
10563 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10564 else
10565 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10566 fi
10567
10568 else
10569
10570 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10571 if test "x$LINE" != x ; then
10572 eval "DEFAULT_$LINE"
10573 else
10574 no_cache=1
10575 fi
10576
10577 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10578
10579 fi
10580
10581
10582 eval "$ac_cv_use_statusbar"
10583 if test "$no_cache" != 1; then
10584 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10585 fi
10586
10587 if test "$wxUSE_STATUSBAR" = yes; then
10588 { echo "$as_me:$LINENO: result: yes" >&5
10589 echo "${ECHO_T}yes" >&6; }
10590 else
10591 { echo "$as_me:$LINENO: result: no" >&5
10592 echo "${ECHO_T}no" >&6; }
10593 fi
10594
10595
10596 enablestring=
10597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10598 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10599 no_cache=0
10600 # Check whether --enable-tabdialog was given.
10601 if test "${enable_tabdialog+set}" = set; then
10602 enableval=$enable_tabdialog;
10603 if test "$enableval" = yes; then
10604 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10605 else
10606 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10607 fi
10608
10609 else
10610
10611 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10612 if test "x$LINE" != x ; then
10613 eval "DEFAULT_$LINE"
10614 else
10615 no_cache=1
10616 fi
10617
10618 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10619
10620 fi
10621
10622
10623 eval "$ac_cv_use_tabdialog"
10624 if test "$no_cache" != 1; then
10625 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10626 fi
10627
10628 if test "$wxUSE_TAB_DIALOG" = yes; then
10629 { echo "$as_me:$LINENO: result: yes" >&5
10630 echo "${ECHO_T}yes" >&6; }
10631 else
10632 { echo "$as_me:$LINENO: result: no" >&5
10633 echo "${ECHO_T}no" >&6; }
10634 fi
10635
10636
10637 enablestring=
10638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10639 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10640 no_cache=0
10641 # Check whether --enable-textctrl was given.
10642 if test "${enable_textctrl+set}" = set; then
10643 enableval=$enable_textctrl;
10644 if test "$enableval" = yes; then
10645 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10646 else
10647 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10648 fi
10649
10650 else
10651
10652 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10653 if test "x$LINE" != x ; then
10654 eval "DEFAULT_$LINE"
10655 else
10656 no_cache=1
10657 fi
10658
10659 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10660
10661 fi
10662
10663
10664 eval "$ac_cv_use_textctrl"
10665 if test "$no_cache" != 1; then
10666 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10667 fi
10668
10669 if test "$wxUSE_TEXTCTRL" = yes; then
10670 { echo "$as_me:$LINENO: result: yes" >&5
10671 echo "${ECHO_T}yes" >&6; }
10672 else
10673 { echo "$as_me:$LINENO: result: no" >&5
10674 echo "${ECHO_T}no" >&6; }
10675 fi
10676
10677
10678 enablestring=
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10681 no_cache=0
10682 # Check whether --enable-togglebtn was given.
10683 if test "${enable_togglebtn+set}" = set; then
10684 enableval=$enable_togglebtn;
10685 if test "$enableval" = yes; then
10686 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10687 else
10688 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10689 fi
10690
10691 else
10692
10693 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10694 if test "x$LINE" != x ; then
10695 eval "DEFAULT_$LINE"
10696 else
10697 no_cache=1
10698 fi
10699
10700 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10701
10702 fi
10703
10704
10705 eval "$ac_cv_use_togglebtn"
10706 if test "$no_cache" != 1; then
10707 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10708 fi
10709
10710 if test "$wxUSE_TOGGLEBTN" = yes; then
10711 { echo "$as_me:$LINENO: result: yes" >&5
10712 echo "${ECHO_T}yes" >&6; }
10713 else
10714 { echo "$as_me:$LINENO: result: no" >&5
10715 echo "${ECHO_T}no" >&6; }
10716 fi
10717
10718
10719 enablestring=
10720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10721 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10722 no_cache=0
10723 # Check whether --enable-toolbar was given.
10724 if test "${enable_toolbar+set}" = set; then
10725 enableval=$enable_toolbar;
10726 if test "$enableval" = yes; then
10727 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10728 else
10729 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10730 fi
10731
10732 else
10733
10734 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10735 if test "x$LINE" != x ; then
10736 eval "DEFAULT_$LINE"
10737 else
10738 no_cache=1
10739 fi
10740
10741 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10742
10743 fi
10744
10745
10746 eval "$ac_cv_use_toolbar"
10747 if test "$no_cache" != 1; then
10748 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10749 fi
10750
10751 if test "$wxUSE_TOOLBAR" = yes; then
10752 { echo "$as_me:$LINENO: result: yes" >&5
10753 echo "${ECHO_T}yes" >&6; }
10754 else
10755 { echo "$as_me:$LINENO: result: no" >&5
10756 echo "${ECHO_T}no" >&6; }
10757 fi
10758
10759
10760 enablestring=
10761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10762 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10763 no_cache=0
10764 # Check whether --enable-tbarnative was given.
10765 if test "${enable_tbarnative+set}" = set; then
10766 enableval=$enable_tbarnative;
10767 if test "$enableval" = yes; then
10768 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10769 else
10770 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10771 fi
10772
10773 else
10774
10775 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10776 if test "x$LINE" != x ; then
10777 eval "DEFAULT_$LINE"
10778 else
10779 no_cache=1
10780 fi
10781
10782 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10783
10784 fi
10785
10786
10787 eval "$ac_cv_use_tbarnative"
10788 if test "$no_cache" != 1; then
10789 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10790 fi
10791
10792 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10793 { echo "$as_me:$LINENO: result: yes" >&5
10794 echo "${ECHO_T}yes" >&6; }
10795 else
10796 { echo "$as_me:$LINENO: result: no" >&5
10797 echo "${ECHO_T}no" >&6; }
10798 fi
10799
10800
10801 enablestring=
10802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10803 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10804 no_cache=0
10805 # Check whether --enable-treebook was given.
10806 if test "${enable_treebook+set}" = set; then
10807 enableval=$enable_treebook;
10808 if test "$enableval" = yes; then
10809 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10810 else
10811 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10812 fi
10813
10814 else
10815
10816 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10817 if test "x$LINE" != x ; then
10818 eval "DEFAULT_$LINE"
10819 else
10820 no_cache=1
10821 fi
10822
10823 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10824
10825 fi
10826
10827
10828 eval "$ac_cv_use_treebook"
10829 if test "$no_cache" != 1; then
10830 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10831 fi
10832
10833 if test "$wxUSE_TREEBOOK" = yes; then
10834 { echo "$as_me:$LINENO: result: yes" >&5
10835 echo "${ECHO_T}yes" >&6; }
10836 else
10837 { echo "$as_me:$LINENO: result: no" >&5
10838 echo "${ECHO_T}no" >&6; }
10839 fi
10840
10841
10842 enablestring=
10843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10844 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10845 no_cache=0
10846 # Check whether --enable-toolbook was given.
10847 if test "${enable_toolbook+set}" = set; then
10848 enableval=$enable_toolbook;
10849 if test "$enableval" = yes; then
10850 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10851 else
10852 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10853 fi
10854
10855 else
10856
10857 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10858 if test "x$LINE" != x ; then
10859 eval "DEFAULT_$LINE"
10860 else
10861 no_cache=1
10862 fi
10863
10864 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10865
10866 fi
10867
10868
10869 eval "$ac_cv_use_toolbook"
10870 if test "$no_cache" != 1; then
10871 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10872 fi
10873
10874 if test "$wxUSE_TOOLBOOK" = yes; then
10875 { echo "$as_me:$LINENO: result: yes" >&5
10876 echo "${ECHO_T}yes" >&6; }
10877 else
10878 { echo "$as_me:$LINENO: result: no" >&5
10879 echo "${ECHO_T}no" >&6; }
10880 fi
10881
10882
10883 enablestring=
10884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10885 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10886 no_cache=0
10887 # Check whether --enable-treectrl was given.
10888 if test "${enable_treectrl+set}" = set; then
10889 enableval=$enable_treectrl;
10890 if test "$enableval" = yes; then
10891 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10892 else
10893 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10894 fi
10895
10896 else
10897
10898 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10899 if test "x$LINE" != x ; then
10900 eval "DEFAULT_$LINE"
10901 else
10902 no_cache=1
10903 fi
10904
10905 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10906
10907 fi
10908
10909
10910 eval "$ac_cv_use_treectrl"
10911 if test "$no_cache" != 1; then
10912 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10913 fi
10914
10915 if test "$wxUSE_TREECTRL" = yes; then
10916 { echo "$as_me:$LINENO: result: yes" >&5
10917 echo "${ECHO_T}yes" >&6; }
10918 else
10919 { echo "$as_me:$LINENO: result: no" >&5
10920 echo "${ECHO_T}no" >&6; }
10921 fi
10922
10923
10924 enablestring=
10925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10926 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10927 no_cache=0
10928 # Check whether --enable-tipwindow was given.
10929 if test "${enable_tipwindow+set}" = set; then
10930 enableval=$enable_tipwindow;
10931 if test "$enableval" = yes; then
10932 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10933 else
10934 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10935 fi
10936
10937 else
10938
10939 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10940 if test "x$LINE" != x ; then
10941 eval "DEFAULT_$LINE"
10942 else
10943 no_cache=1
10944 fi
10945
10946 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10947
10948 fi
10949
10950
10951 eval "$ac_cv_use_tipwindow"
10952 if test "$no_cache" != 1; then
10953 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10954 fi
10955
10956 if test "$wxUSE_TIPWINDOW" = yes; then
10957 { echo "$as_me:$LINENO: result: yes" >&5
10958 echo "${ECHO_T}yes" >&6; }
10959 else
10960 { echo "$as_me:$LINENO: result: no" >&5
10961 echo "${ECHO_T}no" >&6; }
10962 fi
10963
10964
10965 enablestring=
10966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10967 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10968 no_cache=0
10969 # Check whether --enable-popupwin was given.
10970 if test "${enable_popupwin+set}" = set; then
10971 enableval=$enable_popupwin;
10972 if test "$enableval" = yes; then
10973 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10974 else
10975 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10976 fi
10977
10978 else
10979
10980 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10981 if test "x$LINE" != x ; then
10982 eval "DEFAULT_$LINE"
10983 else
10984 no_cache=1
10985 fi
10986
10987 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10988
10989 fi
10990
10991
10992 eval "$ac_cv_use_popupwin"
10993 if test "$no_cache" != 1; then
10994 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10995 fi
10996
10997 if test "$wxUSE_POPUPWIN" = yes; then
10998 { echo "$as_me:$LINENO: result: yes" >&5
10999 echo "${ECHO_T}yes" >&6; }
11000 else
11001 { echo "$as_me:$LINENO: result: no" >&5
11002 echo "${ECHO_T}no" >&6; }
11003 fi
11004
11005
11006
11007
11008 enablestring=
11009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11010 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11011 no_cache=0
11012 # Check whether --enable-commondlg was given.
11013 if test "${enable_commondlg+set}" = set; then
11014 enableval=$enable_commondlg;
11015 if test "$enableval" = yes; then
11016 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11017 else
11018 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11019 fi
11020
11021 else
11022
11023 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11024 if test "x$LINE" != x ; then
11025 eval "DEFAULT_$LINE"
11026 else
11027 no_cache=1
11028 fi
11029
11030 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11031
11032 fi
11033
11034
11035 eval "$ac_cv_use_commondlg"
11036 if test "$no_cache" != 1; then
11037 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11038 fi
11039
11040 if test "$wxUSE_COMMONDLGS" = yes; then
11041 { echo "$as_me:$LINENO: result: yes" >&5
11042 echo "${ECHO_T}yes" >&6; }
11043 else
11044 { echo "$as_me:$LINENO: result: no" >&5
11045 echo "${ECHO_T}no" >&6; }
11046 fi
11047
11048
11049 enablestring=
11050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11051 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11052 no_cache=0
11053 # Check whether --enable-aboutdlg was given.
11054 if test "${enable_aboutdlg+set}" = set; then
11055 enableval=$enable_aboutdlg;
11056 if test "$enableval" = yes; then
11057 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11058 else
11059 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11060 fi
11061
11062 else
11063
11064 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11065 if test "x$LINE" != x ; then
11066 eval "DEFAULT_$LINE"
11067 else
11068 no_cache=1
11069 fi
11070
11071 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11072
11073 fi
11074
11075
11076 eval "$ac_cv_use_aboutdlg"
11077 if test "$no_cache" != 1; then
11078 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11079 fi
11080
11081 if test "$wxUSE_ABOUTDLG" = yes; then
11082 { echo "$as_me:$LINENO: result: yes" >&5
11083 echo "${ECHO_T}yes" >&6; }
11084 else
11085 { echo "$as_me:$LINENO: result: no" >&5
11086 echo "${ECHO_T}no" >&6; }
11087 fi
11088
11089
11090 enablestring=
11091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11092 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11093 no_cache=0
11094 # Check whether --enable-choicedlg was given.
11095 if test "${enable_choicedlg+set}" = set; then
11096 enableval=$enable_choicedlg;
11097 if test "$enableval" = yes; then
11098 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11099 else
11100 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11101 fi
11102
11103 else
11104
11105 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11106 if test "x$LINE" != x ; then
11107 eval "DEFAULT_$LINE"
11108 else
11109 no_cache=1
11110 fi
11111
11112 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11113
11114 fi
11115
11116
11117 eval "$ac_cv_use_choicedlg"
11118 if test "$no_cache" != 1; then
11119 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11120 fi
11121
11122 if test "$wxUSE_CHOICEDLG" = yes; then
11123 { echo "$as_me:$LINENO: result: yes" >&5
11124 echo "${ECHO_T}yes" >&6; }
11125 else
11126 { echo "$as_me:$LINENO: result: no" >&5
11127 echo "${ECHO_T}no" >&6; }
11128 fi
11129
11130
11131 enablestring=
11132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11133 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11134 no_cache=0
11135 # Check whether --enable-coldlg was given.
11136 if test "${enable_coldlg+set}" = set; then
11137 enableval=$enable_coldlg;
11138 if test "$enableval" = yes; then
11139 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11140 else
11141 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11142 fi
11143
11144 else
11145
11146 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11147 if test "x$LINE" != x ; then
11148 eval "DEFAULT_$LINE"
11149 else
11150 no_cache=1
11151 fi
11152
11153 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11154
11155 fi
11156
11157
11158 eval "$ac_cv_use_coldlg"
11159 if test "$no_cache" != 1; then
11160 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11161 fi
11162
11163 if test "$wxUSE_COLOURDLG" = yes; then
11164 { echo "$as_me:$LINENO: result: yes" >&5
11165 echo "${ECHO_T}yes" >&6; }
11166 else
11167 { echo "$as_me:$LINENO: result: no" >&5
11168 echo "${ECHO_T}no" >&6; }
11169 fi
11170
11171
11172 enablestring=
11173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11174 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11175 no_cache=0
11176 # Check whether --enable-filedlg was given.
11177 if test "${enable_filedlg+set}" = set; then
11178 enableval=$enable_filedlg;
11179 if test "$enableval" = yes; then
11180 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11181 else
11182 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11183 fi
11184
11185 else
11186
11187 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11188 if test "x$LINE" != x ; then
11189 eval "DEFAULT_$LINE"
11190 else
11191 no_cache=1
11192 fi
11193
11194 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11195
11196 fi
11197
11198
11199 eval "$ac_cv_use_filedlg"
11200 if test "$no_cache" != 1; then
11201 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11202 fi
11203
11204 if test "$wxUSE_FILEDLG" = yes; then
11205 { echo "$as_me:$LINENO: result: yes" >&5
11206 echo "${ECHO_T}yes" >&6; }
11207 else
11208 { echo "$as_me:$LINENO: result: no" >&5
11209 echo "${ECHO_T}no" >&6; }
11210 fi
11211
11212
11213 enablestring=
11214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11215 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11216 no_cache=0
11217 # Check whether --enable-finddlg was given.
11218 if test "${enable_finddlg+set}" = set; then
11219 enableval=$enable_finddlg;
11220 if test "$enableval" = yes; then
11221 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11222 else
11223 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11224 fi
11225
11226 else
11227
11228 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11229 if test "x$LINE" != x ; then
11230 eval "DEFAULT_$LINE"
11231 else
11232 no_cache=1
11233 fi
11234
11235 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11236
11237 fi
11238
11239
11240 eval "$ac_cv_use_finddlg"
11241 if test "$no_cache" != 1; then
11242 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11243 fi
11244
11245 if test "$wxUSE_FINDREPLDLG" = yes; then
11246 { echo "$as_me:$LINENO: result: yes" >&5
11247 echo "${ECHO_T}yes" >&6; }
11248 else
11249 { echo "$as_me:$LINENO: result: no" >&5
11250 echo "${ECHO_T}no" >&6; }
11251 fi
11252
11253
11254 enablestring=
11255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11257 no_cache=0
11258 # Check whether --enable-fontdlg was given.
11259 if test "${enable_fontdlg+set}" = set; then
11260 enableval=$enable_fontdlg;
11261 if test "$enableval" = yes; then
11262 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11263 else
11264 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11265 fi
11266
11267 else
11268
11269 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11270 if test "x$LINE" != x ; then
11271 eval "DEFAULT_$LINE"
11272 else
11273 no_cache=1
11274 fi
11275
11276 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11277
11278 fi
11279
11280
11281 eval "$ac_cv_use_fontdlg"
11282 if test "$no_cache" != 1; then
11283 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11284 fi
11285
11286 if test "$wxUSE_FONTDLG" = yes; then
11287 { echo "$as_me:$LINENO: result: yes" >&5
11288 echo "${ECHO_T}yes" >&6; }
11289 else
11290 { echo "$as_me:$LINENO: result: no" >&5
11291 echo "${ECHO_T}no" >&6; }
11292 fi
11293
11294
11295 enablestring=
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11298 no_cache=0
11299 # Check whether --enable-dirdlg was given.
11300 if test "${enable_dirdlg+set}" = set; then
11301 enableval=$enable_dirdlg;
11302 if test "$enableval" = yes; then
11303 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11304 else
11305 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11306 fi
11307
11308 else
11309
11310 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11311 if test "x$LINE" != x ; then
11312 eval "DEFAULT_$LINE"
11313 else
11314 no_cache=1
11315 fi
11316
11317 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11318
11319 fi
11320
11321
11322 eval "$ac_cv_use_dirdlg"
11323 if test "$no_cache" != 1; then
11324 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11325 fi
11326
11327 if test "$wxUSE_DIRDLG" = yes; then
11328 { echo "$as_me:$LINENO: result: yes" >&5
11329 echo "${ECHO_T}yes" >&6; }
11330 else
11331 { echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6; }
11333 fi
11334
11335
11336 enablestring=
11337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11338 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11339 no_cache=0
11340 # Check whether --enable-msgdlg was given.
11341 if test "${enable_msgdlg+set}" = set; then
11342 enableval=$enable_msgdlg;
11343 if test "$enableval" = yes; then
11344 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11345 else
11346 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11347 fi
11348
11349 else
11350
11351 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11352 if test "x$LINE" != x ; then
11353 eval "DEFAULT_$LINE"
11354 else
11355 no_cache=1
11356 fi
11357
11358 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11359
11360 fi
11361
11362
11363 eval "$ac_cv_use_msgdlg"
11364 if test "$no_cache" != 1; then
11365 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11366 fi
11367
11368 if test "$wxUSE_MSGDLG" = yes; then
11369 { echo "$as_me:$LINENO: result: yes" >&5
11370 echo "${ECHO_T}yes" >&6; }
11371 else
11372 { echo "$as_me:$LINENO: result: no" >&5
11373 echo "${ECHO_T}no" >&6; }
11374 fi
11375
11376
11377 enablestring=
11378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11379 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11380 no_cache=0
11381 # Check whether --enable-numberdlg was given.
11382 if test "${enable_numberdlg+set}" = set; then
11383 enableval=$enable_numberdlg;
11384 if test "$enableval" = yes; then
11385 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11386 else
11387 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11388 fi
11389
11390 else
11391
11392 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11393 if test "x$LINE" != x ; then
11394 eval "DEFAULT_$LINE"
11395 else
11396 no_cache=1
11397 fi
11398
11399 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11400
11401 fi
11402
11403
11404 eval "$ac_cv_use_numberdlg"
11405 if test "$no_cache" != 1; then
11406 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11407 fi
11408
11409 if test "$wxUSE_NUMBERDLG" = yes; then
11410 { echo "$as_me:$LINENO: result: yes" >&5
11411 echo "${ECHO_T}yes" >&6; }
11412 else
11413 { echo "$as_me:$LINENO: result: no" >&5
11414 echo "${ECHO_T}no" >&6; }
11415 fi
11416
11417
11418 enablestring=
11419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11420 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11421 no_cache=0
11422 # Check whether --enable-splash was given.
11423 if test "${enable_splash+set}" = set; then
11424 enableval=$enable_splash;
11425 if test "$enableval" = yes; then
11426 ac_cv_use_splash='wxUSE_SPLASH=yes'
11427 else
11428 ac_cv_use_splash='wxUSE_SPLASH=no'
11429 fi
11430
11431 else
11432
11433 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11434 if test "x$LINE" != x ; then
11435 eval "DEFAULT_$LINE"
11436 else
11437 no_cache=1
11438 fi
11439
11440 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11441
11442 fi
11443
11444
11445 eval "$ac_cv_use_splash"
11446 if test "$no_cache" != 1; then
11447 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11448 fi
11449
11450 if test "$wxUSE_SPLASH" = yes; then
11451 { echo "$as_me:$LINENO: result: yes" >&5
11452 echo "${ECHO_T}yes" >&6; }
11453 else
11454 { echo "$as_me:$LINENO: result: no" >&5
11455 echo "${ECHO_T}no" >&6; }
11456 fi
11457
11458
11459 enablestring=
11460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11461 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11462 no_cache=0
11463 # Check whether --enable-textdlg was given.
11464 if test "${enable_textdlg+set}" = set; then
11465 enableval=$enable_textdlg;
11466 if test "$enableval" = yes; then
11467 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11468 else
11469 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11470 fi
11471
11472 else
11473
11474 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11475 if test "x$LINE" != x ; then
11476 eval "DEFAULT_$LINE"
11477 else
11478 no_cache=1
11479 fi
11480
11481 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11482
11483 fi
11484
11485
11486 eval "$ac_cv_use_textdlg"
11487 if test "$no_cache" != 1; then
11488 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11489 fi
11490
11491 if test "$wxUSE_TEXTDLG" = yes; then
11492 { echo "$as_me:$LINENO: result: yes" >&5
11493 echo "${ECHO_T}yes" >&6; }
11494 else
11495 { echo "$as_me:$LINENO: result: no" >&5
11496 echo "${ECHO_T}no" >&6; }
11497 fi
11498
11499
11500 enablestring=
11501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11502 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11503 no_cache=0
11504 # Check whether --enable-tipdlg was given.
11505 if test "${enable_tipdlg+set}" = set; then
11506 enableval=$enable_tipdlg;
11507 if test "$enableval" = yes; then
11508 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11509 else
11510 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11511 fi
11512
11513 else
11514
11515 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11516 if test "x$LINE" != x ; then
11517 eval "DEFAULT_$LINE"
11518 else
11519 no_cache=1
11520 fi
11521
11522 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11523
11524 fi
11525
11526
11527 eval "$ac_cv_use_tipdlg"
11528 if test "$no_cache" != 1; then
11529 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11530 fi
11531
11532 if test "$wxUSE_STARTUP_TIPS" = yes; then
11533 { echo "$as_me:$LINENO: result: yes" >&5
11534 echo "${ECHO_T}yes" >&6; }
11535 else
11536 { echo "$as_me:$LINENO: result: no" >&5
11537 echo "${ECHO_T}no" >&6; }
11538 fi
11539
11540
11541 enablestring=
11542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11543 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11544 no_cache=0
11545 # Check whether --enable-progressdlg was given.
11546 if test "${enable_progressdlg+set}" = set; then
11547 enableval=$enable_progressdlg;
11548 if test "$enableval" = yes; then
11549 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11550 else
11551 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11552 fi
11553
11554 else
11555
11556 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11557 if test "x$LINE" != x ; then
11558 eval "DEFAULT_$LINE"
11559 else
11560 no_cache=1
11561 fi
11562
11563 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11564
11565 fi
11566
11567
11568 eval "$ac_cv_use_progressdlg"
11569 if test "$no_cache" != 1; then
11570 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11571 fi
11572
11573 if test "$wxUSE_PROGRESSDLG" = yes; then
11574 { echo "$as_me:$LINENO: result: yes" >&5
11575 echo "${ECHO_T}yes" >&6; }
11576 else
11577 { echo "$as_me:$LINENO: result: no" >&5
11578 echo "${ECHO_T}no" >&6; }
11579 fi
11580
11581
11582 enablestring=
11583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11584 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11585 no_cache=0
11586 # Check whether --enable-wizarddlg was given.
11587 if test "${enable_wizarddlg+set}" = set; then
11588 enableval=$enable_wizarddlg;
11589 if test "$enableval" = yes; then
11590 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11591 else
11592 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11593 fi
11594
11595 else
11596
11597 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11598 if test "x$LINE" != x ; then
11599 eval "DEFAULT_$LINE"
11600 else
11601 no_cache=1
11602 fi
11603
11604 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11605
11606 fi
11607
11608
11609 eval "$ac_cv_use_wizarddlg"
11610 if test "$no_cache" != 1; then
11611 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11612 fi
11613
11614 if test "$wxUSE_WIZARDDLG" = yes; then
11615 { echo "$as_me:$LINENO: result: yes" >&5
11616 echo "${ECHO_T}yes" >&6; }
11617 else
11618 { echo "$as_me:$LINENO: result: no" >&5
11619 echo "${ECHO_T}no" >&6; }
11620 fi
11621
11622
11623
11624
11625 enablestring=
11626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11627 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11628 no_cache=0
11629 # Check whether --enable-menus was given.
11630 if test "${enable_menus+set}" = set; then
11631 enableval=$enable_menus;
11632 if test "$enableval" = yes; then
11633 ac_cv_use_menus='wxUSE_MENUS=yes'
11634 else
11635 ac_cv_use_menus='wxUSE_MENUS=no'
11636 fi
11637
11638 else
11639
11640 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11641 if test "x$LINE" != x ; then
11642 eval "DEFAULT_$LINE"
11643 else
11644 no_cache=1
11645 fi
11646
11647 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11648
11649 fi
11650
11651
11652 eval "$ac_cv_use_menus"
11653 if test "$no_cache" != 1; then
11654 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11655 fi
11656
11657 if test "$wxUSE_MENUS" = yes; then
11658 { echo "$as_me:$LINENO: result: yes" >&5
11659 echo "${ECHO_T}yes" >&6; }
11660 else
11661 { echo "$as_me:$LINENO: result: no" >&5
11662 echo "${ECHO_T}no" >&6; }
11663 fi
11664
11665
11666 enablestring=
11667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11668 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11669 no_cache=0
11670 # Check whether --enable-miniframe was given.
11671 if test "${enable_miniframe+set}" = set; then
11672 enableval=$enable_miniframe;
11673 if test "$enableval" = yes; then
11674 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11675 else
11676 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11677 fi
11678
11679 else
11680
11681 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11682 if test "x$LINE" != x ; then
11683 eval "DEFAULT_$LINE"
11684 else
11685 no_cache=1
11686 fi
11687
11688 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11689
11690 fi
11691
11692
11693 eval "$ac_cv_use_miniframe"
11694 if test "$no_cache" != 1; then
11695 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11696 fi
11697
11698 if test "$wxUSE_MINIFRAME" = yes; then
11699 { echo "$as_me:$LINENO: result: yes" >&5
11700 echo "${ECHO_T}yes" >&6; }
11701 else
11702 { echo "$as_me:$LINENO: result: no" >&5
11703 echo "${ECHO_T}no" >&6; }
11704 fi
11705
11706
11707 enablestring=
11708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11709 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11710 no_cache=0
11711 # Check whether --enable-tooltips was given.
11712 if test "${enable_tooltips+set}" = set; then
11713 enableval=$enable_tooltips;
11714 if test "$enableval" = yes; then
11715 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11716 else
11717 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11718 fi
11719
11720 else
11721
11722 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11723 if test "x$LINE" != x ; then
11724 eval "DEFAULT_$LINE"
11725 else
11726 no_cache=1
11727 fi
11728
11729 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11730
11731 fi
11732
11733
11734 eval "$ac_cv_use_tooltips"
11735 if test "$no_cache" != 1; then
11736 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11737 fi
11738
11739 if test "$wxUSE_TOOLTIPS" = yes; then
11740 { echo "$as_me:$LINENO: result: yes" >&5
11741 echo "${ECHO_T}yes" >&6; }
11742 else
11743 { echo "$as_me:$LINENO: result: no" >&5
11744 echo "${ECHO_T}no" >&6; }
11745 fi
11746
11747
11748 enablestring=
11749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11750 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11751 no_cache=0
11752 # Check whether --enable-splines was given.
11753 if test "${enable_splines+set}" = set; then
11754 enableval=$enable_splines;
11755 if test "$enableval" = yes; then
11756 ac_cv_use_splines='wxUSE_SPLINES=yes'
11757 else
11758 ac_cv_use_splines='wxUSE_SPLINES=no'
11759 fi
11760
11761 else
11762
11763 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11764 if test "x$LINE" != x ; then
11765 eval "DEFAULT_$LINE"
11766 else
11767 no_cache=1
11768 fi
11769
11770 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11771
11772 fi
11773
11774
11775 eval "$ac_cv_use_splines"
11776 if test "$no_cache" != 1; then
11777 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11778 fi
11779
11780 if test "$wxUSE_SPLINES" = yes; then
11781 { echo "$as_me:$LINENO: result: yes" >&5
11782 echo "${ECHO_T}yes" >&6; }
11783 else
11784 { echo "$as_me:$LINENO: result: no" >&5
11785 echo "${ECHO_T}no" >&6; }
11786 fi
11787
11788
11789 enablestring=
11790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11791 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11792 no_cache=0
11793 # Check whether --enable-mousewheel was given.
11794 if test "${enable_mousewheel+set}" = set; then
11795 enableval=$enable_mousewheel;
11796 if test "$enableval" = yes; then
11797 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11798 else
11799 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11800 fi
11801
11802 else
11803
11804 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11805 if test "x$LINE" != x ; then
11806 eval "DEFAULT_$LINE"
11807 else
11808 no_cache=1
11809 fi
11810
11811 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11812
11813 fi
11814
11815
11816 eval "$ac_cv_use_mousewheel"
11817 if test "$no_cache" != 1; then
11818 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11819 fi
11820
11821 if test "$wxUSE_MOUSEWHEEL" = yes; then
11822 { echo "$as_me:$LINENO: result: yes" >&5
11823 echo "${ECHO_T}yes" >&6; }
11824 else
11825 { echo "$as_me:$LINENO: result: no" >&5
11826 echo "${ECHO_T}no" >&6; }
11827 fi
11828
11829
11830 enablestring=
11831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11832 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11833 no_cache=0
11834 # Check whether --enable-validators was given.
11835 if test "${enable_validators+set}" = set; then
11836 enableval=$enable_validators;
11837 if test "$enableval" = yes; then
11838 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11839 else
11840 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11841 fi
11842
11843 else
11844
11845 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11846 if test "x$LINE" != x ; then
11847 eval "DEFAULT_$LINE"
11848 else
11849 no_cache=1
11850 fi
11851
11852 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11853
11854 fi
11855
11856
11857 eval "$ac_cv_use_validators"
11858 if test "$no_cache" != 1; then
11859 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11860 fi
11861
11862 if test "$wxUSE_VALIDATORS" = yes; then
11863 { echo "$as_me:$LINENO: result: yes" >&5
11864 echo "${ECHO_T}yes" >&6; }
11865 else
11866 { echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6; }
11868 fi
11869
11870
11871 enablestring=
11872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11873 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11874 no_cache=0
11875 # Check whether --enable-busyinfo was given.
11876 if test "${enable_busyinfo+set}" = set; then
11877 enableval=$enable_busyinfo;
11878 if test "$enableval" = yes; then
11879 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11880 else
11881 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11882 fi
11883
11884 else
11885
11886 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11887 if test "x$LINE" != x ; then
11888 eval "DEFAULT_$LINE"
11889 else
11890 no_cache=1
11891 fi
11892
11893 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11894
11895 fi
11896
11897
11898 eval "$ac_cv_use_busyinfo"
11899 if test "$no_cache" != 1; then
11900 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11901 fi
11902
11903 if test "$wxUSE_BUSYINFO" = yes; then
11904 { echo "$as_me:$LINENO: result: yes" >&5
11905 echo "${ECHO_T}yes" >&6; }
11906 else
11907 { echo "$as_me:$LINENO: result: no" >&5
11908 echo "${ECHO_T}no" >&6; }
11909 fi
11910
11911
11912 enablestring=
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11915 no_cache=0
11916 # Check whether --enable-joystick was given.
11917 if test "${enable_joystick+set}" = set; then
11918 enableval=$enable_joystick;
11919 if test "$enableval" = yes; then
11920 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11921 else
11922 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11923 fi
11924
11925 else
11926
11927 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11928 if test "x$LINE" != x ; then
11929 eval "DEFAULT_$LINE"
11930 else
11931 no_cache=1
11932 fi
11933
11934 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11935
11936 fi
11937
11938
11939 eval "$ac_cv_use_joystick"
11940 if test "$no_cache" != 1; then
11941 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11942 fi
11943
11944 if test "$wxUSE_JOYSTICK" = yes; then
11945 { echo "$as_me:$LINENO: result: yes" >&5
11946 echo "${ECHO_T}yes" >&6; }
11947 else
11948 { echo "$as_me:$LINENO: result: no" >&5
11949 echo "${ECHO_T}no" >&6; }
11950 fi
11951
11952
11953 enablestring=
11954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11955 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11956 no_cache=0
11957 # Check whether --enable-metafile was given.
11958 if test "${enable_metafile+set}" = set; then
11959 enableval=$enable_metafile;
11960 if test "$enableval" = yes; then
11961 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11962 else
11963 ac_cv_use_metafile='wxUSE_METAFILE=no'
11964 fi
11965
11966 else
11967
11968 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11969 if test "x$LINE" != x ; then
11970 eval "DEFAULT_$LINE"
11971 else
11972 no_cache=1
11973 fi
11974
11975 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11976
11977 fi
11978
11979
11980 eval "$ac_cv_use_metafile"
11981 if test "$no_cache" != 1; then
11982 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11983 fi
11984
11985 if test "$wxUSE_METAFILE" = yes; then
11986 { echo "$as_me:$LINENO: result: yes" >&5
11987 echo "${ECHO_T}yes" >&6; }
11988 else
11989 { echo "$as_me:$LINENO: result: no" >&5
11990 echo "${ECHO_T}no" >&6; }
11991 fi
11992
11993
11994 enablestring=
11995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11996 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
11997 no_cache=0
11998 # Check whether --enable-dragimage was given.
11999 if test "${enable_dragimage+set}" = set; then
12000 enableval=$enable_dragimage;
12001 if test "$enableval" = yes; then
12002 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12003 else
12004 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12005 fi
12006
12007 else
12008
12009 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12010 if test "x$LINE" != x ; then
12011 eval "DEFAULT_$LINE"
12012 else
12013 no_cache=1
12014 fi
12015
12016 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12017
12018 fi
12019
12020
12021 eval "$ac_cv_use_dragimage"
12022 if test "$no_cache" != 1; then
12023 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12024 fi
12025
12026 if test "$wxUSE_DRAGIMAGE" = yes; then
12027 { echo "$as_me:$LINENO: result: yes" >&5
12028 echo "${ECHO_T}yes" >&6; }
12029 else
12030 { echo "$as_me:$LINENO: result: no" >&5
12031 echo "${ECHO_T}no" >&6; }
12032 fi
12033
12034
12035 enablestring=
12036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12037 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12038 no_cache=0
12039 # Check whether --enable-accessibility was given.
12040 if test "${enable_accessibility+set}" = set; then
12041 enableval=$enable_accessibility;
12042 if test "$enableval" = yes; then
12043 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12044 else
12045 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12046 fi
12047
12048 else
12049
12050 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12051 if test "x$LINE" != x ; then
12052 eval "DEFAULT_$LINE"
12053 else
12054 no_cache=1
12055 fi
12056
12057 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12058
12059 fi
12060
12061
12062 eval "$ac_cv_use_accessibility"
12063 if test "$no_cache" != 1; then
12064 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12065 fi
12066
12067 if test "$wxUSE_ACCESSIBILITY" = yes; then
12068 { echo "$as_me:$LINENO: result: yes" >&5
12069 echo "${ECHO_T}yes" >&6; }
12070 else
12071 { echo "$as_me:$LINENO: result: no" >&5
12072 echo "${ECHO_T}no" >&6; }
12073 fi
12074
12075
12076 if test "$wxUSE_MSW" = "1"; then
12077
12078 enablestring=
12079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12080 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12081 no_cache=0
12082 # Check whether --enable-dccache was given.
12083 if test "${enable_dccache+set}" = set; then
12084 enableval=$enable_dccache;
12085 if test "$enableval" = yes; then
12086 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12087 else
12088 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12089 fi
12090
12091 else
12092
12093 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12094 if test "x$LINE" != x ; then
12095 eval "DEFAULT_$LINE"
12096 else
12097 no_cache=1
12098 fi
12099
12100 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12101
12102 fi
12103
12104
12105 eval "$ac_cv_use_dccache"
12106 if test "$no_cache" != 1; then
12107 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12108 fi
12109
12110 if test "$wxUSE_DC_CACHEING" = yes; then
12111 { echo "$as_me:$LINENO: result: yes" >&5
12112 echo "${ECHO_T}yes" >&6; }
12113 else
12114 { echo "$as_me:$LINENO: result: no" >&5
12115 echo "${ECHO_T}no" >&6; }
12116 fi
12117
12118 fi
12119
12120
12121
12122 enablestring=
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12125 no_cache=0
12126 # Check whether --enable-palette was given.
12127 if test "${enable_palette+set}" = set; then
12128 enableval=$enable_palette;
12129 if test "$enableval" = yes; then
12130 ac_cv_use_palette='wxUSE_PALETTE=yes'
12131 else
12132 ac_cv_use_palette='wxUSE_PALETTE=no'
12133 fi
12134
12135 else
12136
12137 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12140 else
12141 no_cache=1
12142 fi
12143
12144 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12145
12146 fi
12147
12148
12149 eval "$ac_cv_use_palette"
12150 if test "$no_cache" != 1; then
12151 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12152 fi
12153
12154 if test "$wxUSE_PALETTE" = yes; then
12155 { echo "$as_me:$LINENO: result: yes" >&5
12156 echo "${ECHO_T}yes" >&6; }
12157 else
12158 { echo "$as_me:$LINENO: result: no" >&5
12159 echo "${ECHO_T}no" >&6; }
12160 fi
12161
12162
12163 enablestring=
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12166 no_cache=0
12167 # Check whether --enable-image was given.
12168 if test "${enable_image+set}" = set; then
12169 enableval=$enable_image;
12170 if test "$enableval" = yes; then
12171 ac_cv_use_image='wxUSE_IMAGE=yes'
12172 else
12173 ac_cv_use_image='wxUSE_IMAGE=no'
12174 fi
12175
12176 else
12177
12178 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12179 if test "x$LINE" != x ; then
12180 eval "DEFAULT_$LINE"
12181 else
12182 no_cache=1
12183 fi
12184
12185 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12186
12187 fi
12188
12189
12190 eval "$ac_cv_use_image"
12191 if test "$no_cache" != 1; then
12192 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12193 fi
12194
12195 if test "$wxUSE_IMAGE" = yes; then
12196 { echo "$as_me:$LINENO: result: yes" >&5
12197 echo "${ECHO_T}yes" >&6; }
12198 else
12199 { echo "$as_me:$LINENO: result: no" >&5
12200 echo "${ECHO_T}no" >&6; }
12201 fi
12202
12203
12204 enablestring=
12205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12206 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12207 no_cache=0
12208 # Check whether --enable-gif was given.
12209 if test "${enable_gif+set}" = set; then
12210 enableval=$enable_gif;
12211 if test "$enableval" = yes; then
12212 ac_cv_use_gif='wxUSE_GIF=yes'
12213 else
12214 ac_cv_use_gif='wxUSE_GIF=no'
12215 fi
12216
12217 else
12218
12219 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12220 if test "x$LINE" != x ; then
12221 eval "DEFAULT_$LINE"
12222 else
12223 no_cache=1
12224 fi
12225
12226 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12227
12228 fi
12229
12230
12231 eval "$ac_cv_use_gif"
12232 if test "$no_cache" != 1; then
12233 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12234 fi
12235
12236 if test "$wxUSE_GIF" = yes; then
12237 { echo "$as_me:$LINENO: result: yes" >&5
12238 echo "${ECHO_T}yes" >&6; }
12239 else
12240 { echo "$as_me:$LINENO: result: no" >&5
12241 echo "${ECHO_T}no" >&6; }
12242 fi
12243
12244
12245 enablestring=
12246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12247 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12248 no_cache=0
12249 # Check whether --enable-pcx was given.
12250 if test "${enable_pcx+set}" = set; then
12251 enableval=$enable_pcx;
12252 if test "$enableval" = yes; then
12253 ac_cv_use_pcx='wxUSE_PCX=yes'
12254 else
12255 ac_cv_use_pcx='wxUSE_PCX=no'
12256 fi
12257
12258 else
12259
12260 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12261 if test "x$LINE" != x ; then
12262 eval "DEFAULT_$LINE"
12263 else
12264 no_cache=1
12265 fi
12266
12267 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12268
12269 fi
12270
12271
12272 eval "$ac_cv_use_pcx"
12273 if test "$no_cache" != 1; then
12274 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12275 fi
12276
12277 if test "$wxUSE_PCX" = yes; then
12278 { echo "$as_me:$LINENO: result: yes" >&5
12279 echo "${ECHO_T}yes" >&6; }
12280 else
12281 { echo "$as_me:$LINENO: result: no" >&5
12282 echo "${ECHO_T}no" >&6; }
12283 fi
12284
12285
12286 enablestring=
12287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12288 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12289 no_cache=0
12290 # Check whether --enable-tga was given.
12291 if test "${enable_tga+set}" = set; then
12292 enableval=$enable_tga;
12293 if test "$enableval" = yes; then
12294 ac_cv_use_tga='wxUSE_TGA=yes'
12295 else
12296 ac_cv_use_tga='wxUSE_TGA=no'
12297 fi
12298
12299 else
12300
12301 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12302 if test "x$LINE" != x ; then
12303 eval "DEFAULT_$LINE"
12304 else
12305 no_cache=1
12306 fi
12307
12308 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12309
12310 fi
12311
12312
12313 eval "$ac_cv_use_tga"
12314 if test "$no_cache" != 1; then
12315 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12316 fi
12317
12318 if test "$wxUSE_TGA" = yes; then
12319 { echo "$as_me:$LINENO: result: yes" >&5
12320 echo "${ECHO_T}yes" >&6; }
12321 else
12322 { echo "$as_me:$LINENO: result: no" >&5
12323 echo "${ECHO_T}no" >&6; }
12324 fi
12325
12326
12327 enablestring=
12328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12329 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12330 no_cache=0
12331 # Check whether --enable-iff was given.
12332 if test "${enable_iff+set}" = set; then
12333 enableval=$enable_iff;
12334 if test "$enableval" = yes; then
12335 ac_cv_use_iff='wxUSE_IFF=yes'
12336 else
12337 ac_cv_use_iff='wxUSE_IFF=no'
12338 fi
12339
12340 else
12341
12342 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12343 if test "x$LINE" != x ; then
12344 eval "DEFAULT_$LINE"
12345 else
12346 no_cache=1
12347 fi
12348
12349 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12350
12351 fi
12352
12353
12354 eval "$ac_cv_use_iff"
12355 if test "$no_cache" != 1; then
12356 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12357 fi
12358
12359 if test "$wxUSE_IFF" = yes; then
12360 { echo "$as_me:$LINENO: result: yes" >&5
12361 echo "${ECHO_T}yes" >&6; }
12362 else
12363 { echo "$as_me:$LINENO: result: no" >&5
12364 echo "${ECHO_T}no" >&6; }
12365 fi
12366
12367
12368 enablestring=
12369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12370 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12371 no_cache=0
12372 # Check whether --enable-pnm was given.
12373 if test "${enable_pnm+set}" = set; then
12374 enableval=$enable_pnm;
12375 if test "$enableval" = yes; then
12376 ac_cv_use_pnm='wxUSE_PNM=yes'
12377 else
12378 ac_cv_use_pnm='wxUSE_PNM=no'
12379 fi
12380
12381 else
12382
12383 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12384 if test "x$LINE" != x ; then
12385 eval "DEFAULT_$LINE"
12386 else
12387 no_cache=1
12388 fi
12389
12390 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12391
12392 fi
12393
12394
12395 eval "$ac_cv_use_pnm"
12396 if test "$no_cache" != 1; then
12397 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12398 fi
12399
12400 if test "$wxUSE_PNM" = yes; then
12401 { echo "$as_me:$LINENO: result: yes" >&5
12402 echo "${ECHO_T}yes" >&6; }
12403 else
12404 { echo "$as_me:$LINENO: result: no" >&5
12405 echo "${ECHO_T}no" >&6; }
12406 fi
12407
12408
12409 enablestring=
12410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12411 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12412 no_cache=0
12413 # Check whether --enable-xpm was given.
12414 if test "${enable_xpm+set}" = set; then
12415 enableval=$enable_xpm;
12416 if test "$enableval" = yes; then
12417 ac_cv_use_xpm='wxUSE_XPM=yes'
12418 else
12419 ac_cv_use_xpm='wxUSE_XPM=no'
12420 fi
12421
12422 else
12423
12424 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12425 if test "x$LINE" != x ; then
12426 eval "DEFAULT_$LINE"
12427 else
12428 no_cache=1
12429 fi
12430
12431 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12432
12433 fi
12434
12435
12436 eval "$ac_cv_use_xpm"
12437 if test "$no_cache" != 1; then
12438 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12439 fi
12440
12441 if test "$wxUSE_XPM" = yes; then
12442 { echo "$as_me:$LINENO: result: yes" >&5
12443 echo "${ECHO_T}yes" >&6; }
12444 else
12445 { echo "$as_me:$LINENO: result: no" >&5
12446 echo "${ECHO_T}no" >&6; }
12447 fi
12448
12449
12450 enablestring=
12451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12452 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12453 no_cache=0
12454 # Check whether --enable-ico_cur was given.
12455 if test "${enable_ico_cur+set}" = set; then
12456 enableval=$enable_ico_cur;
12457 if test "$enableval" = yes; then
12458 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12459 else
12460 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12461 fi
12462
12463 else
12464
12465 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12466 if test "x$LINE" != x ; then
12467 eval "DEFAULT_$LINE"
12468 else
12469 no_cache=1
12470 fi
12471
12472 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12473
12474 fi
12475
12476
12477 eval "$ac_cv_use_ico_cur"
12478 if test "$no_cache" != 1; then
12479 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12480 fi
12481
12482 if test "$wxUSE_ICO_CUR" = yes; then
12483 { echo "$as_me:$LINENO: result: yes" >&5
12484 echo "${ECHO_T}yes" >&6; }
12485 else
12486 { echo "$as_me:$LINENO: result: no" >&5
12487 echo "${ECHO_T}no" >&6; }
12488 fi
12489
12490
12491 fi
12492
12493
12494
12495 # Check whether --with-flavour was given.
12496 if test "${with_flavour+set}" = set; then
12497 withval=$with_flavour; WX_FLAVOUR="$withval"
12498 fi
12499
12500
12501
12502
12503 enablestring=
12504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12505 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12506 no_cache=0
12507 # Check whether --enable-official_build was given.
12508 if test "${enable_official_build+set}" = set; then
12509 enableval=$enable_official_build;
12510 if test "$enableval" = yes; then
12511 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12512 else
12513 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12514 fi
12515
12516 else
12517
12518 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12519 if test "x$LINE" != x ; then
12520 eval "DEFAULT_$LINE"
12521 else
12522 no_cache=1
12523 fi
12524
12525 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12526
12527 fi
12528
12529
12530 eval "$ac_cv_use_official_build"
12531 if test "$no_cache" != 1; then
12532 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12533 fi
12534
12535 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12536 { echo "$as_me:$LINENO: result: yes" >&5
12537 echo "${ECHO_T}yes" >&6; }
12538 else
12539 { echo "$as_me:$LINENO: result: no" >&5
12540 echo "${ECHO_T}no" >&6; }
12541 fi
12542
12543 # Check whether --enable-vendor was given.
12544 if test "${enable_vendor+set}" = set; then
12545 enableval=$enable_vendor; VENDOR="$enableval"
12546 fi
12547
12548 if test "x$VENDOR" = "x"; then
12549 VENDOR="custom"
12550 fi
12551
12552
12553
12554
12555 echo "saving argument cache $wx_arg_cache_file"
12556 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12557
12558
12559
12560 { echo "$as_me:$LINENO: checking for toolkit" >&5
12561 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12562
12563 # In Wine, we need to default to MSW, not GTK or MOTIF
12564 if test "$wxUSE_WINE" = "yes"; then
12565 DEFAULT_DEFAULT_wxUSE_GTK=0
12566 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12567 DEFAULT_DEFAULT_wxUSE_MSW=1
12568 wxUSE_SHARED=no
12569 CC=${CC:-winegcc}
12570 CXX=${CXX:-wineg++}
12571 fi
12572
12573
12574 if test "$wxUSE_GUI" = "yes"; then
12575
12576 if test "$USE_BEOS" = 1; then
12577 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12578 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12579 { (exit 1); exit 1; }; }
12580 fi
12581
12582 if test "$TOOLKIT_GIVEN" = 1; then
12583 for toolkit in `echo $ALL_TOOLKITS`; do
12584 var=wxUSE_$toolkit
12585 eval "value=\$${var}"
12586 if test "x$value" = "xno"; then
12587 eval "$var=0"
12588 elif test "x$value" != "x"; then
12589 eval "$var=1"
12590 fi
12591
12592 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12593 eval "wx${toolkit}_VERSION=$value"
12594 fi
12595 done
12596 else
12597 for toolkit in `echo $ALL_TOOLKITS`; do
12598 if test "$has_toolkit_in_cache" != 1; then
12599 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12600 else
12601 var=DEFAULT_wxUSE_$toolkit
12602
12603 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12604 if test "x$version" != "x"; then
12605 eval "wx${toolkit}_VERSION=$version"
12606 fi
12607 fi
12608 eval "wxUSE_$toolkit=\$${var}"
12609 done
12610 fi
12611
12612 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12613 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12614 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12615
12616 case "${host}" in
12617 *-pc-os2_emx | *-pc-os2-emx )
12618 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12619 esac
12620
12621 case "$NUM_TOOLKITS" in
12622 1)
12623 ;;
12624 0)
12625 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12626 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12627 { (exit 1); exit 1; }; }
12628 ;;
12629 *)
12630 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12631 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12632 { (exit 1); exit 1; }; }
12633 esac
12634
12635 # to be removed when --disable-gtk2 isn't needed
12636 if test "x$wxUSE_GTK2" = "xyes"; then
12637 wxGTK_VERSION=2
12638 elif test "x$wxUSE_GTK2" = "xno"; then
12639 wxGTK_VERSION=1
12640 fi
12641
12642 for toolkit in `echo $ALL_TOOLKITS`; do
12643 var=wxUSE_$toolkit
12644 eval "value=\$${var}"
12645 if test "x$value" != x; then
12646 cache_var=CACHE_$toolkit
12647 eval "cache=\$${cache_var}"
12648 if test "$cache" = 1; then
12649 echo "$var=$value" >> ${wx_arg_cache_file}
12650 eval "version=\$wx${toolkit}_VERSION"
12651 if test "x$version" != "x"; then
12652 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12653 fi
12654 fi
12655 if test "$value" = 1; then
12656 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12657 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12658 echo "${ECHO_T}$toolkit_echo" >&6; }
12659 fi
12660 fi
12661 done
12662 else
12663 if test "x$host_alias" != "x"; then
12664 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12665 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12666 else
12667 { echo "$as_me:$LINENO: result: base only" >&5
12668 echo "${ECHO_T}base only" >&6; }
12669 fi
12670 fi
12671
12672
12673 cat >confcache <<\_ACEOF
12674 # This file is a shell script that caches the results of configure
12675 # tests run on this system so they can be shared between configure
12676 # scripts and configure runs, see configure's option --config-cache.
12677 # It is not useful on other systems. If it contains results you don't
12678 # want to keep, you may remove or edit it.
12679 #
12680 # config.status only pays attention to the cache file if you give it
12681 # the --recheck option to rerun configure.
12682 #
12683 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12685 # following values.
12686
12687 _ACEOF
12688
12689 # The following way of writing the cache mishandles newlines in values,
12690 # but we know of no workaround that is simple, portable, and efficient.
12691 # So, we kill variables containing newlines.
12692 # Ultrix sh set writes to stderr and can't be redirected directly,
12693 # and sets the high bit in the cache file unless we assign to the vars.
12694 (
12695 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12696 eval ac_val=\$$ac_var
12697 case $ac_val in #(
12698 *${as_nl}*)
12699 case $ac_var in #(
12700 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12701 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12702 esac
12703 case $ac_var in #(
12704 _ | IFS | as_nl) ;; #(
12705 *) $as_unset $ac_var ;;
12706 esac ;;
12707 esac
12708 done
12709
12710 (set) 2>&1 |
12711 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12712 *${as_nl}ac_space=\ *)
12713 # `set' does not quote correctly, so add quotes (double-quote
12714 # substitution turns \\\\ into \\, and sed turns \\ into \).
12715 sed -n \
12716 "s/'/'\\\\''/g;
12717 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12718 ;; #(
12719 *)
12720 # `set' quotes correctly as required by POSIX, so do not add quotes.
12721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12722 ;;
12723 esac |
12724 sort
12725 ) |
12726 sed '
12727 /^ac_cv_env_/b end
12728 t clear
12729 :clear
12730 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12731 t end
12732 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12733 :end' >>confcache
12734 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12735 if test -w "$cache_file"; then
12736 test "x$cache_file" != "x/dev/null" &&
12737 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12738 echo "$as_me: updating cache $cache_file" >&6;}
12739 cat confcache >$cache_file
12740 else
12741 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12742 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12743 fi
12744 fi
12745 rm -f confcache
12746
12747 CFLAGS=${CFLAGS:=}
12748
12749
12750
12751 ac_ext=c
12752 ac_cpp='$CPP $CPPFLAGS'
12753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12756 if test -n "$ac_tool_prefix"; then
12757 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12758 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12761 if test "${ac_cv_prog_CC+set}" = set; then
12762 echo $ECHO_N "(cached) $ECHO_C" >&6
12763 else
12764 if test -n "$CC"; then
12765 ac_cv_prog_CC="$CC" # Let the user override the test.
12766 else
12767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12768 for as_dir in $PATH
12769 do
12770 IFS=$as_save_IFS
12771 test -z "$as_dir" && as_dir=.
12772 for ac_exec_ext in '' $ac_executable_extensions; do
12773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12774 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12776 break 2
12777 fi
12778 done
12779 done
12780 IFS=$as_save_IFS
12781
12782 fi
12783 fi
12784 CC=$ac_cv_prog_CC
12785 if test -n "$CC"; then
12786 { echo "$as_me:$LINENO: result: $CC" >&5
12787 echo "${ECHO_T}$CC" >&6; }
12788 else
12789 { echo "$as_me:$LINENO: result: no" >&5
12790 echo "${ECHO_T}no" >&6; }
12791 fi
12792
12793
12794 fi
12795 if test -z "$ac_cv_prog_CC"; then
12796 ac_ct_CC=$CC
12797 # Extract the first word of "gcc", so it can be a program name with args.
12798 set dummy gcc; ac_word=$2
12799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 else
12804 if test -n "$ac_ct_CC"; then
12805 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12806 else
12807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808 for as_dir in $PATH
12809 do
12810 IFS=$as_save_IFS
12811 test -z "$as_dir" && as_dir=.
12812 for ac_exec_ext in '' $ac_executable_extensions; do
12813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12814 ac_cv_prog_ac_ct_CC="gcc"
12815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12816 break 2
12817 fi
12818 done
12819 done
12820 IFS=$as_save_IFS
12821
12822 fi
12823 fi
12824 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12825 if test -n "$ac_ct_CC"; then
12826 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12827 echo "${ECHO_T}$ac_ct_CC" >&6; }
12828 else
12829 { echo "$as_me:$LINENO: result: no" >&5
12830 echo "${ECHO_T}no" >&6; }
12831 fi
12832
12833 if test "x$ac_ct_CC" = x; then
12834 CC=""
12835 else
12836 case $cross_compiling:$ac_tool_warned in
12837 yes:)
12838 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12839 whose name does not start with the host triplet. If you think this
12840 configuration is useful to you, please write to autoconf@gnu.org." >&5
12841 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12842 whose name does not start with the host triplet. If you think this
12843 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12844 ac_tool_warned=yes ;;
12845 esac
12846 CC=$ac_ct_CC
12847 fi
12848 else
12849 CC="$ac_cv_prog_CC"
12850 fi
12851
12852 if test -z "$CC"; then
12853 if test -n "$ac_tool_prefix"; then
12854 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12855 set dummy ${ac_tool_prefix}cc; ac_word=$2
12856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12858 if test "${ac_cv_prog_CC+set}" = set; then
12859 echo $ECHO_N "(cached) $ECHO_C" >&6
12860 else
12861 if test -n "$CC"; then
12862 ac_cv_prog_CC="$CC" # Let the user override the test.
12863 else
12864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12865 for as_dir in $PATH
12866 do
12867 IFS=$as_save_IFS
12868 test -z "$as_dir" && as_dir=.
12869 for ac_exec_ext in '' $ac_executable_extensions; do
12870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12871 ac_cv_prog_CC="${ac_tool_prefix}cc"
12872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12873 break 2
12874 fi
12875 done
12876 done
12877 IFS=$as_save_IFS
12878
12879 fi
12880 fi
12881 CC=$ac_cv_prog_CC
12882 if test -n "$CC"; then
12883 { echo "$as_me:$LINENO: result: $CC" >&5
12884 echo "${ECHO_T}$CC" >&6; }
12885 else
12886 { echo "$as_me:$LINENO: result: no" >&5
12887 echo "${ECHO_T}no" >&6; }
12888 fi
12889
12890
12891 fi
12892 fi
12893 if test -z "$CC"; then
12894 # Extract the first word of "cc", so it can be a program name with args.
12895 set dummy cc; ac_word=$2
12896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12898 if test "${ac_cv_prog_CC+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12900 else
12901 if test -n "$CC"; then
12902 ac_cv_prog_CC="$CC" # Let the user override the test.
12903 else
12904 ac_prog_rejected=no
12905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12906 for as_dir in $PATH
12907 do
12908 IFS=$as_save_IFS
12909 test -z "$as_dir" && as_dir=.
12910 for ac_exec_ext in '' $ac_executable_extensions; do
12911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12912 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12913 ac_prog_rejected=yes
12914 continue
12915 fi
12916 ac_cv_prog_CC="cc"
12917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12918 break 2
12919 fi
12920 done
12921 done
12922 IFS=$as_save_IFS
12923
12924 if test $ac_prog_rejected = yes; then
12925 # We found a bogon in the path, so make sure we never use it.
12926 set dummy $ac_cv_prog_CC
12927 shift
12928 if test $# != 0; then
12929 # We chose a different compiler from the bogus one.
12930 # However, it has the same basename, so the bogon will be chosen
12931 # first if we set CC to just the basename; use the full file name.
12932 shift
12933 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12934 fi
12935 fi
12936 fi
12937 fi
12938 CC=$ac_cv_prog_CC
12939 if test -n "$CC"; then
12940 { echo "$as_me:$LINENO: result: $CC" >&5
12941 echo "${ECHO_T}$CC" >&6; }
12942 else
12943 { echo "$as_me:$LINENO: result: no" >&5
12944 echo "${ECHO_T}no" >&6; }
12945 fi
12946
12947
12948 fi
12949 if test -z "$CC"; then
12950 if test -n "$ac_tool_prefix"; then
12951 for ac_prog in cl.exe
12952 do
12953 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12954 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12957 if test "${ac_cv_prog_CC+set}" = set; then
12958 echo $ECHO_N "(cached) $ECHO_C" >&6
12959 else
12960 if test -n "$CC"; then
12961 ac_cv_prog_CC="$CC" # Let the user override the test.
12962 else
12963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12964 for as_dir in $PATH
12965 do
12966 IFS=$as_save_IFS
12967 test -z "$as_dir" && as_dir=.
12968 for ac_exec_ext in '' $ac_executable_extensions; do
12969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12970 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12972 break 2
12973 fi
12974 done
12975 done
12976 IFS=$as_save_IFS
12977
12978 fi
12979 fi
12980 CC=$ac_cv_prog_CC
12981 if test -n "$CC"; then
12982 { echo "$as_me:$LINENO: result: $CC" >&5
12983 echo "${ECHO_T}$CC" >&6; }
12984 else
12985 { echo "$as_me:$LINENO: result: no" >&5
12986 echo "${ECHO_T}no" >&6; }
12987 fi
12988
12989
12990 test -n "$CC" && break
12991 done
12992 fi
12993 if test -z "$CC"; then
12994 ac_ct_CC=$CC
12995 for ac_prog in cl.exe
12996 do
12997 # Extract the first word of "$ac_prog", so it can be a program name with args.
12998 set dummy $ac_prog; ac_word=$2
12999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13001 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 else
13004 if test -n "$ac_ct_CC"; then
13005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13006 else
13007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13008 for as_dir in $PATH
13009 do
13010 IFS=$as_save_IFS
13011 test -z "$as_dir" && as_dir=.
13012 for ac_exec_ext in '' $ac_executable_extensions; do
13013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13014 ac_cv_prog_ac_ct_CC="$ac_prog"
13015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13016 break 2
13017 fi
13018 done
13019 done
13020 IFS=$as_save_IFS
13021
13022 fi
13023 fi
13024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13025 if test -n "$ac_ct_CC"; then
13026 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13027 echo "${ECHO_T}$ac_ct_CC" >&6; }
13028 else
13029 { echo "$as_me:$LINENO: result: no" >&5
13030 echo "${ECHO_T}no" >&6; }
13031 fi
13032
13033
13034 test -n "$ac_ct_CC" && break
13035 done
13036
13037 if test "x$ac_ct_CC" = x; then
13038 CC=""
13039 else
13040 case $cross_compiling:$ac_tool_warned in
13041 yes:)
13042 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13043 whose name does not start with the host triplet. If you think this
13044 configuration is useful to you, please write to autoconf@gnu.org." >&5
13045 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13046 whose name does not start with the host triplet. If you think this
13047 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13048 ac_tool_warned=yes ;;
13049 esac
13050 CC=$ac_ct_CC
13051 fi
13052 fi
13053
13054 fi
13055
13056
13057 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13058 See \`config.log' for more details." >&5
13059 echo "$as_me: error: no acceptable C compiler found in \$PATH
13060 See \`config.log' for more details." >&2;}
13061 { (exit 1); exit 1; }; }
13062
13063 # Provide some information about the compiler.
13064 echo "$as_me:$LINENO: checking for C compiler version" >&5
13065 ac_compiler=`set X $ac_compile; echo $2`
13066 { (ac_try="$ac_compiler --version >&5"
13067 case "(($ac_try" in
13068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13069 *) ac_try_echo=$ac_try;;
13070 esac
13071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13072 (eval "$ac_compiler --version >&5") 2>&5
13073 ac_status=$?
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }
13076 { (ac_try="$ac_compiler -v >&5"
13077 case "(($ac_try" in
13078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13079 *) ac_try_echo=$ac_try;;
13080 esac
13081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13082 (eval "$ac_compiler -v >&5") 2>&5
13083 ac_status=$?
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); }
13086 { (ac_try="$ac_compiler -V >&5"
13087 case "(($ac_try" in
13088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13089 *) ac_try_echo=$ac_try;;
13090 esac
13091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13092 (eval "$ac_compiler -V >&5") 2>&5
13093 ac_status=$?
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }
13096
13097 cat >conftest.$ac_ext <<_ACEOF
13098 /* confdefs.h. */
13099 _ACEOF
13100 cat confdefs.h >>conftest.$ac_ext
13101 cat >>conftest.$ac_ext <<_ACEOF
13102 /* end confdefs.h. */
13103
13104 int
13105 main ()
13106 {
13107
13108 ;
13109 return 0;
13110 }
13111 _ACEOF
13112 ac_clean_files_save=$ac_clean_files
13113 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13114 # Try to create an executable without -o first, disregard a.out.
13115 # It will help us diagnose broken compilers, and finding out an intuition
13116 # of exeext.
13117 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13118 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13119 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13120 #
13121 # List of possible output files, starting from the most likely.
13122 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13123 # only as a last resort. b.out is created by i960 compilers.
13124 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13125 #
13126 # The IRIX 6 linker writes into existing files which may not be
13127 # executable, retaining their permissions. Remove them first so a
13128 # subsequent execution test works.
13129 ac_rmfiles=
13130 for ac_file in $ac_files
13131 do
13132 case $ac_file in
13133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13134 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13135 esac
13136 done
13137 rm -f $ac_rmfiles
13138
13139 if { (ac_try="$ac_link_default"
13140 case "(($ac_try" in
13141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13142 *) ac_try_echo=$ac_try;;
13143 esac
13144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13145 (eval "$ac_link_default") 2>&5
13146 ac_status=$?
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; then
13149 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13150 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13151 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13152 # so that the user can short-circuit this test for compilers unknown to
13153 # Autoconf.
13154 for ac_file in $ac_files ''
13155 do
13156 test -f "$ac_file" || continue
13157 case $ac_file in
13158 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13159 ;;
13160 [ab].out )
13161 # We found the default executable, but exeext='' is most
13162 # certainly right.
13163 break;;
13164 *.* )
13165 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13166 then :; else
13167 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13168 fi
13169 # We set ac_cv_exeext here because the later test for it is not
13170 # safe: cross compilers may not add the suffix if given an `-o'
13171 # argument, so we may need to know it at that point already.
13172 # Even if this section looks crufty: it has the advantage of
13173 # actually working.
13174 break;;
13175 * )
13176 break;;
13177 esac
13178 done
13179 test "$ac_cv_exeext" = no && ac_cv_exeext=
13180
13181 else
13182 ac_file=''
13183 fi
13184
13185 { echo "$as_me:$LINENO: result: $ac_file" >&5
13186 echo "${ECHO_T}$ac_file" >&6; }
13187 if test -z "$ac_file"; then
13188 echo "$as_me: failed program was:" >&5
13189 sed 's/^/| /' conftest.$ac_ext >&5
13190
13191 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13192 See \`config.log' for more details." >&5
13193 echo "$as_me: error: C compiler cannot create executables
13194 See \`config.log' for more details." >&2;}
13195 { (exit 77); exit 77; }; }
13196 fi
13197
13198 ac_exeext=$ac_cv_exeext
13199
13200 # Check that the compiler produces executables we can run. If not, either
13201 # the compiler is broken, or we cross compile.
13202 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13203 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13204 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13205 # If not cross compiling, check that we can run a simple program.
13206 if test "$cross_compiling" != yes; then
13207 if { ac_try='./$ac_file'
13208 { (case "(($ac_try" in
13209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13210 *) ac_try_echo=$ac_try;;
13211 esac
13212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13213 (eval "$ac_try") 2>&5
13214 ac_status=$?
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; }; then
13217 cross_compiling=no
13218 else
13219 if test "$cross_compiling" = maybe; then
13220 cross_compiling=yes
13221 else
13222 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13223 If you meant to cross compile, use \`--host'.
13224 See \`config.log' for more details." >&5
13225 echo "$as_me: error: cannot run C compiled programs.
13226 If you meant to cross compile, use \`--host'.
13227 See \`config.log' for more details." >&2;}
13228 { (exit 1); exit 1; }; }
13229 fi
13230 fi
13231 fi
13232 { echo "$as_me:$LINENO: result: yes" >&5
13233 echo "${ECHO_T}yes" >&6; }
13234
13235 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13236 ac_clean_files=$ac_clean_files_save
13237 # Check that the compiler produces executables we can run. If not, either
13238 # the compiler is broken, or we cross compile.
13239 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13240 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13241 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13242 echo "${ECHO_T}$cross_compiling" >&6; }
13243
13244 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13245 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13246 if { (ac_try="$ac_link"
13247 case "(($ac_try" in
13248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13249 *) ac_try_echo=$ac_try;;
13250 esac
13251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13252 (eval "$ac_link") 2>&5
13253 ac_status=$?
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; then
13256 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13257 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13258 # work properly (i.e., refer to `conftest.exe'), while it won't with
13259 # `rm'.
13260 for ac_file in conftest.exe conftest conftest.*; do
13261 test -f "$ac_file" || continue
13262 case $ac_file in
13263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13264 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13265 break;;
13266 * ) break;;
13267 esac
13268 done
13269 else
13270 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13271 See \`config.log' for more details." >&5
13272 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13273 See \`config.log' for more details." >&2;}
13274 { (exit 1); exit 1; }; }
13275 fi
13276
13277 rm -f conftest$ac_cv_exeext
13278 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13279 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13280
13281 rm -f conftest.$ac_ext
13282 EXEEXT=$ac_cv_exeext
13283 ac_exeext=$EXEEXT
13284 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13285 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13286 if test "${ac_cv_objext+set}" = set; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13288 else
13289 cat >conftest.$ac_ext <<_ACEOF
13290 /* confdefs.h. */
13291 _ACEOF
13292 cat confdefs.h >>conftest.$ac_ext
13293 cat >>conftest.$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295
13296 int
13297 main ()
13298 {
13299
13300 ;
13301 return 0;
13302 }
13303 _ACEOF
13304 rm -f conftest.o conftest.obj
13305 if { (ac_try="$ac_compile"
13306 case "(($ac_try" in
13307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13308 *) ac_try_echo=$ac_try;;
13309 esac
13310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13311 (eval "$ac_compile") 2>&5
13312 ac_status=$?
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; then
13315 for ac_file in conftest.o conftest.obj conftest.*; do
13316 test -f "$ac_file" || continue;
13317 case $ac_file in
13318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13319 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13320 break;;
13321 esac
13322 done
13323 else
13324 echo "$as_me: failed program was:" >&5
13325 sed 's/^/| /' conftest.$ac_ext >&5
13326
13327 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13328 See \`config.log' for more details." >&5
13329 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13330 See \`config.log' for more details." >&2;}
13331 { (exit 1); exit 1; }; }
13332 fi
13333
13334 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13335 fi
13336 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13337 echo "${ECHO_T}$ac_cv_objext" >&6; }
13338 OBJEXT=$ac_cv_objext
13339 ac_objext=$OBJEXT
13340 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13341 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13342 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 else
13345 cat >conftest.$ac_ext <<_ACEOF
13346 /* confdefs.h. */
13347 _ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351
13352 int
13353 main ()
13354 {
13355 #ifndef __GNUC__
13356 choke me
13357 #endif
13358
13359 ;
13360 return 0;
13361 }
13362 _ACEOF
13363 rm -f conftest.$ac_objext
13364 if { (ac_try="$ac_compile"
13365 case "(($ac_try" in
13366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13367 *) ac_try_echo=$ac_try;;
13368 esac
13369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13370 (eval "$ac_compile") 2>conftest.er1
13371 ac_status=$?
13372 grep -v '^ *+' conftest.er1 >conftest.err
13373 rm -f conftest.er1
13374 cat conftest.err >&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); } && {
13377 test -z "$ac_c_werror_flag" ||
13378 test ! -s conftest.err
13379 } && test -s conftest.$ac_objext; then
13380 ac_compiler_gnu=yes
13381 else
13382 echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.$ac_ext >&5
13384
13385 ac_compiler_gnu=no
13386 fi
13387
13388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13389 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13390
13391 fi
13392 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13393 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13394 GCC=`test $ac_compiler_gnu = yes && echo yes`
13395 ac_test_CFLAGS=${CFLAGS+set}
13396 ac_save_CFLAGS=$CFLAGS
13397 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13398 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13399 if test "${ac_cv_prog_cc_g+set}" = set; then
13400 echo $ECHO_N "(cached) $ECHO_C" >&6
13401 else
13402 ac_save_c_werror_flag=$ac_c_werror_flag
13403 ac_c_werror_flag=yes
13404 ac_cv_prog_cc_g=no
13405 CFLAGS="-g"
13406 cat >conftest.$ac_ext <<_ACEOF
13407 /* confdefs.h. */
13408 _ACEOF
13409 cat confdefs.h >>conftest.$ac_ext
13410 cat >>conftest.$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412
13413 int
13414 main ()
13415 {
13416
13417 ;
13418 return 0;
13419 }
13420 _ACEOF
13421 rm -f conftest.$ac_objext
13422 if { (ac_try="$ac_compile"
13423 case "(($ac_try" in
13424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13425 *) ac_try_echo=$ac_try;;
13426 esac
13427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13428 (eval "$ac_compile") 2>conftest.er1
13429 ac_status=$?
13430 grep -v '^ *+' conftest.er1 >conftest.err
13431 rm -f conftest.er1
13432 cat conftest.err >&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } && {
13435 test -z "$ac_c_werror_flag" ||
13436 test ! -s conftest.err
13437 } && test -s conftest.$ac_objext; then
13438 ac_cv_prog_cc_g=yes
13439 else
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.$ac_ext >&5
13442
13443 CFLAGS=""
13444 cat >conftest.$ac_ext <<_ACEOF
13445 /* confdefs.h. */
13446 _ACEOF
13447 cat confdefs.h >>conftest.$ac_ext
13448 cat >>conftest.$ac_ext <<_ACEOF
13449 /* end confdefs.h. */
13450
13451 int
13452 main ()
13453 {
13454
13455 ;
13456 return 0;
13457 }
13458 _ACEOF
13459 rm -f conftest.$ac_objext
13460 if { (ac_try="$ac_compile"
13461 case "(($ac_try" in
13462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13463 *) ac_try_echo=$ac_try;;
13464 esac
13465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13466 (eval "$ac_compile") 2>conftest.er1
13467 ac_status=$?
13468 grep -v '^ *+' conftest.er1 >conftest.err
13469 rm -f conftest.er1
13470 cat conftest.err >&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); } && {
13473 test -z "$ac_c_werror_flag" ||
13474 test ! -s conftest.err
13475 } && test -s conftest.$ac_objext; then
13476 :
13477 else
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13480
13481 ac_c_werror_flag=$ac_save_c_werror_flag
13482 CFLAGS="-g"
13483 cat >conftest.$ac_ext <<_ACEOF
13484 /* confdefs.h. */
13485 _ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13489
13490 int
13491 main ()
13492 {
13493
13494 ;
13495 return 0;
13496 }
13497 _ACEOF
13498 rm -f conftest.$ac_objext
13499 if { (ac_try="$ac_compile"
13500 case "(($ac_try" in
13501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13502 *) ac_try_echo=$ac_try;;
13503 esac
13504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13505 (eval "$ac_compile") 2>conftest.er1
13506 ac_status=$?
13507 grep -v '^ *+' conftest.er1 >conftest.err
13508 rm -f conftest.er1
13509 cat conftest.err >&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } && {
13512 test -z "$ac_c_werror_flag" ||
13513 test ! -s conftest.err
13514 } && test -s conftest.$ac_objext; then
13515 ac_cv_prog_cc_g=yes
13516 else
13517 echo "$as_me: failed program was:" >&5
13518 sed 's/^/| /' conftest.$ac_ext >&5
13519
13520
13521 fi
13522
13523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13524 fi
13525
13526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13527 fi
13528
13529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13530 ac_c_werror_flag=$ac_save_c_werror_flag
13531 fi
13532 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13533 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13534 if test "$ac_test_CFLAGS" = set; then
13535 CFLAGS=$ac_save_CFLAGS
13536 elif test $ac_cv_prog_cc_g = yes; then
13537 if test "$GCC" = yes; then
13538 CFLAGS="-g -O2"
13539 else
13540 CFLAGS="-g"
13541 fi
13542 else
13543 if test "$GCC" = yes; then
13544 CFLAGS="-O2"
13545 else
13546 CFLAGS=
13547 fi
13548 fi
13549 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13550 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13551 if test "${ac_cv_prog_cc_c89+set}" = set; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13553 else
13554 ac_cv_prog_cc_c89=no
13555 ac_save_CC=$CC
13556 cat >conftest.$ac_ext <<_ACEOF
13557 /* confdefs.h. */
13558 _ACEOF
13559 cat confdefs.h >>conftest.$ac_ext
13560 cat >>conftest.$ac_ext <<_ACEOF
13561 /* end confdefs.h. */
13562 #include <stdarg.h>
13563 #include <stdio.h>
13564 #include <sys/types.h>
13565 #include <sys/stat.h>
13566 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13567 struct buf { int x; };
13568 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13569 static char *e (p, i)
13570 char **p;
13571 int i;
13572 {
13573 return p[i];
13574 }
13575 static char *f (char * (*g) (char **, int), char **p, ...)
13576 {
13577 char *s;
13578 va_list v;
13579 va_start (v,p);
13580 s = g (p, va_arg (v,int));
13581 va_end (v);
13582 return s;
13583 }
13584
13585 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13586 function prototypes and stuff, but not '\xHH' hex character constants.
13587 These don't provoke an error unfortunately, instead are silently treated
13588 as 'x'. The following induces an error, until -std is added to get
13589 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13590 array size at least. It's necessary to write '\x00'==0 to get something
13591 that's true only with -std. */
13592 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13593
13594 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13595 inside strings and character constants. */
13596 #define FOO(x) 'x'
13597 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13598
13599 int test (int i, double x);
13600 struct s1 {int (*f) (int a);};
13601 struct s2 {int (*f) (double a);};
13602 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13603 int argc;
13604 char **argv;
13605 int
13606 main ()
13607 {
13608 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13609 ;
13610 return 0;
13611 }
13612 _ACEOF
13613 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13614 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13615 do
13616 CC="$ac_save_CC $ac_arg"
13617 rm -f conftest.$ac_objext
13618 if { (ac_try="$ac_compile"
13619 case "(($ac_try" in
13620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13621 *) ac_try_echo=$ac_try;;
13622 esac
13623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13624 (eval "$ac_compile") 2>conftest.er1
13625 ac_status=$?
13626 grep -v '^ *+' conftest.er1 >conftest.err
13627 rm -f conftest.er1
13628 cat conftest.err >&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); } && {
13631 test -z "$ac_c_werror_flag" ||
13632 test ! -s conftest.err
13633 } && test -s conftest.$ac_objext; then
13634 ac_cv_prog_cc_c89=$ac_arg
13635 else
13636 echo "$as_me: failed program was:" >&5
13637 sed 's/^/| /' conftest.$ac_ext >&5
13638
13639
13640 fi
13641
13642 rm -f core conftest.err conftest.$ac_objext
13643 test "x$ac_cv_prog_cc_c89" != "xno" && break
13644 done
13645 rm -f conftest.$ac_ext
13646 CC=$ac_save_CC
13647
13648 fi
13649 # AC_CACHE_VAL
13650 case "x$ac_cv_prog_cc_c89" in
13651 x)
13652 { echo "$as_me:$LINENO: result: none needed" >&5
13653 echo "${ECHO_T}none needed" >&6; } ;;
13654 xno)
13655 { echo "$as_me:$LINENO: result: unsupported" >&5
13656 echo "${ECHO_T}unsupported" >&6; } ;;
13657 *)
13658 CC="$CC $ac_cv_prog_cc_c89"
13659 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13660 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13661 esac
13662
13663
13664 ac_ext=c
13665 ac_cpp='$CPP $CPPFLAGS'
13666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13669
13670
13671
13672 ac_ext=c
13673 ac_cpp='$CPP $CPPFLAGS'
13674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13677
13678 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13679 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13680 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13681 echo $ECHO_N "(cached) $ECHO_C" >&6
13682 else
13683 cat >conftest.$ac_ext <<_ACEOF
13684 /* confdefs.h. */
13685 _ACEOF
13686 cat confdefs.h >>conftest.$ac_ext
13687 cat >>conftest.$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13689
13690 int
13691 main ()
13692 {
13693
13694 #ifndef __INTEL_COMPILER
13695 choke me
13696 #endif
13697
13698 ;
13699 return 0;
13700 }
13701 _ACEOF
13702 rm -f conftest.$ac_objext
13703 if { (ac_try="$ac_compile"
13704 case "(($ac_try" in
13705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13706 *) ac_try_echo=$ac_try;;
13707 esac
13708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13709 (eval "$ac_compile") 2>conftest.er1
13710 ac_status=$?
13711 grep -v '^ *+' conftest.er1 >conftest.err
13712 rm -f conftest.er1
13713 cat conftest.err >&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); } && {
13716 test -z "$ac_c_werror_flag" ||
13717 test ! -s conftest.err
13718 } && test -s conftest.$ac_objext; then
13719 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13720 else
13721 echo "$as_me: failed program was:" >&5
13722 sed 's/^/| /' conftest.$ac_ext >&5
13723
13724 bakefile_cv_c_compiler___INTEL_COMPILER=no
13725
13726 fi
13727
13728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13729
13730
13731 fi
13732 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13733 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13734 ac_ext=c
13735 ac_cpp='$CPP $CPPFLAGS'
13736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13739
13740 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13741 :; INTELCC=yes
13742 else
13743 :;
13744 fi
13745
13746
13747 if test "x$GCC" != "xyes"; then
13748 if test "xCC" = "xC"; then
13749 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13750 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13751 if test "${bakefile_cv_c_exto+set}" = set; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 else
13754 cat >conftest.$ac_ext <<_ACEOF
13755 /* confdefs.h. */
13756 _ACEOF
13757 cat confdefs.h >>conftest.$ac_ext
13758 cat >>conftest.$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13760
13761 int
13762 main ()
13763 {
13764
13765 ;
13766 return 0;
13767 }
13768 _ACEOF
13769 rm -f conftest.$ac_objext conftest.$ac_ext.o
13770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13771 (eval $ac_compile) 2>&5
13772 ac_status=$?
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; then
13775 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13776 case $ac_file in
13777 conftest.$ac_ext.o)
13778 bakefile_cv_c_exto="-ext o"
13779 ;;
13780 *)
13781 ;;
13782 esac
13783 done
13784 else
13785 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13786 See \`config.log' for more details." >&5
13787 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13788 See \`config.log' for more details." >&2;}
13789 { (exit 1); exit 1; }; }
13790
13791 fi
13792
13793 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13794
13795 fi
13796 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13797 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13798 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13799 if test "c" = "c"; then
13800 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13801 fi
13802 if test "c" = "cxx"; then
13803 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13804 fi
13805 fi
13806
13807 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13808 unset ac_cv_prog_cc_g
13809 ac_test_CFLAGS=${CFLAGS+set}
13810 ac_save_CFLAGS=$CFLAGS
13811 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13812 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13813 if test "${ac_cv_prog_cc_g+set}" = set; then
13814 echo $ECHO_N "(cached) $ECHO_C" >&6
13815 else
13816 ac_save_c_werror_flag=$ac_c_werror_flag
13817 ac_c_werror_flag=yes
13818 ac_cv_prog_cc_g=no
13819 CFLAGS="-g"
13820 cat >conftest.$ac_ext <<_ACEOF
13821 /* confdefs.h. */
13822 _ACEOF
13823 cat confdefs.h >>conftest.$ac_ext
13824 cat >>conftest.$ac_ext <<_ACEOF
13825 /* end confdefs.h. */
13826
13827 int
13828 main ()
13829 {
13830
13831 ;
13832 return 0;
13833 }
13834 _ACEOF
13835 rm -f conftest.$ac_objext
13836 if { (ac_try="$ac_compile"
13837 case "(($ac_try" in
13838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13839 *) ac_try_echo=$ac_try;;
13840 esac
13841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13842 (eval "$ac_compile") 2>conftest.er1
13843 ac_status=$?
13844 grep -v '^ *+' conftest.er1 >conftest.err
13845 rm -f conftest.er1
13846 cat conftest.err >&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); } && {
13849 test -z "$ac_c_werror_flag" ||
13850 test ! -s conftest.err
13851 } && test -s conftest.$ac_objext; then
13852 ac_cv_prog_cc_g=yes
13853 else
13854 echo "$as_me: failed program was:" >&5
13855 sed 's/^/| /' conftest.$ac_ext >&5
13856
13857 CFLAGS=""
13858 cat >conftest.$ac_ext <<_ACEOF
13859 /* confdefs.h. */
13860 _ACEOF
13861 cat confdefs.h >>conftest.$ac_ext
13862 cat >>conftest.$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864
13865 int
13866 main ()
13867 {
13868
13869 ;
13870 return 0;
13871 }
13872 _ACEOF
13873 rm -f conftest.$ac_objext
13874 if { (ac_try="$ac_compile"
13875 case "(($ac_try" in
13876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13877 *) ac_try_echo=$ac_try;;
13878 esac
13879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13880 (eval "$ac_compile") 2>conftest.er1
13881 ac_status=$?
13882 grep -v '^ *+' conftest.er1 >conftest.err
13883 rm -f conftest.er1
13884 cat conftest.err >&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); } && {
13887 test -z "$ac_c_werror_flag" ||
13888 test ! -s conftest.err
13889 } && test -s conftest.$ac_objext; then
13890 :
13891 else
13892 echo "$as_me: failed program was:" >&5
13893 sed 's/^/| /' conftest.$ac_ext >&5
13894
13895 ac_c_werror_flag=$ac_save_c_werror_flag
13896 CFLAGS="-g"
13897 cat >conftest.$ac_ext <<_ACEOF
13898 /* confdefs.h. */
13899 _ACEOF
13900 cat confdefs.h >>conftest.$ac_ext
13901 cat >>conftest.$ac_ext <<_ACEOF
13902 /* end confdefs.h. */
13903
13904 int
13905 main ()
13906 {
13907
13908 ;
13909 return 0;
13910 }
13911 _ACEOF
13912 rm -f conftest.$ac_objext
13913 if { (ac_try="$ac_compile"
13914 case "(($ac_try" in
13915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13916 *) ac_try_echo=$ac_try;;
13917 esac
13918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13919 (eval "$ac_compile") 2>conftest.er1
13920 ac_status=$?
13921 grep -v '^ *+' conftest.er1 >conftest.err
13922 rm -f conftest.er1
13923 cat conftest.err >&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } && {
13926 test -z "$ac_c_werror_flag" ||
13927 test ! -s conftest.err
13928 } && test -s conftest.$ac_objext; then
13929 ac_cv_prog_cc_g=yes
13930 else
13931 echo "$as_me: failed program was:" >&5
13932 sed 's/^/| /' conftest.$ac_ext >&5
13933
13934
13935 fi
13936
13937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13938 fi
13939
13940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13941 fi
13942
13943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13944 ac_c_werror_flag=$ac_save_c_werror_flag
13945 fi
13946 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13947 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13948 if test "$ac_test_CFLAGS" = set; then
13949 CFLAGS=$ac_save_CFLAGS
13950 elif test $ac_cv_prog_cc_g = yes; then
13951 if test "$GCC" = yes; then
13952 CFLAGS="-g -O2"
13953 else
13954 CFLAGS="-g"
13955 fi
13956 else
13957 if test "$GCC" = yes; then
13958 CFLAGS="-O2"
13959 else
13960 CFLAGS=
13961 fi
13962 fi
13963 fi
13964 fi
13965
13966 case `uname -s` in
13967 AIX*)
13968 ac_ext=c
13969 ac_cpp='$CPP $CPPFLAGS'
13970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13973
13974 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13975 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
13976 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13977 echo $ECHO_N "(cached) $ECHO_C" >&6
13978 else
13979 cat >conftest.$ac_ext <<_ACEOF
13980 /* confdefs.h. */
13981 _ACEOF
13982 cat confdefs.h >>conftest.$ac_ext
13983 cat >>conftest.$ac_ext <<_ACEOF
13984 /* end confdefs.h. */
13985
13986 int
13987 main ()
13988 {
13989 #ifndef __xlC__
13990 choke me
13991 #endif
13992
13993 ;
13994 return 0;
13995 }
13996 _ACEOF
13997 rm -f conftest.$ac_objext
13998 if { (ac_try="$ac_compile"
13999 case "(($ac_try" in
14000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14001 *) ac_try_echo=$ac_try;;
14002 esac
14003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14004 (eval "$ac_compile") 2>conftest.er1
14005 ac_status=$?
14006 grep -v '^ *+' conftest.er1 >conftest.err
14007 rm -f conftest.er1
14008 cat conftest.err >&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } && {
14011 test -z "$ac_c_werror_flag" ||
14012 test ! -s conftest.err
14013 } && test -s conftest.$ac_objext; then
14014 bakefile_compiler_xlc=yes
14015 else
14016 echo "$as_me: failed program was:" >&5
14017 sed 's/^/| /' conftest.$ac_ext >&5
14018
14019 bakefile_compiler_xlc=no
14020 fi
14021
14022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14023 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14024
14025 fi
14026 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14027 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14028
14029 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14030 ac_ext=c
14031 ac_cpp='$CPP $CPPFLAGS'
14032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14035
14036
14037 ;;
14038
14039 Darwin)
14040 ac_ext=c
14041 ac_cpp='$CPP $CPPFLAGS'
14042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14045
14046 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14047 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14048 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14049 echo $ECHO_N "(cached) $ECHO_C" >&6
14050 else
14051 cat >conftest.$ac_ext <<_ACEOF
14052 /* confdefs.h. */
14053 _ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14057
14058 int
14059 main ()
14060 {
14061 #ifndef __MWERKS__
14062 choke me
14063 #endif
14064
14065 ;
14066 return 0;
14067 }
14068 _ACEOF
14069 rm -f conftest.$ac_objext
14070 if { (ac_try="$ac_compile"
14071 case "(($ac_try" in
14072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14073 *) ac_try_echo=$ac_try;;
14074 esac
14075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14076 (eval "$ac_compile") 2>conftest.er1
14077 ac_status=$?
14078 grep -v '^ *+' conftest.er1 >conftest.err
14079 rm -f conftest.er1
14080 cat conftest.err >&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } && {
14083 test -z "$ac_c_werror_flag" ||
14084 test ! -s conftest.err
14085 } && test -s conftest.$ac_objext; then
14086 bakefile_compiler_mwerks=yes
14087 else
14088 echo "$as_me: failed program was:" >&5
14089 sed 's/^/| /' conftest.$ac_ext >&5
14090
14091 bakefile_compiler_mwerks=no
14092 fi
14093
14094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14095 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14096
14097 fi
14098 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14099 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14100
14101 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14102 ac_ext=c
14103 ac_cpp='$CPP $CPPFLAGS'
14104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14107
14108
14109 ac_ext=c
14110 ac_cpp='$CPP $CPPFLAGS'
14111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14114
14115 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14116 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14117 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 else
14120 cat >conftest.$ac_ext <<_ACEOF
14121 /* confdefs.h. */
14122 _ACEOF
14123 cat confdefs.h >>conftest.$ac_ext
14124 cat >>conftest.$ac_ext <<_ACEOF
14125 /* end confdefs.h. */
14126
14127 int
14128 main ()
14129 {
14130 #ifndef __xlC__
14131 choke me
14132 #endif
14133
14134 ;
14135 return 0;
14136 }
14137 _ACEOF
14138 rm -f conftest.$ac_objext
14139 if { (ac_try="$ac_compile"
14140 case "(($ac_try" in
14141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14142 *) ac_try_echo=$ac_try;;
14143 esac
14144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14145 (eval "$ac_compile") 2>conftest.er1
14146 ac_status=$?
14147 grep -v '^ *+' conftest.er1 >conftest.err
14148 rm -f conftest.er1
14149 cat conftest.err >&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } && {
14152 test -z "$ac_c_werror_flag" ||
14153 test ! -s conftest.err
14154 } && test -s conftest.$ac_objext; then
14155 bakefile_compiler_xlc=yes
14156 else
14157 echo "$as_me: failed program was:" >&5
14158 sed 's/^/| /' conftest.$ac_ext >&5
14159
14160 bakefile_compiler_xlc=no
14161 fi
14162
14163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14164 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14165
14166 fi
14167 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14168 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14169
14170 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14171 ac_ext=c
14172 ac_cpp='$CPP $CPPFLAGS'
14173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14176
14177
14178 ;;
14179
14180 IRIX*)
14181
14182
14183 ac_ext=c
14184 ac_cpp='$CPP $CPPFLAGS'
14185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14188
14189 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14190 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14191 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14192 echo $ECHO_N "(cached) $ECHO_C" >&6
14193 else
14194 cat >conftest.$ac_ext <<_ACEOF
14195 /* confdefs.h. */
14196 _ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200
14201 int
14202 main ()
14203 {
14204
14205 #ifndef _SGI_COMPILER_VERSION
14206 choke me
14207 #endif
14208
14209 ;
14210 return 0;
14211 }
14212 _ACEOF
14213 rm -f conftest.$ac_objext
14214 if { (ac_try="$ac_compile"
14215 case "(($ac_try" in
14216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14217 *) ac_try_echo=$ac_try;;
14218 esac
14219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14220 (eval "$ac_compile") 2>conftest.er1
14221 ac_status=$?
14222 grep -v '^ *+' conftest.er1 >conftest.err
14223 rm -f conftest.er1
14224 cat conftest.err >&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); } && {
14227 test -z "$ac_c_werror_flag" ||
14228 test ! -s conftest.err
14229 } && test -s conftest.$ac_objext; then
14230 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14231 else
14232 echo "$as_me: failed program was:" >&5
14233 sed 's/^/| /' conftest.$ac_ext >&5
14234
14235 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14236
14237 fi
14238
14239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14240
14241
14242 fi
14243 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14244 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14245 ac_ext=c
14246 ac_cpp='$CPP $CPPFLAGS'
14247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14250
14251 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14252 :; SGICC=yes
14253 else
14254 :;
14255 fi
14256
14257
14258 ;;
14259
14260 HP-UX*)
14261
14262
14263 ac_ext=c
14264 ac_cpp='$CPP $CPPFLAGS'
14265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14268
14269 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14270 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14271 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14273 else
14274 cat >conftest.$ac_ext <<_ACEOF
14275 /* confdefs.h. */
14276 _ACEOF
14277 cat confdefs.h >>conftest.$ac_ext
14278 cat >>conftest.$ac_ext <<_ACEOF
14279 /* end confdefs.h. */
14280
14281 int
14282 main ()
14283 {
14284
14285 #ifndef __HP_cc
14286 choke me
14287 #endif
14288
14289 ;
14290 return 0;
14291 }
14292 _ACEOF
14293 rm -f conftest.$ac_objext
14294 if { (ac_try="$ac_compile"
14295 case "(($ac_try" in
14296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14297 *) ac_try_echo=$ac_try;;
14298 esac
14299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14300 (eval "$ac_compile") 2>conftest.er1
14301 ac_status=$?
14302 grep -v '^ *+' conftest.er1 >conftest.err
14303 rm -f conftest.er1
14304 cat conftest.err >&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } && {
14307 test -z "$ac_c_werror_flag" ||
14308 test ! -s conftest.err
14309 } && test -s conftest.$ac_objext; then
14310 bakefile_cv_c_compiler___HP_cc=yes
14311 else
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14314
14315 bakefile_cv_c_compiler___HP_cc=no
14316
14317 fi
14318
14319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14320
14321
14322 fi
14323 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14324 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14325 ac_ext=c
14326 ac_cpp='$CPP $CPPFLAGS'
14327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14330
14331 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14332 :; HPCC=yes
14333 else
14334 :;
14335 fi
14336
14337
14338 ;;
14339
14340 OSF1)
14341
14342
14343 ac_ext=c
14344 ac_cpp='$CPP $CPPFLAGS'
14345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14348
14349 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14350 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14351 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 else
14354 cat >conftest.$ac_ext <<_ACEOF
14355 /* confdefs.h. */
14356 _ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14360
14361 int
14362 main ()
14363 {
14364
14365 #ifndef __DECC
14366 choke me
14367 #endif
14368
14369 ;
14370 return 0;
14371 }
14372 _ACEOF
14373 rm -f conftest.$ac_objext
14374 if { (ac_try="$ac_compile"
14375 case "(($ac_try" in
14376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14377 *) ac_try_echo=$ac_try;;
14378 esac
14379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14380 (eval "$ac_compile") 2>conftest.er1
14381 ac_status=$?
14382 grep -v '^ *+' conftest.er1 >conftest.err
14383 rm -f conftest.er1
14384 cat conftest.err >&5
14385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14386 (exit $ac_status); } && {
14387 test -z "$ac_c_werror_flag" ||
14388 test ! -s conftest.err
14389 } && test -s conftest.$ac_objext; then
14390 bakefile_cv_c_compiler___DECC=yes
14391 else
14392 echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.$ac_ext >&5
14394
14395 bakefile_cv_c_compiler___DECC=no
14396
14397 fi
14398
14399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14400
14401
14402 fi
14403 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14404 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14405 ac_ext=c
14406 ac_cpp='$CPP $CPPFLAGS'
14407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14410
14411 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14412 :; COMPAQCC=yes
14413 else
14414 :;
14415 fi
14416
14417
14418 ;;
14419
14420 SunOS)
14421
14422
14423 ac_ext=c
14424 ac_cpp='$CPP $CPPFLAGS'
14425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14428
14429 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14430 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14431 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 else
14434 cat >conftest.$ac_ext <<_ACEOF
14435 /* confdefs.h. */
14436 _ACEOF
14437 cat confdefs.h >>conftest.$ac_ext
14438 cat >>conftest.$ac_ext <<_ACEOF
14439 /* end confdefs.h. */
14440
14441 int
14442 main ()
14443 {
14444
14445 #ifndef __SUNPRO_C
14446 choke me
14447 #endif
14448
14449 ;
14450 return 0;
14451 }
14452 _ACEOF
14453 rm -f conftest.$ac_objext
14454 if { (ac_try="$ac_compile"
14455 case "(($ac_try" in
14456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14457 *) ac_try_echo=$ac_try;;
14458 esac
14459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14460 (eval "$ac_compile") 2>conftest.er1
14461 ac_status=$?
14462 grep -v '^ *+' conftest.er1 >conftest.err
14463 rm -f conftest.er1
14464 cat conftest.err >&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } && {
14467 test -z "$ac_c_werror_flag" ||
14468 test ! -s conftest.err
14469 } && test -s conftest.$ac_objext; then
14470 bakefile_cv_c_compiler___SUNPRO_C=yes
14471 else
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.$ac_ext >&5
14474
14475 bakefile_cv_c_compiler___SUNPRO_C=no
14476
14477 fi
14478
14479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14480
14481
14482 fi
14483 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14484 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14485 ac_ext=c
14486 ac_cpp='$CPP $CPPFLAGS'
14487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14490
14491 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14492 :; SUNCC=yes
14493 else
14494 :;
14495 fi
14496
14497
14498 ;;
14499 esac
14500 fi
14501
14502
14503
14504 ac_ext=c
14505 ac_cpp='$CPP $CPPFLAGS'
14506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14509 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14510 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14511 # On Suns, sometimes $CPP names a directory.
14512 if test -n "$CPP" && test -d "$CPP"; then
14513 CPP=
14514 fi
14515 if test -z "$CPP"; then
14516 if test "${ac_cv_prog_CPP+set}" = set; then
14517 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 else
14519 # Double quotes because CPP needs to be expanded
14520 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14521 do
14522 ac_preproc_ok=false
14523 for ac_c_preproc_warn_flag in '' yes
14524 do
14525 # Use a header file that comes with gcc, so configuring glibc
14526 # with a fresh cross-compiler works.
14527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14528 # <limits.h> exists even on freestanding compilers.
14529 # On the NeXT, cc -E runs the code through the compiler's parser,
14530 # not just through cpp. "Syntax error" is here to catch this case.
14531 cat >conftest.$ac_ext <<_ACEOF
14532 /* confdefs.h. */
14533 _ACEOF
14534 cat confdefs.h >>conftest.$ac_ext
14535 cat >>conftest.$ac_ext <<_ACEOF
14536 /* end confdefs.h. */
14537 #ifdef __STDC__
14538 # include <limits.h>
14539 #else
14540 # include <assert.h>
14541 #endif
14542 Syntax error
14543 _ACEOF
14544 if { (ac_try="$ac_cpp conftest.$ac_ext"
14545 case "(($ac_try" in
14546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14547 *) ac_try_echo=$ac_try;;
14548 esac
14549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14551 ac_status=$?
14552 grep -v '^ *+' conftest.er1 >conftest.err
14553 rm -f conftest.er1
14554 cat conftest.err >&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); } >/dev/null && {
14557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14558 test ! -s conftest.err
14559 }; then
14560 :
14561 else
14562 echo "$as_me: failed program was:" >&5
14563 sed 's/^/| /' conftest.$ac_ext >&5
14564
14565 # Broken: fails on valid input.
14566 continue
14567 fi
14568
14569 rm -f conftest.err conftest.$ac_ext
14570
14571 # OK, works on sane cases. Now check whether nonexistent headers
14572 # can be detected and how.
14573 cat >conftest.$ac_ext <<_ACEOF
14574 /* confdefs.h. */
14575 _ACEOF
14576 cat confdefs.h >>conftest.$ac_ext
14577 cat >>conftest.$ac_ext <<_ACEOF
14578 /* end confdefs.h. */
14579 #include <ac_nonexistent.h>
14580 _ACEOF
14581 if { (ac_try="$ac_cpp conftest.$ac_ext"
14582 case "(($ac_try" in
14583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14584 *) ac_try_echo=$ac_try;;
14585 esac
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14588 ac_status=$?
14589 grep -v '^ *+' conftest.er1 >conftest.err
14590 rm -f conftest.er1
14591 cat conftest.err >&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); } >/dev/null && {
14594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14595 test ! -s conftest.err
14596 }; then
14597 # Broken: success on invalid input.
14598 continue
14599 else
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.$ac_ext >&5
14602
14603 # Passes both tests.
14604 ac_preproc_ok=:
14605 break
14606 fi
14607
14608 rm -f conftest.err conftest.$ac_ext
14609
14610 done
14611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14612 rm -f conftest.err conftest.$ac_ext
14613 if $ac_preproc_ok; then
14614 break
14615 fi
14616
14617 done
14618 ac_cv_prog_CPP=$CPP
14619
14620 fi
14621 CPP=$ac_cv_prog_CPP
14622 else
14623 ac_cv_prog_CPP=$CPP
14624 fi
14625 { echo "$as_me:$LINENO: result: $CPP" >&5
14626 echo "${ECHO_T}$CPP" >&6; }
14627 ac_preproc_ok=false
14628 for ac_c_preproc_warn_flag in '' yes
14629 do
14630 # Use a header file that comes with gcc, so configuring glibc
14631 # with a fresh cross-compiler works.
14632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14633 # <limits.h> exists even on freestanding compilers.
14634 # On the NeXT, cc -E runs the code through the compiler's parser,
14635 # not just through cpp. "Syntax error" is here to catch this case.
14636 cat >conftest.$ac_ext <<_ACEOF
14637 /* confdefs.h. */
14638 _ACEOF
14639 cat confdefs.h >>conftest.$ac_ext
14640 cat >>conftest.$ac_ext <<_ACEOF
14641 /* end confdefs.h. */
14642 #ifdef __STDC__
14643 # include <limits.h>
14644 #else
14645 # include <assert.h>
14646 #endif
14647 Syntax error
14648 _ACEOF
14649 if { (ac_try="$ac_cpp conftest.$ac_ext"
14650 case "(($ac_try" in
14651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14652 *) ac_try_echo=$ac_try;;
14653 esac
14654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14656 ac_status=$?
14657 grep -v '^ *+' conftest.er1 >conftest.err
14658 rm -f conftest.er1
14659 cat conftest.err >&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } >/dev/null && {
14662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14663 test ! -s conftest.err
14664 }; then
14665 :
14666 else
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14669
14670 # Broken: fails on valid input.
14671 continue
14672 fi
14673
14674 rm -f conftest.err conftest.$ac_ext
14675
14676 # OK, works on sane cases. Now check whether nonexistent headers
14677 # can be detected and how.
14678 cat >conftest.$ac_ext <<_ACEOF
14679 /* confdefs.h. */
14680 _ACEOF
14681 cat confdefs.h >>conftest.$ac_ext
14682 cat >>conftest.$ac_ext <<_ACEOF
14683 /* end confdefs.h. */
14684 #include <ac_nonexistent.h>
14685 _ACEOF
14686 if { (ac_try="$ac_cpp conftest.$ac_ext"
14687 case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14689 *) ac_try_echo=$ac_try;;
14690 esac
14691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14693 ac_status=$?
14694 grep -v '^ *+' conftest.er1 >conftest.err
14695 rm -f conftest.er1
14696 cat conftest.err >&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } >/dev/null && {
14699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14700 test ! -s conftest.err
14701 }; then
14702 # Broken: success on invalid input.
14703 continue
14704 else
14705 echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.$ac_ext >&5
14707
14708 # Passes both tests.
14709 ac_preproc_ok=:
14710 break
14711 fi
14712
14713 rm -f conftest.err conftest.$ac_ext
14714
14715 done
14716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14717 rm -f conftest.err conftest.$ac_ext
14718 if $ac_preproc_ok; then
14719 :
14720 else
14721 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14722 See \`config.log' for more details." >&5
14723 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14724 See \`config.log' for more details." >&2;}
14725 { (exit 1); exit 1; }; }
14726 fi
14727
14728 ac_ext=c
14729 ac_cpp='$CPP $CPPFLAGS'
14730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14733
14734
14735 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14736 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14737 if test "${ac_cv_path_GREP+set}" = set; then
14738 echo $ECHO_N "(cached) $ECHO_C" >&6
14739 else
14740 # Extract the first word of "grep ggrep" to use in msg output
14741 if test -z "$GREP"; then
14742 set dummy grep ggrep; ac_prog_name=$2
14743 if test "${ac_cv_path_GREP+set}" = set; then
14744 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 else
14746 ac_path_GREP_found=false
14747 # Loop through the user's path and test for each of PROGNAME-LIST
14748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14749 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14750 do
14751 IFS=$as_save_IFS
14752 test -z "$as_dir" && as_dir=.
14753 for ac_prog in grep ggrep; do
14754 for ac_exec_ext in '' $ac_executable_extensions; do
14755 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14756 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14757 # Check for GNU ac_path_GREP and select it if it is found.
14758 # Check for GNU $ac_path_GREP
14759 case `"$ac_path_GREP" --version 2>&1` in
14760 *GNU*)
14761 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14762 *)
14763 ac_count=0
14764 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14765 while :
14766 do
14767 cat "conftest.in" "conftest.in" >"conftest.tmp"
14768 mv "conftest.tmp" "conftest.in"
14769 cp "conftest.in" "conftest.nl"
14770 echo 'GREP' >> "conftest.nl"
14771 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14772 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14773 ac_count=`expr $ac_count + 1`
14774 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14775 # Best one so far, save it but keep looking for a better one
14776 ac_cv_path_GREP="$ac_path_GREP"
14777 ac_path_GREP_max=$ac_count
14778 fi
14779 # 10*(2^10) chars as input seems more than enough
14780 test $ac_count -gt 10 && break
14781 done
14782 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14783 esac
14784
14785
14786 $ac_path_GREP_found && break 3
14787 done
14788 done
14789
14790 done
14791 IFS=$as_save_IFS
14792
14793
14794 fi
14795
14796 GREP="$ac_cv_path_GREP"
14797 if test -z "$GREP"; then
14798 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14799 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14800 { (exit 1); exit 1; }; }
14801 fi
14802
14803 else
14804 ac_cv_path_GREP=$GREP
14805 fi
14806
14807
14808 fi
14809 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14810 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14811 GREP="$ac_cv_path_GREP"
14812
14813
14814 { echo "$as_me:$LINENO: checking for egrep" >&5
14815 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14816 if test "${ac_cv_path_EGREP+set}" = set; then
14817 echo $ECHO_N "(cached) $ECHO_C" >&6
14818 else
14819 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14820 then ac_cv_path_EGREP="$GREP -E"
14821 else
14822 # Extract the first word of "egrep" to use in msg output
14823 if test -z "$EGREP"; then
14824 set dummy egrep; ac_prog_name=$2
14825 if test "${ac_cv_path_EGREP+set}" = set; then
14826 echo $ECHO_N "(cached) $ECHO_C" >&6
14827 else
14828 ac_path_EGREP_found=false
14829 # Loop through the user's path and test for each of PROGNAME-LIST
14830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14832 do
14833 IFS=$as_save_IFS
14834 test -z "$as_dir" && as_dir=.
14835 for ac_prog in egrep; do
14836 for ac_exec_ext in '' $ac_executable_extensions; do
14837 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14838 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14839 # Check for GNU ac_path_EGREP and select it if it is found.
14840 # Check for GNU $ac_path_EGREP
14841 case `"$ac_path_EGREP" --version 2>&1` in
14842 *GNU*)
14843 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14844 *)
14845 ac_count=0
14846 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14847 while :
14848 do
14849 cat "conftest.in" "conftest.in" >"conftest.tmp"
14850 mv "conftest.tmp" "conftest.in"
14851 cp "conftest.in" "conftest.nl"
14852 echo 'EGREP' >> "conftest.nl"
14853 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14854 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14855 ac_count=`expr $ac_count + 1`
14856 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14857 # Best one so far, save it but keep looking for a better one
14858 ac_cv_path_EGREP="$ac_path_EGREP"
14859 ac_path_EGREP_max=$ac_count
14860 fi
14861 # 10*(2^10) chars as input seems more than enough
14862 test $ac_count -gt 10 && break
14863 done
14864 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14865 esac
14866
14867
14868 $ac_path_EGREP_found && break 3
14869 done
14870 done
14871
14872 done
14873 IFS=$as_save_IFS
14874
14875
14876 fi
14877
14878 EGREP="$ac_cv_path_EGREP"
14879 if test -z "$EGREP"; then
14880 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14881 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14882 { (exit 1); exit 1; }; }
14883 fi
14884
14885 else
14886 ac_cv_path_EGREP=$EGREP
14887 fi
14888
14889
14890 fi
14891 fi
14892 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14893 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14894 EGREP="$ac_cv_path_EGREP"
14895
14896
14897 if test $ac_cv_c_compiler_gnu = yes; then
14898 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14899 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14900 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14901 echo $ECHO_N "(cached) $ECHO_C" >&6
14902 else
14903 ac_pattern="Autoconf.*'x'"
14904 cat >conftest.$ac_ext <<_ACEOF
14905 /* confdefs.h. */
14906 _ACEOF
14907 cat confdefs.h >>conftest.$ac_ext
14908 cat >>conftest.$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14910 #include <sgtty.h>
14911 Autoconf TIOCGETP
14912 _ACEOF
14913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14914 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14915 ac_cv_prog_gcc_traditional=yes
14916 else
14917 ac_cv_prog_gcc_traditional=no
14918 fi
14919 rm -f conftest*
14920
14921
14922 if test $ac_cv_prog_gcc_traditional = no; then
14923 cat >conftest.$ac_ext <<_ACEOF
14924 /* confdefs.h. */
14925 _ACEOF
14926 cat confdefs.h >>conftest.$ac_ext
14927 cat >>conftest.$ac_ext <<_ACEOF
14928 /* end confdefs.h. */
14929 #include <termio.h>
14930 Autoconf TCGETA
14931 _ACEOF
14932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14933 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14934 ac_cv_prog_gcc_traditional=yes
14935 fi
14936 rm -f conftest*
14937
14938 fi
14939 fi
14940 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14941 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14942 if test $ac_cv_prog_gcc_traditional = yes; then
14943 CC="$CC -traditional"
14944 fi
14945 fi
14946
14947
14948 CXXFLAGS=${CXXFLAGS:=}
14949
14950
14951
14952 ac_ext=cpp
14953 ac_cpp='$CXXCPP $CPPFLAGS'
14954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14957 if test -z "$CXX"; then
14958 if test -n "$CCC"; then
14959 CXX=$CCC
14960 else
14961 if test -n "$ac_tool_prefix"; then
14962 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14963 do
14964 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14965 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14968 if test "${ac_cv_prog_CXX+set}" = set; then
14969 echo $ECHO_N "(cached) $ECHO_C" >&6
14970 else
14971 if test -n "$CXX"; then
14972 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14973 else
14974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14975 for as_dir in $PATH
14976 do
14977 IFS=$as_save_IFS
14978 test -z "$as_dir" && as_dir=.
14979 for ac_exec_ext in '' $ac_executable_extensions; do
14980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14981 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14983 break 2
14984 fi
14985 done
14986 done
14987 IFS=$as_save_IFS
14988
14989 fi
14990 fi
14991 CXX=$ac_cv_prog_CXX
14992 if test -n "$CXX"; then
14993 { echo "$as_me:$LINENO: result: $CXX" >&5
14994 echo "${ECHO_T}$CXX" >&6; }
14995 else
14996 { echo "$as_me:$LINENO: result: no" >&5
14997 echo "${ECHO_T}no" >&6; }
14998 fi
14999
15000
15001 test -n "$CXX" && break
15002 done
15003 fi
15004 if test -z "$CXX"; then
15005 ac_ct_CXX=$CXX
15006 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15007 do
15008 # Extract the first word of "$ac_prog", so it can be a program name with args.
15009 set dummy $ac_prog; ac_word=$2
15010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15012 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15013 echo $ECHO_N "(cached) $ECHO_C" >&6
15014 else
15015 if test -n "$ac_ct_CXX"; then
15016 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15017 else
15018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15019 for as_dir in $PATH
15020 do
15021 IFS=$as_save_IFS
15022 test -z "$as_dir" && as_dir=.
15023 for ac_exec_ext in '' $ac_executable_extensions; do
15024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15025 ac_cv_prog_ac_ct_CXX="$ac_prog"
15026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15027 break 2
15028 fi
15029 done
15030 done
15031 IFS=$as_save_IFS
15032
15033 fi
15034 fi
15035 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15036 if test -n "$ac_ct_CXX"; then
15037 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15038 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15039 else
15040 { echo "$as_me:$LINENO: result: no" >&5
15041 echo "${ECHO_T}no" >&6; }
15042 fi
15043
15044
15045 test -n "$ac_ct_CXX" && break
15046 done
15047
15048 if test "x$ac_ct_CXX" = x; then
15049 CXX="g++"
15050 else
15051 case $cross_compiling:$ac_tool_warned in
15052 yes:)
15053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15054 whose name does not start with the host triplet. If you think this
15055 configuration is useful to you, please write to autoconf@gnu.org." >&5
15056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15057 whose name does not start with the host triplet. If you think this
15058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15059 ac_tool_warned=yes ;;
15060 esac
15061 CXX=$ac_ct_CXX
15062 fi
15063 fi
15064
15065 fi
15066 fi
15067 # Provide some information about the compiler.
15068 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15069 ac_compiler=`set X $ac_compile; echo $2`
15070 { (ac_try="$ac_compiler --version >&5"
15071 case "(($ac_try" in
15072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15074 esac
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_compiler --version >&5") 2>&5
15077 ac_status=$?
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }
15080 { (ac_try="$ac_compiler -v >&5"
15081 case "(($ac_try" in
15082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15083 *) ac_try_echo=$ac_try;;
15084 esac
15085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15086 (eval "$ac_compiler -v >&5") 2>&5
15087 ac_status=$?
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); }
15090 { (ac_try="$ac_compiler -V >&5"
15091 case "(($ac_try" in
15092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15093 *) ac_try_echo=$ac_try;;
15094 esac
15095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15096 (eval "$ac_compiler -V >&5") 2>&5
15097 ac_status=$?
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }
15100
15101 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15102 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15103 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 else
15106 cat >conftest.$ac_ext <<_ACEOF
15107 /* confdefs.h. */
15108 _ACEOF
15109 cat confdefs.h >>conftest.$ac_ext
15110 cat >>conftest.$ac_ext <<_ACEOF
15111 /* end confdefs.h. */
15112
15113 int
15114 main ()
15115 {
15116 #ifndef __GNUC__
15117 choke me
15118 #endif
15119
15120 ;
15121 return 0;
15122 }
15123 _ACEOF
15124 rm -f conftest.$ac_objext
15125 if { (ac_try="$ac_compile"
15126 case "(($ac_try" in
15127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15128 *) ac_try_echo=$ac_try;;
15129 esac
15130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15131 (eval "$ac_compile") 2>conftest.er1
15132 ac_status=$?
15133 grep -v '^ *+' conftest.er1 >conftest.err
15134 rm -f conftest.er1
15135 cat conftest.err >&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } && {
15138 test -z "$ac_cxx_werror_flag" ||
15139 test ! -s conftest.err
15140 } && test -s conftest.$ac_objext; then
15141 ac_compiler_gnu=yes
15142 else
15143 echo "$as_me: failed program was:" >&5
15144 sed 's/^/| /' conftest.$ac_ext >&5
15145
15146 ac_compiler_gnu=no
15147 fi
15148
15149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15150 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15151
15152 fi
15153 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15154 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15155 GXX=`test $ac_compiler_gnu = yes && echo yes`
15156 ac_test_CXXFLAGS=${CXXFLAGS+set}
15157 ac_save_CXXFLAGS=$CXXFLAGS
15158 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15159 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15160 if test "${ac_cv_prog_cxx_g+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 else
15163 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15164 ac_cxx_werror_flag=yes
15165 ac_cv_prog_cxx_g=no
15166 CXXFLAGS="-g"
15167 cat >conftest.$ac_ext <<_ACEOF
15168 /* confdefs.h. */
15169 _ACEOF
15170 cat confdefs.h >>conftest.$ac_ext
15171 cat >>conftest.$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15173
15174 int
15175 main ()
15176 {
15177
15178 ;
15179 return 0;
15180 }
15181 _ACEOF
15182 rm -f conftest.$ac_objext
15183 if { (ac_try="$ac_compile"
15184 case "(($ac_try" in
15185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15186 *) ac_try_echo=$ac_try;;
15187 esac
15188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15189 (eval "$ac_compile") 2>conftest.er1
15190 ac_status=$?
15191 grep -v '^ *+' conftest.er1 >conftest.err
15192 rm -f conftest.er1
15193 cat conftest.err >&5
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); } && {
15196 test -z "$ac_cxx_werror_flag" ||
15197 test ! -s conftest.err
15198 } && test -s conftest.$ac_objext; then
15199 ac_cv_prog_cxx_g=yes
15200 else
15201 echo "$as_me: failed program was:" >&5
15202 sed 's/^/| /' conftest.$ac_ext >&5
15203
15204 CXXFLAGS=""
15205 cat >conftest.$ac_ext <<_ACEOF
15206 /* confdefs.h. */
15207 _ACEOF
15208 cat confdefs.h >>conftest.$ac_ext
15209 cat >>conftest.$ac_ext <<_ACEOF
15210 /* end confdefs.h. */
15211
15212 int
15213 main ()
15214 {
15215
15216 ;
15217 return 0;
15218 }
15219 _ACEOF
15220 rm -f conftest.$ac_objext
15221 if { (ac_try="$ac_compile"
15222 case "(($ac_try" in
15223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15224 *) ac_try_echo=$ac_try;;
15225 esac
15226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15227 (eval "$ac_compile") 2>conftest.er1
15228 ac_status=$?
15229 grep -v '^ *+' conftest.er1 >conftest.err
15230 rm -f conftest.er1
15231 cat conftest.err >&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } && {
15234 test -z "$ac_cxx_werror_flag" ||
15235 test ! -s conftest.err
15236 } && test -s conftest.$ac_objext; then
15237 :
15238 else
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.$ac_ext >&5
15241
15242 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15243 CXXFLAGS="-g"
15244 cat >conftest.$ac_ext <<_ACEOF
15245 /* confdefs.h. */
15246 _ACEOF
15247 cat confdefs.h >>conftest.$ac_ext
15248 cat >>conftest.$ac_ext <<_ACEOF
15249 /* end confdefs.h. */
15250
15251 int
15252 main ()
15253 {
15254
15255 ;
15256 return 0;
15257 }
15258 _ACEOF
15259 rm -f conftest.$ac_objext
15260 if { (ac_try="$ac_compile"
15261 case "(($ac_try" in
15262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15263 *) ac_try_echo=$ac_try;;
15264 esac
15265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15266 (eval "$ac_compile") 2>conftest.er1
15267 ac_status=$?
15268 grep -v '^ *+' conftest.er1 >conftest.err
15269 rm -f conftest.er1
15270 cat conftest.err >&5
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); } && {
15273 test -z "$ac_cxx_werror_flag" ||
15274 test ! -s conftest.err
15275 } && test -s conftest.$ac_objext; then
15276 ac_cv_prog_cxx_g=yes
15277 else
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.$ac_ext >&5
15280
15281
15282 fi
15283
15284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15285 fi
15286
15287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15288 fi
15289
15290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15291 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15292 fi
15293 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15294 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15295 if test "$ac_test_CXXFLAGS" = set; then
15296 CXXFLAGS=$ac_save_CXXFLAGS
15297 elif test $ac_cv_prog_cxx_g = yes; then
15298 if test "$GXX" = yes; then
15299 CXXFLAGS="-g -O2"
15300 else
15301 CXXFLAGS="-g"
15302 fi
15303 else
15304 if test "$GXX" = yes; then
15305 CXXFLAGS="-O2"
15306 else
15307 CXXFLAGS=
15308 fi
15309 fi
15310 ac_ext=c
15311 ac_cpp='$CPP $CPPFLAGS'
15312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15315
15316
15317
15318 ac_ext=cpp
15319 ac_cpp='$CXXCPP $CPPFLAGS'
15320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15323
15324 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15325 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15326 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15328 else
15329 cat >conftest.$ac_ext <<_ACEOF
15330 /* confdefs.h. */
15331 _ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15335
15336 int
15337 main ()
15338 {
15339
15340 #ifndef __INTEL_COMPILER
15341 choke me
15342 #endif
15343
15344 ;
15345 return 0;
15346 }
15347 _ACEOF
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15353 esac
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15356 ac_status=$?
15357 grep -v '^ *+' conftest.er1 >conftest.err
15358 rm -f conftest.er1
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_cxx_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15365 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15366 else
15367 echo "$as_me: failed program was:" >&5
15368 sed 's/^/| /' conftest.$ac_ext >&5
15369
15370 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15371
15372 fi
15373
15374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15375
15376
15377 fi
15378 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15379 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15380 ac_ext=c
15381 ac_cpp='$CPP $CPPFLAGS'
15382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15385
15386 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15387 :; INTELCXX=yes
15388 else
15389 :;
15390 fi
15391
15392
15393 if test "x$GCXX" != "xyes"; then
15394 if test "xCXX" = "xC"; then
15395 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15396 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15397 if test "${bakefile_cv_c_exto+set}" = set; then
15398 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 else
15400 cat >conftest.$ac_ext <<_ACEOF
15401 /* confdefs.h. */
15402 _ACEOF
15403 cat confdefs.h >>conftest.$ac_ext
15404 cat >>conftest.$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15406
15407 int
15408 main ()
15409 {
15410
15411 ;
15412 return 0;
15413 }
15414 _ACEOF
15415 rm -f conftest.$ac_objext conftest.$ac_ext.o
15416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15417 (eval $ac_compile) 2>&5
15418 ac_status=$?
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); }; then
15421 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15422 case $ac_file in
15423 conftest.$ac_ext.o)
15424 bakefile_cv_c_exto="-ext o"
15425 ;;
15426 *)
15427 ;;
15428 esac
15429 done
15430 else
15431 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15432 See \`config.log' for more details." >&5
15433 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15434 See \`config.log' for more details." >&2;}
15435 { (exit 1); exit 1; }; }
15436
15437 fi
15438
15439 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15440
15441 fi
15442 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15443 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15444 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15445 if test "c" = "c"; then
15446 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15447 fi
15448 if test "c" = "cxx"; then
15449 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15450 fi
15451 fi
15452
15453 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15454 unset ac_cv_prog_cc_g
15455 ac_test_CFLAGS=${CFLAGS+set}
15456 ac_save_CFLAGS=$CFLAGS
15457 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15458 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15459 if test "${ac_cv_prog_cc_g+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15461 else
15462 ac_save_c_werror_flag=$ac_c_werror_flag
15463 ac_c_werror_flag=yes
15464 ac_cv_prog_cc_g=no
15465 CFLAGS="-g"
15466 cat >conftest.$ac_ext <<_ACEOF
15467 /* confdefs.h. */
15468 _ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472
15473 int
15474 main ()
15475 {
15476
15477 ;
15478 return 0;
15479 }
15480 _ACEOF
15481 rm -f conftest.$ac_objext
15482 if { (ac_try="$ac_compile"
15483 case "(($ac_try" in
15484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15486 esac
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_compile") 2>conftest.er1
15489 ac_status=$?
15490 grep -v '^ *+' conftest.er1 >conftest.err
15491 rm -f conftest.er1
15492 cat conftest.err >&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } && {
15495 test -z "$ac_c_werror_flag" ||
15496 test ! -s conftest.err
15497 } && test -s conftest.$ac_objext; then
15498 ac_cv_prog_cc_g=yes
15499 else
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15502
15503 CFLAGS=""
15504 cat >conftest.$ac_ext <<_ACEOF
15505 /* confdefs.h. */
15506 _ACEOF
15507 cat confdefs.h >>conftest.$ac_ext
15508 cat >>conftest.$ac_ext <<_ACEOF
15509 /* end confdefs.h. */
15510
15511 int
15512 main ()
15513 {
15514
15515 ;
15516 return 0;
15517 }
15518 _ACEOF
15519 rm -f conftest.$ac_objext
15520 if { (ac_try="$ac_compile"
15521 case "(($ac_try" in
15522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15523 *) ac_try_echo=$ac_try;;
15524 esac
15525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15526 (eval "$ac_compile") 2>conftest.er1
15527 ac_status=$?
15528 grep -v '^ *+' conftest.er1 >conftest.err
15529 rm -f conftest.er1
15530 cat conftest.err >&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && {
15533 test -z "$ac_c_werror_flag" ||
15534 test ! -s conftest.err
15535 } && test -s conftest.$ac_objext; then
15536 :
15537 else
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.$ac_ext >&5
15540
15541 ac_c_werror_flag=$ac_save_c_werror_flag
15542 CFLAGS="-g"
15543 cat >conftest.$ac_ext <<_ACEOF
15544 /* confdefs.h. */
15545 _ACEOF
15546 cat confdefs.h >>conftest.$ac_ext
15547 cat >>conftest.$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15549
15550 int
15551 main ()
15552 {
15553
15554 ;
15555 return 0;
15556 }
15557 _ACEOF
15558 rm -f conftest.$ac_objext
15559 if { (ac_try="$ac_compile"
15560 case "(($ac_try" in
15561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15562 *) ac_try_echo=$ac_try;;
15563 esac
15564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15565 (eval "$ac_compile") 2>conftest.er1
15566 ac_status=$?
15567 grep -v '^ *+' conftest.er1 >conftest.err
15568 rm -f conftest.er1
15569 cat conftest.err >&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); } && {
15572 test -z "$ac_c_werror_flag" ||
15573 test ! -s conftest.err
15574 } && test -s conftest.$ac_objext; then
15575 ac_cv_prog_cc_g=yes
15576 else
15577 echo "$as_me: failed program was:" >&5
15578 sed 's/^/| /' conftest.$ac_ext >&5
15579
15580
15581 fi
15582
15583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584 fi
15585
15586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15587 fi
15588
15589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15590 ac_c_werror_flag=$ac_save_c_werror_flag
15591 fi
15592 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15593 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15594 if test "$ac_test_CFLAGS" = set; then
15595 CFLAGS=$ac_save_CFLAGS
15596 elif test $ac_cv_prog_cc_g = yes; then
15597 if test "$GCC" = yes; then
15598 CFLAGS="-g -O2"
15599 else
15600 CFLAGS="-g"
15601 fi
15602 else
15603 if test "$GCC" = yes; then
15604 CFLAGS="-O2"
15605 else
15606 CFLAGS=
15607 fi
15608 fi
15609 fi
15610 fi
15611
15612 case `uname -s` in
15613 AIX*)
15614 ac_ext=cpp
15615 ac_cpp='$CXXCPP $CPPFLAGS'
15616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15619
15620 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15621 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15622 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15623 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 else
15625 cat >conftest.$ac_ext <<_ACEOF
15626 /* confdefs.h. */
15627 _ACEOF
15628 cat confdefs.h >>conftest.$ac_ext
15629 cat >>conftest.$ac_ext <<_ACEOF
15630 /* end confdefs.h. */
15631
15632 int
15633 main ()
15634 {
15635 #ifndef __xlC__
15636 choke me
15637 #endif
15638
15639 ;
15640 return 0;
15641 }
15642 _ACEOF
15643 rm -f conftest.$ac_objext
15644 if { (ac_try="$ac_compile"
15645 case "(($ac_try" in
15646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15647 *) ac_try_echo=$ac_try;;
15648 esac
15649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15650 (eval "$ac_compile") 2>conftest.er1
15651 ac_status=$?
15652 grep -v '^ *+' conftest.er1 >conftest.err
15653 rm -f conftest.er1
15654 cat conftest.err >&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } && {
15657 test -z "$ac_cxx_werror_flag" ||
15658 test ! -s conftest.err
15659 } && test -s conftest.$ac_objext; then
15660 bakefile_compiler_xlc=yes
15661 else
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.$ac_ext >&5
15664
15665 bakefile_compiler_xlc=no
15666 fi
15667
15668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15669 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15670
15671 fi
15672 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15673 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15674
15675 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15676 ac_ext=c
15677 ac_cpp='$CPP $CPPFLAGS'
15678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15681
15682
15683 ;;
15684
15685 Darwin)
15686 ac_ext=cpp
15687 ac_cpp='$CXXCPP $CPPFLAGS'
15688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15691
15692 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15693 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15694 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15695 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 else
15697 cat >conftest.$ac_ext <<_ACEOF
15698 /* confdefs.h. */
15699 _ACEOF
15700 cat confdefs.h >>conftest.$ac_ext
15701 cat >>conftest.$ac_ext <<_ACEOF
15702 /* end confdefs.h. */
15703
15704 int
15705 main ()
15706 {
15707 #ifndef __MWERKS__
15708 choke me
15709 #endif
15710
15711 ;
15712 return 0;
15713 }
15714 _ACEOF
15715 rm -f conftest.$ac_objext
15716 if { (ac_try="$ac_compile"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15720 esac
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_compile") 2>conftest.er1
15723 ac_status=$?
15724 grep -v '^ *+' conftest.er1 >conftest.err
15725 rm -f conftest.er1
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } && {
15729 test -z "$ac_cxx_werror_flag" ||
15730 test ! -s conftest.err
15731 } && test -s conftest.$ac_objext; then
15732 bakefile_compiler_mwerks=yes
15733 else
15734 echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.$ac_ext >&5
15736
15737 bakefile_compiler_mwerks=no
15738 fi
15739
15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15741 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15742
15743 fi
15744 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15745 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15746
15747 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15748 ac_ext=c
15749 ac_cpp='$CPP $CPPFLAGS'
15750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15753
15754
15755 ac_ext=cpp
15756 ac_cpp='$CXXCPP $CPPFLAGS'
15757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15760
15761 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15762 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15763 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15764 echo $ECHO_N "(cached) $ECHO_C" >&6
15765 else
15766 cat >conftest.$ac_ext <<_ACEOF
15767 /* confdefs.h. */
15768 _ACEOF
15769 cat confdefs.h >>conftest.$ac_ext
15770 cat >>conftest.$ac_ext <<_ACEOF
15771 /* end confdefs.h. */
15772
15773 int
15774 main ()
15775 {
15776 #ifndef __xlC__
15777 choke me
15778 #endif
15779
15780 ;
15781 return 0;
15782 }
15783 _ACEOF
15784 rm -f conftest.$ac_objext
15785 if { (ac_try="$ac_compile"
15786 case "(($ac_try" in
15787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15788 *) ac_try_echo=$ac_try;;
15789 esac
15790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15791 (eval "$ac_compile") 2>conftest.er1
15792 ac_status=$?
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } && {
15798 test -z "$ac_cxx_werror_flag" ||
15799 test ! -s conftest.err
15800 } && test -s conftest.$ac_objext; then
15801 bakefile_compiler_xlc=yes
15802 else
15803 echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.$ac_ext >&5
15805
15806 bakefile_compiler_xlc=no
15807 fi
15808
15809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15810 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15811
15812 fi
15813 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15814 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15815
15816 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15817 ac_ext=c
15818 ac_cpp='$CPP $CPPFLAGS'
15819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15822
15823
15824 ;;
15825
15826 IRIX*)
15827
15828
15829 ac_ext=cpp
15830 ac_cpp='$CXXCPP $CPPFLAGS'
15831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15834
15835 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15836 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15837 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15838 echo $ECHO_N "(cached) $ECHO_C" >&6
15839 else
15840 cat >conftest.$ac_ext <<_ACEOF
15841 /* confdefs.h. */
15842 _ACEOF
15843 cat confdefs.h >>conftest.$ac_ext
15844 cat >>conftest.$ac_ext <<_ACEOF
15845 /* end confdefs.h. */
15846
15847 int
15848 main ()
15849 {
15850
15851 #ifndef _SGI_COMPILER_VERSION
15852 choke me
15853 #endif
15854
15855 ;
15856 return 0;
15857 }
15858 _ACEOF
15859 rm -f conftest.$ac_objext
15860 if { (ac_try="$ac_compile"
15861 case "(($ac_try" in
15862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15863 *) ac_try_echo=$ac_try;;
15864 esac
15865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15866 (eval "$ac_compile") 2>conftest.er1
15867 ac_status=$?
15868 grep -v '^ *+' conftest.er1 >conftest.err
15869 rm -f conftest.er1
15870 cat conftest.err >&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } && {
15873 test -z "$ac_cxx_werror_flag" ||
15874 test ! -s conftest.err
15875 } && test -s conftest.$ac_objext; then
15876 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15877 else
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15880
15881 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15882
15883 fi
15884
15885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15886
15887
15888 fi
15889 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15890 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15891 ac_ext=c
15892 ac_cpp='$CPP $CPPFLAGS'
15893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15896
15897 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15898 :; SGICXX=yes
15899 else
15900 :;
15901 fi
15902
15903
15904 ;;
15905
15906 HP-UX*)
15907
15908
15909 ac_ext=cpp
15910 ac_cpp='$CXXCPP $CPPFLAGS'
15911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15914
15915 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15916 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15917 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15918 echo $ECHO_N "(cached) $ECHO_C" >&6
15919 else
15920 cat >conftest.$ac_ext <<_ACEOF
15921 /* confdefs.h. */
15922 _ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926
15927 int
15928 main ()
15929 {
15930
15931 #ifndef __HP_aCC
15932 choke me
15933 #endif
15934
15935 ;
15936 return 0;
15937 }
15938 _ACEOF
15939 rm -f conftest.$ac_objext
15940 if { (ac_try="$ac_compile"
15941 case "(($ac_try" in
15942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15943 *) ac_try_echo=$ac_try;;
15944 esac
15945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15946 (eval "$ac_compile") 2>conftest.er1
15947 ac_status=$?
15948 grep -v '^ *+' conftest.er1 >conftest.err
15949 rm -f conftest.er1
15950 cat conftest.err >&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); } && {
15953 test -z "$ac_cxx_werror_flag" ||
15954 test ! -s conftest.err
15955 } && test -s conftest.$ac_objext; then
15956 bakefile_cv_cxx_compiler___HP_aCC=yes
15957 else
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15960
15961 bakefile_cv_cxx_compiler___HP_aCC=no
15962
15963 fi
15964
15965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15966
15967
15968 fi
15969 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15970 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
15971 ac_ext=c
15972 ac_cpp='$CPP $CPPFLAGS'
15973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15976
15977 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15978 :; HPCXX=yes
15979 else
15980 :;
15981 fi
15982
15983
15984 ;;
15985
15986 OSF1)
15987
15988
15989 ac_ext=cpp
15990 ac_cpp='$CXXCPP $CPPFLAGS'
15991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15994
15995 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15996 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
15997 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
15999 else
16000 cat >conftest.$ac_ext <<_ACEOF
16001 /* confdefs.h. */
16002 _ACEOF
16003 cat confdefs.h >>conftest.$ac_ext
16004 cat >>conftest.$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16006
16007 int
16008 main ()
16009 {
16010
16011 #ifndef __DECCXX
16012 choke me
16013 #endif
16014
16015 ;
16016 return 0;
16017 }
16018 _ACEOF
16019 rm -f conftest.$ac_objext
16020 if { (ac_try="$ac_compile"
16021 case "(($ac_try" in
16022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;;
16024 esac
16025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16026 (eval "$ac_compile") 2>conftest.er1
16027 ac_status=$?
16028 grep -v '^ *+' conftest.er1 >conftest.err
16029 rm -f conftest.er1
16030 cat conftest.err >&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } && {
16033 test -z "$ac_cxx_werror_flag" ||
16034 test ! -s conftest.err
16035 } && test -s conftest.$ac_objext; then
16036 bakefile_cv_cxx_compiler___DECCXX=yes
16037 else
16038 echo "$as_me: failed program was:" >&5
16039 sed 's/^/| /' conftest.$ac_ext >&5
16040
16041 bakefile_cv_cxx_compiler___DECCXX=no
16042
16043 fi
16044
16045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16046
16047
16048 fi
16049 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16050 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16051 ac_ext=c
16052 ac_cpp='$CPP $CPPFLAGS'
16053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16056
16057 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16058 :; COMPAQCXX=yes
16059 else
16060 :;
16061 fi
16062
16063
16064 ;;
16065
16066 SunOS)
16067
16068
16069 ac_ext=cpp
16070 ac_cpp='$CXXCPP $CPPFLAGS'
16071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16074
16075 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16076 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16077 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16078 echo $ECHO_N "(cached) $ECHO_C" >&6
16079 else
16080 cat >conftest.$ac_ext <<_ACEOF
16081 /* confdefs.h. */
16082 _ACEOF
16083 cat confdefs.h >>conftest.$ac_ext
16084 cat >>conftest.$ac_ext <<_ACEOF
16085 /* end confdefs.h. */
16086
16087 int
16088 main ()
16089 {
16090
16091 #ifndef __SUNPRO_CC
16092 choke me
16093 #endif
16094
16095 ;
16096 return 0;
16097 }
16098 _ACEOF
16099 rm -f conftest.$ac_objext
16100 if { (ac_try="$ac_compile"
16101 case "(($ac_try" in
16102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16103 *) ac_try_echo=$ac_try;;
16104 esac
16105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16106 (eval "$ac_compile") 2>conftest.er1
16107 ac_status=$?
16108 grep -v '^ *+' conftest.er1 >conftest.err
16109 rm -f conftest.er1
16110 cat conftest.err >&5
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); } && {
16113 test -z "$ac_cxx_werror_flag" ||
16114 test ! -s conftest.err
16115 } && test -s conftest.$ac_objext; then
16116 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16117 else
16118 echo "$as_me: failed program was:" >&5
16119 sed 's/^/| /' conftest.$ac_ext >&5
16120
16121 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16122
16123 fi
16124
16125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16126
16127
16128 fi
16129 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16130 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16131 ac_ext=c
16132 ac_cpp='$CPP $CPPFLAGS'
16133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16136
16137 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16138 :; SUNCXX=yes
16139 else
16140 :;
16141 fi
16142
16143
16144 ;;
16145 esac
16146 fi
16147
16148
16149
16150 if test -n "$ac_tool_prefix"; then
16151 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16152 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16155 if test "${ac_cv_prog_RANLIB+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16157 else
16158 if test -n "$RANLIB"; then
16159 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16160 else
16161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16162 for as_dir in $PATH
16163 do
16164 IFS=$as_save_IFS
16165 test -z "$as_dir" && as_dir=.
16166 for ac_exec_ext in '' $ac_executable_extensions; do
16167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16168 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16170 break 2
16171 fi
16172 done
16173 done
16174 IFS=$as_save_IFS
16175
16176 fi
16177 fi
16178 RANLIB=$ac_cv_prog_RANLIB
16179 if test -n "$RANLIB"; then
16180 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16181 echo "${ECHO_T}$RANLIB" >&6; }
16182 else
16183 { echo "$as_me:$LINENO: result: no" >&5
16184 echo "${ECHO_T}no" >&6; }
16185 fi
16186
16187
16188 fi
16189 if test -z "$ac_cv_prog_RANLIB"; then
16190 ac_ct_RANLIB=$RANLIB
16191 # Extract the first word of "ranlib", so it can be a program name with args.
16192 set dummy ranlib; ac_word=$2
16193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16195 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16198 if test -n "$ac_ct_RANLIB"; then
16199 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16200 else
16201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16202 for as_dir in $PATH
16203 do
16204 IFS=$as_save_IFS
16205 test -z "$as_dir" && as_dir=.
16206 for ac_exec_ext in '' $ac_executable_extensions; do
16207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16208 ac_cv_prog_ac_ct_RANLIB="ranlib"
16209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16210 break 2
16211 fi
16212 done
16213 done
16214 IFS=$as_save_IFS
16215
16216 fi
16217 fi
16218 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16219 if test -n "$ac_ct_RANLIB"; then
16220 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16221 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16222 else
16223 { echo "$as_me:$LINENO: result: no" >&5
16224 echo "${ECHO_T}no" >&6; }
16225 fi
16226
16227 if test "x$ac_ct_RANLIB" = x; then
16228 RANLIB=":"
16229 else
16230 case $cross_compiling:$ac_tool_warned in
16231 yes:)
16232 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16233 whose name does not start with the host triplet. If you think this
16234 configuration is useful to you, please write to autoconf@gnu.org." >&5
16235 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16236 whose name does not start with the host triplet. If you think this
16237 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16238 ac_tool_warned=yes ;;
16239 esac
16240 RANLIB=$ac_ct_RANLIB
16241 fi
16242 else
16243 RANLIB="$ac_cv_prog_RANLIB"
16244 fi
16245
16246
16247 if test "x$SUNCXX" != xyes; then
16248 if test -n "$ac_tool_prefix"; then
16249 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16250 set dummy ${ac_tool_prefix}ar; ac_word=$2
16251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16253 if test "${ac_cv_prog_AR+set}" = set; then
16254 echo $ECHO_N "(cached) $ECHO_C" >&6
16255 else
16256 if test -n "$AR"; then
16257 ac_cv_prog_AR="$AR" # Let the user override the test.
16258 else
16259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16260 for as_dir in $PATH
16261 do
16262 IFS=$as_save_IFS
16263 test -z "$as_dir" && as_dir=.
16264 for ac_exec_ext in '' $ac_executable_extensions; do
16265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16266 ac_cv_prog_AR="${ac_tool_prefix}ar"
16267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16268 break 2
16269 fi
16270 done
16271 done
16272 IFS=$as_save_IFS
16273
16274 fi
16275 fi
16276 AR=$ac_cv_prog_AR
16277 if test -n "$AR"; then
16278 { echo "$as_me:$LINENO: result: $AR" >&5
16279 echo "${ECHO_T}$AR" >&6; }
16280 else
16281 { echo "$as_me:$LINENO: result: no" >&5
16282 echo "${ECHO_T}no" >&6; }
16283 fi
16284
16285
16286 fi
16287 if test -z "$ac_cv_prog_AR"; then
16288 ac_ct_AR=$AR
16289 # Extract the first word of "ar", so it can be a program name with args.
16290 set dummy ar; ac_word=$2
16291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16293 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16294 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 else
16296 if test -n "$ac_ct_AR"; then
16297 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16298 else
16299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16300 for as_dir in $PATH
16301 do
16302 IFS=$as_save_IFS
16303 test -z "$as_dir" && as_dir=.
16304 for ac_exec_ext in '' $ac_executable_extensions; do
16305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16306 ac_cv_prog_ac_ct_AR="ar"
16307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16308 break 2
16309 fi
16310 done
16311 done
16312 IFS=$as_save_IFS
16313
16314 fi
16315 fi
16316 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16317 if test -n "$ac_ct_AR"; then
16318 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16319 echo "${ECHO_T}$ac_ct_AR" >&6; }
16320 else
16321 { echo "$as_me:$LINENO: result: no" >&5
16322 echo "${ECHO_T}no" >&6; }
16323 fi
16324
16325 if test "x$ac_ct_AR" = x; then
16326 AR=""
16327 else
16328 case $cross_compiling:$ac_tool_warned in
16329 yes:)
16330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16331 whose name does not start with the host triplet. If you think this
16332 configuration is useful to you, please write to autoconf@gnu.org." >&5
16333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16334 whose name does not start with the host triplet. If you think this
16335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16336 ac_tool_warned=yes ;;
16337 esac
16338 AR=$ac_ct_AR
16339 fi
16340 else
16341 AR="$ac_cv_prog_AR"
16342 fi
16343
16344 if test "x$AR" = "x" ; then
16345 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16346 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16347 { (exit 1); exit 1; }; }
16348 fi
16349 fi
16350
16351 # Find a good install program. We prefer a C program (faster),
16352 # so one script is as good as another. But avoid the broken or
16353 # incompatible versions:
16354 # SysV /etc/install, /usr/sbin/install
16355 # SunOS /usr/etc/install
16356 # IRIX /sbin/install
16357 # AIX /bin/install
16358 # AmigaOS /C/install, which installs bootblocks on floppy discs
16359 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16360 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16361 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16362 # OS/2's system install, which has a completely different semantic
16363 # ./install, which can be erroneously created by make from ./install.sh.
16364 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16365 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16366 if test -z "$INSTALL"; then
16367 if test "${ac_cv_path_install+set}" = set; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 else
16370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16371 for as_dir in $PATH
16372 do
16373 IFS=$as_save_IFS
16374 test -z "$as_dir" && as_dir=.
16375 # Account for people who put trailing slashes in PATH elements.
16376 case $as_dir/ in
16377 ./ | .// | /cC/* | \
16378 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16379 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16380 /usr/ucb/* ) ;;
16381 *)
16382 # OSF1 and SCO ODT 3.0 have their own names for install.
16383 # Don't use installbsd from OSF since it installs stuff as root
16384 # by default.
16385 for ac_prog in ginstall scoinst install; do
16386 for ac_exec_ext in '' $ac_executable_extensions; do
16387 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16388 if test $ac_prog = install &&
16389 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16390 # AIX install. It has an incompatible calling convention.
16391 :
16392 elif test $ac_prog = install &&
16393 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16394 # program-specific install script used by HP pwplus--don't use.
16395 :
16396 else
16397 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16398 break 3
16399 fi
16400 fi
16401 done
16402 done
16403 ;;
16404 esac
16405 done
16406 IFS=$as_save_IFS
16407
16408
16409 fi
16410 if test "${ac_cv_path_install+set}" = set; then
16411 INSTALL=$ac_cv_path_install
16412 else
16413 # As a last resort, use the slow shell script. Don't cache a
16414 # value for INSTALL within a source directory, because that will
16415 # break other packages using the cache if that directory is
16416 # removed, or if the value is a relative name.
16417 INSTALL=$ac_install_sh
16418 fi
16419 fi
16420 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16421 echo "${ECHO_T}$INSTALL" >&6; }
16422
16423 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16424 # It thinks the first close brace ends the variable substitution.
16425 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16426
16427 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16428
16429 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16430
16431
16432 case ${INSTALL} in
16433 /* ) # Absolute
16434 ;;
16435 ?:* ) # Drive letter, considered as absolute.
16436 ;;
16437 *)
16438 INSTALL=`pwd`/${INSTALL} ;;
16439 esac
16440
16441
16442 case "${host}" in
16443
16444 *-*-darwin* )
16445 INSTALL_PROGRAM="cp -fp"
16446 INSTALL_DATA="cp -fp"
16447 ;;
16448 *)
16449 ;;
16450 esac
16451
16452 if test -n "$ac_tool_prefix"; then
16453 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16454 set dummy ${ac_tool_prefix}strip; ac_word=$2
16455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16457 if test "${ac_cv_prog_STRIP+set}" = set; then
16458 echo $ECHO_N "(cached) $ECHO_C" >&6
16459 else
16460 if test -n "$STRIP"; then
16461 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16462 else
16463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16464 for as_dir in $PATH
16465 do
16466 IFS=$as_save_IFS
16467 test -z "$as_dir" && as_dir=.
16468 for ac_exec_ext in '' $ac_executable_extensions; do
16469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16470 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16472 break 2
16473 fi
16474 done
16475 done
16476 IFS=$as_save_IFS
16477
16478 fi
16479 fi
16480 STRIP=$ac_cv_prog_STRIP
16481 if test -n "$STRIP"; then
16482 { echo "$as_me:$LINENO: result: $STRIP" >&5
16483 echo "${ECHO_T}$STRIP" >&6; }
16484 else
16485 { echo "$as_me:$LINENO: result: no" >&5
16486 echo "${ECHO_T}no" >&6; }
16487 fi
16488
16489
16490 fi
16491 if test -z "$ac_cv_prog_STRIP"; then
16492 ac_ct_STRIP=$STRIP
16493 # Extract the first word of "strip", so it can be a program name with args.
16494 set dummy strip; ac_word=$2
16495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16497 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16498 echo $ECHO_N "(cached) $ECHO_C" >&6
16499 else
16500 if test -n "$ac_ct_STRIP"; then
16501 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16502 else
16503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16504 for as_dir in $PATH
16505 do
16506 IFS=$as_save_IFS
16507 test -z "$as_dir" && as_dir=.
16508 for ac_exec_ext in '' $ac_executable_extensions; do
16509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16510 ac_cv_prog_ac_ct_STRIP="strip"
16511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16512 break 2
16513 fi
16514 done
16515 done
16516 IFS=$as_save_IFS
16517
16518 fi
16519 fi
16520 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16521 if test -n "$ac_ct_STRIP"; then
16522 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16523 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16524 else
16525 { echo "$as_me:$LINENO: result: no" >&5
16526 echo "${ECHO_T}no" >&6; }
16527 fi
16528
16529 if test "x$ac_ct_STRIP" = x; then
16530 STRIP="true"
16531 else
16532 case $cross_compiling:$ac_tool_warned in
16533 yes:)
16534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16535 whose name does not start with the host triplet. If you think this
16536 configuration is useful to you, please write to autoconf@gnu.org." >&5
16537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16538 whose name does not start with the host triplet. If you think this
16539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16540 ac_tool_warned=yes ;;
16541 esac
16542 STRIP=$ac_ct_STRIP
16543 fi
16544 else
16545 STRIP="$ac_cv_prog_STRIP"
16546 fi
16547
16548
16549 if test "$wxUSE_WINE" = "yes"; then
16550 if test -n "$ac_tool_prefix"; then
16551 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16552 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16555 if test "${ac_cv_prog_WINDRES+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 else
16558 if test -n "$WINDRES"; then
16559 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16560 else
16561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16562 for as_dir in $PATH
16563 do
16564 IFS=$as_save_IFS
16565 test -z "$as_dir" && as_dir=.
16566 for ac_exec_ext in '' $ac_executable_extensions; do
16567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16568 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16570 break 2
16571 fi
16572 done
16573 done
16574 IFS=$as_save_IFS
16575
16576 fi
16577 fi
16578 WINDRES=$ac_cv_prog_WINDRES
16579 if test -n "$WINDRES"; then
16580 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16581 echo "${ECHO_T}$WINDRES" >&6; }
16582 else
16583 { echo "$as_me:$LINENO: result: no" >&5
16584 echo "${ECHO_T}no" >&6; }
16585 fi
16586
16587
16588 fi
16589 if test -z "$ac_cv_prog_WINDRES"; then
16590 ac_ct_WINDRES=$WINDRES
16591 # Extract the first word of "wrc", so it can be a program name with args.
16592 set dummy wrc; ac_word=$2
16593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16595 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 else
16598 if test -n "$ac_ct_WINDRES"; then
16599 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16600 else
16601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16602 for as_dir in $PATH
16603 do
16604 IFS=$as_save_IFS
16605 test -z "$as_dir" && as_dir=.
16606 for ac_exec_ext in '' $ac_executable_extensions; do
16607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16608 ac_cv_prog_ac_ct_WINDRES="wrc"
16609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16610 break 2
16611 fi
16612 done
16613 done
16614 IFS=$as_save_IFS
16615
16616 fi
16617 fi
16618 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16619 if test -n "$ac_ct_WINDRES"; then
16620 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16621 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16622 else
16623 { echo "$as_me:$LINENO: result: no" >&5
16624 echo "${ECHO_T}no" >&6; }
16625 fi
16626
16627 if test "x$ac_ct_WINDRES" = x; then
16628 WINDRES=""
16629 else
16630 case $cross_compiling:$ac_tool_warned in
16631 yes:)
16632 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16633 whose name does not start with the host triplet. If you think this
16634 configuration is useful to you, please write to autoconf@gnu.org." >&5
16635 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16636 whose name does not start with the host triplet. If you think this
16637 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16638 ac_tool_warned=yes ;;
16639 esac
16640 WINDRES=$ac_ct_WINDRES
16641 fi
16642 else
16643 WINDRES="$ac_cv_prog_WINDRES"
16644 fi
16645
16646 RESCOMP="$WINDRES"
16647 else
16648 case "${host}" in
16649 *-*-cygwin* | *-*-mingw32* )
16650 if test -n "$ac_tool_prefix"; then
16651 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16652 set dummy ${ac_tool_prefix}windres; ac_word=$2
16653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16655 if test "${ac_cv_prog_WINDRES+set}" = set; then
16656 echo $ECHO_N "(cached) $ECHO_C" >&6
16657 else
16658 if test -n "$WINDRES"; then
16659 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16660 else
16661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16662 for as_dir in $PATH
16663 do
16664 IFS=$as_save_IFS
16665 test -z "$as_dir" && as_dir=.
16666 for ac_exec_ext in '' $ac_executable_extensions; do
16667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16668 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16670 break 2
16671 fi
16672 done
16673 done
16674 IFS=$as_save_IFS
16675
16676 fi
16677 fi
16678 WINDRES=$ac_cv_prog_WINDRES
16679 if test -n "$WINDRES"; then
16680 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16681 echo "${ECHO_T}$WINDRES" >&6; }
16682 else
16683 { echo "$as_me:$LINENO: result: no" >&5
16684 echo "${ECHO_T}no" >&6; }
16685 fi
16686
16687
16688 fi
16689 if test -z "$ac_cv_prog_WINDRES"; then
16690 ac_ct_WINDRES=$WINDRES
16691 # Extract the first word of "windres", so it can be a program name with args.
16692 set dummy windres; ac_word=$2
16693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16695 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16696 echo $ECHO_N "(cached) $ECHO_C" >&6
16697 else
16698 if test -n "$ac_ct_WINDRES"; then
16699 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16700 else
16701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16702 for as_dir in $PATH
16703 do
16704 IFS=$as_save_IFS
16705 test -z "$as_dir" && as_dir=.
16706 for ac_exec_ext in '' $ac_executable_extensions; do
16707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16708 ac_cv_prog_ac_ct_WINDRES="windres"
16709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16710 break 2
16711 fi
16712 done
16713 done
16714 IFS=$as_save_IFS
16715
16716 fi
16717 fi
16718 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16719 if test -n "$ac_ct_WINDRES"; then
16720 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16721 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16722 else
16723 { echo "$as_me:$LINENO: result: no" >&5
16724 echo "${ECHO_T}no" >&6; }
16725 fi
16726
16727 if test "x$ac_ct_WINDRES" = x; then
16728 WINDRES=""
16729 else
16730 case $cross_compiling:$ac_tool_warned in
16731 yes:)
16732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16733 whose name does not start with the host triplet. If you think this
16734 configuration is useful to you, please write to autoconf@gnu.org." >&5
16735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16736 whose name does not start with the host triplet. If you think this
16737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16738 ac_tool_warned=yes ;;
16739 esac
16740 WINDRES=$ac_ct_WINDRES
16741 fi
16742 else
16743 WINDRES="$ac_cv_prog_WINDRES"
16744 fi
16745
16746 RESCOMP="$WINDRES"
16747 if test -n "$ac_tool_prefix"; then
16748 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16749 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16752 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16753 echo $ECHO_N "(cached) $ECHO_C" >&6
16754 else
16755 if test -n "$DLLTOOL"; then
16756 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16757 else
16758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16759 for as_dir in $PATH
16760 do
16761 IFS=$as_save_IFS
16762 test -z "$as_dir" && as_dir=.
16763 for ac_exec_ext in '' $ac_executable_extensions; do
16764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16765 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16767 break 2
16768 fi
16769 done
16770 done
16771 IFS=$as_save_IFS
16772
16773 fi
16774 fi
16775 DLLTOOL=$ac_cv_prog_DLLTOOL
16776 if test -n "$DLLTOOL"; then
16777 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16778 echo "${ECHO_T}$DLLTOOL" >&6; }
16779 else
16780 { echo "$as_me:$LINENO: result: no" >&5
16781 echo "${ECHO_T}no" >&6; }
16782 fi
16783
16784
16785 fi
16786 if test -z "$ac_cv_prog_DLLTOOL"; then
16787 ac_ct_DLLTOOL=$DLLTOOL
16788 # Extract the first word of "dlltool", so it can be a program name with args.
16789 set dummy dlltool; ac_word=$2
16790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16792 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 else
16795 if test -n "$ac_ct_DLLTOOL"; then
16796 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16797 else
16798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16799 for as_dir in $PATH
16800 do
16801 IFS=$as_save_IFS
16802 test -z "$as_dir" && as_dir=.
16803 for ac_exec_ext in '' $ac_executable_extensions; do
16804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16805 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16807 break 2
16808 fi
16809 done
16810 done
16811 IFS=$as_save_IFS
16812
16813 fi
16814 fi
16815 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16816 if test -n "$ac_ct_DLLTOOL"; then
16817 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16818 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16819 else
16820 { echo "$as_me:$LINENO: result: no" >&5
16821 echo "${ECHO_T}no" >&6; }
16822 fi
16823
16824 if test "x$ac_ct_DLLTOOL" = x; then
16825 DLLTOOL=""
16826 else
16827 case $cross_compiling:$ac_tool_warned in
16828 yes:)
16829 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16830 whose name does not start with the host triplet. If you think this
16831 configuration is useful to you, please write to autoconf@gnu.org." >&5
16832 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16833 whose name does not start with the host triplet. If you think this
16834 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16835 ac_tool_warned=yes ;;
16836 esac
16837 DLLTOOL=$ac_ct_DLLTOOL
16838 fi
16839 else
16840 DLLTOOL="$ac_cv_prog_DLLTOOL"
16841 fi
16842
16843 ;;
16844 esac
16845 fi
16846
16847 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16848 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16849 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 else
16852
16853 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16854 $EGREP -s GNU > /dev/null); then
16855 wx_cv_prog_makeisgnu="yes"
16856 else
16857 wx_cv_prog_makeisgnu="no"
16858 fi
16859
16860 fi
16861 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16862 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16863
16864 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16865 IF_GNU_MAKE=""
16866 else
16867 IF_GNU_MAKE="#"
16868 fi
16869
16870
16871
16872 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16873 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16874 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16875 if test "${wx_cv_prog_makevpath+set}" = set; then
16876 echo $ECHO_N "(cached) $ECHO_C" >&6
16877 else
16878
16879 cat - << EOF > confMake
16880 check : file
16881 cp \$? \$@
16882 cp \$? final_file
16883 EOF
16884
16885 if test ! -d sub ; then
16886 mkdir sub
16887 fi
16888 echo dummy > sub/file
16889 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16890 RESULT=$?
16891 rm -f sub/file check final_file confMake
16892 rmdir sub
16893 if test "$RESULT" = 0; then
16894 wx_cv_prog_makevpath="yes"
16895 else
16896 wx_cv_prog_makevpath="no"
16897 fi
16898
16899 fi
16900 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16901 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16902
16903 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16904 { { echo "$as_me:$LINENO: error:
16905 You need a make-utility that is able to use the variable
16906 VPATH correctly.
16907 If your version of make does not support VPATH correctly,
16908 please install GNU-make (possibly as gmake), and start
16909 configure with the following command:
16910 export MAKE=gmake; ./configure for sh-type shells
16911 setenv MAKE gmake; ./configure for csh-type shells
16912 Also please do remember to use gmake in this case every time
16913 you are trying to compile.
16914 " >&5
16915 echo "$as_me: error:
16916 You need a make-utility that is able to use the variable
16917 VPATH correctly.
16918 If your version of make does not support VPATH correctly,
16919 please install GNU-make (possibly as gmake), and start
16920 configure with the following command:
16921 export MAKE=gmake; ./configure for sh-type shells
16922 setenv MAKE gmake; ./configure for csh-type shells
16923 Also please do remember to use gmake in this case every time
16924 you are trying to compile.
16925 " >&2;}
16926 { (exit 1); exit 1; }; }
16927 fi fi
16928 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16929 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16930 LN_S=$as_ln_s
16931 if test "$LN_S" = "ln -s"; then
16932 { echo "$as_me:$LINENO: result: yes" >&5
16933 echo "${ECHO_T}yes" >&6; }
16934 else
16935 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16936 echo "${ECHO_T}no, using $LN_S" >&6; }
16937 fi
16938
16939
16940
16941
16942 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16943 CXXFLAGS="-qunique $CXXFLAGS"
16944 fi
16945
16946 case "${host}" in
16947 powerpc-*-darwin* )
16948 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16949 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16950 cat >conftest.$ac_ext <<_ACEOF
16951 /* confdefs.h. */
16952 _ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16956
16957 int
16958 main ()
16959 {
16960 #ifndef __POWERPC__
16961 choke me for lack of PowerPC
16962 #endif
16963
16964 ;
16965 return 0;
16966 }
16967 _ACEOF
16968 rm -f conftest.$ac_objext
16969 if { (ac_try="$ac_compile"
16970 case "(($ac_try" in
16971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16973 esac
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_compile") 2>conftest.er1
16976 ac_status=$?
16977 grep -v '^ *+' conftest.er1 >conftest.err
16978 rm -f conftest.er1
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } && {
16982 test -z "$ac_c_werror_flag" ||
16983 test ! -s conftest.err
16984 } && test -s conftest.$ac_objext; then
16985 { echo "$as_me:$LINENO: result: yes" >&5
16986 echo "${ECHO_T}yes" >&6; }
16987 else
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.$ac_ext >&5
16990
16991 { echo "$as_me:$LINENO: result: no" >&5
16992 echo "${ECHO_T}no" >&6; }
16993 cat >>confdefs.h <<\_ACEOF
16994 #define __POWERPC__ 1
16995 _ACEOF
16996
16997
16998 fi
16999
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001 ;;
17002 esac
17003
17004 case "${host}" in
17005 *-*-darwin* )
17006 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17007 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17008 cat >conftest.$ac_ext <<_ACEOF
17009 /* confdefs.h. */
17010 _ACEOF
17011 cat confdefs.h >>conftest.$ac_ext
17012 cat >>conftest.$ac_ext <<_ACEOF
17013 /* end confdefs.h. */
17014 #include <CoreFoundation/CFBase.h>
17015
17016 int
17017 main ()
17018 {
17019
17020 ;
17021 return 0;
17022 }
17023 _ACEOF
17024 rm -f conftest.$ac_objext
17025 if { (ac_try="$ac_compile"
17026 case "(($ac_try" in
17027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17028 *) ac_try_echo=$ac_try;;
17029 esac
17030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17031 (eval "$ac_compile") 2>conftest.er1
17032 ac_status=$?
17033 grep -v '^ *+' conftest.er1 >conftest.err
17034 rm -f conftest.er1
17035 cat conftest.err >&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } && {
17038 test -z "$ac_c_werror_flag" ||
17039 test ! -s conftest.err
17040 } && test -s conftest.$ac_objext; then
17041 { echo "$as_me:$LINENO: result: yes" >&5
17042 echo "${ECHO_T}yes" >&6; }
17043 else
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.$ac_ext >&5
17046
17047 { echo "$as_me:$LINENO: result: no" >&5
17048 echo "${ECHO_T}no" >&6; }
17049 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17050 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17051 cat >conftest.$ac_ext <<_ACEOF
17052 /* confdefs.h. */
17053 _ACEOF
17054 cat confdefs.h >>conftest.$ac_ext
17055 cat >>conftest.$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 #define __CF_USE_FRAMEWORK_INCLUDES__
17058 #include <CoreFoundation/CFBase.h>
17059
17060 int
17061 main ()
17062 {
17063
17064 ;
17065 return 0;
17066 }
17067 _ACEOF
17068 rm -f conftest.$ac_objext
17069 if { (ac_try="$ac_compile"
17070 case "(($ac_try" in
17071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17072 *) ac_try_echo=$ac_try;;
17073 esac
17074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17075 (eval "$ac_compile") 2>conftest.er1
17076 ac_status=$?
17077 grep -v '^ *+' conftest.er1 >conftest.err
17078 rm -f conftest.er1
17079 cat conftest.err >&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } && {
17082 test -z "$ac_c_werror_flag" ||
17083 test ! -s conftest.err
17084 } && test -s conftest.$ac_objext; then
17085 { echo "$as_me:$LINENO: result: yes" >&5
17086 echo "${ECHO_T}yes" >&6; }
17087 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17088 else
17089 echo "$as_me: failed program was:" >&5
17090 sed 's/^/| /' conftest.$ac_ext >&5
17091
17092 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17093 See \`config.log' for more details." >&5
17094 echo "$as_me: error: no. CoreFoundation not available.
17095 See \`config.log' for more details." >&2;}
17096 { (exit 1); exit 1; }; }
17097
17098 fi
17099
17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17101
17102
17103 fi
17104
17105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17106 ;;
17107 esac
17108
17109 wants_win32=0
17110 doesnt_want_win32=0
17111 case "${host}" in
17112 *-*-cygwin*)
17113 if test "$wxUSE_MSW" = 1 ; then
17114 wants_win32=1
17115 else
17116 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17117 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17118 if test "${wx_cv_nocygwin+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 else
17121
17122 cat >conftest.$ac_ext <<_ACEOF
17123 /* confdefs.h. */
17124 _ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128
17129 int
17130 main ()
17131 {
17132
17133 #ifdef __MINGW32__
17134 choke me
17135 #endif
17136
17137 ;
17138 return 0;
17139 }
17140 _ACEOF
17141 rm -f conftest.$ac_objext
17142 if { (ac_try="$ac_compile"
17143 case "(($ac_try" in
17144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17145 *) ac_try_echo=$ac_try;;
17146 esac
17147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17148 (eval "$ac_compile") 2>conftest.er1
17149 ac_status=$?
17150 grep -v '^ *+' conftest.er1 >conftest.err
17151 rm -f conftest.er1
17152 cat conftest.err >&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); } && {
17155 test -z "$ac_c_werror_flag" ||
17156 test ! -s conftest.err
17157 } && test -s conftest.$ac_objext; then
17158 wx_cv_nocygwin=no
17159 else
17160 echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.$ac_ext >&5
17162
17163 wx_cv_nocygwin=yes
17164
17165 fi
17166
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17168
17169
17170 fi
17171 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17172 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17173
17174 if test "$wx_cv_nocygwin" = "yes"; then
17175 wants_win32=1
17176 else
17177 doesnt_want_win32=1
17178 fi
17179 fi
17180 if test "$wants_win32" = 1 ; then
17181 BAKEFILE_FORCE_PLATFORM=win32
17182 fi
17183 ;;
17184 *-*-mingw*)
17185 wants_win32=1
17186 ;;
17187 esac
17188
17189 if test "$wxUSE_WINE" = "yes"; then
17190 wants_win32=1
17191 LDFLAGS_GUI="-mwindows"
17192 fi
17193
17194 if test "$wants_win32" = 1 ; then
17195 USE_UNIX=0
17196 USE_WIN32=1
17197 cat >>confdefs.h <<\_ACEOF
17198 #define __WIN32__ 1
17199 _ACEOF
17200
17201 cat >>confdefs.h <<\_ACEOF
17202 #define __WIN95__ 1
17203 _ACEOF
17204
17205 cat >>confdefs.h <<\_ACEOF
17206 #define __WINDOWS__ 1
17207 _ACEOF
17208
17209 cat >>confdefs.h <<\_ACEOF
17210 #define __GNUWIN32__ 1
17211 _ACEOF
17212
17213 cat >>confdefs.h <<\_ACEOF
17214 #define STRICT 1
17215 _ACEOF
17216
17217 fi
17218 if test "$doesnt_want_win32" = 1 ; then
17219 USE_UNIX=1
17220 USE_WIN32=0
17221 fi
17222
17223 if test "$USE_UNIX" = 1 ; then
17224 wxUSE_UNIX=yes
17225 cat >>confdefs.h <<\_ACEOF
17226 #define __UNIX__ 1
17227 _ACEOF
17228
17229 fi
17230
17231 case "${host}" in
17232 *-pc-os2_emx | *-pc-os2-emx )
17233 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17234 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17235 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17236 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17238 else
17239 ac_check_lib_save_LIBS=$LIBS
17240 LIBS="-lcExt $LIBS"
17241 cat >conftest.$ac_ext <<_ACEOF
17242 /* confdefs.h. */
17243 _ACEOF
17244 cat confdefs.h >>conftest.$ac_ext
17245 cat >>conftest.$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17247
17248 /* Override any GCC internal prototype to avoid an error.
17249 Use char because int might match the return type of a GCC
17250 builtin and then its argument prototype would still apply. */
17251 #ifdef __cplusplus
17252 extern "C"
17253 #endif
17254 char drand48 ();
17255 int
17256 main ()
17257 {
17258 return drand48 ();
17259 ;
17260 return 0;
17261 }
17262 _ACEOF
17263 rm -f conftest.$ac_objext conftest$ac_exeext
17264 if { (ac_try="$ac_link"
17265 case "(($ac_try" in
17266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17267 *) ac_try_echo=$ac_try;;
17268 esac
17269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17270 (eval "$ac_link") 2>conftest.er1
17271 ac_status=$?
17272 grep -v '^ *+' conftest.er1 >conftest.err
17273 rm -f conftest.er1
17274 cat conftest.err >&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); } && {
17277 test -z "$ac_c_werror_flag" ||
17278 test ! -s conftest.err
17279 } && test -s conftest$ac_exeext &&
17280 $as_test_x conftest$ac_exeext; then
17281 ac_cv_lib_cExt_drand48=yes
17282 else
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.$ac_ext >&5
17285
17286 ac_cv_lib_cExt_drand48=no
17287 fi
17288
17289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17290 conftest$ac_exeext conftest.$ac_ext
17291 LIBS=$ac_check_lib_save_LIBS
17292 fi
17293 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17294 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17295 if test $ac_cv_lib_cExt_drand48 = yes; then
17296 LIBS="$LIBS -lcExt"
17297 fi
17298
17299 else
17300 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17301 fi
17302 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17303 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17304 if test "${wx_cv_gccversion+set}" = set; then
17305 echo $ECHO_N "(cached) $ECHO_C" >&6
17306 else
17307
17308 if test "$cross_compiling" = yes; then
17309 wx_cv_gccversion="EMX2"
17310
17311 else
17312 cat >conftest.$ac_ext <<_ACEOF
17313 /* confdefs.h. */
17314 _ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17318
17319 #include <stdio.h>
17320
17321 int main()
17322 {
17323 FILE *f=fopen("conftestval", "w");
17324 if (!f) exit(1);
17325 fprintf(f,
17326 #if (__GNUC__ < 3)
17327 "EMX2"
17328 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17329 "EMX3"
17330 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17331 "Innotek5"
17332 #else
17333 "Innotek6"
17334 #endif
17335 );
17336 exit(0);
17337 }
17338
17339 _ACEOF
17340 rm -f conftest$ac_exeext
17341 if { (ac_try="$ac_link"
17342 case "(($ac_try" in
17343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17344 *) ac_try_echo=$ac_try;;
17345 esac
17346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17347 (eval "$ac_link") 2>&5
17348 ac_status=$?
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17351 { (case "(($ac_try" in
17352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17353 *) ac_try_echo=$ac_try;;
17354 esac
17355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17356 (eval "$ac_try") 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 wx_cv_gccversion=`cat conftestval`
17361 else
17362 echo "$as_me: program exited with status $ac_status" >&5
17363 echo "$as_me: failed program was:" >&5
17364 sed 's/^/| /' conftest.$ac_ext >&5
17365
17366 ( exit $ac_status )
17367 wx_cv_gccversion="EMX2"
17368 fi
17369 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17370 fi
17371
17372
17373
17374 fi
17375 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17376 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17377 if test "$wx_cv_gccversion" = "EMX2"; then
17378 LIBS="$LIBS -lstdcpp"
17379 LDFLAGS="$LDFLAGS -Zsysv-signals"
17380 else
17381 if test "$wx_cv_gccversion" = "EMX3"; then
17382 LIBS="$LIBS -lstdcxx -lgcc"
17383 LDFLAGS="$LDFLAGS -Zsysv-signals"
17384 else
17385 LIBS="$LIBS -lstdc++"
17386 fi
17387 fi
17388 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17389 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17390 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17391 wxUSE_OMF=yes
17392 enable_omf=yes
17393 fi
17394 ;;
17395 *)
17396
17397 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17398 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17399 if test "${ac_cv_string_strcasecmp+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 else
17402
17403 cat >conftest.$ac_ext <<_ACEOF
17404 /* confdefs.h. */
17405 _ACEOF
17406 cat confdefs.h >>conftest.$ac_ext
17407 cat >>conftest.$ac_ext <<_ACEOF
17408 /* end confdefs.h. */
17409
17410 #include <string.h>
17411
17412 int
17413 main ()
17414 {
17415
17416 strcasecmp("foo", "bar");
17417
17418 ;
17419 return 0;
17420 }
17421 _ACEOF
17422 rm -f conftest.$ac_objext conftest$ac_exeext
17423 if { (ac_try="$ac_link"
17424 case "(($ac_try" in
17425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17426 *) ac_try_echo=$ac_try;;
17427 esac
17428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17429 (eval "$ac_link") 2>conftest.er1
17430 ac_status=$?
17431 grep -v '^ *+' conftest.er1 >conftest.err
17432 rm -f conftest.er1
17433 cat conftest.err >&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } && {
17436 test -z "$ac_c_werror_flag" ||
17437 test ! -s conftest.err
17438 } && test -s conftest$ac_exeext &&
17439 $as_test_x conftest$ac_exeext; then
17440 ac_cv_string_strcasecmp=yes
17441 else
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.$ac_ext >&5
17444
17445 ac_cv_string_strcasecmp=no
17446
17447 fi
17448
17449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17450 conftest$ac_exeext conftest.$ac_ext
17451
17452 fi
17453 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17454 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17455
17456 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17457 cat >>confdefs.h <<\_ACEOF
17458 #define HAVE_STRCASECMP_IN_STRING_H 1
17459 _ACEOF
17460
17461 else
17462 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17463 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17464 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17466 else
17467
17468 cat >conftest.$ac_ext <<_ACEOF
17469 /* confdefs.h. */
17470 _ACEOF
17471 cat confdefs.h >>conftest.$ac_ext
17472 cat >>conftest.$ac_ext <<_ACEOF
17473 /* end confdefs.h. */
17474
17475 #include <strings.h>
17476
17477 int
17478 main ()
17479 {
17480
17481 strcasecmp("foo", "bar");
17482
17483 ;
17484 return 0;
17485 }
17486 _ACEOF
17487 rm -f conftest.$ac_objext conftest$ac_exeext
17488 if { (ac_try="$ac_link"
17489 case "(($ac_try" in
17490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17491 *) ac_try_echo=$ac_try;;
17492 esac
17493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17494 (eval "$ac_link") 2>conftest.er1
17495 ac_status=$?
17496 grep -v '^ *+' conftest.er1 >conftest.err
17497 rm -f conftest.er1
17498 cat conftest.err >&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); } && {
17501 test -z "$ac_c_werror_flag" ||
17502 test ! -s conftest.err
17503 } && test -s conftest$ac_exeext &&
17504 $as_test_x conftest$ac_exeext; then
17505 ac_cv_strings_strcasecmp=yes
17506 else
17507 echo "$as_me: failed program was:" >&5
17508 sed 's/^/| /' conftest.$ac_ext >&5
17509
17510 ac_cv_strings_strcasecmp=no
17511
17512 fi
17513
17514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17515 conftest$ac_exeext conftest.$ac_ext
17516
17517 fi
17518 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17519 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17520
17521 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17522 cat >>confdefs.h <<\_ACEOF
17523 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17524 _ACEOF
17525
17526 else
17527 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17528 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17529 { (exit 1); exit 1; }; }
17530 fi
17531 fi
17532
17533 ;;
17534 esac
17535
17536
17537 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17538 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17539 if test "${ac_cv_header_stdc+set}" = set; then
17540 echo $ECHO_N "(cached) $ECHO_C" >&6
17541 else
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h. */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 #include <stdlib.h>
17549 #include <stdarg.h>
17550 #include <string.h>
17551 #include <float.h>
17552
17553 int
17554 main ()
17555 {
17556
17557 ;
17558 return 0;
17559 }
17560 _ACEOF
17561 rm -f conftest.$ac_objext
17562 if { (ac_try="$ac_compile"
17563 case "(($ac_try" in
17564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17565 *) ac_try_echo=$ac_try;;
17566 esac
17567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17568 (eval "$ac_compile") 2>conftest.er1
17569 ac_status=$?
17570 grep -v '^ *+' conftest.er1 >conftest.err
17571 rm -f conftest.er1
17572 cat conftest.err >&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); } && {
17575 test -z "$ac_c_werror_flag" ||
17576 test ! -s conftest.err
17577 } && test -s conftest.$ac_objext; then
17578 ac_cv_header_stdc=yes
17579 else
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17582
17583 ac_cv_header_stdc=no
17584 fi
17585
17586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17587
17588 if test $ac_cv_header_stdc = yes; then
17589 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17590 cat >conftest.$ac_ext <<_ACEOF
17591 /* confdefs.h. */
17592 _ACEOF
17593 cat confdefs.h >>conftest.$ac_ext
17594 cat >>conftest.$ac_ext <<_ACEOF
17595 /* end confdefs.h. */
17596 #include <string.h>
17597
17598 _ACEOF
17599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17600 $EGREP "memchr" >/dev/null 2>&1; then
17601 :
17602 else
17603 ac_cv_header_stdc=no
17604 fi
17605 rm -f conftest*
17606
17607 fi
17608
17609 if test $ac_cv_header_stdc = yes; then
17610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17611 cat >conftest.$ac_ext <<_ACEOF
17612 /* confdefs.h. */
17613 _ACEOF
17614 cat confdefs.h >>conftest.$ac_ext
17615 cat >>conftest.$ac_ext <<_ACEOF
17616 /* end confdefs.h. */
17617 #include <stdlib.h>
17618
17619 _ACEOF
17620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17621 $EGREP "free" >/dev/null 2>&1; then
17622 :
17623 else
17624 ac_cv_header_stdc=no
17625 fi
17626 rm -f conftest*
17627
17628 fi
17629
17630 if test $ac_cv_header_stdc = yes; then
17631 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17632 if test "$cross_compiling" = yes; then
17633 :
17634 else
17635 cat >conftest.$ac_ext <<_ACEOF
17636 /* confdefs.h. */
17637 _ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17641 #include <ctype.h>
17642 #include <stdlib.h>
17643 #if ((' ' & 0x0FF) == 0x020)
17644 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17645 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17646 #else
17647 # define ISLOWER(c) \
17648 (('a' <= (c) && (c) <= 'i') \
17649 || ('j' <= (c) && (c) <= 'r') \
17650 || ('s' <= (c) && (c) <= 'z'))
17651 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17652 #endif
17653
17654 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17655 int
17656 main ()
17657 {
17658 int i;
17659 for (i = 0; i < 256; i++)
17660 if (XOR (islower (i), ISLOWER (i))
17661 || toupper (i) != TOUPPER (i))
17662 return 2;
17663 return 0;
17664 }
17665 _ACEOF
17666 rm -f conftest$ac_exeext
17667 if { (ac_try="$ac_link"
17668 case "(($ac_try" in
17669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17670 *) ac_try_echo=$ac_try;;
17671 esac
17672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17673 (eval "$ac_link") 2>&5
17674 ac_status=$?
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17677 { (case "(($ac_try" in
17678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17679 *) ac_try_echo=$ac_try;;
17680 esac
17681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17682 (eval "$ac_try") 2>&5
17683 ac_status=$?
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; }; then
17686 :
17687 else
17688 echo "$as_me: program exited with status $ac_status" >&5
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.$ac_ext >&5
17691
17692 ( exit $ac_status )
17693 ac_cv_header_stdc=no
17694 fi
17695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17696 fi
17697
17698
17699 fi
17700 fi
17701 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17702 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17703 if test $ac_cv_header_stdc = yes; then
17704
17705 cat >>confdefs.h <<\_ACEOF
17706 #define STDC_HEADERS 1
17707 _ACEOF
17708
17709 fi
17710
17711 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17722 inttypes.h stdint.h unistd.h
17723 do
17724 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17729 else
17730 cat >conftest.$ac_ext <<_ACEOF
17731 /* confdefs.h. */
17732 _ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17736 $ac_includes_default
17737
17738 #include <$ac_header>
17739 _ACEOF
17740 rm -f conftest.$ac_objext
17741 if { (ac_try="$ac_compile"
17742 case "(($ac_try" in
17743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17744 *) ac_try_echo=$ac_try;;
17745 esac
17746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17747 (eval "$ac_compile") 2>conftest.er1
17748 ac_status=$?
17749 grep -v '^ *+' conftest.er1 >conftest.err
17750 rm -f conftest.er1
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } && {
17754 test -z "$ac_c_werror_flag" ||
17755 test ! -s conftest.err
17756 } && test -s conftest.$ac_objext; then
17757 eval "$as_ac_Header=yes"
17758 else
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.$ac_ext >&5
17761
17762 eval "$as_ac_Header=no"
17763 fi
17764
17765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17766 fi
17767 ac_res=`eval echo '${'$as_ac_Header'}'`
17768 { echo "$as_me:$LINENO: result: $ac_res" >&5
17769 echo "${ECHO_T}$ac_res" >&6; }
17770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17771 cat >>confdefs.h <<_ACEOF
17772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17773 _ACEOF
17774
17775 fi
17776
17777 done
17778
17779
17780
17781
17782
17783
17784
17785
17786 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17787 do
17788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17789 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17791 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17792 echo $ECHO_N "(cached) $ECHO_C" >&6
17793 else
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800 $ac_includes_default
17801
17802 #include <$ac_header>
17803 _ACEOF
17804 rm -f conftest.$ac_objext
17805 if { (ac_try="$ac_compile"
17806 case "(($ac_try" in
17807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17808 *) ac_try_echo=$ac_try;;
17809 esac
17810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17811 (eval "$ac_compile") 2>conftest.er1
17812 ac_status=$?
17813 grep -v '^ *+' conftest.er1 >conftest.err
17814 rm -f conftest.er1
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } && {
17818 test -z "$ac_c_werror_flag" ||
17819 test ! -s conftest.err
17820 } && test -s conftest.$ac_objext; then
17821 eval "$as_ac_Header=yes"
17822 else
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.$ac_ext >&5
17825
17826 eval "$as_ac_Header=no"
17827 fi
17828
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830 fi
17831 ac_res=`eval echo '${'$as_ac_Header'}'`
17832 { echo "$as_me:$LINENO: result: $ac_res" >&5
17833 echo "${ECHO_T}$ac_res" >&6; }
17834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17835 cat >>confdefs.h <<_ACEOF
17836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17837 _ACEOF
17838
17839 fi
17840
17841 done
17842
17843
17844 if test "$ac_cv_header_wchar_h" != "yes"; then
17845 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17846 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17847 if test "${ac_cv_header_wcstr_h+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17849 else
17850 cat >conftest.$ac_ext <<_ACEOF
17851 /* confdefs.h. */
17852 _ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856 $ac_includes_default
17857
17858 #include <wcstr.h>
17859 _ACEOF
17860 rm -f conftest.$ac_objext
17861 if { (ac_try="$ac_compile"
17862 case "(($ac_try" in
17863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17864 *) ac_try_echo=$ac_try;;
17865 esac
17866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17867 (eval "$ac_compile") 2>conftest.er1
17868 ac_status=$?
17869 grep -v '^ *+' conftest.er1 >conftest.err
17870 rm -f conftest.er1
17871 cat conftest.err >&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } && {
17874 test -z "$ac_c_werror_flag" ||
17875 test ! -s conftest.err
17876 } && test -s conftest.$ac_objext; then
17877 ac_cv_header_wcstr_h=yes
17878 else
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.$ac_ext >&5
17881
17882 ac_cv_header_wcstr_h=no
17883 fi
17884
17885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17886 fi
17887 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17888 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17889
17890
17891 fi
17892
17893 case "${host}" in
17894 *-pc-os2_emx | *-pc-os2-emx )
17895 if test $ac_cv_header_langinfo_h = "yes" \
17896 -a \( "$wx_cv_gccversion" = "EMX2" \
17897 -o "$wx_cv_gccversion" = "EMX3" \
17898 -o "$wx_cv_gccversion" = "Innotek5" \); then
17899 LIBS="$LIBS -lintl"
17900 fi
17901 ;;
17902 esac
17903
17904 if test "$USE_UNIX" = 1 ; then
17905 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17906 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17907 if test "${ac_cv_header_sys_select_h+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17909 else
17910 cat >conftest.$ac_ext <<_ACEOF
17911 /* confdefs.h. */
17912 _ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 $ac_includes_default
17917
17918 #include <sys/select.h>
17919 _ACEOF
17920 rm -f conftest.$ac_objext
17921 if { (ac_try="$ac_compile"
17922 case "(($ac_try" in
17923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17924 *) ac_try_echo=$ac_try;;
17925 esac
17926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17927 (eval "$ac_compile") 2>conftest.er1
17928 ac_status=$?
17929 grep -v '^ *+' conftest.er1 >conftest.err
17930 rm -f conftest.er1
17931 cat conftest.err >&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); } && {
17934 test -z "$ac_c_werror_flag" ||
17935 test ! -s conftest.err
17936 } && test -s conftest.$ac_objext; then
17937 ac_cv_header_sys_select_h=yes
17938 else
17939 echo "$as_me: failed program was:" >&5
17940 sed 's/^/| /' conftest.$ac_ext >&5
17941
17942 ac_cv_header_sys_select_h=no
17943 fi
17944
17945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17946 fi
17947 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17948 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17949
17950
17951 fi
17952
17953
17954 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17955 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17956 if test "${ac_cv_c_const+set}" = set; then
17957 echo $ECHO_N "(cached) $ECHO_C" >&6
17958 else
17959 cat >conftest.$ac_ext <<_ACEOF
17960 /* confdefs.h. */
17961 _ACEOF
17962 cat confdefs.h >>conftest.$ac_ext
17963 cat >>conftest.$ac_ext <<_ACEOF
17964 /* end confdefs.h. */
17965
17966 int
17967 main ()
17968 {
17969 /* FIXME: Include the comments suggested by Paul. */
17970 #ifndef __cplusplus
17971 /* Ultrix mips cc rejects this. */
17972 typedef int charset[2];
17973 const charset cs;
17974 /* SunOS 4.1.1 cc rejects this. */
17975 char const *const *pcpcc;
17976 char **ppc;
17977 /* NEC SVR4.0.2 mips cc rejects this. */
17978 struct point {int x, y;};
17979 static struct point const zero = {0,0};
17980 /* AIX XL C 1.02.0.0 rejects this.
17981 It does not let you subtract one const X* pointer from another in
17982 an arm of an if-expression whose if-part is not a constant
17983 expression */
17984 const char *g = "string";
17985 pcpcc = &g + (g ? g-g : 0);
17986 /* HPUX 7.0 cc rejects these. */
17987 ++pcpcc;
17988 ppc = (char**) pcpcc;
17989 pcpcc = (char const *const *) ppc;
17990 { /* SCO 3.2v4 cc rejects this. */
17991 char *t;
17992 char const *s = 0 ? (char *) 0 : (char const *) 0;
17993
17994 *t++ = 0;
17995 if (s) return 0;
17996 }
17997 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17998 int x[] = {25, 17};
17999 const int *foo = &x[0];
18000 ++foo;
18001 }
18002 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18003 typedef const int *iptr;
18004 iptr p = 0;
18005 ++p;
18006 }
18007 { /* AIX XL C 1.02.0.0 rejects this saying
18008 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18009 struct s { int j; const int *ap[3]; };
18010 struct s *b; b->j = 5;
18011 }
18012 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18013 const int foo = 10;
18014 if (!foo) return 0;
18015 }
18016 return !cs[0] && !zero.x;
18017 #endif
18018
18019 ;
18020 return 0;
18021 }
18022 _ACEOF
18023 rm -f conftest.$ac_objext
18024 if { (ac_try="$ac_compile"
18025 case "(($ac_try" in
18026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18027 *) ac_try_echo=$ac_try;;
18028 esac
18029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18030 (eval "$ac_compile") 2>conftest.er1
18031 ac_status=$?
18032 grep -v '^ *+' conftest.er1 >conftest.err
18033 rm -f conftest.er1
18034 cat conftest.err >&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); } && {
18037 test -z "$ac_c_werror_flag" ||
18038 test ! -s conftest.err
18039 } && test -s conftest.$ac_objext; then
18040 ac_cv_c_const=yes
18041 else
18042 echo "$as_me: failed program was:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18044
18045 ac_cv_c_const=no
18046 fi
18047
18048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18049 fi
18050 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18051 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18052 if test $ac_cv_c_const = no; then
18053
18054 cat >>confdefs.h <<\_ACEOF
18055 #define const
18056 _ACEOF
18057
18058 fi
18059
18060 { echo "$as_me:$LINENO: checking for inline" >&5
18061 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18062 if test "${ac_cv_c_inline+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 else
18065 ac_cv_c_inline=no
18066 for ac_kw in inline __inline__ __inline; do
18067 cat >conftest.$ac_ext <<_ACEOF
18068 /* confdefs.h. */
18069 _ACEOF
18070 cat confdefs.h >>conftest.$ac_ext
18071 cat >>conftest.$ac_ext <<_ACEOF
18072 /* end confdefs.h. */
18073 #ifndef __cplusplus
18074 typedef int foo_t;
18075 static $ac_kw foo_t static_foo () {return 0; }
18076 $ac_kw foo_t foo () {return 0; }
18077 #endif
18078
18079 _ACEOF
18080 rm -f conftest.$ac_objext
18081 if { (ac_try="$ac_compile"
18082 case "(($ac_try" in
18083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18084 *) ac_try_echo=$ac_try;;
18085 esac
18086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18087 (eval "$ac_compile") 2>conftest.er1
18088 ac_status=$?
18089 grep -v '^ *+' conftest.er1 >conftest.err
18090 rm -f conftest.er1
18091 cat conftest.err >&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); } && {
18094 test -z "$ac_c_werror_flag" ||
18095 test ! -s conftest.err
18096 } && test -s conftest.$ac_objext; then
18097 ac_cv_c_inline=$ac_kw
18098 else
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18101
18102
18103 fi
18104
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106 test "$ac_cv_c_inline" != no && break
18107 done
18108
18109 fi
18110 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18111 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18112
18113
18114 case $ac_cv_c_inline in
18115 inline | yes) ;;
18116 *)
18117 case $ac_cv_c_inline in
18118 no) ac_val=;;
18119 *) ac_val=$ac_cv_c_inline;;
18120 esac
18121 cat >>confdefs.h <<_ACEOF
18122 #ifndef __cplusplus
18123 #define inline $ac_val
18124 #endif
18125 _ACEOF
18126 ;;
18127 esac
18128
18129
18130 { echo "$as_me:$LINENO: checking for short" >&5
18131 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18132 if test "${ac_cv_type_short+set}" = set; then
18133 echo $ECHO_N "(cached) $ECHO_C" >&6
18134 else
18135 cat >conftest.$ac_ext <<_ACEOF
18136 /* confdefs.h. */
18137 _ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141 $ac_includes_default
18142 typedef short ac__type_new_;
18143 int
18144 main ()
18145 {
18146 if ((ac__type_new_ *) 0)
18147 return 0;
18148 if (sizeof (ac__type_new_))
18149 return 0;
18150 ;
18151 return 0;
18152 }
18153 _ACEOF
18154 rm -f conftest.$ac_objext
18155 if { (ac_try="$ac_compile"
18156 case "(($ac_try" in
18157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18158 *) ac_try_echo=$ac_try;;
18159 esac
18160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18161 (eval "$ac_compile") 2>conftest.er1
18162 ac_status=$?
18163 grep -v '^ *+' conftest.er1 >conftest.err
18164 rm -f conftest.er1
18165 cat conftest.err >&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); } && {
18168 test -z "$ac_c_werror_flag" ||
18169 test ! -s conftest.err
18170 } && test -s conftest.$ac_objext; then
18171 ac_cv_type_short=yes
18172 else
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.$ac_ext >&5
18175
18176 ac_cv_type_short=no
18177 fi
18178
18179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18180 fi
18181 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18182 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18183
18184 # The cast to long int works around a bug in the HP C Compiler
18185 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18186 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18187 # This bug is HP SR number 8606223364.
18188 { echo "$as_me:$LINENO: checking size of short" >&5
18189 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18190 if test "${ac_cv_sizeof_short+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18192 else
18193 if test "$cross_compiling" = yes; then
18194 # Depending upon the size, compute the lo and hi bounds.
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201 $ac_includes_default
18202 typedef short ac__type_sizeof_;
18203 int
18204 main ()
18205 {
18206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18207 test_array [0] = 0
18208
18209 ;
18210 return 0;
18211 }
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (ac_try="$ac_compile"
18215 case "(($ac_try" in
18216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18217 *) ac_try_echo=$ac_try;;
18218 esac
18219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_compile") 2>conftest.er1
18221 ac_status=$?
18222 grep -v '^ *+' conftest.er1 >conftest.err
18223 rm -f conftest.er1
18224 cat conftest.err >&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } && {
18227 test -z "$ac_c_werror_flag" ||
18228 test ! -s conftest.err
18229 } && test -s conftest.$ac_objext; then
18230 ac_lo=0 ac_mid=0
18231 while :; do
18232 cat >conftest.$ac_ext <<_ACEOF
18233 /* confdefs.h. */
18234 _ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 $ac_includes_default
18239 typedef short ac__type_sizeof_;
18240 int
18241 main ()
18242 {
18243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18244 test_array [0] = 0
18245
18246 ;
18247 return 0;
18248 }
18249 _ACEOF
18250 rm -f conftest.$ac_objext
18251 if { (ac_try="$ac_compile"
18252 case "(($ac_try" in
18253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18254 *) ac_try_echo=$ac_try;;
18255 esac
18256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18257 (eval "$ac_compile") 2>conftest.er1
18258 ac_status=$?
18259 grep -v '^ *+' conftest.er1 >conftest.err
18260 rm -f conftest.er1
18261 cat conftest.err >&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); } && {
18264 test -z "$ac_c_werror_flag" ||
18265 test ! -s conftest.err
18266 } && test -s conftest.$ac_objext; then
18267 ac_hi=$ac_mid; break
18268 else
18269 echo "$as_me: failed program was:" >&5
18270 sed 's/^/| /' conftest.$ac_ext >&5
18271
18272 ac_lo=`expr $ac_mid + 1`
18273 if test $ac_lo -le $ac_mid; then
18274 ac_lo= ac_hi=
18275 break
18276 fi
18277 ac_mid=`expr 2 '*' $ac_mid + 1`
18278 fi
18279
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18281 done
18282 else
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18285
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h. */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292 $ac_includes_default
18293 typedef short ac__type_sizeof_;
18294 int
18295 main ()
18296 {
18297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18298 test_array [0] = 0
18299
18300 ;
18301 return 0;
18302 }
18303 _ACEOF
18304 rm -f conftest.$ac_objext
18305 if { (ac_try="$ac_compile"
18306 case "(($ac_try" in
18307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18308 *) ac_try_echo=$ac_try;;
18309 esac
18310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18311 (eval "$ac_compile") 2>conftest.er1
18312 ac_status=$?
18313 grep -v '^ *+' conftest.er1 >conftest.err
18314 rm -f conftest.er1
18315 cat conftest.err >&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } && {
18318 test -z "$ac_c_werror_flag" ||
18319 test ! -s conftest.err
18320 } && test -s conftest.$ac_objext; then
18321 ac_hi=-1 ac_mid=-1
18322 while :; do
18323 cat >conftest.$ac_ext <<_ACEOF
18324 /* confdefs.h. */
18325 _ACEOF
18326 cat confdefs.h >>conftest.$ac_ext
18327 cat >>conftest.$ac_ext <<_ACEOF
18328 /* end confdefs.h. */
18329 $ac_includes_default
18330 typedef short ac__type_sizeof_;
18331 int
18332 main ()
18333 {
18334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18335 test_array [0] = 0
18336
18337 ;
18338 return 0;
18339 }
18340 _ACEOF
18341 rm -f conftest.$ac_objext
18342 if { (ac_try="$ac_compile"
18343 case "(($ac_try" in
18344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18345 *) ac_try_echo=$ac_try;;
18346 esac
18347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18348 (eval "$ac_compile") 2>conftest.er1
18349 ac_status=$?
18350 grep -v '^ *+' conftest.er1 >conftest.err
18351 rm -f conftest.er1
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } && {
18355 test -z "$ac_c_werror_flag" ||
18356 test ! -s conftest.err
18357 } && test -s conftest.$ac_objext; then
18358 ac_lo=$ac_mid; break
18359 else
18360 echo "$as_me: failed program was:" >&5
18361 sed 's/^/| /' conftest.$ac_ext >&5
18362
18363 ac_hi=`expr '(' $ac_mid ')' - 1`
18364 if test $ac_mid -le $ac_hi; then
18365 ac_lo= ac_hi=
18366 break
18367 fi
18368 ac_mid=`expr 2 '*' $ac_mid`
18369 fi
18370
18371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18372 done
18373 else
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.$ac_ext >&5
18376
18377 ac_lo= ac_hi=
18378 fi
18379
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18381 fi
18382
18383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18384 # Binary search between lo and hi bounds.
18385 while test "x$ac_lo" != "x$ac_hi"; do
18386 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18387 cat >conftest.$ac_ext <<_ACEOF
18388 /* confdefs.h. */
18389 _ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 $ac_includes_default
18394 typedef short ac__type_sizeof_;
18395 int
18396 main ()
18397 {
18398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18399 test_array [0] = 0
18400
18401 ;
18402 return 0;
18403 }
18404 _ACEOF
18405 rm -f conftest.$ac_objext
18406 if { (ac_try="$ac_compile"
18407 case "(($ac_try" in
18408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18409 *) ac_try_echo=$ac_try;;
18410 esac
18411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18412 (eval "$ac_compile") 2>conftest.er1
18413 ac_status=$?
18414 grep -v '^ *+' conftest.er1 >conftest.err
18415 rm -f conftest.er1
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } && {
18419 test -z "$ac_c_werror_flag" ||
18420 test ! -s conftest.err
18421 } && test -s conftest.$ac_objext; then
18422 ac_hi=$ac_mid
18423 else
18424 echo "$as_me: failed program was:" >&5
18425 sed 's/^/| /' conftest.$ac_ext >&5
18426
18427 ac_lo=`expr '(' $ac_mid ')' + 1`
18428 fi
18429
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 done
18432 case $ac_lo in
18433 ?*) ac_cv_sizeof_short=$ac_lo;;
18434 '') if test "$ac_cv_type_short" = yes; then
18435 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18436 See \`config.log' for more details." >&5
18437 echo "$as_me: error: cannot compute sizeof (short)
18438 See \`config.log' for more details." >&2;}
18439 { (exit 77); exit 77; }; }
18440 else
18441 ac_cv_sizeof_short=0
18442 fi ;;
18443 esac
18444 else
18445 cat >conftest.$ac_ext <<_ACEOF
18446 /* confdefs.h. */
18447 _ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 $ac_includes_default
18452 typedef short ac__type_sizeof_;
18453 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18454 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18455 #include <stdio.h>
18456 #include <stdlib.h>
18457 int
18458 main ()
18459 {
18460
18461 FILE *f = fopen ("conftest.val", "w");
18462 if (! f)
18463 return 1;
18464 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18465 {
18466 long int i = longval ();
18467 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18468 return 1;
18469 fprintf (f, "%ld\n", i);
18470 }
18471 else
18472 {
18473 unsigned long int i = ulongval ();
18474 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18475 return 1;
18476 fprintf (f, "%lu\n", i);
18477 }
18478 return ferror (f) || fclose (f) != 0;
18479
18480 ;
18481 return 0;
18482 }
18483 _ACEOF
18484 rm -f conftest$ac_exeext
18485 if { (ac_try="$ac_link"
18486 case "(($ac_try" in
18487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18488 *) ac_try_echo=$ac_try;;
18489 esac
18490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18491 (eval "$ac_link") 2>&5
18492 ac_status=$?
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18495 { (case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18498 esac
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_try") 2>&5
18501 ac_status=$?
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); }; }; then
18504 ac_cv_sizeof_short=`cat conftest.val`
18505 else
18506 echo "$as_me: program exited with status $ac_status" >&5
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.$ac_ext >&5
18509
18510 ( exit $ac_status )
18511 if test "$ac_cv_type_short" = yes; then
18512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18513 See \`config.log' for more details." >&5
18514 echo "$as_me: error: cannot compute sizeof (short)
18515 See \`config.log' for more details." >&2;}
18516 { (exit 77); exit 77; }; }
18517 else
18518 ac_cv_sizeof_short=0
18519 fi
18520 fi
18521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18522 fi
18523 rm -f conftest.val
18524 fi
18525 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18526 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18527
18528
18529
18530 cat >>confdefs.h <<_ACEOF
18531 #define SIZEOF_SHORT $ac_cv_sizeof_short
18532 _ACEOF
18533
18534
18535 { echo "$as_me:$LINENO: checking for void *" >&5
18536 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18537 if test "${ac_cv_type_void_p+set}" = set; then
18538 echo $ECHO_N "(cached) $ECHO_C" >&6
18539 else
18540 cat >conftest.$ac_ext <<_ACEOF
18541 /* confdefs.h. */
18542 _ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 $ac_includes_default
18547 typedef void * ac__type_new_;
18548 int
18549 main ()
18550 {
18551 if ((ac__type_new_ *) 0)
18552 return 0;
18553 if (sizeof (ac__type_new_))
18554 return 0;
18555 ;
18556 return 0;
18557 }
18558 _ACEOF
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18564 esac
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18567 ac_status=$?
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_c_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
18576 ac_cv_type_void_p=yes
18577 else
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18580
18581 ac_cv_type_void_p=no
18582 fi
18583
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585 fi
18586 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18587 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18588
18589 # The cast to long int works around a bug in the HP C Compiler
18590 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18591 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18592 # This bug is HP SR number 8606223364.
18593 { echo "$as_me:$LINENO: checking size of void *" >&5
18594 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18595 if test "${ac_cv_sizeof_void_p+set}" = set; then
18596 echo $ECHO_N "(cached) $ECHO_C" >&6
18597 else
18598 if test "$cross_compiling" = yes; then
18599 # Depending upon the size, compute the lo and hi bounds.
18600 cat >conftest.$ac_ext <<_ACEOF
18601 /* confdefs.h. */
18602 _ACEOF
18603 cat confdefs.h >>conftest.$ac_ext
18604 cat >>conftest.$ac_ext <<_ACEOF
18605 /* end confdefs.h. */
18606 $ac_includes_default
18607 typedef void * ac__type_sizeof_;
18608 int
18609 main ()
18610 {
18611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18612 test_array [0] = 0
18613
18614 ;
18615 return 0;
18616 }
18617 _ACEOF
18618 rm -f conftest.$ac_objext
18619 if { (ac_try="$ac_compile"
18620 case "(($ac_try" in
18621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18622 *) ac_try_echo=$ac_try;;
18623 esac
18624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18625 (eval "$ac_compile") 2>conftest.er1
18626 ac_status=$?
18627 grep -v '^ *+' conftest.er1 >conftest.err
18628 rm -f conftest.er1
18629 cat conftest.err >&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); } && {
18632 test -z "$ac_c_werror_flag" ||
18633 test ! -s conftest.err
18634 } && test -s conftest.$ac_objext; then
18635 ac_lo=0 ac_mid=0
18636 while :; do
18637 cat >conftest.$ac_ext <<_ACEOF
18638 /* confdefs.h. */
18639 _ACEOF
18640 cat confdefs.h >>conftest.$ac_ext
18641 cat >>conftest.$ac_ext <<_ACEOF
18642 /* end confdefs.h. */
18643 $ac_includes_default
18644 typedef void * ac__type_sizeof_;
18645 int
18646 main ()
18647 {
18648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18649 test_array [0] = 0
18650
18651 ;
18652 return 0;
18653 }
18654 _ACEOF
18655 rm -f conftest.$ac_objext
18656 if { (ac_try="$ac_compile"
18657 case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18660 esac
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_compile") 2>conftest.er1
18663 ac_status=$?
18664 grep -v '^ *+' conftest.er1 >conftest.err
18665 rm -f conftest.er1
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_c_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest.$ac_objext; then
18672 ac_hi=$ac_mid; break
18673 else
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18676
18677 ac_lo=`expr $ac_mid + 1`
18678 if test $ac_lo -le $ac_mid; then
18679 ac_lo= ac_hi=
18680 break
18681 fi
18682 ac_mid=`expr 2 '*' $ac_mid + 1`
18683 fi
18684
18685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18686 done
18687 else
18688 echo "$as_me: failed program was:" >&5
18689 sed 's/^/| /' conftest.$ac_ext >&5
18690
18691 cat >conftest.$ac_ext <<_ACEOF
18692 /* confdefs.h. */
18693 _ACEOF
18694 cat confdefs.h >>conftest.$ac_ext
18695 cat >>conftest.$ac_ext <<_ACEOF
18696 /* end confdefs.h. */
18697 $ac_includes_default
18698 typedef void * ac__type_sizeof_;
18699 int
18700 main ()
18701 {
18702 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18703 test_array [0] = 0
18704
18705 ;
18706 return 0;
18707 }
18708 _ACEOF
18709 rm -f conftest.$ac_objext
18710 if { (ac_try="$ac_compile"
18711 case "(($ac_try" in
18712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18713 *) ac_try_echo=$ac_try;;
18714 esac
18715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18716 (eval "$ac_compile") 2>conftest.er1
18717 ac_status=$?
18718 grep -v '^ *+' conftest.er1 >conftest.err
18719 rm -f conftest.er1
18720 cat conftest.err >&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } && {
18723 test -z "$ac_c_werror_flag" ||
18724 test ! -s conftest.err
18725 } && test -s conftest.$ac_objext; then
18726 ac_hi=-1 ac_mid=-1
18727 while :; do
18728 cat >conftest.$ac_ext <<_ACEOF
18729 /* confdefs.h. */
18730 _ACEOF
18731 cat confdefs.h >>conftest.$ac_ext
18732 cat >>conftest.$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 $ac_includes_default
18735 typedef void * ac__type_sizeof_;
18736 int
18737 main ()
18738 {
18739 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18740 test_array [0] = 0
18741
18742 ;
18743 return 0;
18744 }
18745 _ACEOF
18746 rm -f conftest.$ac_objext
18747 if { (ac_try="$ac_compile"
18748 case "(($ac_try" in
18749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18750 *) ac_try_echo=$ac_try;;
18751 esac
18752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18753 (eval "$ac_compile") 2>conftest.er1
18754 ac_status=$?
18755 grep -v '^ *+' conftest.er1 >conftest.err
18756 rm -f conftest.er1
18757 cat conftest.err >&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); } && {
18760 test -z "$ac_c_werror_flag" ||
18761 test ! -s conftest.err
18762 } && test -s conftest.$ac_objext; then
18763 ac_lo=$ac_mid; break
18764 else
18765 echo "$as_me: failed program was:" >&5
18766 sed 's/^/| /' conftest.$ac_ext >&5
18767
18768 ac_hi=`expr '(' $ac_mid ')' - 1`
18769 if test $ac_mid -le $ac_hi; then
18770 ac_lo= ac_hi=
18771 break
18772 fi
18773 ac_mid=`expr 2 '*' $ac_mid`
18774 fi
18775
18776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18777 done
18778 else
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.$ac_ext >&5
18781
18782 ac_lo= ac_hi=
18783 fi
18784
18785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18786 fi
18787
18788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18789 # Binary search between lo and hi bounds.
18790 while test "x$ac_lo" != "x$ac_hi"; do
18791 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18792 cat >conftest.$ac_ext <<_ACEOF
18793 /* confdefs.h. */
18794 _ACEOF
18795 cat confdefs.h >>conftest.$ac_ext
18796 cat >>conftest.$ac_ext <<_ACEOF
18797 /* end confdefs.h. */
18798 $ac_includes_default
18799 typedef void * ac__type_sizeof_;
18800 int
18801 main ()
18802 {
18803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18804 test_array [0] = 0
18805
18806 ;
18807 return 0;
18808 }
18809 _ACEOF
18810 rm -f conftest.$ac_objext
18811 if { (ac_try="$ac_compile"
18812 case "(($ac_try" in
18813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18814 *) ac_try_echo=$ac_try;;
18815 esac
18816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18817 (eval "$ac_compile") 2>conftest.er1
18818 ac_status=$?
18819 grep -v '^ *+' conftest.er1 >conftest.err
18820 rm -f conftest.er1
18821 cat conftest.err >&5
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); } && {
18824 test -z "$ac_c_werror_flag" ||
18825 test ! -s conftest.err
18826 } && test -s conftest.$ac_objext; then
18827 ac_hi=$ac_mid
18828 else
18829 echo "$as_me: failed program was:" >&5
18830 sed 's/^/| /' conftest.$ac_ext >&5
18831
18832 ac_lo=`expr '(' $ac_mid ')' + 1`
18833 fi
18834
18835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18836 done
18837 case $ac_lo in
18838 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18839 '') if test "$ac_cv_type_void_p" = yes; then
18840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18841 See \`config.log' for more details." >&5
18842 echo "$as_me: error: cannot compute sizeof (void *)
18843 See \`config.log' for more details." >&2;}
18844 { (exit 77); exit 77; }; }
18845 else
18846 ac_cv_sizeof_void_p=0
18847 fi ;;
18848 esac
18849 else
18850 cat >conftest.$ac_ext <<_ACEOF
18851 /* confdefs.h. */
18852 _ACEOF
18853 cat confdefs.h >>conftest.$ac_ext
18854 cat >>conftest.$ac_ext <<_ACEOF
18855 /* end confdefs.h. */
18856 $ac_includes_default
18857 typedef void * ac__type_sizeof_;
18858 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18859 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18860 #include <stdio.h>
18861 #include <stdlib.h>
18862 int
18863 main ()
18864 {
18865
18866 FILE *f = fopen ("conftest.val", "w");
18867 if (! f)
18868 return 1;
18869 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18870 {
18871 long int i = longval ();
18872 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18873 return 1;
18874 fprintf (f, "%ld\n", i);
18875 }
18876 else
18877 {
18878 unsigned long int i = ulongval ();
18879 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18880 return 1;
18881 fprintf (f, "%lu\n", i);
18882 }
18883 return ferror (f) || fclose (f) != 0;
18884
18885 ;
18886 return 0;
18887 }
18888 _ACEOF
18889 rm -f conftest$ac_exeext
18890 if { (ac_try="$ac_link"
18891 case "(($ac_try" in
18892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18893 *) ac_try_echo=$ac_try;;
18894 esac
18895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18896 (eval "$ac_link") 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18900 { (case "(($ac_try" in
18901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18902 *) ac_try_echo=$ac_try;;
18903 esac
18904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18905 (eval "$ac_try") 2>&5
18906 ac_status=$?
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); }; }; then
18909 ac_cv_sizeof_void_p=`cat conftest.val`
18910 else
18911 echo "$as_me: program exited with status $ac_status" >&5
18912 echo "$as_me: failed program was:" >&5
18913 sed 's/^/| /' conftest.$ac_ext >&5
18914
18915 ( exit $ac_status )
18916 if test "$ac_cv_type_void_p" = yes; then
18917 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18918 See \`config.log' for more details." >&5
18919 echo "$as_me: error: cannot compute sizeof (void *)
18920 See \`config.log' for more details." >&2;}
18921 { (exit 77); exit 77; }; }
18922 else
18923 ac_cv_sizeof_void_p=0
18924 fi
18925 fi
18926 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18927 fi
18928 rm -f conftest.val
18929 fi
18930 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18931 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
18932
18933
18934
18935 cat >>confdefs.h <<_ACEOF
18936 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18937 _ACEOF
18938
18939
18940 { echo "$as_me:$LINENO: checking for int" >&5
18941 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
18942 if test "${ac_cv_type_int+set}" = set; then
18943 echo $ECHO_N "(cached) $ECHO_C" >&6
18944 else
18945 cat >conftest.$ac_ext <<_ACEOF
18946 /* confdefs.h. */
18947 _ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951 $ac_includes_default
18952 typedef int ac__type_new_;
18953 int
18954 main ()
18955 {
18956 if ((ac__type_new_ *) 0)
18957 return 0;
18958 if (sizeof (ac__type_new_))
18959 return 0;
18960 ;
18961 return 0;
18962 }
18963 _ACEOF
18964 rm -f conftest.$ac_objext
18965 if { (ac_try="$ac_compile"
18966 case "(($ac_try" in
18967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18968 *) ac_try_echo=$ac_try;;
18969 esac
18970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18971 (eval "$ac_compile") 2>conftest.er1
18972 ac_status=$?
18973 grep -v '^ *+' conftest.er1 >conftest.err
18974 rm -f conftest.er1
18975 cat conftest.err >&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } && {
18978 test -z "$ac_c_werror_flag" ||
18979 test ! -s conftest.err
18980 } && test -s conftest.$ac_objext; then
18981 ac_cv_type_int=yes
18982 else
18983 echo "$as_me: failed program was:" >&5
18984 sed 's/^/| /' conftest.$ac_ext >&5
18985
18986 ac_cv_type_int=no
18987 fi
18988
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18990 fi
18991 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18992 echo "${ECHO_T}$ac_cv_type_int" >&6; }
18993
18994 # The cast to long int works around a bug in the HP C Compiler
18995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18997 # This bug is HP SR number 8606223364.
18998 { echo "$as_me:$LINENO: checking size of int" >&5
18999 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19000 if test "${ac_cv_sizeof_int+set}" = set; then
19001 echo $ECHO_N "(cached) $ECHO_C" >&6
19002 else
19003 if test "$cross_compiling" = yes; then
19004 # Depending upon the size, compute the lo and hi bounds.
19005 cat >conftest.$ac_ext <<_ACEOF
19006 /* confdefs.h. */
19007 _ACEOF
19008 cat confdefs.h >>conftest.$ac_ext
19009 cat >>conftest.$ac_ext <<_ACEOF
19010 /* end confdefs.h. */
19011 $ac_includes_default
19012 typedef int ac__type_sizeof_;
19013 int
19014 main ()
19015 {
19016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19017 test_array [0] = 0
19018
19019 ;
19020 return 0;
19021 }
19022 _ACEOF
19023 rm -f conftest.$ac_objext
19024 if { (ac_try="$ac_compile"
19025 case "(($ac_try" in
19026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19027 *) ac_try_echo=$ac_try;;
19028 esac
19029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030 (eval "$ac_compile") 2>conftest.er1
19031 ac_status=$?
19032 grep -v '^ *+' conftest.er1 >conftest.err
19033 rm -f conftest.er1
19034 cat conftest.err >&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } && {
19037 test -z "$ac_c_werror_flag" ||
19038 test ! -s conftest.err
19039 } && test -s conftest.$ac_objext; then
19040 ac_lo=0 ac_mid=0
19041 while :; do
19042 cat >conftest.$ac_ext <<_ACEOF
19043 /* confdefs.h. */
19044 _ACEOF
19045 cat confdefs.h >>conftest.$ac_ext
19046 cat >>conftest.$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 $ac_includes_default
19049 typedef int ac__type_sizeof_;
19050 int
19051 main ()
19052 {
19053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19054 test_array [0] = 0
19055
19056 ;
19057 return 0;
19058 }
19059 _ACEOF
19060 rm -f conftest.$ac_objext
19061 if { (ac_try="$ac_compile"
19062 case "(($ac_try" in
19063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19064 *) ac_try_echo=$ac_try;;
19065 esac
19066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19067 (eval "$ac_compile") 2>conftest.er1
19068 ac_status=$?
19069 grep -v '^ *+' conftest.er1 >conftest.err
19070 rm -f conftest.er1
19071 cat conftest.err >&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } && {
19074 test -z "$ac_c_werror_flag" ||
19075 test ! -s conftest.err
19076 } && test -s conftest.$ac_objext; then
19077 ac_hi=$ac_mid; break
19078 else
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19081
19082 ac_lo=`expr $ac_mid + 1`
19083 if test $ac_lo -le $ac_mid; then
19084 ac_lo= ac_hi=
19085 break
19086 fi
19087 ac_mid=`expr 2 '*' $ac_mid + 1`
19088 fi
19089
19090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19091 done
19092 else
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.$ac_ext >&5
19095
19096 cat >conftest.$ac_ext <<_ACEOF
19097 /* confdefs.h. */
19098 _ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 $ac_includes_default
19103 typedef int ac__type_sizeof_;
19104 int
19105 main ()
19106 {
19107 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19108 test_array [0] = 0
19109
19110 ;
19111 return 0;
19112 }
19113 _ACEOF
19114 rm -f conftest.$ac_objext
19115 if { (ac_try="$ac_compile"
19116 case "(($ac_try" in
19117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19118 *) ac_try_echo=$ac_try;;
19119 esac
19120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19121 (eval "$ac_compile") 2>conftest.er1
19122 ac_status=$?
19123 grep -v '^ *+' conftest.er1 >conftest.err
19124 rm -f conftest.er1
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } && {
19128 test -z "$ac_c_werror_flag" ||
19129 test ! -s conftest.err
19130 } && test -s conftest.$ac_objext; then
19131 ac_hi=-1 ac_mid=-1
19132 while :; do
19133 cat >conftest.$ac_ext <<_ACEOF
19134 /* confdefs.h. */
19135 _ACEOF
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 $ac_includes_default
19140 typedef int ac__type_sizeof_;
19141 int
19142 main ()
19143 {
19144 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19145 test_array [0] = 0
19146
19147 ;
19148 return 0;
19149 }
19150 _ACEOF
19151 rm -f conftest.$ac_objext
19152 if { (ac_try="$ac_compile"
19153 case "(($ac_try" in
19154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19155 *) ac_try_echo=$ac_try;;
19156 esac
19157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19158 (eval "$ac_compile") 2>conftest.er1
19159 ac_status=$?
19160 grep -v '^ *+' conftest.er1 >conftest.err
19161 rm -f conftest.er1
19162 cat conftest.err >&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } && {
19165 test -z "$ac_c_werror_flag" ||
19166 test ! -s conftest.err
19167 } && test -s conftest.$ac_objext; then
19168 ac_lo=$ac_mid; break
19169 else
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19172
19173 ac_hi=`expr '(' $ac_mid ')' - 1`
19174 if test $ac_mid -le $ac_hi; then
19175 ac_lo= ac_hi=
19176 break
19177 fi
19178 ac_mid=`expr 2 '*' $ac_mid`
19179 fi
19180
19181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19182 done
19183 else
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.$ac_ext >&5
19186
19187 ac_lo= ac_hi=
19188 fi
19189
19190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19191 fi
19192
19193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19194 # Binary search between lo and hi bounds.
19195 while test "x$ac_lo" != "x$ac_hi"; do
19196 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19197 cat >conftest.$ac_ext <<_ACEOF
19198 /* confdefs.h. */
19199 _ACEOF
19200 cat confdefs.h >>conftest.$ac_ext
19201 cat >>conftest.$ac_ext <<_ACEOF
19202 /* end confdefs.h. */
19203 $ac_includes_default
19204 typedef int ac__type_sizeof_;
19205 int
19206 main ()
19207 {
19208 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19209 test_array [0] = 0
19210
19211 ;
19212 return 0;
19213 }
19214 _ACEOF
19215 rm -f conftest.$ac_objext
19216 if { (ac_try="$ac_compile"
19217 case "(($ac_try" in
19218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19219 *) ac_try_echo=$ac_try;;
19220 esac
19221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19222 (eval "$ac_compile") 2>conftest.er1
19223 ac_status=$?
19224 grep -v '^ *+' conftest.er1 >conftest.err
19225 rm -f conftest.er1
19226 cat conftest.err >&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } && {
19229 test -z "$ac_c_werror_flag" ||
19230 test ! -s conftest.err
19231 } && test -s conftest.$ac_objext; then
19232 ac_hi=$ac_mid
19233 else
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19236
19237 ac_lo=`expr '(' $ac_mid ')' + 1`
19238 fi
19239
19240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19241 done
19242 case $ac_lo in
19243 ?*) ac_cv_sizeof_int=$ac_lo;;
19244 '') if test "$ac_cv_type_int" = yes; then
19245 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19246 See \`config.log' for more details." >&5
19247 echo "$as_me: error: cannot compute sizeof (int)
19248 See \`config.log' for more details." >&2;}
19249 { (exit 77); exit 77; }; }
19250 else
19251 ac_cv_sizeof_int=0
19252 fi ;;
19253 esac
19254 else
19255 cat >conftest.$ac_ext <<_ACEOF
19256 /* confdefs.h. */
19257 _ACEOF
19258 cat confdefs.h >>conftest.$ac_ext
19259 cat >>conftest.$ac_ext <<_ACEOF
19260 /* end confdefs.h. */
19261 $ac_includes_default
19262 typedef int ac__type_sizeof_;
19263 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19264 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19265 #include <stdio.h>
19266 #include <stdlib.h>
19267 int
19268 main ()
19269 {
19270
19271 FILE *f = fopen ("conftest.val", "w");
19272 if (! f)
19273 return 1;
19274 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19275 {
19276 long int i = longval ();
19277 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19278 return 1;
19279 fprintf (f, "%ld\n", i);
19280 }
19281 else
19282 {
19283 unsigned long int i = ulongval ();
19284 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19285 return 1;
19286 fprintf (f, "%lu\n", i);
19287 }
19288 return ferror (f) || fclose (f) != 0;
19289
19290 ;
19291 return 0;
19292 }
19293 _ACEOF
19294 rm -f conftest$ac_exeext
19295 if { (ac_try="$ac_link"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19299 esac
19300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_link") 2>&5
19302 ac_status=$?
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19305 { (case "(($ac_try" in
19306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19307 *) ac_try_echo=$ac_try;;
19308 esac
19309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19310 (eval "$ac_try") 2>&5
19311 ac_status=$?
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); }; }; then
19314 ac_cv_sizeof_int=`cat conftest.val`
19315 else
19316 echo "$as_me: program exited with status $ac_status" >&5
19317 echo "$as_me: failed program was:" >&5
19318 sed 's/^/| /' conftest.$ac_ext >&5
19319
19320 ( exit $ac_status )
19321 if test "$ac_cv_type_int" = yes; then
19322 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19323 See \`config.log' for more details." >&5
19324 echo "$as_me: error: cannot compute sizeof (int)
19325 See \`config.log' for more details." >&2;}
19326 { (exit 77); exit 77; }; }
19327 else
19328 ac_cv_sizeof_int=0
19329 fi
19330 fi
19331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19332 fi
19333 rm -f conftest.val
19334 fi
19335 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19336 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19337
19338
19339
19340 cat >>confdefs.h <<_ACEOF
19341 #define SIZEOF_INT $ac_cv_sizeof_int
19342 _ACEOF
19343
19344
19345 { echo "$as_me:$LINENO: checking for long" >&5
19346 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19347 if test "${ac_cv_type_long+set}" = set; then
19348 echo $ECHO_N "(cached) $ECHO_C" >&6
19349 else
19350 cat >conftest.$ac_ext <<_ACEOF
19351 /* confdefs.h. */
19352 _ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19356 $ac_includes_default
19357 typedef long ac__type_new_;
19358 int
19359 main ()
19360 {
19361 if ((ac__type_new_ *) 0)
19362 return 0;
19363 if (sizeof (ac__type_new_))
19364 return 0;
19365 ;
19366 return 0;
19367 }
19368 _ACEOF
19369 rm -f conftest.$ac_objext
19370 if { (ac_try="$ac_compile"
19371 case "(($ac_try" in
19372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19373 *) ac_try_echo=$ac_try;;
19374 esac
19375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19376 (eval "$ac_compile") 2>conftest.er1
19377 ac_status=$?
19378 grep -v '^ *+' conftest.er1 >conftest.err
19379 rm -f conftest.er1
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } && {
19383 test -z "$ac_c_werror_flag" ||
19384 test ! -s conftest.err
19385 } && test -s conftest.$ac_objext; then
19386 ac_cv_type_long=yes
19387 else
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.$ac_ext >&5
19390
19391 ac_cv_type_long=no
19392 fi
19393
19394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19395 fi
19396 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19397 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19398
19399 # The cast to long int works around a bug in the HP C Compiler
19400 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19401 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19402 # This bug is HP SR number 8606223364.
19403 { echo "$as_me:$LINENO: checking size of long" >&5
19404 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19405 if test "${ac_cv_sizeof_long+set}" = set; then
19406 echo $ECHO_N "(cached) $ECHO_C" >&6
19407 else
19408 if test "$cross_compiling" = yes; then
19409 # Depending upon the size, compute the lo and hi bounds.
19410 cat >conftest.$ac_ext <<_ACEOF
19411 /* confdefs.h. */
19412 _ACEOF
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416 $ac_includes_default
19417 typedef long ac__type_sizeof_;
19418 int
19419 main ()
19420 {
19421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19422 test_array [0] = 0
19423
19424 ;
19425 return 0;
19426 }
19427 _ACEOF
19428 rm -f conftest.$ac_objext
19429 if { (ac_try="$ac_compile"
19430 case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19433 esac
19434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_compile") 2>conftest.er1
19436 ac_status=$?
19437 grep -v '^ *+' conftest.er1 >conftest.err
19438 rm -f conftest.er1
19439 cat conftest.err >&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } && {
19442 test -z "$ac_c_werror_flag" ||
19443 test ! -s conftest.err
19444 } && test -s conftest.$ac_objext; then
19445 ac_lo=0 ac_mid=0
19446 while :; do
19447 cat >conftest.$ac_ext <<_ACEOF
19448 /* confdefs.h. */
19449 _ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453 $ac_includes_default
19454 typedef long ac__type_sizeof_;
19455 int
19456 main ()
19457 {
19458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19459 test_array [0] = 0
19460
19461 ;
19462 return 0;
19463 }
19464 _ACEOF
19465 rm -f conftest.$ac_objext
19466 if { (ac_try="$ac_compile"
19467 case "(($ac_try" in
19468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19469 *) ac_try_echo=$ac_try;;
19470 esac
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_compile") 2>conftest.er1
19473 ac_status=$?
19474 grep -v '^ *+' conftest.er1 >conftest.err
19475 rm -f conftest.er1
19476 cat conftest.err >&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest.$ac_objext; then
19482 ac_hi=$ac_mid; break
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19486
19487 ac_lo=`expr $ac_mid + 1`
19488 if test $ac_lo -le $ac_mid; then
19489 ac_lo= ac_hi=
19490 break
19491 fi
19492 ac_mid=`expr 2 '*' $ac_mid + 1`
19493 fi
19494
19495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19496 done
19497 else
19498 echo "$as_me: failed program was:" >&5
19499 sed 's/^/| /' conftest.$ac_ext >&5
19500
19501 cat >conftest.$ac_ext <<_ACEOF
19502 /* confdefs.h. */
19503 _ACEOF
19504 cat confdefs.h >>conftest.$ac_ext
19505 cat >>conftest.$ac_ext <<_ACEOF
19506 /* end confdefs.h. */
19507 $ac_includes_default
19508 typedef long ac__type_sizeof_;
19509 int
19510 main ()
19511 {
19512 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19513 test_array [0] = 0
19514
19515 ;
19516 return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest.$ac_objext
19520 if { (ac_try="$ac_compile"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19524 esac
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_compile") 2>conftest.er1
19527 ac_status=$?
19528 grep -v '^ *+' conftest.er1 >conftest.err
19529 rm -f conftest.er1
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } && {
19533 test -z "$ac_c_werror_flag" ||
19534 test ! -s conftest.err
19535 } && test -s conftest.$ac_objext; then
19536 ac_hi=-1 ac_mid=-1
19537 while :; do
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 $ac_includes_default
19545 typedef long ac__type_sizeof_;
19546 int
19547 main ()
19548 {
19549 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19550 test_array [0] = 0
19551
19552 ;
19553 return 0;
19554 }
19555 _ACEOF
19556 rm -f conftest.$ac_objext
19557 if { (ac_try="$ac_compile"
19558 case "(($ac_try" in
19559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19560 *) ac_try_echo=$ac_try;;
19561 esac
19562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19563 (eval "$ac_compile") 2>conftest.er1
19564 ac_status=$?
19565 grep -v '^ *+' conftest.er1 >conftest.err
19566 rm -f conftest.er1
19567 cat conftest.err >&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } && {
19570 test -z "$ac_c_werror_flag" ||
19571 test ! -s conftest.err
19572 } && test -s conftest.$ac_objext; then
19573 ac_lo=$ac_mid; break
19574 else
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19577
19578 ac_hi=`expr '(' $ac_mid ')' - 1`
19579 if test $ac_mid -le $ac_hi; then
19580 ac_lo= ac_hi=
19581 break
19582 fi
19583 ac_mid=`expr 2 '*' $ac_mid`
19584 fi
19585
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 done
19588 else
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19591
19592 ac_lo= ac_hi=
19593 fi
19594
19595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19596 fi
19597
19598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19599 # Binary search between lo and hi bounds.
19600 while test "x$ac_lo" != "x$ac_hi"; do
19601 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h. */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 $ac_includes_default
19609 typedef long ac__type_sizeof_;
19610 int
19611 main ()
19612 {
19613 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19614 test_array [0] = 0
19615
19616 ;
19617 return 0;
19618 }
19619 _ACEOF
19620 rm -f conftest.$ac_objext
19621 if { (ac_try="$ac_compile"
19622 case "(($ac_try" in
19623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19624 *) ac_try_echo=$ac_try;;
19625 esac
19626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19627 (eval "$ac_compile") 2>conftest.er1
19628 ac_status=$?
19629 grep -v '^ *+' conftest.er1 >conftest.err
19630 rm -f conftest.er1
19631 cat conftest.err >&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); } && {
19634 test -z "$ac_c_werror_flag" ||
19635 test ! -s conftest.err
19636 } && test -s conftest.$ac_objext; then
19637 ac_hi=$ac_mid
19638 else
19639 echo "$as_me: failed program was:" >&5
19640 sed 's/^/| /' conftest.$ac_ext >&5
19641
19642 ac_lo=`expr '(' $ac_mid ')' + 1`
19643 fi
19644
19645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19646 done
19647 case $ac_lo in
19648 ?*) ac_cv_sizeof_long=$ac_lo;;
19649 '') if test "$ac_cv_type_long" = yes; then
19650 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19651 See \`config.log' for more details." >&5
19652 echo "$as_me: error: cannot compute sizeof (long)
19653 See \`config.log' for more details." >&2;}
19654 { (exit 77); exit 77; }; }
19655 else
19656 ac_cv_sizeof_long=0
19657 fi ;;
19658 esac
19659 else
19660 cat >conftest.$ac_ext <<_ACEOF
19661 /* confdefs.h. */
19662 _ACEOF
19663 cat confdefs.h >>conftest.$ac_ext
19664 cat >>conftest.$ac_ext <<_ACEOF
19665 /* end confdefs.h. */
19666 $ac_includes_default
19667 typedef long ac__type_sizeof_;
19668 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19669 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19670 #include <stdio.h>
19671 #include <stdlib.h>
19672 int
19673 main ()
19674 {
19675
19676 FILE *f = fopen ("conftest.val", "w");
19677 if (! f)
19678 return 1;
19679 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19680 {
19681 long int i = longval ();
19682 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19683 return 1;
19684 fprintf (f, "%ld\n", i);
19685 }
19686 else
19687 {
19688 unsigned long int i = ulongval ();
19689 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19690 return 1;
19691 fprintf (f, "%lu\n", i);
19692 }
19693 return ferror (f) || fclose (f) != 0;
19694
19695 ;
19696 return 0;
19697 }
19698 _ACEOF
19699 rm -f conftest$ac_exeext
19700 if { (ac_try="$ac_link"
19701 case "(($ac_try" in
19702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19703 *) ac_try_echo=$ac_try;;
19704 esac
19705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19706 (eval "$ac_link") 2>&5
19707 ac_status=$?
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19710 { (case "(($ac_try" in
19711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19712 *) ac_try_echo=$ac_try;;
19713 esac
19714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19715 (eval "$ac_try") 2>&5
19716 ac_status=$?
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 ac_cv_sizeof_long=`cat conftest.val`
19720 else
19721 echo "$as_me: program exited with status $ac_status" >&5
19722 echo "$as_me: failed program was:" >&5
19723 sed 's/^/| /' conftest.$ac_ext >&5
19724
19725 ( exit $ac_status )
19726 if test "$ac_cv_type_long" = yes; then
19727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19728 See \`config.log' for more details." >&5
19729 echo "$as_me: error: cannot compute sizeof (long)
19730 See \`config.log' for more details." >&2;}
19731 { (exit 77); exit 77; }; }
19732 else
19733 ac_cv_sizeof_long=0
19734 fi
19735 fi
19736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19737 fi
19738 rm -f conftest.val
19739 fi
19740 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19741 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19742
19743
19744
19745 cat >>confdefs.h <<_ACEOF
19746 #define SIZEOF_LONG $ac_cv_sizeof_long
19747 _ACEOF
19748
19749
19750 { echo "$as_me:$LINENO: checking for size_t" >&5
19751 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19752 if test "${ac_cv_type_size_t+set}" = set; then
19753 echo $ECHO_N "(cached) $ECHO_C" >&6
19754 else
19755 cat >conftest.$ac_ext <<_ACEOF
19756 /* confdefs.h. */
19757 _ACEOF
19758 cat confdefs.h >>conftest.$ac_ext
19759 cat >>conftest.$ac_ext <<_ACEOF
19760 /* end confdefs.h. */
19761 $ac_includes_default
19762 typedef size_t ac__type_new_;
19763 int
19764 main ()
19765 {
19766 if ((ac__type_new_ *) 0)
19767 return 0;
19768 if (sizeof (ac__type_new_))
19769 return 0;
19770 ;
19771 return 0;
19772 }
19773 _ACEOF
19774 rm -f conftest.$ac_objext
19775 if { (ac_try="$ac_compile"
19776 case "(($ac_try" in
19777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19778 *) ac_try_echo=$ac_try;;
19779 esac
19780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19781 (eval "$ac_compile") 2>conftest.er1
19782 ac_status=$?
19783 grep -v '^ *+' conftest.er1 >conftest.err
19784 rm -f conftest.er1
19785 cat conftest.err >&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } && {
19788 test -z "$ac_c_werror_flag" ||
19789 test ! -s conftest.err
19790 } && test -s conftest.$ac_objext; then
19791 ac_cv_type_size_t=yes
19792 else
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.$ac_ext >&5
19795
19796 ac_cv_type_size_t=no
19797 fi
19798
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19800 fi
19801 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19802 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19803
19804 # The cast to long int works around a bug in the HP C Compiler
19805 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19806 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19807 # This bug is HP SR number 8606223364.
19808 { echo "$as_me:$LINENO: checking size of size_t" >&5
19809 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19810 if test "${ac_cv_sizeof_size_t+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19812 else
19813 if test "$cross_compiling" = yes; then
19814 # Depending upon the size, compute the lo and hi bounds.
19815 cat >conftest.$ac_ext <<_ACEOF
19816 /* confdefs.h. */
19817 _ACEOF
19818 cat confdefs.h >>conftest.$ac_ext
19819 cat >>conftest.$ac_ext <<_ACEOF
19820 /* end confdefs.h. */
19821 $ac_includes_default
19822 typedef size_t ac__type_sizeof_;
19823 int
19824 main ()
19825 {
19826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19827 test_array [0] = 0
19828
19829 ;
19830 return 0;
19831 }
19832 _ACEOF
19833 rm -f conftest.$ac_objext
19834 if { (ac_try="$ac_compile"
19835 case "(($ac_try" in
19836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19837 *) ac_try_echo=$ac_try;;
19838 esac
19839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19840 (eval "$ac_compile") 2>conftest.er1
19841 ac_status=$?
19842 grep -v '^ *+' conftest.er1 >conftest.err
19843 rm -f conftest.er1
19844 cat conftest.err >&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); } && {
19847 test -z "$ac_c_werror_flag" ||
19848 test ! -s conftest.err
19849 } && test -s conftest.$ac_objext; then
19850 ac_lo=0 ac_mid=0
19851 while :; do
19852 cat >conftest.$ac_ext <<_ACEOF
19853 /* confdefs.h. */
19854 _ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 $ac_includes_default
19859 typedef size_t ac__type_sizeof_;
19860 int
19861 main ()
19862 {
19863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19864 test_array [0] = 0
19865
19866 ;
19867 return 0;
19868 }
19869 _ACEOF
19870 rm -f conftest.$ac_objext
19871 if { (ac_try="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19875 esac
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19878 ac_status=$?
19879 grep -v '^ *+' conftest.er1 >conftest.err
19880 rm -f conftest.er1
19881 cat conftest.err >&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } && {
19884 test -z "$ac_c_werror_flag" ||
19885 test ! -s conftest.err
19886 } && test -s conftest.$ac_objext; then
19887 ac_hi=$ac_mid; break
19888 else
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.$ac_ext >&5
19891
19892 ac_lo=`expr $ac_mid + 1`
19893 if test $ac_lo -le $ac_mid; then
19894 ac_lo= ac_hi=
19895 break
19896 fi
19897 ac_mid=`expr 2 '*' $ac_mid + 1`
19898 fi
19899
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901 done
19902 else
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19905
19906 cat >conftest.$ac_ext <<_ACEOF
19907 /* confdefs.h. */
19908 _ACEOF
19909 cat confdefs.h >>conftest.$ac_ext
19910 cat >>conftest.$ac_ext <<_ACEOF
19911 /* end confdefs.h. */
19912 $ac_includes_default
19913 typedef size_t ac__type_sizeof_;
19914 int
19915 main ()
19916 {
19917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19918 test_array [0] = 0
19919
19920 ;
19921 return 0;
19922 }
19923 _ACEOF
19924 rm -f conftest.$ac_objext
19925 if { (ac_try="$ac_compile"
19926 case "(($ac_try" in
19927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19928 *) ac_try_echo=$ac_try;;
19929 esac
19930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19931 (eval "$ac_compile") 2>conftest.er1
19932 ac_status=$?
19933 grep -v '^ *+' conftest.er1 >conftest.err
19934 rm -f conftest.er1
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } && {
19938 test -z "$ac_c_werror_flag" ||
19939 test ! -s conftest.err
19940 } && test -s conftest.$ac_objext; then
19941 ac_hi=-1 ac_mid=-1
19942 while :; do
19943 cat >conftest.$ac_ext <<_ACEOF
19944 /* confdefs.h. */
19945 _ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 $ac_includes_default
19950 typedef size_t ac__type_sizeof_;
19951 int
19952 main ()
19953 {
19954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19955 test_array [0] = 0
19956
19957 ;
19958 return 0;
19959 }
19960 _ACEOF
19961 rm -f conftest.$ac_objext
19962 if { (ac_try="$ac_compile"
19963 case "(($ac_try" in
19964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19965 *) ac_try_echo=$ac_try;;
19966 esac
19967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19968 (eval "$ac_compile") 2>conftest.er1
19969 ac_status=$?
19970 grep -v '^ *+' conftest.er1 >conftest.err
19971 rm -f conftest.er1
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } && {
19975 test -z "$ac_c_werror_flag" ||
19976 test ! -s conftest.err
19977 } && test -s conftest.$ac_objext; then
19978 ac_lo=$ac_mid; break
19979 else
19980 echo "$as_me: failed program was:" >&5
19981 sed 's/^/| /' conftest.$ac_ext >&5
19982
19983 ac_hi=`expr '(' $ac_mid ')' - 1`
19984 if test $ac_mid -le $ac_hi; then
19985 ac_lo= ac_hi=
19986 break
19987 fi
19988 ac_mid=`expr 2 '*' $ac_mid`
19989 fi
19990
19991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19992 done
19993 else
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.$ac_ext >&5
19996
19997 ac_lo= ac_hi=
19998 fi
19999
20000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20001 fi
20002
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20004 # Binary search between lo and hi bounds.
20005 while test "x$ac_lo" != "x$ac_hi"; do
20006 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20007 cat >conftest.$ac_ext <<_ACEOF
20008 /* confdefs.h. */
20009 _ACEOF
20010 cat confdefs.h >>conftest.$ac_ext
20011 cat >>conftest.$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013 $ac_includes_default
20014 typedef size_t ac__type_sizeof_;
20015 int
20016 main ()
20017 {
20018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20019 test_array [0] = 0
20020
20021 ;
20022 return 0;
20023 }
20024 _ACEOF
20025 rm -f conftest.$ac_objext
20026 if { (ac_try="$ac_compile"
20027 case "(($ac_try" in
20028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20029 *) ac_try_echo=$ac_try;;
20030 esac
20031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20032 (eval "$ac_compile") 2>conftest.er1
20033 ac_status=$?
20034 grep -v '^ *+' conftest.er1 >conftest.err
20035 rm -f conftest.er1
20036 cat conftest.err >&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); } && {
20039 test -z "$ac_c_werror_flag" ||
20040 test ! -s conftest.err
20041 } && test -s conftest.$ac_objext; then
20042 ac_hi=$ac_mid
20043 else
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.$ac_ext >&5
20046
20047 ac_lo=`expr '(' $ac_mid ')' + 1`
20048 fi
20049
20050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20051 done
20052 case $ac_lo in
20053 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20054 '') if test "$ac_cv_type_size_t" = yes; then
20055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20056 See \`config.log' for more details." >&5
20057 echo "$as_me: error: cannot compute sizeof (size_t)
20058 See \`config.log' for more details." >&2;}
20059 { (exit 77); exit 77; }; }
20060 else
20061 ac_cv_sizeof_size_t=0
20062 fi ;;
20063 esac
20064 else
20065 cat >conftest.$ac_ext <<_ACEOF
20066 /* confdefs.h. */
20067 _ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 $ac_includes_default
20072 typedef size_t ac__type_sizeof_;
20073 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20074 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20075 #include <stdio.h>
20076 #include <stdlib.h>
20077 int
20078 main ()
20079 {
20080
20081 FILE *f = fopen ("conftest.val", "w");
20082 if (! f)
20083 return 1;
20084 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20085 {
20086 long int i = longval ();
20087 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20088 return 1;
20089 fprintf (f, "%ld\n", i);
20090 }
20091 else
20092 {
20093 unsigned long int i = ulongval ();
20094 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20095 return 1;
20096 fprintf (f, "%lu\n", i);
20097 }
20098 return ferror (f) || fclose (f) != 0;
20099
20100 ;
20101 return 0;
20102 }
20103 _ACEOF
20104 rm -f conftest$ac_exeext
20105 if { (ac_try="$ac_link"
20106 case "(($ac_try" in
20107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20108 *) ac_try_echo=$ac_try;;
20109 esac
20110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20111 (eval "$ac_link") 2>&5
20112 ac_status=$?
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20115 { (case "(($ac_try" in
20116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20117 *) ac_try_echo=$ac_try;;
20118 esac
20119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20120 (eval "$ac_try") 2>&5
20121 ac_status=$?
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; }; then
20124 ac_cv_sizeof_size_t=`cat conftest.val`
20125 else
20126 echo "$as_me: program exited with status $ac_status" >&5
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20129
20130 ( exit $ac_status )
20131 if test "$ac_cv_type_size_t" = yes; then
20132 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20133 See \`config.log' for more details." >&5
20134 echo "$as_me: error: cannot compute sizeof (size_t)
20135 See \`config.log' for more details." >&2;}
20136 { (exit 77); exit 77; }; }
20137 else
20138 ac_cv_sizeof_size_t=0
20139 fi
20140 fi
20141 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20142 fi
20143 rm -f conftest.val
20144 fi
20145 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20146 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20147
20148
20149
20150 cat >>confdefs.h <<_ACEOF
20151 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20152 _ACEOF
20153
20154
20155
20156 case "${host}" in
20157 arm-*-linux* )
20158 { echo "$as_me:$LINENO: checking for long long" >&5
20159 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20160 if test "${ac_cv_type_long_long+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 else
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h. */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 $ac_includes_default
20170 typedef long long ac__type_new_;
20171 int
20172 main ()
20173 {
20174 if ((ac__type_new_ *) 0)
20175 return 0;
20176 if (sizeof (ac__type_new_))
20177 return 0;
20178 ;
20179 return 0;
20180 }
20181 _ACEOF
20182 rm -f conftest.$ac_objext
20183 if { (ac_try="$ac_compile"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20187 esac
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_compile") 2>conftest.er1
20190 ac_status=$?
20191 grep -v '^ *+' conftest.er1 >conftest.err
20192 rm -f conftest.er1
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_c_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest.$ac_objext; then
20199 ac_cv_type_long_long=yes
20200 else
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20203
20204 ac_cv_type_long_long=no
20205 fi
20206
20207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20208 fi
20209 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20210 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20211
20212 # The cast to long int works around a bug in the HP C Compiler
20213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20215 # This bug is HP SR number 8606223364.
20216 { echo "$as_me:$LINENO: checking size of long long" >&5
20217 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20218 if test "${ac_cv_sizeof_long_long+set}" = set; then
20219 echo $ECHO_N "(cached) $ECHO_C" >&6
20220 else
20221 if test "$cross_compiling" = yes; then
20222 # Depending upon the size, compute the lo and hi bounds.
20223 cat >conftest.$ac_ext <<_ACEOF
20224 /* confdefs.h. */
20225 _ACEOF
20226 cat confdefs.h >>conftest.$ac_ext
20227 cat >>conftest.$ac_ext <<_ACEOF
20228 /* end confdefs.h. */
20229 $ac_includes_default
20230 typedef long long ac__type_sizeof_;
20231 int
20232 main ()
20233 {
20234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20235 test_array [0] = 0
20236
20237 ;
20238 return 0;
20239 }
20240 _ACEOF
20241 rm -f conftest.$ac_objext
20242 if { (ac_try="$ac_compile"
20243 case "(($ac_try" in
20244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20245 *) ac_try_echo=$ac_try;;
20246 esac
20247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20248 (eval "$ac_compile") 2>conftest.er1
20249 ac_status=$?
20250 grep -v '^ *+' conftest.er1 >conftest.err
20251 rm -f conftest.er1
20252 cat conftest.err >&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); } && {
20255 test -z "$ac_c_werror_flag" ||
20256 test ! -s conftest.err
20257 } && test -s conftest.$ac_objext; then
20258 ac_lo=0 ac_mid=0
20259 while :; do
20260 cat >conftest.$ac_ext <<_ACEOF
20261 /* confdefs.h. */
20262 _ACEOF
20263 cat confdefs.h >>conftest.$ac_ext
20264 cat >>conftest.$ac_ext <<_ACEOF
20265 /* end confdefs.h. */
20266 $ac_includes_default
20267 typedef long long ac__type_sizeof_;
20268 int
20269 main ()
20270 {
20271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20272 test_array [0] = 0
20273
20274 ;
20275 return 0;
20276 }
20277 _ACEOF
20278 rm -f conftest.$ac_objext
20279 if { (ac_try="$ac_compile"
20280 case "(($ac_try" in
20281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20282 *) ac_try_echo=$ac_try;;
20283 esac
20284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20285 (eval "$ac_compile") 2>conftest.er1
20286 ac_status=$?
20287 grep -v '^ *+' conftest.er1 >conftest.err
20288 rm -f conftest.er1
20289 cat conftest.err >&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } && {
20292 test -z "$ac_c_werror_flag" ||
20293 test ! -s conftest.err
20294 } && test -s conftest.$ac_objext; then
20295 ac_hi=$ac_mid; break
20296 else
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.$ac_ext >&5
20299
20300 ac_lo=`expr $ac_mid + 1`
20301 if test $ac_lo -le $ac_mid; then
20302 ac_lo= ac_hi=
20303 break
20304 fi
20305 ac_mid=`expr 2 '*' $ac_mid + 1`
20306 fi
20307
20308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20309 done
20310 else
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.$ac_ext >&5
20313
20314 cat >conftest.$ac_ext <<_ACEOF
20315 /* confdefs.h. */
20316 _ACEOF
20317 cat confdefs.h >>conftest.$ac_ext
20318 cat >>conftest.$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 $ac_includes_default
20321 typedef long long ac__type_sizeof_;
20322 int
20323 main ()
20324 {
20325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20326 test_array [0] = 0
20327
20328 ;
20329 return 0;
20330 }
20331 _ACEOF
20332 rm -f conftest.$ac_objext
20333 if { (ac_try="$ac_compile"
20334 case "(($ac_try" in
20335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20336 *) ac_try_echo=$ac_try;;
20337 esac
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_compile") 2>conftest.er1
20340 ac_status=$?
20341 grep -v '^ *+' conftest.er1 >conftest.err
20342 rm -f conftest.er1
20343 cat conftest.err >&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } && {
20346 test -z "$ac_c_werror_flag" ||
20347 test ! -s conftest.err
20348 } && test -s conftest.$ac_objext; then
20349 ac_hi=-1 ac_mid=-1
20350 while :; do
20351 cat >conftest.$ac_ext <<_ACEOF
20352 /* confdefs.h. */
20353 _ACEOF
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 $ac_includes_default
20358 typedef long long ac__type_sizeof_;
20359 int
20360 main ()
20361 {
20362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20363 test_array [0] = 0
20364
20365 ;
20366 return 0;
20367 }
20368 _ACEOF
20369 rm -f conftest.$ac_objext
20370 if { (ac_try="$ac_compile"
20371 case "(($ac_try" in
20372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20373 *) ac_try_echo=$ac_try;;
20374 esac
20375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20376 (eval "$ac_compile") 2>conftest.er1
20377 ac_status=$?
20378 grep -v '^ *+' conftest.er1 >conftest.err
20379 rm -f conftest.er1
20380 cat conftest.err >&5
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); } && {
20383 test -z "$ac_c_werror_flag" ||
20384 test ! -s conftest.err
20385 } && test -s conftest.$ac_objext; then
20386 ac_lo=$ac_mid; break
20387 else
20388 echo "$as_me: failed program was:" >&5
20389 sed 's/^/| /' conftest.$ac_ext >&5
20390
20391 ac_hi=`expr '(' $ac_mid ')' - 1`
20392 if test $ac_mid -le $ac_hi; then
20393 ac_lo= ac_hi=
20394 break
20395 fi
20396 ac_mid=`expr 2 '*' $ac_mid`
20397 fi
20398
20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20400 done
20401 else
20402 echo "$as_me: failed program was:" >&5
20403 sed 's/^/| /' conftest.$ac_ext >&5
20404
20405 ac_lo= ac_hi=
20406 fi
20407
20408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20409 fi
20410
20411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20412 # Binary search between lo and hi bounds.
20413 while test "x$ac_lo" != "x$ac_hi"; do
20414 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20415 cat >conftest.$ac_ext <<_ACEOF
20416 /* confdefs.h. */
20417 _ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef long long ac__type_sizeof_;
20423 int
20424 main ()
20425 {
20426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20427 test_array [0] = 0
20428
20429 ;
20430 return 0;
20431 }
20432 _ACEOF
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20441 ac_status=$?
20442 grep -v '^ *+' conftest.er1 >conftest.err
20443 rm -f conftest.er1
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.$ac_objext; then
20450 ac_hi=$ac_mid
20451 else
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20454
20455 ac_lo=`expr '(' $ac_mid ')' + 1`
20456 fi
20457
20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20459 done
20460 case $ac_lo in
20461 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20462 '') if test "$ac_cv_type_long_long" = yes; then
20463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20464 See \`config.log' for more details." >&5
20465 echo "$as_me: error: cannot compute sizeof (long long)
20466 See \`config.log' for more details." >&2;}
20467 { (exit 77); exit 77; }; }
20468 else
20469 ac_cv_sizeof_long_long=0
20470 fi ;;
20471 esac
20472 else
20473 cat >conftest.$ac_ext <<_ACEOF
20474 /* confdefs.h. */
20475 _ACEOF
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479 $ac_includes_default
20480 typedef long long ac__type_sizeof_;
20481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20483 #include <stdio.h>
20484 #include <stdlib.h>
20485 int
20486 main ()
20487 {
20488
20489 FILE *f = fopen ("conftest.val", "w");
20490 if (! f)
20491 return 1;
20492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20493 {
20494 long int i = longval ();
20495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20496 return 1;
20497 fprintf (f, "%ld\n", i);
20498 }
20499 else
20500 {
20501 unsigned long int i = ulongval ();
20502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20503 return 1;
20504 fprintf (f, "%lu\n", i);
20505 }
20506 return ferror (f) || fclose (f) != 0;
20507
20508 ;
20509 return 0;
20510 }
20511 _ACEOF
20512 rm -f conftest$ac_exeext
20513 if { (ac_try="$ac_link"
20514 case "(($ac_try" in
20515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20516 *) ac_try_echo=$ac_try;;
20517 esac
20518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20519 (eval "$ac_link") 2>&5
20520 ac_status=$?
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20523 { (case "(($ac_try" in
20524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20525 *) ac_try_echo=$ac_try;;
20526 esac
20527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20528 (eval "$ac_try") 2>&5
20529 ac_status=$?
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); }; }; then
20532 ac_cv_sizeof_long_long=`cat conftest.val`
20533 else
20534 echo "$as_me: program exited with status $ac_status" >&5
20535 echo "$as_me: failed program was:" >&5
20536 sed 's/^/| /' conftest.$ac_ext >&5
20537
20538 ( exit $ac_status )
20539 if test "$ac_cv_type_long_long" = yes; then
20540 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20541 See \`config.log' for more details." >&5
20542 echo "$as_me: error: cannot compute sizeof (long long)
20543 See \`config.log' for more details." >&2;}
20544 { (exit 77); exit 77; }; }
20545 else
20546 ac_cv_sizeof_long_long=0
20547 fi
20548 fi
20549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20550 fi
20551 rm -f conftest.val
20552 fi
20553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20554 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20555
20556
20557
20558 cat >>confdefs.h <<_ACEOF
20559 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20560 _ACEOF
20561
20562
20563 ;;
20564 *-hp-hpux* )
20565 { echo "$as_me:$LINENO: checking for long long" >&5
20566 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20567 if test "${ac_cv_type_long_long+set}" = set; then
20568 echo $ECHO_N "(cached) $ECHO_C" >&6
20569 else
20570 cat >conftest.$ac_ext <<_ACEOF
20571 /* confdefs.h. */
20572 _ACEOF
20573 cat confdefs.h >>conftest.$ac_ext
20574 cat >>conftest.$ac_ext <<_ACEOF
20575 /* end confdefs.h. */
20576 $ac_includes_default
20577 typedef long long ac__type_new_;
20578 int
20579 main ()
20580 {
20581 if ((ac__type_new_ *) 0)
20582 return 0;
20583 if (sizeof (ac__type_new_))
20584 return 0;
20585 ;
20586 return 0;
20587 }
20588 _ACEOF
20589 rm -f conftest.$ac_objext
20590 if { (ac_try="$ac_compile"
20591 case "(($ac_try" in
20592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20593 *) ac_try_echo=$ac_try;;
20594 esac
20595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20596 (eval "$ac_compile") 2>conftest.er1
20597 ac_status=$?
20598 grep -v '^ *+' conftest.er1 >conftest.err
20599 rm -f conftest.er1
20600 cat conftest.err >&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } && {
20603 test -z "$ac_c_werror_flag" ||
20604 test ! -s conftest.err
20605 } && test -s conftest.$ac_objext; then
20606 ac_cv_type_long_long=yes
20607 else
20608 echo "$as_me: failed program was:" >&5
20609 sed 's/^/| /' conftest.$ac_ext >&5
20610
20611 ac_cv_type_long_long=no
20612 fi
20613
20614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20615 fi
20616 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20617 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20618
20619 # The cast to long int works around a bug in the HP C Compiler
20620 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20621 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20622 # This bug is HP SR number 8606223364.
20623 { echo "$as_me:$LINENO: checking size of long long" >&5
20624 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20625 if test "${ac_cv_sizeof_long_long+set}" = set; then
20626 echo $ECHO_N "(cached) $ECHO_C" >&6
20627 else
20628 if test "$cross_compiling" = yes; then
20629 # Depending upon the size, compute the lo and hi bounds.
20630 cat >conftest.$ac_ext <<_ACEOF
20631 /* confdefs.h. */
20632 _ACEOF
20633 cat confdefs.h >>conftest.$ac_ext
20634 cat >>conftest.$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20636 $ac_includes_default
20637 typedef long long ac__type_sizeof_;
20638 int
20639 main ()
20640 {
20641 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20642 test_array [0] = 0
20643
20644 ;
20645 return 0;
20646 }
20647 _ACEOF
20648 rm -f conftest.$ac_objext
20649 if { (ac_try="$ac_compile"
20650 case "(($ac_try" in
20651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20652 *) ac_try_echo=$ac_try;;
20653 esac
20654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20655 (eval "$ac_compile") 2>conftest.er1
20656 ac_status=$?
20657 grep -v '^ *+' conftest.er1 >conftest.err
20658 rm -f conftest.er1
20659 cat conftest.err >&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } && {
20662 test -z "$ac_c_werror_flag" ||
20663 test ! -s conftest.err
20664 } && test -s conftest.$ac_objext; then
20665 ac_lo=0 ac_mid=0
20666 while :; do
20667 cat >conftest.$ac_ext <<_ACEOF
20668 /* confdefs.h. */
20669 _ACEOF
20670 cat confdefs.h >>conftest.$ac_ext
20671 cat >>conftest.$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673 $ac_includes_default
20674 typedef long long ac__type_sizeof_;
20675 int
20676 main ()
20677 {
20678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20679 test_array [0] = 0
20680
20681 ;
20682 return 0;
20683 }
20684 _ACEOF
20685 rm -f conftest.$ac_objext
20686 if { (ac_try="$ac_compile"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20690 esac
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_compile") 2>conftest.er1
20693 ac_status=$?
20694 grep -v '^ *+' conftest.er1 >conftest.err
20695 rm -f conftest.er1
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } && {
20699 test -z "$ac_c_werror_flag" ||
20700 test ! -s conftest.err
20701 } && test -s conftest.$ac_objext; then
20702 ac_hi=$ac_mid; break
20703 else
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20706
20707 ac_lo=`expr $ac_mid + 1`
20708 if test $ac_lo -le $ac_mid; then
20709 ac_lo= ac_hi=
20710 break
20711 fi
20712 ac_mid=`expr 2 '*' $ac_mid + 1`
20713 fi
20714
20715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20716 done
20717 else
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20720
20721 cat >conftest.$ac_ext <<_ACEOF
20722 /* confdefs.h. */
20723 _ACEOF
20724 cat confdefs.h >>conftest.$ac_ext
20725 cat >>conftest.$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 $ac_includes_default
20728 typedef long long ac__type_sizeof_;
20729 int
20730 main ()
20731 {
20732 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20733 test_array [0] = 0
20734
20735 ;
20736 return 0;
20737 }
20738 _ACEOF
20739 rm -f conftest.$ac_objext
20740 if { (ac_try="$ac_compile"
20741 case "(($ac_try" in
20742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20743 *) ac_try_echo=$ac_try;;
20744 esac
20745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20746 (eval "$ac_compile") 2>conftest.er1
20747 ac_status=$?
20748 grep -v '^ *+' conftest.er1 >conftest.err
20749 rm -f conftest.er1
20750 cat conftest.err >&5
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); } && {
20753 test -z "$ac_c_werror_flag" ||
20754 test ! -s conftest.err
20755 } && test -s conftest.$ac_objext; then
20756 ac_hi=-1 ac_mid=-1
20757 while :; do
20758 cat >conftest.$ac_ext <<_ACEOF
20759 /* confdefs.h. */
20760 _ACEOF
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 $ac_includes_default
20765 typedef long long ac__type_sizeof_;
20766 int
20767 main ()
20768 {
20769 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20770 test_array [0] = 0
20771
20772 ;
20773 return 0;
20774 }
20775 _ACEOF
20776 rm -f conftest.$ac_objext
20777 if { (ac_try="$ac_compile"
20778 case "(($ac_try" in
20779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20780 *) ac_try_echo=$ac_try;;
20781 esac
20782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20783 (eval "$ac_compile") 2>conftest.er1
20784 ac_status=$?
20785 grep -v '^ *+' conftest.er1 >conftest.err
20786 rm -f conftest.er1
20787 cat conftest.err >&5
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); } && {
20790 test -z "$ac_c_werror_flag" ||
20791 test ! -s conftest.err
20792 } && test -s conftest.$ac_objext; then
20793 ac_lo=$ac_mid; break
20794 else
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.$ac_ext >&5
20797
20798 ac_hi=`expr '(' $ac_mid ')' - 1`
20799 if test $ac_mid -le $ac_hi; then
20800 ac_lo= ac_hi=
20801 break
20802 fi
20803 ac_mid=`expr 2 '*' $ac_mid`
20804 fi
20805
20806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20807 done
20808 else
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.$ac_ext >&5
20811
20812 ac_lo= ac_hi=
20813 fi
20814
20815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20816 fi
20817
20818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20819 # Binary search between lo and hi bounds.
20820 while test "x$ac_lo" != "x$ac_hi"; do
20821 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20822 cat >conftest.$ac_ext <<_ACEOF
20823 /* confdefs.h. */
20824 _ACEOF
20825 cat confdefs.h >>conftest.$ac_ext
20826 cat >>conftest.$ac_ext <<_ACEOF
20827 /* end confdefs.h. */
20828 $ac_includes_default
20829 typedef long long ac__type_sizeof_;
20830 int
20831 main ()
20832 {
20833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20834 test_array [0] = 0
20835
20836 ;
20837 return 0;
20838 }
20839 _ACEOF
20840 rm -f conftest.$ac_objext
20841 if { (ac_try="$ac_compile"
20842 case "(($ac_try" in
20843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20844 *) ac_try_echo=$ac_try;;
20845 esac
20846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20847 (eval "$ac_compile") 2>conftest.er1
20848 ac_status=$?
20849 grep -v '^ *+' conftest.er1 >conftest.err
20850 rm -f conftest.er1
20851 cat conftest.err >&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } && {
20854 test -z "$ac_c_werror_flag" ||
20855 test ! -s conftest.err
20856 } && test -s conftest.$ac_objext; then
20857 ac_hi=$ac_mid
20858 else
20859 echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.$ac_ext >&5
20861
20862 ac_lo=`expr '(' $ac_mid ')' + 1`
20863 fi
20864
20865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20866 done
20867 case $ac_lo in
20868 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20869 '') if test "$ac_cv_type_long_long" = yes; then
20870 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20871 See \`config.log' for more details." >&5
20872 echo "$as_me: error: cannot compute sizeof (long long)
20873 See \`config.log' for more details." >&2;}
20874 { (exit 77); exit 77; }; }
20875 else
20876 ac_cv_sizeof_long_long=0
20877 fi ;;
20878 esac
20879 else
20880 cat >conftest.$ac_ext <<_ACEOF
20881 /* confdefs.h. */
20882 _ACEOF
20883 cat confdefs.h >>conftest.$ac_ext
20884 cat >>conftest.$ac_ext <<_ACEOF
20885 /* end confdefs.h. */
20886 $ac_includes_default
20887 typedef long long ac__type_sizeof_;
20888 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20889 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20890 #include <stdio.h>
20891 #include <stdlib.h>
20892 int
20893 main ()
20894 {
20895
20896 FILE *f = fopen ("conftest.val", "w");
20897 if (! f)
20898 return 1;
20899 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20900 {
20901 long int i = longval ();
20902 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20903 return 1;
20904 fprintf (f, "%ld\n", i);
20905 }
20906 else
20907 {
20908 unsigned long int i = ulongval ();
20909 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20910 return 1;
20911 fprintf (f, "%lu\n", i);
20912 }
20913 return ferror (f) || fclose (f) != 0;
20914
20915 ;
20916 return 0;
20917 }
20918 _ACEOF
20919 rm -f conftest$ac_exeext
20920 if { (ac_try="$ac_link"
20921 case "(($ac_try" in
20922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20923 *) ac_try_echo=$ac_try;;
20924 esac
20925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20926 (eval "$ac_link") 2>&5
20927 ac_status=$?
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20930 { (case "(($ac_try" in
20931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20932 *) ac_try_echo=$ac_try;;
20933 esac
20934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20935 (eval "$ac_try") 2>&5
20936 ac_status=$?
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; }; then
20939 ac_cv_sizeof_long_long=`cat conftest.val`
20940 else
20941 echo "$as_me: program exited with status $ac_status" >&5
20942 echo "$as_me: failed program was:" >&5
20943 sed 's/^/| /' conftest.$ac_ext >&5
20944
20945 ( exit $ac_status )
20946 if test "$ac_cv_type_long_long" = yes; then
20947 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20948 See \`config.log' for more details." >&5
20949 echo "$as_me: error: cannot compute sizeof (long long)
20950 See \`config.log' for more details." >&2;}
20951 { (exit 77); exit 77; }; }
20952 else
20953 ac_cv_sizeof_long_long=0
20954 fi
20955 fi
20956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20957 fi
20958 rm -f conftest.val
20959 fi
20960 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20961 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20962
20963
20964
20965 cat >>confdefs.h <<_ACEOF
20966 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20967 _ACEOF
20968
20969
20970 if test "$ac_cv_sizeof_long_long" != "0"; then
20971 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20972 fi
20973 ;;
20974 * )
20975 { echo "$as_me:$LINENO: checking for long long" >&5
20976 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20977 if test "${ac_cv_type_long_long+set}" = set; then
20978 echo $ECHO_N "(cached) $ECHO_C" >&6
20979 else
20980 cat >conftest.$ac_ext <<_ACEOF
20981 /* confdefs.h. */
20982 _ACEOF
20983 cat confdefs.h >>conftest.$ac_ext
20984 cat >>conftest.$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 $ac_includes_default
20987 typedef long long ac__type_new_;
20988 int
20989 main ()
20990 {
20991 if ((ac__type_new_ *) 0)
20992 return 0;
20993 if (sizeof (ac__type_new_))
20994 return 0;
20995 ;
20996 return 0;
20997 }
20998 _ACEOF
20999 rm -f conftest.$ac_objext
21000 if { (ac_try="$ac_compile"
21001 case "(($ac_try" in
21002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21003 *) ac_try_echo=$ac_try;;
21004 esac
21005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21006 (eval "$ac_compile") 2>conftest.er1
21007 ac_status=$?
21008 grep -v '^ *+' conftest.er1 >conftest.err
21009 rm -f conftest.er1
21010 cat conftest.err >&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); } && {
21013 test -z "$ac_c_werror_flag" ||
21014 test ! -s conftest.err
21015 } && test -s conftest.$ac_objext; then
21016 ac_cv_type_long_long=yes
21017 else
21018 echo "$as_me: failed program was:" >&5
21019 sed 's/^/| /' conftest.$ac_ext >&5
21020
21021 ac_cv_type_long_long=no
21022 fi
21023
21024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21025 fi
21026 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21027 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21028
21029 # The cast to long int works around a bug in the HP C Compiler
21030 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21031 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21032 # This bug is HP SR number 8606223364.
21033 { echo "$as_me:$LINENO: checking size of long long" >&5
21034 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21035 if test "${ac_cv_sizeof_long_long+set}" = set; then
21036 echo $ECHO_N "(cached) $ECHO_C" >&6
21037 else
21038 if test "$cross_compiling" = yes; then
21039 # Depending upon the size, compute the lo and hi bounds.
21040 cat >conftest.$ac_ext <<_ACEOF
21041 /* confdefs.h. */
21042 _ACEOF
21043 cat confdefs.h >>conftest.$ac_ext
21044 cat >>conftest.$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 $ac_includes_default
21047 typedef long long ac__type_sizeof_;
21048 int
21049 main ()
21050 {
21051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21052 test_array [0] = 0
21053
21054 ;
21055 return 0;
21056 }
21057 _ACEOF
21058 rm -f conftest.$ac_objext
21059 if { (ac_try="$ac_compile"
21060 case "(($ac_try" in
21061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21062 *) ac_try_echo=$ac_try;;
21063 esac
21064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21065 (eval "$ac_compile") 2>conftest.er1
21066 ac_status=$?
21067 grep -v '^ *+' conftest.er1 >conftest.err
21068 rm -f conftest.er1
21069 cat conftest.err >&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } && {
21072 test -z "$ac_c_werror_flag" ||
21073 test ! -s conftest.err
21074 } && test -s conftest.$ac_objext; then
21075 ac_lo=0 ac_mid=0
21076 while :; do
21077 cat >conftest.$ac_ext <<_ACEOF
21078 /* confdefs.h. */
21079 _ACEOF
21080 cat confdefs.h >>conftest.$ac_ext
21081 cat >>conftest.$ac_ext <<_ACEOF
21082 /* end confdefs.h. */
21083 $ac_includes_default
21084 typedef long long ac__type_sizeof_;
21085 int
21086 main ()
21087 {
21088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21089 test_array [0] = 0
21090
21091 ;
21092 return 0;
21093 }
21094 _ACEOF
21095 rm -f conftest.$ac_objext
21096 if { (ac_try="$ac_compile"
21097 case "(($ac_try" in
21098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21099 *) ac_try_echo=$ac_try;;
21100 esac
21101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21102 (eval "$ac_compile") 2>conftest.er1
21103 ac_status=$?
21104 grep -v '^ *+' conftest.er1 >conftest.err
21105 rm -f conftest.er1
21106 cat conftest.err >&5
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); } && {
21109 test -z "$ac_c_werror_flag" ||
21110 test ! -s conftest.err
21111 } && test -s conftest.$ac_objext; then
21112 ac_hi=$ac_mid; break
21113 else
21114 echo "$as_me: failed program was:" >&5
21115 sed 's/^/| /' conftest.$ac_ext >&5
21116
21117 ac_lo=`expr $ac_mid + 1`
21118 if test $ac_lo -le $ac_mid; then
21119 ac_lo= ac_hi=
21120 break
21121 fi
21122 ac_mid=`expr 2 '*' $ac_mid + 1`
21123 fi
21124
21125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21126 done
21127 else
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21130
21131 cat >conftest.$ac_ext <<_ACEOF
21132 /* confdefs.h. */
21133 _ACEOF
21134 cat confdefs.h >>conftest.$ac_ext
21135 cat >>conftest.$ac_ext <<_ACEOF
21136 /* end confdefs.h. */
21137 $ac_includes_default
21138 typedef long long ac__type_sizeof_;
21139 int
21140 main ()
21141 {
21142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21143 test_array [0] = 0
21144
21145 ;
21146 return 0;
21147 }
21148 _ACEOF
21149 rm -f conftest.$ac_objext
21150 if { (ac_try="$ac_compile"
21151 case "(($ac_try" in
21152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21153 *) ac_try_echo=$ac_try;;
21154 esac
21155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21156 (eval "$ac_compile") 2>conftest.er1
21157 ac_status=$?
21158 grep -v '^ *+' conftest.er1 >conftest.err
21159 rm -f conftest.er1
21160 cat conftest.err >&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } && {
21163 test -z "$ac_c_werror_flag" ||
21164 test ! -s conftest.err
21165 } && test -s conftest.$ac_objext; then
21166 ac_hi=-1 ac_mid=-1
21167 while :; do
21168 cat >conftest.$ac_ext <<_ACEOF
21169 /* confdefs.h. */
21170 _ACEOF
21171 cat confdefs.h >>conftest.$ac_ext
21172 cat >>conftest.$ac_ext <<_ACEOF
21173 /* end confdefs.h. */
21174 $ac_includes_default
21175 typedef long long ac__type_sizeof_;
21176 int
21177 main ()
21178 {
21179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21180 test_array [0] = 0
21181
21182 ;
21183 return 0;
21184 }
21185 _ACEOF
21186 rm -f conftest.$ac_objext
21187 if { (ac_try="$ac_compile"
21188 case "(($ac_try" in
21189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21190 *) ac_try_echo=$ac_try;;
21191 esac
21192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21193 (eval "$ac_compile") 2>conftest.er1
21194 ac_status=$?
21195 grep -v '^ *+' conftest.er1 >conftest.err
21196 rm -f conftest.er1
21197 cat conftest.err >&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); } && {
21200 test -z "$ac_c_werror_flag" ||
21201 test ! -s conftest.err
21202 } && test -s conftest.$ac_objext; then
21203 ac_lo=$ac_mid; break
21204 else
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.$ac_ext >&5
21207
21208 ac_hi=`expr '(' $ac_mid ')' - 1`
21209 if test $ac_mid -le $ac_hi; then
21210 ac_lo= ac_hi=
21211 break
21212 fi
21213 ac_mid=`expr 2 '*' $ac_mid`
21214 fi
21215
21216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21217 done
21218 else
21219 echo "$as_me: failed program was:" >&5
21220 sed 's/^/| /' conftest.$ac_ext >&5
21221
21222 ac_lo= ac_hi=
21223 fi
21224
21225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21226 fi
21227
21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 # Binary search between lo and hi bounds.
21230 while test "x$ac_lo" != "x$ac_hi"; do
21231 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21232 cat >conftest.$ac_ext <<_ACEOF
21233 /* confdefs.h. */
21234 _ACEOF
21235 cat confdefs.h >>conftest.$ac_ext
21236 cat >>conftest.$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21238 $ac_includes_default
21239 typedef long long ac__type_sizeof_;
21240 int
21241 main ()
21242 {
21243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21244 test_array [0] = 0
21245
21246 ;
21247 return 0;
21248 }
21249 _ACEOF
21250 rm -f conftest.$ac_objext
21251 if { (ac_try="$ac_compile"
21252 case "(($ac_try" in
21253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21254 *) ac_try_echo=$ac_try;;
21255 esac
21256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21257 (eval "$ac_compile") 2>conftest.er1
21258 ac_status=$?
21259 grep -v '^ *+' conftest.er1 >conftest.err
21260 rm -f conftest.er1
21261 cat conftest.err >&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } && {
21264 test -z "$ac_c_werror_flag" ||
21265 test ! -s conftest.err
21266 } && test -s conftest.$ac_objext; then
21267 ac_hi=$ac_mid
21268 else
21269 echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.$ac_ext >&5
21271
21272 ac_lo=`expr '(' $ac_mid ')' + 1`
21273 fi
21274
21275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21276 done
21277 case $ac_lo in
21278 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21279 '') if test "$ac_cv_type_long_long" = yes; then
21280 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21281 See \`config.log' for more details." >&5
21282 echo "$as_me: error: cannot compute sizeof (long long)
21283 See \`config.log' for more details." >&2;}
21284 { (exit 77); exit 77; }; }
21285 else
21286 ac_cv_sizeof_long_long=0
21287 fi ;;
21288 esac
21289 else
21290 cat >conftest.$ac_ext <<_ACEOF
21291 /* confdefs.h. */
21292 _ACEOF
21293 cat confdefs.h >>conftest.$ac_ext
21294 cat >>conftest.$ac_ext <<_ACEOF
21295 /* end confdefs.h. */
21296 $ac_includes_default
21297 typedef long long ac__type_sizeof_;
21298 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21299 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21300 #include <stdio.h>
21301 #include <stdlib.h>
21302 int
21303 main ()
21304 {
21305
21306 FILE *f = fopen ("conftest.val", "w");
21307 if (! f)
21308 return 1;
21309 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21310 {
21311 long int i = longval ();
21312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21313 return 1;
21314 fprintf (f, "%ld\n", i);
21315 }
21316 else
21317 {
21318 unsigned long int i = ulongval ();
21319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21320 return 1;
21321 fprintf (f, "%lu\n", i);
21322 }
21323 return ferror (f) || fclose (f) != 0;
21324
21325 ;
21326 return 0;
21327 }
21328 _ACEOF
21329 rm -f conftest$ac_exeext
21330 if { (ac_try="$ac_link"
21331 case "(($ac_try" in
21332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21333 *) ac_try_echo=$ac_try;;
21334 esac
21335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21336 (eval "$ac_link") 2>&5
21337 ac_status=$?
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21340 { (case "(($ac_try" in
21341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21342 *) ac_try_echo=$ac_try;;
21343 esac
21344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21345 (eval "$ac_try") 2>&5
21346 ac_status=$?
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); }; }; then
21349 ac_cv_sizeof_long_long=`cat conftest.val`
21350 else
21351 echo "$as_me: program exited with status $ac_status" >&5
21352 echo "$as_me: failed program was:" >&5
21353 sed 's/^/| /' conftest.$ac_ext >&5
21354
21355 ( exit $ac_status )
21356 if test "$ac_cv_type_long_long" = yes; then
21357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21358 See \`config.log' for more details." >&5
21359 echo "$as_me: error: cannot compute sizeof (long long)
21360 See \`config.log' for more details." >&2;}
21361 { (exit 77); exit 77; }; }
21362 else
21363 ac_cv_sizeof_long_long=0
21364 fi
21365 fi
21366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21367 fi
21368 rm -f conftest.val
21369 fi
21370 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21371 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21372
21373
21374
21375 cat >>confdefs.h <<_ACEOF
21376 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21377 _ACEOF
21378
21379
21380 esac
21381
21382 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21383 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21384 if test "${ac_cv_type_wchar_t+set}" = set; then
21385 echo $ECHO_N "(cached) $ECHO_C" >&6
21386 else
21387 cat >conftest.$ac_ext <<_ACEOF
21388 /* confdefs.h. */
21389 _ACEOF
21390 cat confdefs.h >>conftest.$ac_ext
21391 cat >>conftest.$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21393
21394 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21395 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21396 # error "fake wchar_t"
21397 #endif
21398 #ifdef HAVE_WCHAR_H
21399 # ifdef __CYGWIN__
21400 # include <stddef.h>
21401 # endif
21402 # include <wchar.h>
21403 #endif
21404 #ifdef HAVE_STDLIB_H
21405 # include <stdlib.h>
21406 #endif
21407 #include <stdio.h>
21408
21409
21410
21411 typedef wchar_t ac__type_new_;
21412 int
21413 main ()
21414 {
21415 if ((ac__type_new_ *) 0)
21416 return 0;
21417 if (sizeof (ac__type_new_))
21418 return 0;
21419 ;
21420 return 0;
21421 }
21422 _ACEOF
21423 rm -f conftest.$ac_objext
21424 if { (ac_try="$ac_compile"
21425 case "(($ac_try" in
21426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21427 *) ac_try_echo=$ac_try;;
21428 esac
21429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21430 (eval "$ac_compile") 2>conftest.er1
21431 ac_status=$?
21432 grep -v '^ *+' conftest.er1 >conftest.err
21433 rm -f conftest.er1
21434 cat conftest.err >&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); } && {
21437 test -z "$ac_c_werror_flag" ||
21438 test ! -s conftest.err
21439 } && test -s conftest.$ac_objext; then
21440 ac_cv_type_wchar_t=yes
21441 else
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21444
21445 ac_cv_type_wchar_t=no
21446 fi
21447
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449 fi
21450 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21451 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21452
21453 # The cast to long int works around a bug in the HP C Compiler
21454 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21455 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21456 # This bug is HP SR number 8606223364.
21457 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21458 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21459 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21461 else
21462 if test "$cross_compiling" = yes; then
21463 # Depending upon the size, compute the lo and hi bounds.
21464 cat >conftest.$ac_ext <<_ACEOF
21465 /* confdefs.h. */
21466 _ACEOF
21467 cat confdefs.h >>conftest.$ac_ext
21468 cat >>conftest.$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21470
21471 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21472 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21473 # error "fake wchar_t"
21474 #endif
21475 #ifdef HAVE_WCHAR_H
21476 # ifdef __CYGWIN__
21477 # include <stddef.h>
21478 # endif
21479 # include <wchar.h>
21480 #endif
21481 #ifdef HAVE_STDLIB_H
21482 # include <stdlib.h>
21483 #endif
21484 #include <stdio.h>
21485
21486
21487
21488 typedef wchar_t ac__type_sizeof_;
21489 int
21490 main ()
21491 {
21492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21493 test_array [0] = 0
21494
21495 ;
21496 return 0;
21497 }
21498 _ACEOF
21499 rm -f conftest.$ac_objext
21500 if { (ac_try="$ac_compile"
21501 case "(($ac_try" in
21502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21503 *) ac_try_echo=$ac_try;;
21504 esac
21505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21506 (eval "$ac_compile") 2>conftest.er1
21507 ac_status=$?
21508 grep -v '^ *+' conftest.er1 >conftest.err
21509 rm -f conftest.er1
21510 cat conftest.err >&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); } && {
21513 test -z "$ac_c_werror_flag" ||
21514 test ! -s conftest.err
21515 } && test -s conftest.$ac_objext; then
21516 ac_lo=0 ac_mid=0
21517 while :; do
21518 cat >conftest.$ac_ext <<_ACEOF
21519 /* confdefs.h. */
21520 _ACEOF
21521 cat confdefs.h >>conftest.$ac_ext
21522 cat >>conftest.$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21524
21525 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21526 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21527 # error "fake wchar_t"
21528 #endif
21529 #ifdef HAVE_WCHAR_H
21530 # ifdef __CYGWIN__
21531 # include <stddef.h>
21532 # endif
21533 # include <wchar.h>
21534 #endif
21535 #ifdef HAVE_STDLIB_H
21536 # include <stdlib.h>
21537 #endif
21538 #include <stdio.h>
21539
21540
21541
21542 typedef wchar_t ac__type_sizeof_;
21543 int
21544 main ()
21545 {
21546 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21547 test_array [0] = 0
21548
21549 ;
21550 return 0;
21551 }
21552 _ACEOF
21553 rm -f conftest.$ac_objext
21554 if { (ac_try="$ac_compile"
21555 case "(($ac_try" in
21556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21557 *) ac_try_echo=$ac_try;;
21558 esac
21559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21560 (eval "$ac_compile") 2>conftest.er1
21561 ac_status=$?
21562 grep -v '^ *+' conftest.er1 >conftest.err
21563 rm -f conftest.er1
21564 cat conftest.err >&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); } && {
21567 test -z "$ac_c_werror_flag" ||
21568 test ! -s conftest.err
21569 } && test -s conftest.$ac_objext; then
21570 ac_hi=$ac_mid; break
21571 else
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.$ac_ext >&5
21574
21575 ac_lo=`expr $ac_mid + 1`
21576 if test $ac_lo -le $ac_mid; then
21577 ac_lo= ac_hi=
21578 break
21579 fi
21580 ac_mid=`expr 2 '*' $ac_mid + 1`
21581 fi
21582
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 done
21585 else
21586 echo "$as_me: failed program was:" >&5
21587 sed 's/^/| /' conftest.$ac_ext >&5
21588
21589 cat >conftest.$ac_ext <<_ACEOF
21590 /* confdefs.h. */
21591 _ACEOF
21592 cat confdefs.h >>conftest.$ac_ext
21593 cat >>conftest.$ac_ext <<_ACEOF
21594 /* end confdefs.h. */
21595
21596 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21597 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21598 # error "fake wchar_t"
21599 #endif
21600 #ifdef HAVE_WCHAR_H
21601 # ifdef __CYGWIN__
21602 # include <stddef.h>
21603 # endif
21604 # include <wchar.h>
21605 #endif
21606 #ifdef HAVE_STDLIB_H
21607 # include <stdlib.h>
21608 #endif
21609 #include <stdio.h>
21610
21611
21612
21613 typedef wchar_t ac__type_sizeof_;
21614 int
21615 main ()
21616 {
21617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21618 test_array [0] = 0
21619
21620 ;
21621 return 0;
21622 }
21623 _ACEOF
21624 rm -f conftest.$ac_objext
21625 if { (ac_try="$ac_compile"
21626 case "(($ac_try" in
21627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21629 esac
21630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_compile") 2>conftest.er1
21632 ac_status=$?
21633 grep -v '^ *+' conftest.er1 >conftest.err
21634 rm -f conftest.er1
21635 cat conftest.err >&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } && {
21638 test -z "$ac_c_werror_flag" ||
21639 test ! -s conftest.err
21640 } && test -s conftest.$ac_objext; then
21641 ac_hi=-1 ac_mid=-1
21642 while :; do
21643 cat >conftest.$ac_ext <<_ACEOF
21644 /* confdefs.h. */
21645 _ACEOF
21646 cat confdefs.h >>conftest.$ac_ext
21647 cat >>conftest.$ac_ext <<_ACEOF
21648 /* end confdefs.h. */
21649
21650 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21651 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21652 # error "fake wchar_t"
21653 #endif
21654 #ifdef HAVE_WCHAR_H
21655 # ifdef __CYGWIN__
21656 # include <stddef.h>
21657 # endif
21658 # include <wchar.h>
21659 #endif
21660 #ifdef HAVE_STDLIB_H
21661 # include <stdlib.h>
21662 #endif
21663 #include <stdio.h>
21664
21665
21666
21667 typedef wchar_t ac__type_sizeof_;
21668 int
21669 main ()
21670 {
21671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21672 test_array [0] = 0
21673
21674 ;
21675 return 0;
21676 }
21677 _ACEOF
21678 rm -f conftest.$ac_objext
21679 if { (ac_try="$ac_compile"
21680 case "(($ac_try" in
21681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21682 *) ac_try_echo=$ac_try;;
21683 esac
21684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21685 (eval "$ac_compile") 2>conftest.er1
21686 ac_status=$?
21687 grep -v '^ *+' conftest.er1 >conftest.err
21688 rm -f conftest.er1
21689 cat conftest.err >&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); } && {
21692 test -z "$ac_c_werror_flag" ||
21693 test ! -s conftest.err
21694 } && test -s conftest.$ac_objext; then
21695 ac_lo=$ac_mid; break
21696 else
21697 echo "$as_me: failed program was:" >&5
21698 sed 's/^/| /' conftest.$ac_ext >&5
21699
21700 ac_hi=`expr '(' $ac_mid ')' - 1`
21701 if test $ac_mid -le $ac_hi; then
21702 ac_lo= ac_hi=
21703 break
21704 fi
21705 ac_mid=`expr 2 '*' $ac_mid`
21706 fi
21707
21708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21709 done
21710 else
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.$ac_ext >&5
21713
21714 ac_lo= ac_hi=
21715 fi
21716
21717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21718 fi
21719
21720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21721 # Binary search between lo and hi bounds.
21722 while test "x$ac_lo" != "x$ac_hi"; do
21723 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21724 cat >conftest.$ac_ext <<_ACEOF
21725 /* confdefs.h. */
21726 _ACEOF
21727 cat confdefs.h >>conftest.$ac_ext
21728 cat >>conftest.$ac_ext <<_ACEOF
21729 /* end confdefs.h. */
21730
21731 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21732 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21733 # error "fake wchar_t"
21734 #endif
21735 #ifdef HAVE_WCHAR_H
21736 # ifdef __CYGWIN__
21737 # include <stddef.h>
21738 # endif
21739 # include <wchar.h>
21740 #endif
21741 #ifdef HAVE_STDLIB_H
21742 # include <stdlib.h>
21743 #endif
21744 #include <stdio.h>
21745
21746
21747
21748 typedef wchar_t ac__type_sizeof_;
21749 int
21750 main ()
21751 {
21752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21753 test_array [0] = 0
21754
21755 ;
21756 return 0;
21757 }
21758 _ACEOF
21759 rm -f conftest.$ac_objext
21760 if { (ac_try="$ac_compile"
21761 case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21763 *) ac_try_echo=$ac_try;;
21764 esac
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_compile") 2>conftest.er1
21767 ac_status=$?
21768 grep -v '^ *+' conftest.er1 >conftest.err
21769 rm -f conftest.er1
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } && {
21773 test -z "$ac_c_werror_flag" ||
21774 test ! -s conftest.err
21775 } && test -s conftest.$ac_objext; then
21776 ac_hi=$ac_mid
21777 else
21778 echo "$as_me: failed program was:" >&5
21779 sed 's/^/| /' conftest.$ac_ext >&5
21780
21781 ac_lo=`expr '(' $ac_mid ')' + 1`
21782 fi
21783
21784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21785 done
21786 case $ac_lo in
21787 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21788 '') if test "$ac_cv_type_wchar_t" = yes; then
21789 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21790 See \`config.log' for more details." >&5
21791 echo "$as_me: error: cannot compute sizeof (wchar_t)
21792 See \`config.log' for more details." >&2;}
21793 { (exit 77); exit 77; }; }
21794 else
21795 ac_cv_sizeof_wchar_t=0
21796 fi ;;
21797 esac
21798 else
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805
21806 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21807 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21808 # error "fake wchar_t"
21809 #endif
21810 #ifdef HAVE_WCHAR_H
21811 # ifdef __CYGWIN__
21812 # include <stddef.h>
21813 # endif
21814 # include <wchar.h>
21815 #endif
21816 #ifdef HAVE_STDLIB_H
21817 # include <stdlib.h>
21818 #endif
21819 #include <stdio.h>
21820
21821
21822
21823 typedef wchar_t ac__type_sizeof_;
21824 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21825 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21826 #include <stdio.h>
21827 #include <stdlib.h>
21828 int
21829 main ()
21830 {
21831
21832 FILE *f = fopen ("conftest.val", "w");
21833 if (! f)
21834 return 1;
21835 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21836 {
21837 long int i = longval ();
21838 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21839 return 1;
21840 fprintf (f, "%ld\n", i);
21841 }
21842 else
21843 {
21844 unsigned long int i = ulongval ();
21845 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21846 return 1;
21847 fprintf (f, "%lu\n", i);
21848 }
21849 return ferror (f) || fclose (f) != 0;
21850
21851 ;
21852 return 0;
21853 }
21854 _ACEOF
21855 rm -f conftest$ac_exeext
21856 if { (ac_try="$ac_link"
21857 case "(($ac_try" in
21858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21859 *) ac_try_echo=$ac_try;;
21860 esac
21861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21862 (eval "$ac_link") 2>&5
21863 ac_status=$?
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21866 { (case "(($ac_try" in
21867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21868 *) ac_try_echo=$ac_try;;
21869 esac
21870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21871 (eval "$ac_try") 2>&5
21872 ac_status=$?
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21875 ac_cv_sizeof_wchar_t=`cat conftest.val`
21876 else
21877 echo "$as_me: program exited with status $ac_status" >&5
21878 echo "$as_me: failed program was:" >&5
21879 sed 's/^/| /' conftest.$ac_ext >&5
21880
21881 ( exit $ac_status )
21882 if test "$ac_cv_type_wchar_t" = yes; then
21883 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21884 See \`config.log' for more details." >&5
21885 echo "$as_me: error: cannot compute sizeof (wchar_t)
21886 See \`config.log' for more details." >&2;}
21887 { (exit 77); exit 77; }; }
21888 else
21889 ac_cv_sizeof_wchar_t=0
21890 fi
21891 fi
21892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21893 fi
21894 rm -f conftest.val
21895 fi
21896 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21897 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21898
21899
21900
21901 cat >>confdefs.h <<_ACEOF
21902 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21903 _ACEOF
21904
21905
21906 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21907 wxUSE_WCHAR_T=yes
21908 else
21909 wxUSE_WCHAR_T=no
21910 fi
21911
21912 { echo "$as_me:$LINENO: checking for va_copy" >&5
21913 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
21914 if test "${wx_cv_func_va_copy+set}" = set; then
21915 echo $ECHO_N "(cached) $ECHO_C" >&6
21916 else
21917
21918 cat >conftest.$ac_ext <<_ACEOF
21919
21920 #include <stdarg.h>
21921 void foo(char *f, ...)
21922 {
21923 va_list ap1, ap2;
21924 va_start(ap1, f);
21925 va_copy(ap2, ap1);
21926 va_end(ap2);
21927 va_end(ap1);
21928 }
21929 int main()
21930 {
21931 foo("hi", 17);
21932 return 0;
21933 }
21934 _ACEOF
21935 rm -f conftest.$ac_objext conftest$ac_exeext
21936 if { (ac_try="$ac_link"
21937 case "(($ac_try" in
21938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21940 esac
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_link") 2>conftest.er1
21943 ac_status=$?
21944 grep -v '^ *+' conftest.er1 >conftest.err
21945 rm -f conftest.er1
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest$ac_exeext &&
21952 $as_test_x conftest$ac_exeext; then
21953 wx_cv_func_va_copy=yes
21954 else
21955 echo "$as_me: failed program was:" >&5
21956 sed 's/^/| /' conftest.$ac_ext >&5
21957
21958 wx_cv_func_va_copy=no
21959
21960 fi
21961
21962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21963 conftest$ac_exeext conftest.$ac_ext
21964
21965
21966 fi
21967 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21968 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
21969
21970 if test $wx_cv_func_va_copy = "yes"; then
21971 cat >>confdefs.h <<\_ACEOF
21972 #define HAVE_VA_COPY 1
21973 _ACEOF
21974
21975 else
21976 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21977 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
21978 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 else
21981
21982 if test "$cross_compiling" = yes; then
21983 wx_cv_type_va_list_lvalue=yes
21984
21985 else
21986 cat >conftest.$ac_ext <<_ACEOF
21987
21988 #include <stdarg.h>
21989 int foo(char *f, ...)
21990 {
21991 va_list ap1, ap2;
21992 va_start(ap1, f);
21993 ap2 = ap1;
21994 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21995 return 1;
21996 va_end(ap2);
21997 va_end(ap1);
21998 return 0;
21999 }
22000 int main()
22001 {
22002 return foo("hi", 17);
22003 }
22004 _ACEOF
22005 rm -f conftest$ac_exeext
22006 if { (ac_try="$ac_link"
22007 case "(($ac_try" in
22008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22009 *) ac_try_echo=$ac_try;;
22010 esac
22011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22012 (eval "$ac_link") 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22016 { (case "(($ac_try" in
22017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22018 *) ac_try_echo=$ac_try;;
22019 esac
22020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22021 (eval "$ac_try") 2>&5
22022 ac_status=$?
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); }; }; then
22025 wx_cv_type_va_list_lvalue=yes
22026 else
22027 echo "$as_me: program exited with status $ac_status" >&5
22028 echo "$as_me: failed program was:" >&5
22029 sed 's/^/| /' conftest.$ac_ext >&5
22030
22031 ( exit $ac_status )
22032 wx_cv_type_va_list_lvalue=no
22033 fi
22034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22035 fi
22036
22037
22038
22039
22040 fi
22041 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22042 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22043
22044 if test $wx_cv_type_va_list_lvalue != "yes"; then
22045 cat >>confdefs.h <<\_ACEOF
22046 #define VA_LIST_IS_ARRAY 1
22047 _ACEOF
22048
22049 fi
22050 fi
22051
22052 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22053
22054 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22055 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22056 if test "${wx_cv_have_variadic_macros+set}" = set; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22058 else
22059
22060 ac_ext=cpp
22061 ac_cpp='$CXXCPP $CPPFLAGS'
22062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22065
22066 cat >conftest.$ac_ext <<_ACEOF
22067 /* confdefs.h. */
22068 _ACEOF
22069 cat confdefs.h >>conftest.$ac_ext
22070 cat >>conftest.$ac_ext <<_ACEOF
22071 /* end confdefs.h. */
22072
22073 #include <stdio.h>
22074 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22075
22076 int
22077 main ()
22078 {
22079
22080 test("%s %d %p", "test", 1, 0);
22081
22082
22083 ;
22084 return 0;
22085 }
22086 _ACEOF
22087 rm -f conftest.$ac_objext
22088 if { (ac_try="$ac_compile"
22089 case "(($ac_try" in
22090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22091 *) ac_try_echo=$ac_try;;
22092 esac
22093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22094 (eval "$ac_compile") 2>conftest.er1
22095 ac_status=$?
22096 grep -v '^ *+' conftest.er1 >conftest.err
22097 rm -f conftest.er1
22098 cat conftest.err >&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } && {
22101 test -z "$ac_cxx_werror_flag" ||
22102 test ! -s conftest.err
22103 } && test -s conftest.$ac_objext; then
22104 wx_cv_have_variadic_macros=yes
22105 else
22106 echo "$as_me: failed program was:" >&5
22107 sed 's/^/| /' conftest.$ac_ext >&5
22108
22109 wx_cv_have_variadic_macros=no
22110
22111 fi
22112
22113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22114 ac_ext=c
22115 ac_cpp='$CPP $CPPFLAGS'
22116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22119
22120
22121
22122 fi
22123 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22124 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22125
22126 if test $wx_cv_have_variadic_macros = "yes"; then
22127 cat >>confdefs.h <<\_ACEOF
22128 #define HAVE_VARIADIC_MACROS 1
22129 _ACEOF
22130
22131 fi
22132
22133 fi
22134 # Check whether --enable-largefile was given.
22135 if test "${enable_largefile+set}" = set; then
22136 enableval=$enable_largefile;
22137 fi
22138
22139 if test "$enable_largefile" != no; then
22140 wx_largefile=no
22141
22142 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22143 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22144 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22145 echo $ECHO_N "(cached) $ECHO_C" >&6
22146 else
22147
22148 cat >conftest.$ac_ext <<_ACEOF
22149 /* confdefs.h. */
22150 _ACEOF
22151 cat confdefs.h >>conftest.$ac_ext
22152 cat >>conftest.$ac_ext <<_ACEOF
22153 /* end confdefs.h. */
22154 #define _FILE_OFFSET_BITS 64
22155 #include <sys/types.h>
22156 int
22157 main ()
22158 {
22159 typedef struct {
22160 unsigned int field: sizeof(off_t) == 8;
22161 } wxlf;
22162
22163 ;
22164 return 0;
22165 }
22166 _ACEOF
22167 rm -f conftest.$ac_objext
22168 if { (ac_try="$ac_compile"
22169 case "(($ac_try" in
22170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22171 *) ac_try_echo=$ac_try;;
22172 esac
22173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22174 (eval "$ac_compile") 2>conftest.er1
22175 ac_status=$?
22176 grep -v '^ *+' conftest.er1 >conftest.err
22177 rm -f conftest.er1
22178 cat conftest.err >&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } && {
22181 test -z "$ac_c_werror_flag" ||
22182 test ! -s conftest.err
22183 } && test -s conftest.$ac_objext; then
22184 ac_cv_sys_file_offset_bits=64
22185 else
22186 echo "$as_me: failed program was:" >&5
22187 sed 's/^/| /' conftest.$ac_ext >&5
22188
22189 ac_cv_sys_file_offset_bits=no
22190 fi
22191
22192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22193
22194
22195 fi
22196 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22197 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22198
22199 if test "$ac_cv_sys_file_offset_bits" != no; then
22200 wx_largefile=yes
22201 cat >>confdefs.h <<_ACEOF
22202 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22203 _ACEOF
22204
22205 fi
22206
22207 if test "x$wx_largefile" != "xyes"; then
22208
22209 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22210 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22211 if test "${ac_cv_sys_large_files+set}" = set; then
22212 echo $ECHO_N "(cached) $ECHO_C" >&6
22213 else
22214
22215 cat >conftest.$ac_ext <<_ACEOF
22216 /* confdefs.h. */
22217 _ACEOF
22218 cat confdefs.h >>conftest.$ac_ext
22219 cat >>conftest.$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22221 #define _LARGE_FILES 1
22222 #include <sys/types.h>
22223 int
22224 main ()
22225 {
22226 typedef struct {
22227 unsigned int field: sizeof(off_t) == 8;
22228 } wxlf;
22229
22230 ;
22231 return 0;
22232 }
22233 _ACEOF
22234 rm -f conftest.$ac_objext
22235 if { (ac_try="$ac_compile"
22236 case "(($ac_try" in
22237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22238 *) ac_try_echo=$ac_try;;
22239 esac
22240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22241 (eval "$ac_compile") 2>conftest.er1
22242 ac_status=$?
22243 grep -v '^ *+' conftest.er1 >conftest.err
22244 rm -f conftest.er1
22245 cat conftest.err >&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); } && {
22248 test -z "$ac_c_werror_flag" ||
22249 test ! -s conftest.err
22250 } && test -s conftest.$ac_objext; then
22251 ac_cv_sys_large_files=1
22252 else
22253 echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.$ac_ext >&5
22255
22256 ac_cv_sys_large_files=no
22257 fi
22258
22259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22260
22261
22262 fi
22263 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22264 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22265
22266 if test "$ac_cv_sys_large_files" != no; then
22267 wx_largefile=yes
22268 cat >>confdefs.h <<_ACEOF
22269 #define _LARGE_FILES $ac_cv_sys_large_files
22270 _ACEOF
22271
22272 fi
22273
22274 fi
22275
22276 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22277 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22278 if test "x$wx_largefile" = "xyes"; then
22279 cat >>confdefs.h <<\_ACEOF
22280 #define HAVE_LARGEFILE_SUPPORT 1
22281 _ACEOF
22282
22283 fi
22284 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22285 echo "${ECHO_T}$wx_largefile" >&6; }
22286 fi
22287
22288
22289 if test "x$wx_largefile" = "xyes"; then
22290 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22291 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22292
22293 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22294 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22295 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22296 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22297 echo $ECHO_N "(cached) $ECHO_C" >&6
22298 else
22299
22300 ac_ext=cpp
22301 ac_cpp='$CXXCPP $CPPFLAGS'
22302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22305
22306 cat >conftest.$ac_ext <<_ACEOF
22307 /* confdefs.h. */
22308 _ACEOF
22309 cat confdefs.h >>conftest.$ac_ext
22310 cat >>conftest.$ac_ext <<_ACEOF
22311 /* end confdefs.h. */
22312
22313 int
22314 main ()
22315 {
22316
22317 #ifndef __STDC_EXT__
22318 choke me
22319 #endif
22320
22321 ;
22322 return 0;
22323 }
22324 _ACEOF
22325 rm -f conftest.$ac_objext
22326 if { (ac_try="$ac_compile"
22327 case "(($ac_try" in
22328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22329 *) ac_try_echo=$ac_try;;
22330 esac
22331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22332 (eval "$ac_compile") 2>conftest.er1
22333 ac_status=$?
22334 grep -v '^ *+' conftest.er1 >conftest.err
22335 rm -f conftest.er1
22336 cat conftest.err >&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); } && {
22339 test -z "$ac_cxx_werror_flag" ||
22340 test ! -s conftest.err
22341 } && test -s conftest.$ac_objext; then
22342 wx_cv_STDC_EXT_required=no
22343 else
22344 echo "$as_me: failed program was:" >&5
22345 sed 's/^/| /' conftest.$ac_ext >&5
22346
22347 wx_cv_STDC_EXT_required=yes
22348
22349 fi
22350
22351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22352 ac_ext=c
22353 ac_cpp='$CPP $CPPFLAGS'
22354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22357
22358
22359
22360 fi
22361 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22362 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22363 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22364 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22365 fi
22366 fi
22367 else
22368 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22369 fi
22370 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22371 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22372 if test "${ac_cv_sys_largefile_source+set}" = set; then
22373 echo $ECHO_N "(cached) $ECHO_C" >&6
22374 else
22375 while :; do
22376 cat >conftest.$ac_ext <<_ACEOF
22377 /* confdefs.h. */
22378 _ACEOF
22379 cat confdefs.h >>conftest.$ac_ext
22380 cat >>conftest.$ac_ext <<_ACEOF
22381 /* end confdefs.h. */
22382 #include <stdio.h>
22383 int
22384 main ()
22385 {
22386 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22387 ;
22388 return 0;
22389 }
22390 _ACEOF
22391 rm -f conftest.$ac_objext conftest$ac_exeext
22392 if { (ac_try="$ac_link"
22393 case "(($ac_try" in
22394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22395 *) ac_try_echo=$ac_try;;
22396 esac
22397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22398 (eval "$ac_link") 2>conftest.er1
22399 ac_status=$?
22400 grep -v '^ *+' conftest.er1 >conftest.err
22401 rm -f conftest.er1
22402 cat conftest.err >&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } && {
22405 test -z "$ac_c_werror_flag" ||
22406 test ! -s conftest.err
22407 } && test -s conftest$ac_exeext &&
22408 $as_test_x conftest$ac_exeext; then
22409 ac_cv_sys_largefile_source=no; break
22410 else
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.$ac_ext >&5
22413
22414
22415 fi
22416
22417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22418 conftest$ac_exeext conftest.$ac_ext
22419 cat >conftest.$ac_ext <<_ACEOF
22420 /* confdefs.h. */
22421 _ACEOF
22422 cat confdefs.h >>conftest.$ac_ext
22423 cat >>conftest.$ac_ext <<_ACEOF
22424 /* end confdefs.h. */
22425 #define _LARGEFILE_SOURCE 1
22426 #include <stdio.h>
22427 int
22428 main ()
22429 {
22430 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22431 ;
22432 return 0;
22433 }
22434 _ACEOF
22435 rm -f conftest.$ac_objext conftest$ac_exeext
22436 if { (ac_try="$ac_link"
22437 case "(($ac_try" in
22438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22439 *) ac_try_echo=$ac_try;;
22440 esac
22441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442 (eval "$ac_link") 2>conftest.er1
22443 ac_status=$?
22444 grep -v '^ *+' conftest.er1 >conftest.err
22445 rm -f conftest.er1
22446 cat conftest.err >&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); } && {
22449 test -z "$ac_c_werror_flag" ||
22450 test ! -s conftest.err
22451 } && test -s conftest$ac_exeext &&
22452 $as_test_x conftest$ac_exeext; then
22453 ac_cv_sys_largefile_source=1; break
22454 else
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.$ac_ext >&5
22457
22458
22459 fi
22460
22461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22462 conftest$ac_exeext conftest.$ac_ext
22463 ac_cv_sys_largefile_source=unknown
22464 break
22465 done
22466 fi
22467 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22468 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22469 case $ac_cv_sys_largefile_source in #(
22470 no | unknown) ;;
22471 *)
22472 cat >>confdefs.h <<_ACEOF
22473 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22474 _ACEOF
22475 ;;
22476 esac
22477 rm -f conftest*
22478
22479 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22480 # in glibc 2.1.3, but that breaks too many other things.
22481 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22482 if test $ac_cv_sys_largefile_source != unknown; then
22483
22484 cat >>confdefs.h <<\_ACEOF
22485 #define HAVE_FSEEKO 1
22486 _ACEOF
22487
22488 fi
22489
22490 if test "$ac_cv_sys_largefile_source" != no; then
22491 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22492 fi
22493 fi
22494
22495 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22496 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22497 if test "${ac_cv_c_bigendian+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22499 else
22500 ac_cv_c_bigendian=unknown
22501 # See if sys/param.h defines the BYTE_ORDER macro.
22502 cat >conftest.$ac_ext <<_ACEOF
22503 /* confdefs.h. */
22504 _ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 #include <sys/types.h>
22509 #include <sys/param.h>
22510 int
22511 main ()
22512 {
22513
22514 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22515 bogus endian macros
22516 #endif
22517 ;
22518 return 0;
22519 }
22520 _ACEOF
22521 rm -f conftest.$ac_objext
22522 if { (ac_try="$ac_compile"
22523 case "(($ac_try" in
22524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22525 *) ac_try_echo=$ac_try;;
22526 esac
22527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22528 (eval "$ac_compile") 2>conftest.er1
22529 ac_status=$?
22530 grep -v '^ *+' conftest.er1 >conftest.err
22531 rm -f conftest.er1
22532 cat conftest.err >&5
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); } && {
22535 test -z "$ac_c_werror_flag" ||
22536 test ! -s conftest.err
22537 } && test -s conftest.$ac_objext; then
22538 # It does; now see whether it defined to BIG_ENDIAN or not.
22539 cat >conftest.$ac_ext <<_ACEOF
22540 /* confdefs.h. */
22541 _ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h. */
22545 #include <sys/types.h>
22546 #include <sys/param.h>
22547 int
22548 main ()
22549 {
22550
22551 #if BYTE_ORDER != BIG_ENDIAN
22552 not big endian
22553 #endif
22554 ;
22555 return 0;
22556 }
22557 _ACEOF
22558 rm -f conftest.$ac_objext
22559 if { (ac_try="$ac_compile"
22560 case "(($ac_try" in
22561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22562 *) ac_try_echo=$ac_try;;
22563 esac
22564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22565 (eval "$ac_compile") 2>conftest.er1
22566 ac_status=$?
22567 grep -v '^ *+' conftest.er1 >conftest.err
22568 rm -f conftest.er1
22569 cat conftest.err >&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } && {
22572 test -z "$ac_c_werror_flag" ||
22573 test ! -s conftest.err
22574 } && test -s conftest.$ac_objext; then
22575 ac_cv_c_bigendian=yes
22576 else
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.$ac_ext >&5
22579
22580 ac_cv_c_bigendian=no
22581 fi
22582
22583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22584 else
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.$ac_ext >&5
22587
22588
22589 fi
22590
22591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22592 if test $ac_cv_c_bigendian = unknown; then
22593 if test "$cross_compiling" = yes; then
22594 ac_cv_c_bigendian=unknown
22595 else
22596 cat >conftest.$ac_ext <<_ACEOF
22597 /* confdefs.h. */
22598 _ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22602 main () {
22603 /* Are we little or big endian? From Harbison&Steele. */
22604 union
22605 {
22606 long l;
22607 char c[sizeof (long)];
22608 } u;
22609 u.l = 1;
22610 exit (u.c[sizeof (long) - 1] == 1);
22611 }
22612 _ACEOF
22613 rm -f conftest$ac_exeext
22614 if { (ac_try="$ac_link"
22615 case "(($ac_try" in
22616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22617 *) ac_try_echo=$ac_try;;
22618 esac
22619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22620 (eval "$ac_link") 2>&5
22621 ac_status=$?
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22624 { (case "(($ac_try" in
22625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22626 *) ac_try_echo=$ac_try;;
22627 esac
22628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22629 (eval "$ac_try") 2>&5
22630 ac_status=$?
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); }; }; then
22633 ac_cv_c_bigendian=no
22634 else
22635 echo "$as_me: program exited with status $ac_status" >&5
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.$ac_ext >&5
22638
22639 ( exit $ac_status )
22640 ac_cv_c_bigendian=yes
22641 fi
22642 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22643 fi
22644
22645
22646 fi
22647 fi
22648 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22649 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22650 if test $ac_cv_c_bigendian = unknown; then
22651 { 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
22652 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;}
22653 fi
22654 if test $ac_cv_c_bigendian = yes; then
22655 cat >>confdefs.h <<\_ACEOF
22656 #define WORDS_BIGENDIAN 1
22657 _ACEOF
22658
22659 fi
22660
22661
22662
22663
22664 ac_ext=cpp
22665 ac_cpp='$CXXCPP $CPPFLAGS'
22666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22669
22670
22671 { echo "$as_me:$LINENO: checking for iostream" >&5
22672 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22673 if test "${ac_cv_header_iostream+set}" = set; then
22674 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 else
22676 cat >conftest.$ac_ext <<_ACEOF
22677 /* confdefs.h. */
22678 _ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682
22683
22684 #include <iostream>
22685 _ACEOF
22686 rm -f conftest.$ac_objext
22687 if { (ac_try="$ac_compile"
22688 case "(($ac_try" in
22689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22690 *) ac_try_echo=$ac_try;;
22691 esac
22692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22693 (eval "$ac_compile") 2>conftest.er1
22694 ac_status=$?
22695 grep -v '^ *+' conftest.er1 >conftest.err
22696 rm -f conftest.er1
22697 cat conftest.err >&5
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); } && {
22700 test -z "$ac_cxx_werror_flag" ||
22701 test ! -s conftest.err
22702 } && test -s conftest.$ac_objext; then
22703 ac_cv_header_iostream=yes
22704 else
22705 echo "$as_me: failed program was:" >&5
22706 sed 's/^/| /' conftest.$ac_ext >&5
22707
22708 ac_cv_header_iostream=no
22709 fi
22710
22711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22712 fi
22713 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22714 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22715
22716
22717
22718 if test "$ac_cv_header_iostream" = "yes" ; then
22719 :
22720 else
22721 cat >>confdefs.h <<\_ACEOF
22722 #define wxUSE_IOSTREAMH 1
22723 _ACEOF
22724
22725 fi
22726
22727 ac_ext=c
22728 ac_cpp='$CPP $CPPFLAGS'
22729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22732
22733
22734
22735
22736 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22737 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22738 if test "${wx_cv_cpp_bool+set}" = set; then
22739 echo $ECHO_N "(cached) $ECHO_C" >&6
22740 else
22741
22742
22743 ac_ext=cpp
22744 ac_cpp='$CXXCPP $CPPFLAGS'
22745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22748
22749
22750 cat >conftest.$ac_ext <<_ACEOF
22751 /* confdefs.h. */
22752 _ACEOF
22753 cat confdefs.h >>conftest.$ac_ext
22754 cat >>conftest.$ac_ext <<_ACEOF
22755 /* end confdefs.h. */
22756
22757
22758 int
22759 main ()
22760 {
22761
22762 bool b = true;
22763
22764 return 0;
22765
22766 ;
22767 return 0;
22768 }
22769 _ACEOF
22770 rm -f conftest.$ac_objext
22771 if { (ac_try="$ac_compile"
22772 case "(($ac_try" in
22773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22774 *) ac_try_echo=$ac_try;;
22775 esac
22776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22777 (eval "$ac_compile") 2>conftest.er1
22778 ac_status=$?
22779 grep -v '^ *+' conftest.er1 >conftest.err
22780 rm -f conftest.er1
22781 cat conftest.err >&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); } && {
22784 test -z "$ac_cxx_werror_flag" ||
22785 test ! -s conftest.err
22786 } && test -s conftest.$ac_objext; then
22787
22788 wx_cv_cpp_bool=yes
22789
22790 else
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.$ac_ext >&5
22793
22794
22795 wx_cv_cpp_bool=no
22796
22797
22798 fi
22799
22800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22801
22802 ac_ext=c
22803 ac_cpp='$CPP $CPPFLAGS'
22804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22807
22808
22809 fi
22810 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22811 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22812
22813 if test "$wx_cv_cpp_bool" = "yes"; then
22814 cat >>confdefs.h <<\_ACEOF
22815 #define HAVE_BOOL 1
22816 _ACEOF
22817
22818 fi
22819
22820
22821
22822 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22823 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22824 if test "${wx_cv_explicit+set}" = set; then
22825 echo $ECHO_N "(cached) $ECHO_C" >&6
22826 else
22827
22828
22829 ac_ext=cpp
22830 ac_cpp='$CXXCPP $CPPFLAGS'
22831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22834
22835
22836 cat >conftest.$ac_ext <<_ACEOF
22837 /* confdefs.h. */
22838 _ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22842
22843 class Foo { public: explicit Foo(int) {} };
22844
22845 int
22846 main ()
22847 {
22848
22849 return 0;
22850
22851 ;
22852 return 0;
22853 }
22854 _ACEOF
22855 rm -f conftest.$ac_objext
22856 if { (ac_try="$ac_compile"
22857 case "(($ac_try" in
22858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22859 *) ac_try_echo=$ac_try;;
22860 esac
22861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22862 (eval "$ac_compile") 2>conftest.er1
22863 ac_status=$?
22864 grep -v '^ *+' conftest.er1 >conftest.err
22865 rm -f conftest.er1
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } && {
22869 test -z "$ac_cxx_werror_flag" ||
22870 test ! -s conftest.err
22871 } && test -s conftest.$ac_objext; then
22872
22873 cat >conftest.$ac_ext <<_ACEOF
22874 /* confdefs.h. */
22875 _ACEOF
22876 cat confdefs.h >>conftest.$ac_ext
22877 cat >>conftest.$ac_ext <<_ACEOF
22878 /* end confdefs.h. */
22879
22880 class Foo { public: explicit Foo(int) {} };
22881 static void TakeFoo(const Foo& foo) { }
22882
22883 int
22884 main ()
22885 {
22886
22887 TakeFoo(17);
22888 return 0;
22889
22890 ;
22891 return 0;
22892 }
22893 _ACEOF
22894 rm -f conftest.$ac_objext
22895 if { (ac_try="$ac_compile"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22899 esac
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_compile") 2>conftest.er1
22902 ac_status=$?
22903 grep -v '^ *+' conftest.er1 >conftest.err
22904 rm -f conftest.er1
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && {
22908 test -z "$ac_cxx_werror_flag" ||
22909 test ! -s conftest.err
22910 } && test -s conftest.$ac_objext; then
22911 wx_cv_explicit=no
22912 else
22913 echo "$as_me: failed program was:" >&5
22914 sed 's/^/| /' conftest.$ac_ext >&5
22915
22916 wx_cv_explicit=yes
22917
22918 fi
22919
22920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22921
22922 else
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.$ac_ext >&5
22925
22926 wx_cv_explicit=no
22927
22928 fi
22929
22930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22931
22932 ac_ext=c
22933 ac_cpp='$CPP $CPPFLAGS'
22934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22937
22938
22939 fi
22940 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22941 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22942
22943 if test "$wx_cv_explicit" = "yes"; then
22944 cat >>confdefs.h <<\_ACEOF
22945 #define HAVE_EXPLICIT 1
22946 _ACEOF
22947
22948 fi
22949
22950
22951 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22952 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22953 if test "${ac_cv_cxx_const_cast+set}" = set; then
22954 echo $ECHO_N "(cached) $ECHO_C" >&6
22955 else
22956
22957 ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962
22963 cat >conftest.$ac_ext <<_ACEOF
22964 /* confdefs.h. */
22965 _ACEOF
22966 cat confdefs.h >>conftest.$ac_ext
22967 cat >>conftest.$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22969
22970 int
22971 main ()
22972 {
22973 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22974 ;
22975 return 0;
22976 }
22977 _ACEOF
22978 rm -f conftest.$ac_objext
22979 if { (ac_try="$ac_compile"
22980 case "(($ac_try" in
22981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22982 *) ac_try_echo=$ac_try;;
22983 esac
22984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22985 (eval "$ac_compile") 2>conftest.er1
22986 ac_status=$?
22987 grep -v '^ *+' conftest.er1 >conftest.err
22988 rm -f conftest.er1
22989 cat conftest.err >&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); } && {
22992 test -z "$ac_cxx_werror_flag" ||
22993 test ! -s conftest.err
22994 } && test -s conftest.$ac_objext; then
22995 ac_cv_cxx_const_cast=yes
22996 else
22997 echo "$as_me: failed program was:" >&5
22998 sed 's/^/| /' conftest.$ac_ext >&5
22999
23000 ac_cv_cxx_const_cast=no
23001 fi
23002
23003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23004 ac_ext=c
23005 ac_cpp='$CPP $CPPFLAGS'
23006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23009
23010
23011 fi
23012 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23013 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23014 if test "$ac_cv_cxx_const_cast" = yes; then
23015
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_CONST_CAST
23018 _ACEOF
23019
23020 fi
23021
23022 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23023 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23024 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23026 else
23027
23028 ac_ext=cpp
23029 ac_cpp='$CXXCPP $CPPFLAGS'
23030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23033
23034 cat >conftest.$ac_ext <<_ACEOF
23035 /* confdefs.h. */
23036 _ACEOF
23037 cat confdefs.h >>conftest.$ac_ext
23038 cat >>conftest.$ac_ext <<_ACEOF
23039 /* end confdefs.h. */
23040 #include <typeinfo>
23041 class Base { public : Base () {} virtual void f () = 0;};
23042 class Derived : public Base { public : Derived () {} virtual void f () {} };
23043 class Unrelated { public : Unrelated () {} };
23044 int g (Unrelated&) { return 0; }
23045 int
23046 main ()
23047 {
23048
23049 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23050 ;
23051 return 0;
23052 }
23053 _ACEOF
23054 rm -f conftest.$ac_objext
23055 if { (ac_try="$ac_compile"
23056 case "(($ac_try" in
23057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23058 *) ac_try_echo=$ac_try;;
23059 esac
23060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23061 (eval "$ac_compile") 2>conftest.er1
23062 ac_status=$?
23063 grep -v '^ *+' conftest.er1 >conftest.err
23064 rm -f conftest.er1
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } && {
23068 test -z "$ac_cxx_werror_flag" ||
23069 test ! -s conftest.err
23070 } && test -s conftest.$ac_objext; then
23071 ac_cv_cxx_reinterpret_cast=yes
23072 else
23073 echo "$as_me: failed program was:" >&5
23074 sed 's/^/| /' conftest.$ac_ext >&5
23075
23076 ac_cv_cxx_reinterpret_cast=no
23077 fi
23078
23079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23080 ac_ext=c
23081 ac_cpp='$CPP $CPPFLAGS'
23082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23085
23086
23087 fi
23088 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23089 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23090 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23091
23092 cat >>confdefs.h <<\_ACEOF
23093 #define HAVE_REINTERPRET_CAST
23094 _ACEOF
23095
23096 fi
23097
23098 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23099 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23100 if test "${ac_cv_cxx_static_cast+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23103
23104 ac_ext=cpp
23105 ac_cpp='$CXXCPP $CPPFLAGS'
23106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23109
23110 cat >conftest.$ac_ext <<_ACEOF
23111 /* confdefs.h. */
23112 _ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 #include <typeinfo>
23117 class Base { public : Base () {} virtual void f () = 0; };
23118 class Derived : public Base { public : Derived () {} virtual void f () {} };
23119 int g (Derived&) { return 0; }
23120 int
23121 main ()
23122 {
23123
23124 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23125 ;
23126 return 0;
23127 }
23128 _ACEOF
23129 rm -f conftest.$ac_objext
23130 if { (ac_try="$ac_compile"
23131 case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23134 esac
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_compile") 2>conftest.er1
23137 ac_status=$?
23138 grep -v '^ *+' conftest.er1 >conftest.err
23139 rm -f conftest.er1
23140 cat conftest.err >&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } && {
23143 test -z "$ac_cxx_werror_flag" ||
23144 test ! -s conftest.err
23145 } && test -s conftest.$ac_objext; then
23146 ac_cv_cxx_static_cast=yes
23147 else
23148 echo "$as_me: failed program was:" >&5
23149 sed 's/^/| /' conftest.$ac_ext >&5
23150
23151 ac_cv_cxx_static_cast=no
23152 fi
23153
23154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23155 ac_ext=c
23156 ac_cpp='$CPP $CPPFLAGS'
23157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23160
23161
23162 fi
23163 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23164 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23165 if test "$ac_cv_cxx_static_cast" = yes; then
23166
23167 cat >>confdefs.h <<\_ACEOF
23168 #define HAVE_STATIC_CAST
23169 _ACEOF
23170
23171 fi
23172
23173
23174 if test "x$SUNCXX" = xyes; then
23175 CXXFLAGS="-features=tmplife $CXXFLAGS"
23176 fi
23177
23178 if test "x$SUNCC" = xyes; then
23179 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23180 fi
23181
23182 if test "x$SGICC" = "xyes"; then
23183 CFLAGS="-woff 3970 $CFLAGS"
23184 fi
23185 if test "x$SGICXX" = "xyes"; then
23186 CXXFLAGS="-woff 3970 $CXXFLAGS"
23187 fi
23188
23189 if test "x$HPCC" = "xyes"; then
23190 CFLAGS="+W 2011,2450 $CFLAGS"
23191 fi
23192 if test "x$HPCXX" = "xyes"; then
23193 CXXFLAGS="+W 2340 $CXXFLAGS"
23194 fi
23195
23196 if test "x$COMPAQCXX" = "xyes"; then
23197 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23198 fi
23199
23200 ac_ext=cpp
23201 ac_cpp='$CXXCPP $CPPFLAGS'
23202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23205
23206
23207 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23208 if test "$wxUSE_UNICODE" = "yes"; then
23209 std_string="std::wstring"
23210 char_type="wchar_t"
23211 else
23212 std_string="std::string"
23213 char_type="char"
23214 fi
23215
23216 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23217 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23218 if test "${wx_cv_class_stdstring+set}" = set; then
23219 echo $ECHO_N "(cached) $ECHO_C" >&6
23220 else
23221
23222 cat >conftest.$ac_ext <<_ACEOF
23223 /* confdefs.h. */
23224 _ACEOF
23225 cat confdefs.h >>conftest.$ac_ext
23226 cat >>conftest.$ac_ext <<_ACEOF
23227 /* end confdefs.h. */
23228 #include <string>
23229 int
23230 main ()
23231 {
23232 $std_string foo;
23233 ;
23234 return 0;
23235 }
23236 _ACEOF
23237 rm -f conftest.$ac_objext
23238 if { (ac_try="$ac_compile"
23239 case "(($ac_try" in
23240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23241 *) ac_try_echo=$ac_try;;
23242 esac
23243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23244 (eval "$ac_compile") 2>conftest.er1
23245 ac_status=$?
23246 grep -v '^ *+' conftest.er1 >conftest.err
23247 rm -f conftest.er1
23248 cat conftest.err >&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); } && {
23251 test -z "$ac_cxx_werror_flag" ||
23252 test ! -s conftest.err
23253 } && test -s conftest.$ac_objext; then
23254 wx_cv_class_stdstring=yes
23255 else
23256 echo "$as_me: failed program was:" >&5
23257 sed 's/^/| /' conftest.$ac_ext >&5
23258
23259 wx_cv_class_stdstring=no
23260
23261 fi
23262
23263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23264
23265
23266 fi
23267 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23268 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23269
23270 if test "$wx_cv_class_stdstring" = yes; then
23271 if test "$wxUSE_UNICODE" = "yes"; then
23272 cat >>confdefs.h <<\_ACEOF
23273 #define HAVE_STD_WSTRING 1
23274 _ACEOF
23275
23276 fi
23277 else
23278 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23279 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23280 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23281 echo $ECHO_N "(cached) $ECHO_C" >&6
23282 else
23283
23284 cat >conftest.$ac_ext <<_ACEOF
23285 /* confdefs.h. */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290
23291 #ifdef HAVE_WCHAR_H
23292 # ifdef __CYGWIN__
23293 # include <stddef.h>
23294 # endif
23295 # include <wchar.h>
23296 #endif
23297 #ifdef HAVE_STDLIB_H
23298 # include <stdlib.h>
23299 #endif
23300 #include <stdio.h>
23301 #include <string>
23302
23303 int
23304 main ()
23305 {
23306 std::basic_string<$char_type> foo;
23307 const $char_type* dummy = foo.c_str();
23308 ;
23309 return 0;
23310 }
23311 _ACEOF
23312 rm -f conftest.$ac_objext
23313 if { (ac_try="$ac_compile"
23314 case "(($ac_try" in
23315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23316 *) ac_try_echo=$ac_try;;
23317 esac
23318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23319 (eval "$ac_compile") 2>conftest.er1
23320 ac_status=$?
23321 grep -v '^ *+' conftest.er1 >conftest.err
23322 rm -f conftest.er1
23323 cat conftest.err >&5
23324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325 (exit $ac_status); } && {
23326 test -z "$ac_cxx_werror_flag" ||
23327 test ! -s conftest.err
23328 } && test -s conftest.$ac_objext; then
23329 wx_cv_class_stdbasicstring=yes
23330 else
23331 echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.$ac_ext >&5
23333
23334 wx_cv_class_stdbasicstring=no
23335
23336 fi
23337
23338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23339
23340
23341 fi
23342 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23343 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23344
23345 if test "$wx_cv_class_stdbasicstring" != yes; then
23346 if test "$wxUSE_STL" = "yes"; then
23347 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23348 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23349 { (exit 1); exit 1; }; }
23350 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23351 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23352 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23353 { (exit 1); exit 1; }; }
23354 else
23355 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23356 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23357 wxUSE_STD_STRING=no
23358 fi
23359 fi
23360 fi
23361 fi
23362
23363 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23364 { echo "$as_me:$LINENO: checking for std::istream" >&5
23365 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23366 if test "${ac_cv_type_std__istream+set}" = set; then
23367 echo $ECHO_N "(cached) $ECHO_C" >&6
23368 else
23369 cat >conftest.$ac_ext <<_ACEOF
23370 /* confdefs.h. */
23371 _ACEOF
23372 cat confdefs.h >>conftest.$ac_ext
23373 cat >>conftest.$ac_ext <<_ACEOF
23374 /* end confdefs.h. */
23375 #include <iostream>
23376
23377 typedef std::istream ac__type_new_;
23378 int
23379 main ()
23380 {
23381 if ((ac__type_new_ *) 0)
23382 return 0;
23383 if (sizeof (ac__type_new_))
23384 return 0;
23385 ;
23386 return 0;
23387 }
23388 _ACEOF
23389 rm -f conftest.$ac_objext
23390 if { (ac_try="$ac_compile"
23391 case "(($ac_try" in
23392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23393 *) ac_try_echo=$ac_try;;
23394 esac
23395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23396 (eval "$ac_compile") 2>conftest.er1
23397 ac_status=$?
23398 grep -v '^ *+' conftest.er1 >conftest.err
23399 rm -f conftest.er1
23400 cat conftest.err >&5
23401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402 (exit $ac_status); } && {
23403 test -z "$ac_cxx_werror_flag" ||
23404 test ! -s conftest.err
23405 } && test -s conftest.$ac_objext; then
23406 ac_cv_type_std__istream=yes
23407 else
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23410
23411 ac_cv_type_std__istream=no
23412 fi
23413
23414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23415 fi
23416 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23417 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23418 if test $ac_cv_type_std__istream = yes; then
23419
23420 cat >>confdefs.h <<_ACEOF
23421 #define HAVE_STD__ISTREAM 1
23422 _ACEOF
23423
23424
23425 else
23426 wxUSE_STD_IOSTREAM=no
23427 fi
23428 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23429 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23430 if test "${ac_cv_type_std__ostream+set}" = set; then
23431 echo $ECHO_N "(cached) $ECHO_C" >&6
23432 else
23433 cat >conftest.$ac_ext <<_ACEOF
23434 /* confdefs.h. */
23435 _ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 #include <iostream>
23440
23441 typedef std::ostream ac__type_new_;
23442 int
23443 main ()
23444 {
23445 if ((ac__type_new_ *) 0)
23446 return 0;
23447 if (sizeof (ac__type_new_))
23448 return 0;
23449 ;
23450 return 0;
23451 }
23452 _ACEOF
23453 rm -f conftest.$ac_objext
23454 if { (ac_try="$ac_compile"
23455 case "(($ac_try" in
23456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23457 *) ac_try_echo=$ac_try;;
23458 esac
23459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23460 (eval "$ac_compile") 2>conftest.er1
23461 ac_status=$?
23462 grep -v '^ *+' conftest.er1 >conftest.err
23463 rm -f conftest.er1
23464 cat conftest.err >&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } && {
23467 test -z "$ac_cxx_werror_flag" ||
23468 test ! -s conftest.err
23469 } && test -s conftest.$ac_objext; then
23470 ac_cv_type_std__ostream=yes
23471 else
23472 echo "$as_me: failed program was:" >&5
23473 sed 's/^/| /' conftest.$ac_ext >&5
23474
23475 ac_cv_type_std__ostream=no
23476 fi
23477
23478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23479 fi
23480 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23481 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23482 if test $ac_cv_type_std__ostream = yes; then
23483
23484 cat >>confdefs.h <<_ACEOF
23485 #define HAVE_STD__OSTREAM 1
23486 _ACEOF
23487
23488
23489 else
23490 wxUSE_STD_IOSTREAM=no
23491 fi
23492
23493
23494 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23495 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23496 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23497 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23498 { (exit 1); exit 1; }; }
23499 else
23500 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23501 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23502 fi
23503 fi
23504 fi
23505
23506 if test "$wxUSE_STL" = "yes"; then
23507 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23508 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23509 if test "${wx_cv_lib_stl+set}" = set; then
23510 echo $ECHO_N "(cached) $ECHO_C" >&6
23511 else
23512 cat >conftest.$ac_ext <<_ACEOF
23513 /* confdefs.h. */
23514 _ACEOF
23515 cat confdefs.h >>conftest.$ac_ext
23516 cat >>conftest.$ac_ext <<_ACEOF
23517 /* end confdefs.h. */
23518 #include <string>
23519 #include <functional>
23520 #include <algorithm>
23521 #include <vector>
23522 #include <list>
23523 int
23524 main ()
23525 {
23526 std::vector<int> moo;
23527 std::list<int> foo;
23528 std::vector<int>::iterator it =
23529 std::find_if(moo.begin(), moo.end(),
23530 std::bind2nd(std::less<int>(), 3));
23531 ;
23532 return 0;
23533 }
23534 _ACEOF
23535 rm -f conftest.$ac_objext
23536 if { (ac_try="$ac_compile"
23537 case "(($ac_try" in
23538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23539 *) ac_try_echo=$ac_try;;
23540 esac
23541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23542 (eval "$ac_compile") 2>conftest.er1
23543 ac_status=$?
23544 grep -v '^ *+' conftest.er1 >conftest.err
23545 rm -f conftest.er1
23546 cat conftest.err >&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } && {
23549 test -z "$ac_cxx_werror_flag" ||
23550 test ! -s conftest.err
23551 } && test -s conftest.$ac_objext; then
23552 wx_cv_lib_stl=yes
23553 else
23554 echo "$as_me: failed program was:" >&5
23555 sed 's/^/| /' conftest.$ac_ext >&5
23556
23557 wx_cv_lib_stl=no
23558
23559 fi
23560
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23562
23563 fi
23564 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23565 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23566
23567 if test "$wx_cv_lib_stl" != yes; then
23568 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23569 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23570 { (exit 1); exit 1; }; }
23571 fi
23572
23573 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23574 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23575 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23576 echo $ECHO_N "(cached) $ECHO_C" >&6
23577 else
23578 cat >conftest.$ac_ext <<_ACEOF
23579 /* confdefs.h. */
23580 _ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23584 #include <string>
23585 int
23586 main ()
23587 {
23588 std::string foo, bar;
23589 foo.compare(bar);
23590 foo.compare(1, 1, bar);
23591 foo.compare(1, 1, bar, 1, 1);
23592 foo.compare("");
23593 foo.compare(1, 1, "");
23594 foo.compare(1, 1, "", 2);
23595 ;
23596 return 0;
23597 }
23598 _ACEOF
23599 rm -f conftest.$ac_objext
23600 if { (ac_try="$ac_compile"
23601 case "(($ac_try" in
23602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23603 *) ac_try_echo=$ac_try;;
23604 esac
23605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23606 (eval "$ac_compile") 2>conftest.er1
23607 ac_status=$?
23608 grep -v '^ *+' conftest.er1 >conftest.err
23609 rm -f conftest.er1
23610 cat conftest.err >&5
23611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23612 (exit $ac_status); } && {
23613 test -z "$ac_cxx_werror_flag" ||
23614 test ! -s conftest.err
23615 } && test -s conftest.$ac_objext; then
23616 wx_cv_func_stdstring_compare=yes
23617 else
23618 echo "$as_me: failed program was:" >&5
23619 sed 's/^/| /' conftest.$ac_ext >&5
23620
23621 wx_cv_func_stdstring_compare=no
23622
23623 fi
23624
23625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23626
23627 fi
23628 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23629 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23630
23631 if test "$wx_cv_func_stdstring_compare" = yes; then
23632 cat >>confdefs.h <<\_ACEOF
23633 #define HAVE_STD_STRING_COMPARE 1
23634 _ACEOF
23635
23636 fi
23637
23638 { echo "$as_me:$LINENO: checking for hash_map" >&5
23639 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23640 if test "${ac_cv_header_hash_map+set}" = set; then
23641 echo $ECHO_N "(cached) $ECHO_C" >&6
23642 else
23643 cat >conftest.$ac_ext <<_ACEOF
23644 /* confdefs.h. */
23645 _ACEOF
23646 cat confdefs.h >>conftest.$ac_ext
23647 cat >>conftest.$ac_ext <<_ACEOF
23648 /* end confdefs.h. */
23649
23650
23651
23652 #include <hash_map>
23653 _ACEOF
23654 rm -f conftest.$ac_objext
23655 if { (ac_try="$ac_compile"
23656 case "(($ac_try" in
23657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23658 *) ac_try_echo=$ac_try;;
23659 esac
23660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23661 (eval "$ac_compile") 2>conftest.er1
23662 ac_status=$?
23663 grep -v '^ *+' conftest.er1 >conftest.err
23664 rm -f conftest.er1
23665 cat conftest.err >&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } && {
23668 test -z "$ac_cxx_werror_flag" ||
23669 test ! -s conftest.err
23670 } && test -s conftest.$ac_objext; then
23671 ac_cv_header_hash_map=yes
23672 else
23673 echo "$as_me: failed program was:" >&5
23674 sed 's/^/| /' conftest.$ac_ext >&5
23675
23676 ac_cv_header_hash_map=no
23677 fi
23678
23679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23680 fi
23681 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23682 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23683 if test $ac_cv_header_hash_map = yes; then
23684 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23685 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23686 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23687 echo $ECHO_N "(cached) $ECHO_C" >&6
23688 else
23689 cat >conftest.$ac_ext <<_ACEOF
23690 /* confdefs.h. */
23691 _ACEOF
23692 cat confdefs.h >>conftest.$ac_ext
23693 cat >>conftest.$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 #include <hash_map>
23696 #include <hash_set>
23697 int
23698 main ()
23699 {
23700 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23701 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23702 ;
23703 return 0;
23704 }
23705 _ACEOF
23706 rm -f conftest.$ac_objext
23707 if { (ac_try="$ac_compile"
23708 case "(($ac_try" in
23709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23710 *) ac_try_echo=$ac_try;;
23711 esac
23712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23713 (eval "$ac_compile") 2>conftest.er1
23714 ac_status=$?
23715 grep -v '^ *+' conftest.er1 >conftest.err
23716 rm -f conftest.er1
23717 cat conftest.err >&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } && {
23720 test -z "$ac_cxx_werror_flag" ||
23721 test ! -s conftest.err
23722 } && test -s conftest.$ac_objext; then
23723 wx_cv_class_stdhashmapset=yes
23724 else
23725 echo "$as_me: failed program was:" >&5
23726 sed 's/^/| /' conftest.$ac_ext >&5
23727
23728 wx_cv_class_stdhashmapset=no
23729 fi
23730
23731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23732
23733
23734 fi
23735 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23736 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23737 fi
23738
23739
23740
23741 if test "$wx_cv_class_stdhashmapset" = yes; then
23742 cat >>confdefs.h <<\_ACEOF
23743 #define HAVE_HASH_MAP 1
23744 _ACEOF
23745
23746 cat >>confdefs.h <<\_ACEOF
23747 #define HAVE_STD_HASH_MAP 1
23748 _ACEOF
23749
23750 fi
23751
23752 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23753 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23754 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 else
23757 cat >conftest.$ac_ext <<_ACEOF
23758 /* confdefs.h. */
23759 _ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763
23764
23765
23766 #include <ext/hash_map>
23767 _ACEOF
23768 rm -f conftest.$ac_objext
23769 if { (ac_try="$ac_compile"
23770 case "(($ac_try" in
23771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23772 *) ac_try_echo=$ac_try;;
23773 esac
23774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23775 (eval "$ac_compile") 2>conftest.er1
23776 ac_status=$?
23777 grep -v '^ *+' conftest.er1 >conftest.err
23778 rm -f conftest.er1
23779 cat conftest.err >&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); } && {
23782 test -z "$ac_cxx_werror_flag" ||
23783 test ! -s conftest.err
23784 } && test -s conftest.$ac_objext; then
23785 ac_cv_header_ext_hash_map=yes
23786 else
23787 echo "$as_me: failed program was:" >&5
23788 sed 's/^/| /' conftest.$ac_ext >&5
23789
23790 ac_cv_header_ext_hash_map=no
23791 fi
23792
23793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23794 fi
23795 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23796 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23797 if test $ac_cv_header_ext_hash_map = yes; then
23798 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23799 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23800 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23801 echo $ECHO_N "(cached) $ECHO_C" >&6
23802 else
23803 cat >conftest.$ac_ext <<_ACEOF
23804 /* confdefs.h. */
23805 _ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23809 #include <ext/hash_map>
23810 #include <ext/hash_set>
23811 int
23812 main ()
23813 {
23814 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23815 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23816 ;
23817 return 0;
23818 }
23819 _ACEOF
23820 rm -f conftest.$ac_objext
23821 if { (ac_try="$ac_compile"
23822 case "(($ac_try" in
23823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23824 *) ac_try_echo=$ac_try;;
23825 esac
23826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23827 (eval "$ac_compile") 2>conftest.er1
23828 ac_status=$?
23829 grep -v '^ *+' conftest.er1 >conftest.err
23830 rm -f conftest.er1
23831 cat conftest.err >&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); } && {
23834 test -z "$ac_cxx_werror_flag" ||
23835 test ! -s conftest.err
23836 } && test -s conftest.$ac_objext; then
23837 wx_cv_class_gnuhashmapset=yes
23838 else
23839 echo "$as_me: failed program was:" >&5
23840 sed 's/^/| /' conftest.$ac_ext >&5
23841
23842 wx_cv_class_gnuhashmapset=no
23843 fi
23844
23845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23846
23847
23848 fi
23849 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23850 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23851 fi
23852
23853
23854
23855 if test "$wx_cv_class_gnuhashmapset" = yes; then
23856 cat >>confdefs.h <<\_ACEOF
23857 #define HAVE_EXT_HASH_MAP 1
23858 _ACEOF
23859
23860 cat >>confdefs.h <<\_ACEOF
23861 #define HAVE_GNU_CXX_HASH_MAP 1
23862 _ACEOF
23863
23864 fi
23865 fi
23866
23867 ac_ext=c
23868 ac_cpp='$CPP $CPPFLAGS'
23869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23872
23873
23874
23875 SEARCH_INCLUDE="\
23876 /usr/local/include \
23877 \
23878 /usr/Motif-2.1/include \
23879 /usr/Motif-1.2/include \
23880 /usr/include/Motif1.2 \
23881 \
23882 /usr/dt/include \
23883 /usr/openwin/include \
23884 \
23885 /usr/include/Xm \
23886 \
23887 /usr/X11R6/include \
23888 /usr/X11R6.4/include \
23889 /usr/X11R5/include \
23890 /usr/X11R4/include \
23891 \
23892 /usr/include/X11R6 \
23893 /usr/include/X11R5 \
23894 /usr/include/X11R4 \
23895 \
23896 /usr/local/X11R6/include \
23897 /usr/local/X11R5/include \
23898 /usr/local/X11R4/include \
23899 \
23900 /usr/local/include/X11R6 \
23901 /usr/local/include/X11R5 \
23902 /usr/local/include/X11R4 \
23903 \
23904 /usr/X11/include \
23905 /usr/include/X11 \
23906 /usr/local/X11/include \
23907 /usr/local/include/X11 \
23908 \
23909 /usr/XFree86/include/X11 \
23910 /usr/pkg/include \
23911 \
23912 /usr/openwin/share/include"
23913
23914 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23915 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23916
23917 case "${host}" in
23918 *-*-irix6* )
23919 if test "${wx_cv_std_libpath+set}" = set; then
23920 echo $ECHO_N "(cached) $ECHO_C" >&6
23921 else
23922
23923 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23924 for e in a so sl dylib dll.a; do
23925 libc="$d/libc.$e"
23926 if test -f $libc; then
23927 save_LIBS="$LIBS"
23928 LIBS="$libc"
23929 cat >conftest.$ac_ext <<_ACEOF
23930 int main() { return 0; }
23931 _ACEOF
23932 rm -f conftest.$ac_objext conftest$ac_exeext
23933 if { (ac_try="$ac_link"
23934 case "(($ac_try" in
23935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23936 *) ac_try_echo=$ac_try;;
23937 esac
23938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23939 (eval "$ac_link") 2>conftest.er1
23940 ac_status=$?
23941 grep -v '^ *+' conftest.er1 >conftest.err
23942 rm -f conftest.er1
23943 cat conftest.err >&5
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); } && {
23946 test -z "$ac_c_werror_flag" ||
23947 test ! -s conftest.err
23948 } && test -s conftest$ac_exeext &&
23949 $as_test_x conftest$ac_exeext; then
23950 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23951 else
23952 echo "$as_me: failed program was:" >&5
23953 sed 's/^/| /' conftest.$ac_ext >&5
23954
23955
23956 fi
23957
23958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23959 conftest$ac_exeext conftest.$ac_ext
23960 LIBS="$save_LIBS"
23961 if test "x$wx_cv_std_libpath" != "x"; then
23962 break 2
23963 fi
23964 fi
23965 done
23966 done
23967 if test "x$wx_cv_std_libpath" = "x"; then
23968 wx_cv_std_libpath="lib"
23969 fi
23970
23971
23972 fi
23973
23974 ;;
23975
23976 *-*-solaris2* )
23977 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23978 wx_cv_std_libpath="lib/64"
23979 else
23980 wx_cv_std_libpath="lib"
23981 fi
23982 ;;
23983
23984 *-*-linux* )
23985 if test "$ac_cv_sizeof_void_p" = 8 -a \
23986 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23987 wx_cv_std_libpath="lib64"
23988 else
23989 wx_cv_std_libpath="lib"
23990 fi
23991 ;;
23992
23993 *)
23994 wx_cv_std_libpath="lib";
23995 ;;
23996 esac
23997
23998 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23999 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24000
24001 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24002
24003 if test "$build" != "$host" -a "$GCC" = yes; then
24004 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24005 cross_root=`dirname $cross_root`
24006 cross_root=`dirname $cross_root`
24007
24008 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24009 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24010 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24011
24012 if test -z "$PKG_CONFIG_PATH"; then
24013 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24014 export PKG_CONFIG_PATH
24015 fi
24016
24017 if test -z "$x_includes" -o "$x_includes" = NONE; then
24018
24019 ac_find_includes=
24020 for ac_dir in $SEARCH_INCLUDE /usr/include;
24021 do
24022 if test -f "$ac_dir/X11/Intrinsic.h"; then
24023 ac_find_includes=$ac_dir
24024 break
24025 fi
24026 done
24027
24028 x_includes=$ac_find_includes
24029 fi
24030 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24031
24032 ac_find_libraries=
24033 for ac_dir in $SEARCH_LIB;
24034 do
24035 for ac_extension in a so sl dylib dll.a; do
24036 if test -f "$ac_dir/libXt.$ac_extension"; then
24037 ac_find_libraries=$ac_dir
24038 break 2
24039 fi
24040 done
24041 done
24042
24043 x_libraries=$ac_find_libraries
24044 fi
24045 fi
24046 fi
24047
24048
24049 cat >confcache <<\_ACEOF
24050 # This file is a shell script that caches the results of configure
24051 # tests run on this system so they can be shared between configure
24052 # scripts and configure runs, see configure's option --config-cache.
24053 # It is not useful on other systems. If it contains results you don't
24054 # want to keep, you may remove or edit it.
24055 #
24056 # config.status only pays attention to the cache file if you give it
24057 # the --recheck option to rerun configure.
24058 #
24059 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24060 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24061 # following values.
24062
24063 _ACEOF
24064
24065 # The following way of writing the cache mishandles newlines in values,
24066 # but we know of no workaround that is simple, portable, and efficient.
24067 # So, we kill variables containing newlines.
24068 # Ultrix sh set writes to stderr and can't be redirected directly,
24069 # and sets the high bit in the cache file unless we assign to the vars.
24070 (
24071 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24072 eval ac_val=\$$ac_var
24073 case $ac_val in #(
24074 *${as_nl}*)
24075 case $ac_var in #(
24076 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24077 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24078 esac
24079 case $ac_var in #(
24080 _ | IFS | as_nl) ;; #(
24081 *) $as_unset $ac_var ;;
24082 esac ;;
24083 esac
24084 done
24085
24086 (set) 2>&1 |
24087 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24088 *${as_nl}ac_space=\ *)
24089 # `set' does not quote correctly, so add quotes (double-quote
24090 # substitution turns \\\\ into \\, and sed turns \\ into \).
24091 sed -n \
24092 "s/'/'\\\\''/g;
24093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24094 ;; #(
24095 *)
24096 # `set' quotes correctly as required by POSIX, so do not add quotes.
24097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24098 ;;
24099 esac |
24100 sort
24101 ) |
24102 sed '
24103 /^ac_cv_env_/b end
24104 t clear
24105 :clear
24106 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24107 t end
24108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24109 :end' >>confcache
24110 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24111 if test -w "$cache_file"; then
24112 test "x$cache_file" != "x/dev/null" &&
24113 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24114 echo "$as_me: updating cache $cache_file" >&6;}
24115 cat confcache >$cache_file
24116 else
24117 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24118 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24119 fi
24120 fi
24121 rm -f confcache
24122
24123 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24124 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24125 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24126 if test "${wx_cv_lib_glibc21+set}" = set; then
24127 echo $ECHO_N "(cached) $ECHO_C" >&6
24128 else
24129
24130 cat >conftest.$ac_ext <<_ACEOF
24131 /* confdefs.h. */
24132 _ACEOF
24133 cat confdefs.h >>conftest.$ac_ext
24134 cat >>conftest.$ac_ext <<_ACEOF
24135 /* end confdefs.h. */
24136 #include <features.h>
24137 int
24138 main ()
24139 {
24140
24141 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24142 not glibc 2.1
24143 #endif
24144
24145 ;
24146 return 0;
24147 }
24148 _ACEOF
24149 rm -f conftest.$ac_objext
24150 if { (ac_try="$ac_compile"
24151 case "(($ac_try" in
24152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24153 *) ac_try_echo=$ac_try;;
24154 esac
24155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24156 (eval "$ac_compile") 2>conftest.er1
24157 ac_status=$?
24158 grep -v '^ *+' conftest.er1 >conftest.err
24159 rm -f conftest.er1
24160 cat conftest.err >&5
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); } && {
24163 test -z "$ac_c_werror_flag" ||
24164 test ! -s conftest.err
24165 } && test -s conftest.$ac_objext; then
24166
24167 wx_cv_lib_glibc21=yes
24168
24169 else
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.$ac_ext >&5
24172
24173
24174 wx_cv_lib_glibc21=no
24175
24176
24177 fi
24178
24179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24180
24181 fi
24182 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24183 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24184 if test "$wx_cv_lib_glibc21" = "yes"; then
24185 cat >>confdefs.h <<\_ACEOF
24186 #define wxHAVE_GLIBC2 1
24187 _ACEOF
24188
24189 fi
24190 fi
24191
24192 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24193 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24194 cat >>confdefs.h <<\_ACEOF
24195 #define _GNU_SOURCE 1
24196 _ACEOF
24197
24198 fi
24199 fi
24200
24201 have_cos=0
24202 have_floor=0
24203
24204 for ac_func in cos
24205 do
24206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24207 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24209 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24210 echo $ECHO_N "(cached) $ECHO_C" >&6
24211 else
24212 cat >conftest.$ac_ext <<_ACEOF
24213 /* confdefs.h. */
24214 _ACEOF
24215 cat confdefs.h >>conftest.$ac_ext
24216 cat >>conftest.$ac_ext <<_ACEOF
24217 /* end confdefs.h. */
24218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24220 #define $ac_func innocuous_$ac_func
24221
24222 /* System header to define __stub macros and hopefully few prototypes,
24223 which can conflict with char $ac_func (); below.
24224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24225 <limits.h> exists even on freestanding compilers. */
24226
24227 #ifdef __STDC__
24228 # include <limits.h>
24229 #else
24230 # include <assert.h>
24231 #endif
24232
24233 #undef $ac_func
24234
24235 /* Override any GCC internal prototype to avoid an error.
24236 Use char because int might match the return type of a GCC
24237 builtin and then its argument prototype would still apply. */
24238 #ifdef __cplusplus
24239 extern "C"
24240 #endif
24241 char $ac_func ();
24242 /* The GNU C library defines this for functions which it implements
24243 to always fail with ENOSYS. Some functions are actually named
24244 something starting with __ and the normal name is an alias. */
24245 #if defined __stub_$ac_func || defined __stub___$ac_func
24246 choke me
24247 #endif
24248
24249 int
24250 main ()
24251 {
24252 return $ac_func ();
24253 ;
24254 return 0;
24255 }
24256 _ACEOF
24257 rm -f conftest.$ac_objext conftest$ac_exeext
24258 if { (ac_try="$ac_link"
24259 case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24262 esac
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_link") 2>conftest.er1
24265 ac_status=$?
24266 grep -v '^ *+' conftest.er1 >conftest.err
24267 rm -f conftest.er1
24268 cat conftest.err >&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } && {
24271 test -z "$ac_c_werror_flag" ||
24272 test ! -s conftest.err
24273 } && test -s conftest$ac_exeext &&
24274 $as_test_x conftest$ac_exeext; then
24275 eval "$as_ac_var=yes"
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280 eval "$as_ac_var=no"
24281 fi
24282
24283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24284 conftest$ac_exeext conftest.$ac_ext
24285 fi
24286 ac_res=`eval echo '${'$as_ac_var'}'`
24287 { echo "$as_me:$LINENO: result: $ac_res" >&5
24288 echo "${ECHO_T}$ac_res" >&6; }
24289 if test `eval echo '${'$as_ac_var'}'` = yes; then
24290 cat >>confdefs.h <<_ACEOF
24291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24292 _ACEOF
24293 have_cos=1
24294 fi
24295 done
24296
24297
24298 for ac_func in floor
24299 do
24300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24301 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24303 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24304 echo $ECHO_N "(cached) $ECHO_C" >&6
24305 else
24306 cat >conftest.$ac_ext <<_ACEOF
24307 /* confdefs.h. */
24308 _ACEOF
24309 cat confdefs.h >>conftest.$ac_ext
24310 cat >>conftest.$ac_ext <<_ACEOF
24311 /* end confdefs.h. */
24312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24314 #define $ac_func innocuous_$ac_func
24315
24316 /* System header to define __stub macros and hopefully few prototypes,
24317 which can conflict with char $ac_func (); below.
24318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24319 <limits.h> exists even on freestanding compilers. */
24320
24321 #ifdef __STDC__
24322 # include <limits.h>
24323 #else
24324 # include <assert.h>
24325 #endif
24326
24327 #undef $ac_func
24328
24329 /* Override any GCC internal prototype to avoid an error.
24330 Use char because int might match the return type of a GCC
24331 builtin and then its argument prototype would still apply. */
24332 #ifdef __cplusplus
24333 extern "C"
24334 #endif
24335 char $ac_func ();
24336 /* The GNU C library defines this for functions which it implements
24337 to always fail with ENOSYS. Some functions are actually named
24338 something starting with __ and the normal name is an alias. */
24339 #if defined __stub_$ac_func || defined __stub___$ac_func
24340 choke me
24341 #endif
24342
24343 int
24344 main ()
24345 {
24346 return $ac_func ();
24347 ;
24348 return 0;
24349 }
24350 _ACEOF
24351 rm -f conftest.$ac_objext conftest$ac_exeext
24352 if { (ac_try="$ac_link"
24353 case "(($ac_try" in
24354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24355 *) ac_try_echo=$ac_try;;
24356 esac
24357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24358 (eval "$ac_link") 2>conftest.er1
24359 ac_status=$?
24360 grep -v '^ *+' conftest.er1 >conftest.err
24361 rm -f conftest.er1
24362 cat conftest.err >&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); } && {
24365 test -z "$ac_c_werror_flag" ||
24366 test ! -s conftest.err
24367 } && test -s conftest$ac_exeext &&
24368 $as_test_x conftest$ac_exeext; then
24369 eval "$as_ac_var=yes"
24370 else
24371 echo "$as_me: failed program was:" >&5
24372 sed 's/^/| /' conftest.$ac_ext >&5
24373
24374 eval "$as_ac_var=no"
24375 fi
24376
24377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24378 conftest$ac_exeext conftest.$ac_ext
24379 fi
24380 ac_res=`eval echo '${'$as_ac_var'}'`
24381 { echo "$as_me:$LINENO: result: $ac_res" >&5
24382 echo "${ECHO_T}$ac_res" >&6; }
24383 if test `eval echo '${'$as_ac_var'}'` = yes; then
24384 cat >>confdefs.h <<_ACEOF
24385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24386 _ACEOF
24387 have_floor=1
24388 fi
24389 done
24390
24391 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24392 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24393 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24394 { echo "$as_me:$LINENO: result: yes" >&5
24395 echo "${ECHO_T}yes" >&6; }
24396 else
24397 { echo "$as_me:$LINENO: result: no" >&5
24398 echo "${ECHO_T}no" >&6; }
24399 LIBS="$LIBS -lm"
24400 # use different functions to avoid configure caching
24401 have_sin=0
24402 have_ceil=0
24403
24404 for ac_func in sin
24405 do
24406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24409 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24410 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 else
24412 cat >conftest.$ac_ext <<_ACEOF
24413 /* confdefs.h. */
24414 _ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24420 #define $ac_func innocuous_$ac_func
24421
24422 /* System header to define __stub macros and hopefully few prototypes,
24423 which can conflict with char $ac_func (); below.
24424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24425 <limits.h> exists even on freestanding compilers. */
24426
24427 #ifdef __STDC__
24428 # include <limits.h>
24429 #else
24430 # include <assert.h>
24431 #endif
24432
24433 #undef $ac_func
24434
24435 /* Override any GCC internal prototype to avoid an error.
24436 Use char because int might match the return type of a GCC
24437 builtin and then its argument prototype would still apply. */
24438 #ifdef __cplusplus
24439 extern "C"
24440 #endif
24441 char $ac_func ();
24442 /* The GNU C library defines this for functions which it implements
24443 to always fail with ENOSYS. Some functions are actually named
24444 something starting with __ and the normal name is an alias. */
24445 #if defined __stub_$ac_func || defined __stub___$ac_func
24446 choke me
24447 #endif
24448
24449 int
24450 main ()
24451 {
24452 return $ac_func ();
24453 ;
24454 return 0;
24455 }
24456 _ACEOF
24457 rm -f conftest.$ac_objext conftest$ac_exeext
24458 if { (ac_try="$ac_link"
24459 case "(($ac_try" in
24460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24461 *) ac_try_echo=$ac_try;;
24462 esac
24463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24464 (eval "$ac_link") 2>conftest.er1
24465 ac_status=$?
24466 grep -v '^ *+' conftest.er1 >conftest.err
24467 rm -f conftest.er1
24468 cat conftest.err >&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } && {
24471 test -z "$ac_c_werror_flag" ||
24472 test ! -s conftest.err
24473 } && test -s conftest$ac_exeext &&
24474 $as_test_x conftest$ac_exeext; then
24475 eval "$as_ac_var=yes"
24476 else
24477 echo "$as_me: failed program was:" >&5
24478 sed 's/^/| /' conftest.$ac_ext >&5
24479
24480 eval "$as_ac_var=no"
24481 fi
24482
24483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24484 conftest$ac_exeext conftest.$ac_ext
24485 fi
24486 ac_res=`eval echo '${'$as_ac_var'}'`
24487 { echo "$as_me:$LINENO: result: $ac_res" >&5
24488 echo "${ECHO_T}$ac_res" >&6; }
24489 if test `eval echo '${'$as_ac_var'}'` = yes; then
24490 cat >>confdefs.h <<_ACEOF
24491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24492 _ACEOF
24493 have_sin=1
24494 fi
24495 done
24496
24497
24498 for ac_func in ceil
24499 do
24500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24504 echo $ECHO_N "(cached) $ECHO_C" >&6
24505 else
24506 cat >conftest.$ac_ext <<_ACEOF
24507 /* confdefs.h. */
24508 _ACEOF
24509 cat confdefs.h >>conftest.$ac_ext
24510 cat >>conftest.$ac_ext <<_ACEOF
24511 /* end confdefs.h. */
24512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24514 #define $ac_func innocuous_$ac_func
24515
24516 /* System header to define __stub macros and hopefully few prototypes,
24517 which can conflict with char $ac_func (); below.
24518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24519 <limits.h> exists even on freestanding compilers. */
24520
24521 #ifdef __STDC__
24522 # include <limits.h>
24523 #else
24524 # include <assert.h>
24525 #endif
24526
24527 #undef $ac_func
24528
24529 /* Override any GCC internal prototype to avoid an error.
24530 Use char because int might match the return type of a GCC
24531 builtin and then its argument prototype would still apply. */
24532 #ifdef __cplusplus
24533 extern "C"
24534 #endif
24535 char $ac_func ();
24536 /* The GNU C library defines this for functions which it implements
24537 to always fail with ENOSYS. Some functions are actually named
24538 something starting with __ and the normal name is an alias. */
24539 #if defined __stub_$ac_func || defined __stub___$ac_func
24540 choke me
24541 #endif
24542
24543 int
24544 main ()
24545 {
24546 return $ac_func ();
24547 ;
24548 return 0;
24549 }
24550 _ACEOF
24551 rm -f conftest.$ac_objext conftest$ac_exeext
24552 if { (ac_try="$ac_link"
24553 case "(($ac_try" in
24554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24555 *) ac_try_echo=$ac_try;;
24556 esac
24557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24558 (eval "$ac_link") 2>conftest.er1
24559 ac_status=$?
24560 grep -v '^ *+' conftest.er1 >conftest.err
24561 rm -f conftest.er1
24562 cat conftest.err >&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); } && {
24565 test -z "$ac_c_werror_flag" ||
24566 test ! -s conftest.err
24567 } && test -s conftest$ac_exeext &&
24568 $as_test_x conftest$ac_exeext; then
24569 eval "$as_ac_var=yes"
24570 else
24571 echo "$as_me: failed program was:" >&5
24572 sed 's/^/| /' conftest.$ac_ext >&5
24573
24574 eval "$as_ac_var=no"
24575 fi
24576
24577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24578 conftest$ac_exeext conftest.$ac_ext
24579 fi
24580 ac_res=`eval echo '${'$as_ac_var'}'`
24581 { echo "$as_me:$LINENO: result: $ac_res" >&5
24582 echo "${ECHO_T}$ac_res" >&6; }
24583 if test `eval echo '${'$as_ac_var'}'` = yes; then
24584 cat >>confdefs.h <<_ACEOF
24585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24586 _ACEOF
24587 have_ceil=1
24588 fi
24589 done
24590
24591 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24592 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24593 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24594 { echo "$as_me:$LINENO: result: yes" >&5
24595 echo "${ECHO_T}yes" >&6; }
24596 else
24597 { echo "$as_me:$LINENO: result: no" >&5
24598 echo "${ECHO_T}no" >&6; }
24599 # not sure we should warn the user, crash, etc.
24600 fi
24601 fi
24602
24603 ac_ext=cpp
24604 ac_cpp='$CXXCPP $CPPFLAGS'
24605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24608
24609 if test "wxUSE_UNICODE" = "yes"; then
24610
24611 for wx_func in wcstoull
24612 do
24613 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24614 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24615 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 else
24618
24619 cat >conftest.$ac_ext <<_ACEOF
24620
24621 /* confdefs.h. */
24622 _ACEOF
24623 cat confdefs.h >>conftest.$ac_ext
24624 cat >>conftest.$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626
24627
24628 $ac_includes_default
24629
24630 int
24631 main ()
24632 {
24633
24634 #ifndef $wx_func
24635 &$wx_func;
24636 #endif
24637
24638
24639 ;
24640 return 0;
24641 }
24642
24643 _ACEOF
24644 rm -f conftest.$ac_objext conftest$ac_exeext
24645 if { (ac_try="$ac_link"
24646 case "(($ac_try" in
24647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24648 *) ac_try_echo=$ac_try;;
24649 esac
24650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24651 (eval "$ac_link") 2>conftest.er1
24652 ac_status=$?
24653 grep -v '^ *+' conftest.er1 >conftest.err
24654 rm -f conftest.er1
24655 cat conftest.err >&5
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); } && {
24658 test -z "$ac_cxx_werror_flag" ||
24659 test ! -s conftest.err
24660 } && test -s conftest$ac_exeext &&
24661 $as_test_x conftest$ac_exeext; then
24662 eval wx_cv_func_$wx_func=yes
24663 else
24664 echo "$as_me: failed program was:" >&5
24665 sed 's/^/| /' conftest.$ac_ext >&5
24666
24667 eval wx_cv_func_$wx_func=no
24668 fi
24669
24670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24671 conftest$ac_exeext conftest.$ac_ext
24672
24673 fi
24674 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24675 { echo "$as_me:$LINENO: result: $ac_res" >&5
24676 echo "${ECHO_T}$ac_res" >&6; }
24677
24678 if eval test \$wx_cv_func_$wx_func = yes
24679 then
24680 cat >>confdefs.h <<_ACEOF
24681 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24682 _ACEOF
24683
24684
24685 else
24686 :
24687
24688 fi
24689 done
24690
24691 else
24692
24693 for wx_func in strtoull
24694 do
24695 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24696 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24697 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24698 echo $ECHO_N "(cached) $ECHO_C" >&6
24699 else
24700
24701 cat >conftest.$ac_ext <<_ACEOF
24702
24703 /* confdefs.h. */
24704 _ACEOF
24705 cat confdefs.h >>conftest.$ac_ext
24706 cat >>conftest.$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708
24709
24710 $ac_includes_default
24711
24712 int
24713 main ()
24714 {
24715
24716 #ifndef $wx_func
24717 &$wx_func;
24718 #endif
24719
24720
24721 ;
24722 return 0;
24723 }
24724
24725 _ACEOF
24726 rm -f conftest.$ac_objext conftest$ac_exeext
24727 if { (ac_try="$ac_link"
24728 case "(($ac_try" in
24729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24730 *) ac_try_echo=$ac_try;;
24731 esac
24732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24733 (eval "$ac_link") 2>conftest.er1
24734 ac_status=$?
24735 grep -v '^ *+' conftest.er1 >conftest.err
24736 rm -f conftest.er1
24737 cat conftest.err >&5
24738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739 (exit $ac_status); } && {
24740 test -z "$ac_cxx_werror_flag" ||
24741 test ! -s conftest.err
24742 } && test -s conftest$ac_exeext &&
24743 $as_test_x conftest$ac_exeext; then
24744 eval wx_cv_func_$wx_func=yes
24745 else
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.$ac_ext >&5
24748
24749 eval wx_cv_func_$wx_func=no
24750 fi
24751
24752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24753 conftest$ac_exeext conftest.$ac_ext
24754
24755 fi
24756 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24757 { echo "$as_me:$LINENO: result: $ac_res" >&5
24758 echo "${ECHO_T}$ac_res" >&6; }
24759
24760 if eval test \$wx_cv_func_$wx_func = yes
24761 then
24762 cat >>confdefs.h <<_ACEOF
24763 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24764 _ACEOF
24765
24766
24767 else
24768 :
24769
24770 fi
24771 done
24772
24773 fi
24774 ac_ext=c
24775 ac_cpp='$CPP $CPPFLAGS'
24776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24779
24780
24781
24782
24783 if test "$wxUSE_REGEX" != "no"; then
24784 cat >>confdefs.h <<\_ACEOF
24785 #define wxUSE_REGEX 1
24786 _ACEOF
24787
24788
24789 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24790 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24791 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24792 wxUSE_REGEX=builtin
24793 fi
24794
24795 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24796 { echo "$as_me:$LINENO: checking for regex.h" >&5
24797 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24798 if test "${ac_cv_header_regex_h+set}" = set; then
24799 echo $ECHO_N "(cached) $ECHO_C" >&6
24800 else
24801 cat >conftest.$ac_ext <<_ACEOF
24802 /* confdefs.h. */
24803 _ACEOF
24804 cat confdefs.h >>conftest.$ac_ext
24805 cat >>conftest.$ac_ext <<_ACEOF
24806 /* end confdefs.h. */
24807
24808
24809 #include <regex.h>
24810 _ACEOF
24811 rm -f conftest.$ac_objext
24812 if { (ac_try="$ac_compile"
24813 case "(($ac_try" in
24814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24815 *) ac_try_echo=$ac_try;;
24816 esac
24817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24818 (eval "$ac_compile") 2>conftest.er1
24819 ac_status=$?
24820 grep -v '^ *+' conftest.er1 >conftest.err
24821 rm -f conftest.er1
24822 cat conftest.err >&5
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); } && {
24825 test -z "$ac_c_werror_flag" ||
24826 test ! -s conftest.err
24827 } && test -s conftest.$ac_objext; then
24828 ac_cv_header_regex_h=yes
24829 else
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.$ac_ext >&5
24832
24833 ac_cv_header_regex_h=no
24834 fi
24835
24836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24837 fi
24838 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24839 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24840 if test $ac_cv_header_regex_h = yes; then
24841
24842
24843 for ac_func in regcomp re_search
24844 do
24845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24846 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24848 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24849 echo $ECHO_N "(cached) $ECHO_C" >&6
24850 else
24851 cat >conftest.$ac_ext <<_ACEOF
24852 /* confdefs.h. */
24853 _ACEOF
24854 cat confdefs.h >>conftest.$ac_ext
24855 cat >>conftest.$ac_ext <<_ACEOF
24856 /* end confdefs.h. */
24857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24859 #define $ac_func innocuous_$ac_func
24860
24861 /* System header to define __stub macros and hopefully few prototypes,
24862 which can conflict with char $ac_func (); below.
24863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24864 <limits.h> exists even on freestanding compilers. */
24865
24866 #ifdef __STDC__
24867 # include <limits.h>
24868 #else
24869 # include <assert.h>
24870 #endif
24871
24872 #undef $ac_func
24873
24874 /* Override any GCC internal prototype to avoid an error.
24875 Use char because int might match the return type of a GCC
24876 builtin and then its argument prototype would still apply. */
24877 #ifdef __cplusplus
24878 extern "C"
24879 #endif
24880 char $ac_func ();
24881 /* The GNU C library defines this for functions which it implements
24882 to always fail with ENOSYS. Some functions are actually named
24883 something starting with __ and the normal name is an alias. */
24884 #if defined __stub_$ac_func || defined __stub___$ac_func
24885 choke me
24886 #endif
24887
24888 int
24889 main ()
24890 {
24891 return $ac_func ();
24892 ;
24893 return 0;
24894 }
24895 _ACEOF
24896 rm -f conftest.$ac_objext conftest$ac_exeext
24897 if { (ac_try="$ac_link"
24898 case "(($ac_try" in
24899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24900 *) ac_try_echo=$ac_try;;
24901 esac
24902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24903 (eval "$ac_link") 2>conftest.er1
24904 ac_status=$?
24905 grep -v '^ *+' conftest.er1 >conftest.err
24906 rm -f conftest.er1
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } && {
24910 test -z "$ac_c_werror_flag" ||
24911 test ! -s conftest.err
24912 } && test -s conftest$ac_exeext &&
24913 $as_test_x conftest$ac_exeext; then
24914 eval "$as_ac_var=yes"
24915 else
24916 echo "$as_me: failed program was:" >&5
24917 sed 's/^/| /' conftest.$ac_ext >&5
24918
24919 eval "$as_ac_var=no"
24920 fi
24921
24922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24923 conftest$ac_exeext conftest.$ac_ext
24924 fi
24925 ac_res=`eval echo '${'$as_ac_var'}'`
24926 { echo "$as_me:$LINENO: result: $ac_res" >&5
24927 echo "${ECHO_T}$ac_res" >&6; }
24928 if test `eval echo '${'$as_ac_var'}'` = yes; then
24929 cat >>confdefs.h <<_ACEOF
24930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24931 _ACEOF
24932
24933 fi
24934 done
24935
24936 fi
24937
24938
24939
24940 if test "x$ac_cv_func_regcomp" != "xyes"; then
24941 if test "$wxUSE_REGEX" = "sys" ; then
24942 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24943 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24944 { (exit 1); exit 1; }; }
24945 else
24946 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24947 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24948 wxUSE_REGEX=builtin
24949 fi
24950 else
24951 wxUSE_REGEX=sys
24952 cat >>confdefs.h <<\_ACEOF
24953 #define WX_NO_REGEX_ADVANCED 1
24954 _ACEOF
24955
24956 fi
24957 fi
24958 fi
24959
24960
24961 ZLIB_LINK=
24962 if test "$wxUSE_ZLIB" != "no" ; then
24963 cat >>confdefs.h <<\_ACEOF
24964 #define wxUSE_ZLIB 1
24965 _ACEOF
24966
24967
24968 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24969 if test "$USE_DARWIN" = 1; then
24970 system_zlib_h_ok="yes"
24971 else
24972 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24973 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
24974 if test "${ac_cv_header_zlib_h+set}" = set; then
24975 echo $ECHO_N "(cached) $ECHO_C" >&6
24976 else
24977 if test "$cross_compiling" = yes; then
24978 unset ac_cv_header_zlib_h
24979
24980 else
24981 cat >conftest.$ac_ext <<_ACEOF
24982 /* confdefs.h. */
24983 _ACEOF
24984 cat confdefs.h >>conftest.$ac_ext
24985 cat >>conftest.$ac_ext <<_ACEOF
24986 /* end confdefs.h. */
24987
24988 #include <zlib.h>
24989 #include <stdio.h>
24990
24991 int main()
24992 {
24993 FILE *f=fopen("conftestval", "w");
24994 if (!f) exit(1);
24995 fprintf(f, "%s",
24996 ZLIB_VERSION[0] == '1' &&
24997 (ZLIB_VERSION[2] > '1' ||
24998 (ZLIB_VERSION[2] == '1' &&
24999 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25000 exit(0);
25001 }
25002
25003 _ACEOF
25004 rm -f conftest$ac_exeext
25005 if { (ac_try="$ac_link"
25006 case "(($ac_try" in
25007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25008 *) ac_try_echo=$ac_try;;
25009 esac
25010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25011 (eval "$ac_link") 2>&5
25012 ac_status=$?
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25015 { (case "(($ac_try" in
25016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25017 *) ac_try_echo=$ac_try;;
25018 esac
25019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25020 (eval "$ac_try") 2>&5
25021 ac_status=$?
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; }; then
25024 ac_cv_header_zlib_h=`cat conftestval`
25025 else
25026 echo "$as_me: program exited with status $ac_status" >&5
25027 echo "$as_me: failed program was:" >&5
25028 sed 's/^/| /' conftest.$ac_ext >&5
25029
25030 ( exit $ac_status )
25031 ac_cv_header_zlib_h=no
25032 fi
25033 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25034 fi
25035
25036
25037
25038 fi
25039 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25040 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25041 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25042 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25043 if test "${ac_cv_header_zlib_h+set}" = set; then
25044 echo $ECHO_N "(cached) $ECHO_C" >&6
25045 else
25046 cat >conftest.$ac_ext <<_ACEOF
25047 /* confdefs.h. */
25048 _ACEOF
25049 cat confdefs.h >>conftest.$ac_ext
25050 cat >>conftest.$ac_ext <<_ACEOF
25051 /* end confdefs.h. */
25052
25053
25054 #include <zlib.h>
25055 _ACEOF
25056 rm -f conftest.$ac_objext
25057 if { (ac_try="$ac_compile"
25058 case "(($ac_try" in
25059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25060 *) ac_try_echo=$ac_try;;
25061 esac
25062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25063 (eval "$ac_compile") 2>conftest.er1
25064 ac_status=$?
25065 grep -v '^ *+' conftest.er1 >conftest.err
25066 rm -f conftest.er1
25067 cat conftest.err >&5
25068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25069 (exit $ac_status); } && {
25070 test -z "$ac_c_werror_flag" ||
25071 test ! -s conftest.err
25072 } && test -s conftest.$ac_objext; then
25073 ac_cv_header_zlib_h=yes
25074 else
25075 echo "$as_me: failed program was:" >&5
25076 sed 's/^/| /' conftest.$ac_ext >&5
25077
25078 ac_cv_header_zlib_h=no
25079 fi
25080
25081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25082 fi
25083 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25084 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25085
25086
25087
25088 system_zlib_h_ok=$ac_cv_header_zlib_h
25089 fi
25090
25091 if test "$system_zlib_h_ok" = "yes"; then
25092 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25093 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25094 if test "${ac_cv_lib_z_deflate+set}" = set; then
25095 echo $ECHO_N "(cached) $ECHO_C" >&6
25096 else
25097 ac_check_lib_save_LIBS=$LIBS
25098 LIBS="-lz $LIBS"
25099 cat >conftest.$ac_ext <<_ACEOF
25100 /* confdefs.h. */
25101 _ACEOF
25102 cat confdefs.h >>conftest.$ac_ext
25103 cat >>conftest.$ac_ext <<_ACEOF
25104 /* end confdefs.h. */
25105
25106 /* Override any GCC internal prototype to avoid an error.
25107 Use char because int might match the return type of a GCC
25108 builtin and then its argument prototype would still apply. */
25109 #ifdef __cplusplus
25110 extern "C"
25111 #endif
25112 char deflate ();
25113 int
25114 main ()
25115 {
25116 return deflate ();
25117 ;
25118 return 0;
25119 }
25120 _ACEOF
25121 rm -f conftest.$ac_objext conftest$ac_exeext
25122 if { (ac_try="$ac_link"
25123 case "(($ac_try" in
25124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25125 *) ac_try_echo=$ac_try;;
25126 esac
25127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25128 (eval "$ac_link") 2>conftest.er1
25129 ac_status=$?
25130 grep -v '^ *+' conftest.er1 >conftest.err
25131 rm -f conftest.er1
25132 cat conftest.err >&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); } && {
25135 test -z "$ac_c_werror_flag" ||
25136 test ! -s conftest.err
25137 } && test -s conftest$ac_exeext &&
25138 $as_test_x conftest$ac_exeext; then
25139 ac_cv_lib_z_deflate=yes
25140 else
25141 echo "$as_me: failed program was:" >&5
25142 sed 's/^/| /' conftest.$ac_ext >&5
25143
25144 ac_cv_lib_z_deflate=no
25145 fi
25146
25147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25148 conftest$ac_exeext conftest.$ac_ext
25149 LIBS=$ac_check_lib_save_LIBS
25150 fi
25151 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25152 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25153 if test $ac_cv_lib_z_deflate = yes; then
25154 ZLIB_LINK=" -lz"
25155 fi
25156
25157 fi
25158
25159 if test "x$ZLIB_LINK" = "x" ; then
25160 if test "$wxUSE_ZLIB" = "sys" ; then
25161 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25162 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25163 { (exit 1); exit 1; }; }
25164 else
25165 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25166 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25167 wxUSE_ZLIB=builtin
25168 fi
25169 else
25170 wxUSE_ZLIB=sys
25171 fi
25172 fi
25173 fi
25174
25175
25176 PNG_LINK=
25177 if test "$wxUSE_LIBPNG" != "no" ; then
25178 cat >>confdefs.h <<\_ACEOF
25179 #define wxUSE_LIBPNG 1
25180 _ACEOF
25181
25182
25183 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25184 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25185 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25186 wxUSE_LIBPNG=sys
25187 fi
25188
25189 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25190 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25191 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25192 wxUSE_LIBPNG=builtin
25193 fi
25194
25195 if test "$wxUSE_MGL" != 1 ; then
25196 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25197 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25198 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25199 if test "${ac_cv_header_png_h+set}" = set; then
25200 echo $ECHO_N "(cached) $ECHO_C" >&6
25201 else
25202 if test "$cross_compiling" = yes; then
25203 unset ac_cv_header_png_h
25204
25205 else
25206 cat >conftest.$ac_ext <<_ACEOF
25207 /* confdefs.h. */
25208 _ACEOF
25209 cat confdefs.h >>conftest.$ac_ext
25210 cat >>conftest.$ac_ext <<_ACEOF
25211 /* end confdefs.h. */
25212
25213 #include <png.h>
25214 #include <stdio.h>
25215
25216 int main()
25217 {
25218 FILE *f=fopen("conftestval", "w");
25219 if (!f) exit(1);
25220 fprintf(f, "%s",
25221 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25222 exit(0);
25223 }
25224
25225 _ACEOF
25226 rm -f conftest$ac_exeext
25227 if { (ac_try="$ac_link"
25228 case "(($ac_try" in
25229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25230 *) ac_try_echo=$ac_try;;
25231 esac
25232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25233 (eval "$ac_link") 2>&5
25234 ac_status=$?
25235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25236 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25237 { (case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25239 *) ac_try_echo=$ac_try;;
25240 esac
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_try") 2>&5
25243 ac_status=$?
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); }; }; then
25246 ac_cv_header_png_h=`cat conftestval`
25247 else
25248 echo "$as_me: program exited with status $ac_status" >&5
25249 echo "$as_me: failed program was:" >&5
25250 sed 's/^/| /' conftest.$ac_ext >&5
25251
25252 ( exit $ac_status )
25253 ac_cv_header_png_h=no
25254 fi
25255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25256 fi
25257
25258
25259
25260 fi
25261 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25262 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25263 { echo "$as_me:$LINENO: checking for png.h" >&5
25264 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25265 if test "${ac_cv_header_png_h+set}" = set; then
25266 echo $ECHO_N "(cached) $ECHO_C" >&6
25267 else
25268 cat >conftest.$ac_ext <<_ACEOF
25269 /* confdefs.h. */
25270 _ACEOF
25271 cat confdefs.h >>conftest.$ac_ext
25272 cat >>conftest.$ac_ext <<_ACEOF
25273 /* end confdefs.h. */
25274
25275
25276 #include <png.h>
25277 _ACEOF
25278 rm -f conftest.$ac_objext
25279 if { (ac_try="$ac_compile"
25280 case "(($ac_try" in
25281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25282 *) ac_try_echo=$ac_try;;
25283 esac
25284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25285 (eval "$ac_compile") 2>conftest.er1
25286 ac_status=$?
25287 grep -v '^ *+' conftest.er1 >conftest.err
25288 rm -f conftest.er1
25289 cat conftest.err >&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } && {
25292 test -z "$ac_c_werror_flag" ||
25293 test ! -s conftest.err
25294 } && test -s conftest.$ac_objext; then
25295 ac_cv_header_png_h=yes
25296 else
25297 echo "$as_me: failed program was:" >&5
25298 sed 's/^/| /' conftest.$ac_ext >&5
25299
25300 ac_cv_header_png_h=no
25301 fi
25302
25303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25304 fi
25305 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25306 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25307
25308
25309
25310 if test "$ac_cv_header_png_h" = "yes"; then
25311 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25312 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25313 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25314 echo $ECHO_N "(cached) $ECHO_C" >&6
25315 else
25316 ac_check_lib_save_LIBS=$LIBS
25317 LIBS="-lpng -lz -lm $LIBS"
25318 cat >conftest.$ac_ext <<_ACEOF
25319 /* confdefs.h. */
25320 _ACEOF
25321 cat confdefs.h >>conftest.$ac_ext
25322 cat >>conftest.$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25324
25325 /* Override any GCC internal prototype to avoid an error.
25326 Use char because int might match the return type of a GCC
25327 builtin and then its argument prototype would still apply. */
25328 #ifdef __cplusplus
25329 extern "C"
25330 #endif
25331 char png_check_sig ();
25332 int
25333 main ()
25334 {
25335 return png_check_sig ();
25336 ;
25337 return 0;
25338 }
25339 _ACEOF
25340 rm -f conftest.$ac_objext conftest$ac_exeext
25341 if { (ac_try="$ac_link"
25342 case "(($ac_try" in
25343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25344 *) ac_try_echo=$ac_try;;
25345 esac
25346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25347 (eval "$ac_link") 2>conftest.er1
25348 ac_status=$?
25349 grep -v '^ *+' conftest.er1 >conftest.err
25350 rm -f conftest.er1
25351 cat conftest.err >&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); } && {
25354 test -z "$ac_c_werror_flag" ||
25355 test ! -s conftest.err
25356 } && test -s conftest$ac_exeext &&
25357 $as_test_x conftest$ac_exeext; then
25358 ac_cv_lib_png_png_check_sig=yes
25359 else
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.$ac_ext >&5
25362
25363 ac_cv_lib_png_png_check_sig=no
25364 fi
25365
25366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25367 conftest$ac_exeext conftest.$ac_ext
25368 LIBS=$ac_check_lib_save_LIBS
25369 fi
25370 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25371 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25372 if test $ac_cv_lib_png_png_check_sig = yes; then
25373 PNG_LINK=" -lpng -lz"
25374 fi
25375
25376 fi
25377
25378 if test "x$PNG_LINK" = "x" ; then
25379 if test "$wxUSE_LIBPNG" = "sys" ; then
25380 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25381 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25382 { (exit 1); exit 1; }; }
25383 else
25384 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25385 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25386 wxUSE_LIBPNG=builtin
25387 fi
25388 else
25389 wxUSE_LIBPNG=sys
25390 fi
25391 fi
25392 fi
25393
25394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25395 fi
25396
25397
25398 JPEG_LINK=
25399 if test "$wxUSE_LIBJPEG" != "no" ; then
25400 cat >>confdefs.h <<\_ACEOF
25401 #define wxUSE_LIBJPEG 1
25402 _ACEOF
25403
25404
25405 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25406 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25407 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25408 wxUSE_LIBJPEG=sys
25409 fi
25410
25411 if test "$wxUSE_MGL" != 1 ; then
25412 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25413 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25414 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25415 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25416 echo $ECHO_N "(cached) $ECHO_C" >&6
25417 else
25418 cat >conftest.$ac_ext <<_ACEOF
25419 /* confdefs.h. */
25420 _ACEOF
25421 cat confdefs.h >>conftest.$ac_ext
25422 cat >>conftest.$ac_ext <<_ACEOF
25423 /* end confdefs.h. */
25424
25425 #undef HAVE_STDLIB_H
25426 #include <stdio.h>
25427 #include <jpeglib.h>
25428
25429 int
25430 main ()
25431 {
25432
25433
25434 ;
25435 return 0;
25436 }
25437 _ACEOF
25438 rm -f conftest.$ac_objext
25439 if { (ac_try="$ac_compile"
25440 case "(($ac_try" in
25441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25442 *) ac_try_echo=$ac_try;;
25443 esac
25444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25445 (eval "$ac_compile") 2>conftest.er1
25446 ac_status=$?
25447 grep -v '^ *+' conftest.er1 >conftest.err
25448 rm -f conftest.er1
25449 cat conftest.err >&5
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); } && {
25452 test -z "$ac_c_werror_flag" ||
25453 test ! -s conftest.err
25454 } && test -s conftest.$ac_objext; then
25455 ac_cv_header_jpeglib_h=yes
25456 else
25457 echo "$as_me: failed program was:" >&5
25458 sed 's/^/| /' conftest.$ac_ext >&5
25459
25460 ac_cv_header_jpeglib_h=no
25461
25462 fi
25463
25464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25465
25466 fi
25467
25468 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25469 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25470
25471 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25472 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25473 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25474 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25475 echo $ECHO_N "(cached) $ECHO_C" >&6
25476 else
25477 ac_check_lib_save_LIBS=$LIBS
25478 LIBS="-ljpeg $LIBS"
25479 cat >conftest.$ac_ext <<_ACEOF
25480 /* confdefs.h. */
25481 _ACEOF
25482 cat confdefs.h >>conftest.$ac_ext
25483 cat >>conftest.$ac_ext <<_ACEOF
25484 /* end confdefs.h. */
25485
25486 /* Override any GCC internal prototype to avoid an error.
25487 Use char because int might match the return type of a GCC
25488 builtin and then its argument prototype would still apply. */
25489 #ifdef __cplusplus
25490 extern "C"
25491 #endif
25492 char jpeg_read_header ();
25493 int
25494 main ()
25495 {
25496 return jpeg_read_header ();
25497 ;
25498 return 0;
25499 }
25500 _ACEOF
25501 rm -f conftest.$ac_objext conftest$ac_exeext
25502 if { (ac_try="$ac_link"
25503 case "(($ac_try" in
25504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25505 *) ac_try_echo=$ac_try;;
25506 esac
25507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25508 (eval "$ac_link") 2>conftest.er1
25509 ac_status=$?
25510 grep -v '^ *+' conftest.er1 >conftest.err
25511 rm -f conftest.er1
25512 cat conftest.err >&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } && {
25515 test -z "$ac_c_werror_flag" ||
25516 test ! -s conftest.err
25517 } && test -s conftest$ac_exeext &&
25518 $as_test_x conftest$ac_exeext; then
25519 ac_cv_lib_jpeg_jpeg_read_header=yes
25520 else
25521 echo "$as_me: failed program was:" >&5
25522 sed 's/^/| /' conftest.$ac_ext >&5
25523
25524 ac_cv_lib_jpeg_jpeg_read_header=no
25525 fi
25526
25527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25528 conftest$ac_exeext conftest.$ac_ext
25529 LIBS=$ac_check_lib_save_LIBS
25530 fi
25531 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25532 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25533 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25534 JPEG_LINK=" -ljpeg"
25535 fi
25536
25537 fi
25538
25539 if test "x$JPEG_LINK" = "x" ; then
25540 if test "$wxUSE_LIBJPEG" = "sys" ; then
25541 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25542 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25543 { (exit 1); exit 1; }; }
25544 else
25545 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25546 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25547 wxUSE_LIBJPEG=builtin
25548 fi
25549 else
25550 wxUSE_LIBJPEG=sys
25551
25552 if test "$wxUSE_MSW" = 1; then
25553 { echo "$as_me:$LINENO: checking for boolean" >&5
25554 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25555 if test "${ac_cv_type_boolean+set}" = set; then
25556 echo $ECHO_N "(cached) $ECHO_C" >&6
25557 else
25558 cat >conftest.$ac_ext <<_ACEOF
25559 /* confdefs.h. */
25560 _ACEOF
25561 cat confdefs.h >>conftest.$ac_ext
25562 cat >>conftest.$ac_ext <<_ACEOF
25563 /* end confdefs.h. */
25564 #include <windows.h>
25565
25566 typedef boolean ac__type_new_;
25567 int
25568 main ()
25569 {
25570 if ((ac__type_new_ *) 0)
25571 return 0;
25572 if (sizeof (ac__type_new_))
25573 return 0;
25574 ;
25575 return 0;
25576 }
25577 _ACEOF
25578 rm -f conftest.$ac_objext
25579 if { (ac_try="$ac_compile"
25580 case "(($ac_try" in
25581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25582 *) ac_try_echo=$ac_try;;
25583 esac
25584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25585 (eval "$ac_compile") 2>conftest.er1
25586 ac_status=$?
25587 grep -v '^ *+' conftest.er1 >conftest.err
25588 rm -f conftest.er1
25589 cat conftest.err >&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } && {
25592 test -z "$ac_c_werror_flag" ||
25593 test ! -s conftest.err
25594 } && test -s conftest.$ac_objext; then
25595 ac_cv_type_boolean=yes
25596 else
25597 echo "$as_me: failed program was:" >&5
25598 sed 's/^/| /' conftest.$ac_ext >&5
25599
25600 ac_cv_type_boolean=no
25601 fi
25602
25603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25604 fi
25605 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25606 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25607 if test $ac_cv_type_boolean = yes; then
25608
25609 cat >>confdefs.h <<_ACEOF
25610 #define HAVE_BOOLEAN 1
25611 _ACEOF
25612
25613
25614 { echo "$as_me:$LINENO: checking for boolean" >&5
25615 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25616 if test "${ac_cv_type_boolean+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 else
25619 cat >conftest.$ac_ext <<_ACEOF
25620 /* confdefs.h. */
25621 _ACEOF
25622 cat confdefs.h >>conftest.$ac_ext
25623 cat >>conftest.$ac_ext <<_ACEOF
25624 /* end confdefs.h. */
25625
25626 #undef HAVE_BOOLEAN
25627 #include <stdio.h>
25628 #include <jpeglib.h>
25629
25630
25631 typedef boolean ac__type_new_;
25632 int
25633 main ()
25634 {
25635 if ((ac__type_new_ *) 0)
25636 return 0;
25637 if (sizeof (ac__type_new_))
25638 return 0;
25639 ;
25640 return 0;
25641 }
25642 _ACEOF
25643 rm -f conftest.$ac_objext
25644 if { (ac_try="$ac_compile"
25645 case "(($ac_try" in
25646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25647 *) ac_try_echo=$ac_try;;
25648 esac
25649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25650 (eval "$ac_compile") 2>conftest.er1
25651 ac_status=$?
25652 grep -v '^ *+' conftest.er1 >conftest.err
25653 rm -f conftest.er1
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } && {
25657 test -z "$ac_c_werror_flag" ||
25658 test ! -s conftest.err
25659 } && test -s conftest.$ac_objext; then
25660 ac_cv_type_boolean=yes
25661 else
25662 echo "$as_me: failed program was:" >&5
25663 sed 's/^/| /' conftest.$ac_ext >&5
25664
25665 ac_cv_type_boolean=no
25666 fi
25667
25668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25669 fi
25670 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25671 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25672
25673 # The cast to long int works around a bug in the HP C Compiler
25674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25676 # This bug is HP SR number 8606223364.
25677 { echo "$as_me:$LINENO: checking size of boolean" >&5
25678 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25679 if test "${ac_cv_sizeof_boolean+set}" = set; then
25680 echo $ECHO_N "(cached) $ECHO_C" >&6
25681 else
25682 if test "$cross_compiling" = yes; then
25683 # Depending upon the size, compute the lo and hi bounds.
25684 cat >conftest.$ac_ext <<_ACEOF
25685 /* confdefs.h. */
25686 _ACEOF
25687 cat confdefs.h >>conftest.$ac_ext
25688 cat >>conftest.$ac_ext <<_ACEOF
25689 /* end confdefs.h. */
25690
25691 #undef HAVE_BOOLEAN
25692 #include <stdio.h>
25693 #include <jpeglib.h>
25694
25695
25696 typedef boolean ac__type_sizeof_;
25697 int
25698 main ()
25699 {
25700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25701 test_array [0] = 0
25702
25703 ;
25704 return 0;
25705 }
25706 _ACEOF
25707 rm -f conftest.$ac_objext
25708 if { (ac_try="$ac_compile"
25709 case "(($ac_try" in
25710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25711 *) ac_try_echo=$ac_try;;
25712 esac
25713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25714 (eval "$ac_compile") 2>conftest.er1
25715 ac_status=$?
25716 grep -v '^ *+' conftest.er1 >conftest.err
25717 rm -f conftest.er1
25718 cat conftest.err >&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); } && {
25721 test -z "$ac_c_werror_flag" ||
25722 test ! -s conftest.err
25723 } && test -s conftest.$ac_objext; then
25724 ac_lo=0 ac_mid=0
25725 while :; do
25726 cat >conftest.$ac_ext <<_ACEOF
25727 /* confdefs.h. */
25728 _ACEOF
25729 cat confdefs.h >>conftest.$ac_ext
25730 cat >>conftest.$ac_ext <<_ACEOF
25731 /* end confdefs.h. */
25732
25733 #undef HAVE_BOOLEAN
25734 #include <stdio.h>
25735 #include <jpeglib.h>
25736
25737
25738 typedef boolean ac__type_sizeof_;
25739 int
25740 main ()
25741 {
25742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25743 test_array [0] = 0
25744
25745 ;
25746 return 0;
25747 }
25748 _ACEOF
25749 rm -f conftest.$ac_objext
25750 if { (ac_try="$ac_compile"
25751 case "(($ac_try" in
25752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25753 *) ac_try_echo=$ac_try;;
25754 esac
25755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25756 (eval "$ac_compile") 2>conftest.er1
25757 ac_status=$?
25758 grep -v '^ *+' conftest.er1 >conftest.err
25759 rm -f conftest.er1
25760 cat conftest.err >&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } && {
25763 test -z "$ac_c_werror_flag" ||
25764 test ! -s conftest.err
25765 } && test -s conftest.$ac_objext; then
25766 ac_hi=$ac_mid; break
25767 else
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.$ac_ext >&5
25770
25771 ac_lo=`expr $ac_mid + 1`
25772 if test $ac_lo -le $ac_mid; then
25773 ac_lo= ac_hi=
25774 break
25775 fi
25776 ac_mid=`expr 2 '*' $ac_mid + 1`
25777 fi
25778
25779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25780 done
25781 else
25782 echo "$as_me: failed program was:" >&5
25783 sed 's/^/| /' conftest.$ac_ext >&5
25784
25785 cat >conftest.$ac_ext <<_ACEOF
25786 /* confdefs.h. */
25787 _ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791
25792 #undef HAVE_BOOLEAN
25793 #include <stdio.h>
25794 #include <jpeglib.h>
25795
25796
25797 typedef boolean ac__type_sizeof_;
25798 int
25799 main ()
25800 {
25801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25802 test_array [0] = 0
25803
25804 ;
25805 return 0;
25806 }
25807 _ACEOF
25808 rm -f conftest.$ac_objext
25809 if { (ac_try="$ac_compile"
25810 case "(($ac_try" in
25811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25812 *) ac_try_echo=$ac_try;;
25813 esac
25814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25815 (eval "$ac_compile") 2>conftest.er1
25816 ac_status=$?
25817 grep -v '^ *+' conftest.er1 >conftest.err
25818 rm -f conftest.er1
25819 cat conftest.err >&5
25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821 (exit $ac_status); } && {
25822 test -z "$ac_c_werror_flag" ||
25823 test ! -s conftest.err
25824 } && test -s conftest.$ac_objext; then
25825 ac_hi=-1 ac_mid=-1
25826 while :; do
25827 cat >conftest.$ac_ext <<_ACEOF
25828 /* confdefs.h. */
25829 _ACEOF
25830 cat confdefs.h >>conftest.$ac_ext
25831 cat >>conftest.$ac_ext <<_ACEOF
25832 /* end confdefs.h. */
25833
25834 #undef HAVE_BOOLEAN
25835 #include <stdio.h>
25836 #include <jpeglib.h>
25837
25838
25839 typedef boolean ac__type_sizeof_;
25840 int
25841 main ()
25842 {
25843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25844 test_array [0] = 0
25845
25846 ;
25847 return 0;
25848 }
25849 _ACEOF
25850 rm -f conftest.$ac_objext
25851 if { (ac_try="$ac_compile"
25852 case "(($ac_try" in
25853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25854 *) ac_try_echo=$ac_try;;
25855 esac
25856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25857 (eval "$ac_compile") 2>conftest.er1
25858 ac_status=$?
25859 grep -v '^ *+' conftest.er1 >conftest.err
25860 rm -f conftest.er1
25861 cat conftest.err >&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); } && {
25864 test -z "$ac_c_werror_flag" ||
25865 test ! -s conftest.err
25866 } && test -s conftest.$ac_objext; then
25867 ac_lo=$ac_mid; break
25868 else
25869 echo "$as_me: failed program was:" >&5
25870 sed 's/^/| /' conftest.$ac_ext >&5
25871
25872 ac_hi=`expr '(' $ac_mid ')' - 1`
25873 if test $ac_mid -le $ac_hi; then
25874 ac_lo= ac_hi=
25875 break
25876 fi
25877 ac_mid=`expr 2 '*' $ac_mid`
25878 fi
25879
25880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25881 done
25882 else
25883 echo "$as_me: failed program was:" >&5
25884 sed 's/^/| /' conftest.$ac_ext >&5
25885
25886 ac_lo= ac_hi=
25887 fi
25888
25889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25890 fi
25891
25892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25893 # Binary search between lo and hi bounds.
25894 while test "x$ac_lo" != "x$ac_hi"; do
25895 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25896 cat >conftest.$ac_ext <<_ACEOF
25897 /* confdefs.h. */
25898 _ACEOF
25899 cat confdefs.h >>conftest.$ac_ext
25900 cat >>conftest.$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25902
25903 #undef HAVE_BOOLEAN
25904 #include <stdio.h>
25905 #include <jpeglib.h>
25906
25907
25908 typedef boolean ac__type_sizeof_;
25909 int
25910 main ()
25911 {
25912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25913 test_array [0] = 0
25914
25915 ;
25916 return 0;
25917 }
25918 _ACEOF
25919 rm -f conftest.$ac_objext
25920 if { (ac_try="$ac_compile"
25921 case "(($ac_try" in
25922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25923 *) ac_try_echo=$ac_try;;
25924 esac
25925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25926 (eval "$ac_compile") 2>conftest.er1
25927 ac_status=$?
25928 grep -v '^ *+' conftest.er1 >conftest.err
25929 rm -f conftest.er1
25930 cat conftest.err >&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); } && {
25933 test -z "$ac_c_werror_flag" ||
25934 test ! -s conftest.err
25935 } && test -s conftest.$ac_objext; then
25936 ac_hi=$ac_mid
25937 else
25938 echo "$as_me: failed program was:" >&5
25939 sed 's/^/| /' conftest.$ac_ext >&5
25940
25941 ac_lo=`expr '(' $ac_mid ')' + 1`
25942 fi
25943
25944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25945 done
25946 case $ac_lo in
25947 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25948 '') if test "$ac_cv_type_boolean" = yes; then
25949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25950 See \`config.log' for more details." >&5
25951 echo "$as_me: error: cannot compute sizeof (boolean)
25952 See \`config.log' for more details." >&2;}
25953 { (exit 77); exit 77; }; }
25954 else
25955 ac_cv_sizeof_boolean=0
25956 fi ;;
25957 esac
25958 else
25959 cat >conftest.$ac_ext <<_ACEOF
25960 /* confdefs.h. */
25961 _ACEOF
25962 cat confdefs.h >>conftest.$ac_ext
25963 cat >>conftest.$ac_ext <<_ACEOF
25964 /* end confdefs.h. */
25965
25966 #undef HAVE_BOOLEAN
25967 #include <stdio.h>
25968 #include <jpeglib.h>
25969
25970
25971 typedef boolean ac__type_sizeof_;
25972 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25973 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25974 #include <stdio.h>
25975 #include <stdlib.h>
25976 int
25977 main ()
25978 {
25979
25980 FILE *f = fopen ("conftest.val", "w");
25981 if (! f)
25982 return 1;
25983 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25984 {
25985 long int i = longval ();
25986 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25987 return 1;
25988 fprintf (f, "%ld\n", i);
25989 }
25990 else
25991 {
25992 unsigned long int i = ulongval ();
25993 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25994 return 1;
25995 fprintf (f, "%lu\n", i);
25996 }
25997 return ferror (f) || fclose (f) != 0;
25998
25999 ;
26000 return 0;
26001 }
26002 _ACEOF
26003 rm -f conftest$ac_exeext
26004 if { (ac_try="$ac_link"
26005 case "(($ac_try" in
26006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26007 *) ac_try_echo=$ac_try;;
26008 esac
26009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26010 (eval "$ac_link") 2>&5
26011 ac_status=$?
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26014 { (case "(($ac_try" in
26015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26016 *) ac_try_echo=$ac_try;;
26017 esac
26018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26019 (eval "$ac_try") 2>&5
26020 ac_status=$?
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; }; then
26023 ac_cv_sizeof_boolean=`cat conftest.val`
26024 else
26025 echo "$as_me: program exited with status $ac_status" >&5
26026 echo "$as_me: failed program was:" >&5
26027 sed 's/^/| /' conftest.$ac_ext >&5
26028
26029 ( exit $ac_status )
26030 if test "$ac_cv_type_boolean" = yes; then
26031 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26032 See \`config.log' for more details." >&5
26033 echo "$as_me: error: cannot compute sizeof (boolean)
26034 See \`config.log' for more details." >&2;}
26035 { (exit 77); exit 77; }; }
26036 else
26037 ac_cv_sizeof_boolean=0
26038 fi
26039 fi
26040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26041 fi
26042 rm -f conftest.val
26043 fi
26044 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26045 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26046
26047
26048
26049 cat >>confdefs.h <<_ACEOF
26050 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26051 _ACEOF
26052
26053
26054 cat >>confdefs.h <<_ACEOF
26055 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26056 _ACEOF
26057
26058
26059 fi
26060
26061 fi
26062 fi
26063 fi
26064 fi
26065 fi
26066
26067
26068 TIFF_LINK=
26069 TIFF_PREREQ_LINKS=-lm
26070 if test "$wxUSE_LIBTIFF" != "no" ; then
26071 cat >>confdefs.h <<\_ACEOF
26072 #define wxUSE_LIBTIFF 1
26073 _ACEOF
26074
26075
26076 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26077 if test "$wxUSE_LIBJPEG" = "sys"; then
26078 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26079 fi
26080 if test "$wxUSE_ZLIB" = "sys"; then
26081 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26082 fi
26083 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26084 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26085 if test "${ac_cv_header_tiffio_h+set}" = set; then
26086 echo $ECHO_N "(cached) $ECHO_C" >&6
26087 else
26088 cat >conftest.$ac_ext <<_ACEOF
26089 /* confdefs.h. */
26090 _ACEOF
26091 cat confdefs.h >>conftest.$ac_ext
26092 cat >>conftest.$ac_ext <<_ACEOF
26093 /* end confdefs.h. */
26094
26095
26096
26097 #include <tiffio.h>
26098 _ACEOF
26099 rm -f conftest.$ac_objext
26100 if { (ac_try="$ac_compile"
26101 case "(($ac_try" in
26102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26104 esac
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_compile") 2>conftest.er1
26107 ac_status=$?
26108 grep -v '^ *+' conftest.er1 >conftest.err
26109 rm -f conftest.er1
26110 cat conftest.err >&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } && {
26113 test -z "$ac_c_werror_flag" ||
26114 test ! -s conftest.err
26115 } && test -s conftest.$ac_objext; then
26116 ac_cv_header_tiffio_h=yes
26117 else
26118 echo "$as_me: failed program was:" >&5
26119 sed 's/^/| /' conftest.$ac_ext >&5
26120
26121 ac_cv_header_tiffio_h=no
26122 fi
26123
26124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26125 fi
26126 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26127 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26128 if test $ac_cv_header_tiffio_h = yes; then
26129
26130 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26131 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26132 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26133 echo $ECHO_N "(cached) $ECHO_C" >&6
26134 else
26135 ac_check_lib_save_LIBS=$LIBS
26136 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26137 cat >conftest.$ac_ext <<_ACEOF
26138 /* confdefs.h. */
26139 _ACEOF
26140 cat confdefs.h >>conftest.$ac_ext
26141 cat >>conftest.$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26143
26144 /* Override any GCC internal prototype to avoid an error.
26145 Use char because int might match the return type of a GCC
26146 builtin and then its argument prototype would still apply. */
26147 #ifdef __cplusplus
26148 extern "C"
26149 #endif
26150 char TIFFError ();
26151 int
26152 main ()
26153 {
26154 return TIFFError ();
26155 ;
26156 return 0;
26157 }
26158 _ACEOF
26159 rm -f conftest.$ac_objext conftest$ac_exeext
26160 if { (ac_try="$ac_link"
26161 case "(($ac_try" in
26162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26163 *) ac_try_echo=$ac_try;;
26164 esac
26165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26166 (eval "$ac_link") 2>conftest.er1
26167 ac_status=$?
26168 grep -v '^ *+' conftest.er1 >conftest.err
26169 rm -f conftest.er1
26170 cat conftest.err >&5
26171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172 (exit $ac_status); } && {
26173 test -z "$ac_c_werror_flag" ||
26174 test ! -s conftest.err
26175 } && test -s conftest$ac_exeext &&
26176 $as_test_x conftest$ac_exeext; then
26177 ac_cv_lib_tiff_TIFFError=yes
26178 else
26179 echo "$as_me: failed program was:" >&5
26180 sed 's/^/| /' conftest.$ac_ext >&5
26181
26182 ac_cv_lib_tiff_TIFFError=no
26183 fi
26184
26185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26186 conftest$ac_exeext conftest.$ac_ext
26187 LIBS=$ac_check_lib_save_LIBS
26188 fi
26189 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26190 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26191 if test $ac_cv_lib_tiff_TIFFError = yes; then
26192 TIFF_LINK=" -ltiff"
26193 fi
26194
26195
26196 fi
26197
26198
26199
26200 if test "x$TIFF_LINK" = "x" ; then
26201 if test "$wxUSE_LIBTIFF" = "sys" ; then
26202 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26203 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26204 { (exit 1); exit 1; }; }
26205 else
26206 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26207 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26208 wxUSE_LIBTIFF=builtin
26209 fi
26210 else
26211 wxUSE_LIBTIFF=sys
26212 fi
26213 fi
26214 fi
26215
26216
26217 if test "$wxUSE_WCHAR_T" != "yes"; then
26218 if test "$wxUSE_EXPAT" != "no"; then
26219 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26220 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26221 wxUSE_EXPAT=no
26222 fi
26223 if test "$wxUSE_XML" != "no"; then
26224 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26225 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26226 wxUSE_XML=no
26227 fi
26228 fi
26229
26230 if test "$wxUSE_EXPAT" != "no"; then
26231 wxUSE_XML=yes
26232 cat >>confdefs.h <<\_ACEOF
26233 #define wxUSE_EXPAT 1
26234 _ACEOF
26235
26236 cat >>confdefs.h <<\_ACEOF
26237 #define wxUSE_XML 1
26238 _ACEOF
26239
26240
26241 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26242 { echo "$as_me:$LINENO: checking for expat.h" >&5
26243 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26244 if test "${ac_cv_header_expat_h+set}" = set; then
26245 echo $ECHO_N "(cached) $ECHO_C" >&6
26246 else
26247 cat >conftest.$ac_ext <<_ACEOF
26248 /* confdefs.h. */
26249 _ACEOF
26250 cat confdefs.h >>conftest.$ac_ext
26251 cat >>conftest.$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26253
26254
26255 #include <expat.h>
26256 _ACEOF
26257 rm -f conftest.$ac_objext
26258 if { (ac_try="$ac_compile"
26259 case "(($ac_try" in
26260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26261 *) ac_try_echo=$ac_try;;
26262 esac
26263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26264 (eval "$ac_compile") 2>conftest.er1
26265 ac_status=$?
26266 grep -v '^ *+' conftest.er1 >conftest.err
26267 rm -f conftest.er1
26268 cat conftest.err >&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } && {
26271 test -z "$ac_c_werror_flag" ||
26272 test ! -s conftest.err
26273 } && test -s conftest.$ac_objext; then
26274 ac_cv_header_expat_h=yes
26275 else
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.$ac_ext >&5
26278
26279 ac_cv_header_expat_h=no
26280 fi
26281
26282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26283 fi
26284 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26285 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26286 if test $ac_cv_header_expat_h = yes; then
26287 found_expat_h=1
26288 fi
26289
26290
26291 if test "x$found_expat_h" = "x1"; then
26292 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26293 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26294 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26295 echo $ECHO_N "(cached) $ECHO_C" >&6
26296 else
26297
26298 ac_ext=cpp
26299 ac_cpp='$CXXCPP $CPPFLAGS'
26300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26303
26304 cat >conftest.$ac_ext <<_ACEOF
26305 /* confdefs.h. */
26306 _ACEOF
26307 cat confdefs.h >>conftest.$ac_ext
26308 cat >>conftest.$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26310 #include <expat.h>
26311 int
26312 main ()
26313 {
26314
26315 ;
26316 return 0;
26317 }
26318 _ACEOF
26319 rm -f conftest.$ac_objext
26320 if { (ac_try="$ac_compile"
26321 case "(($ac_try" in
26322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26323 *) ac_try_echo=$ac_try;;
26324 esac
26325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26326 (eval "$ac_compile") 2>conftest.er1
26327 ac_status=$?
26328 grep -v '^ *+' conftest.er1 >conftest.err
26329 rm -f conftest.er1
26330 cat conftest.err >&5
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); } && {
26333 test -z "$ac_cxx_werror_flag" ||
26334 test ! -s conftest.err
26335 } && test -s conftest.$ac_objext; then
26336 wx_cv_expat_is_not_broken=yes
26337 else
26338 echo "$as_me: failed program was:" >&5
26339 sed 's/^/| /' conftest.$ac_ext >&5
26340
26341 wx_cv_expat_is_not_broken=no
26342
26343 fi
26344
26345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26346 ac_ext=c
26347 ac_cpp='$CPP $CPPFLAGS'
26348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26351
26352
26353
26354 fi
26355 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26356 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26357 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26358 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26359 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26360 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26361 echo $ECHO_N "(cached) $ECHO_C" >&6
26362 else
26363 ac_check_lib_save_LIBS=$LIBS
26364 LIBS="-lexpat $LIBS"
26365 cat >conftest.$ac_ext <<_ACEOF
26366 /* confdefs.h. */
26367 _ACEOF
26368 cat confdefs.h >>conftest.$ac_ext
26369 cat >>conftest.$ac_ext <<_ACEOF
26370 /* end confdefs.h. */
26371
26372 /* Override any GCC internal prototype to avoid an error.
26373 Use char because int might match the return type of a GCC
26374 builtin and then its argument prototype would still apply. */
26375 #ifdef __cplusplus
26376 extern "C"
26377 #endif
26378 char XML_ParserCreate ();
26379 int
26380 main ()
26381 {
26382 return XML_ParserCreate ();
26383 ;
26384 return 0;
26385 }
26386 _ACEOF
26387 rm -f conftest.$ac_objext conftest$ac_exeext
26388 if { (ac_try="$ac_link"
26389 case "(($ac_try" in
26390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26391 *) ac_try_echo=$ac_try;;
26392 esac
26393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26394 (eval "$ac_link") 2>conftest.er1
26395 ac_status=$?
26396 grep -v '^ *+' conftest.er1 >conftest.err
26397 rm -f conftest.er1
26398 cat conftest.err >&5
26399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26400 (exit $ac_status); } && {
26401 test -z "$ac_c_werror_flag" ||
26402 test ! -s conftest.err
26403 } && test -s conftest$ac_exeext &&
26404 $as_test_x conftest$ac_exeext; then
26405 ac_cv_lib_expat_XML_ParserCreate=yes
26406 else
26407 echo "$as_me: failed program was:" >&5
26408 sed 's/^/| /' conftest.$ac_ext >&5
26409
26410 ac_cv_lib_expat_XML_ParserCreate=no
26411 fi
26412
26413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26414 conftest$ac_exeext conftest.$ac_ext
26415 LIBS=$ac_check_lib_save_LIBS
26416 fi
26417 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26418 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26419 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26420 EXPAT_LINK=" -lexpat"
26421 fi
26422
26423 fi
26424 fi
26425 if test "x$EXPAT_LINK" = "x" ; then
26426 if test "$wxUSE_EXPAT" = "sys" ; then
26427 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26428 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26429 { (exit 1); exit 1; }; }
26430 else
26431 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26432 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26433 wxUSE_EXPAT=builtin
26434 fi
26435 else
26436 wxUSE_EXPAT=sys
26437 fi
26438 fi
26439 if test "$wxUSE_EXPAT" = "builtin" ; then
26440 subdirs="$subdirs src/expat"
26441
26442 fi
26443 fi
26444
26445
26446
26447 if test "$wxUSE_LIBMSPACK" != "no"; then
26448 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26449 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26450 if test "${ac_cv_header_mspack_h+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 else
26453 cat >conftest.$ac_ext <<_ACEOF
26454 /* confdefs.h. */
26455 _ACEOF
26456 cat confdefs.h >>conftest.$ac_ext
26457 cat >>conftest.$ac_ext <<_ACEOF
26458 /* end confdefs.h. */
26459
26460
26461 #include <mspack.h>
26462 _ACEOF
26463 rm -f conftest.$ac_objext
26464 if { (ac_try="$ac_compile"
26465 case "(($ac_try" in
26466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26467 *) ac_try_echo=$ac_try;;
26468 esac
26469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26470 (eval "$ac_compile") 2>conftest.er1
26471 ac_status=$?
26472 grep -v '^ *+' conftest.er1 >conftest.err
26473 rm -f conftest.er1
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } && {
26477 test -z "$ac_c_werror_flag" ||
26478 test ! -s conftest.err
26479 } && test -s conftest.$ac_objext; then
26480 ac_cv_header_mspack_h=yes
26481 else
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.$ac_ext >&5
26484
26485 ac_cv_header_mspack_h=no
26486 fi
26487
26488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26489 fi
26490 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26491 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26492 if test $ac_cv_header_mspack_h = yes; then
26493 found_mspack_h=1
26494 fi
26495
26496
26497 if test "x$found_mspack_h" = "x1"; then
26498 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26499 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26500 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26501 echo $ECHO_N "(cached) $ECHO_C" >&6
26502 else
26503 ac_check_lib_save_LIBS=$LIBS
26504 LIBS="-lmspack $LIBS"
26505 cat >conftest.$ac_ext <<_ACEOF
26506 /* confdefs.h. */
26507 _ACEOF
26508 cat confdefs.h >>conftest.$ac_ext
26509 cat >>conftest.$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26511
26512 /* Override any GCC internal prototype to avoid an error.
26513 Use char because int might match the return type of a GCC
26514 builtin and then its argument prototype would still apply. */
26515 #ifdef __cplusplus
26516 extern "C"
26517 #endif
26518 char mspack_create_chm_decompressor ();
26519 int
26520 main ()
26521 {
26522 return mspack_create_chm_decompressor ();
26523 ;
26524 return 0;
26525 }
26526 _ACEOF
26527 rm -f conftest.$ac_objext conftest$ac_exeext
26528 if { (ac_try="$ac_link"
26529 case "(($ac_try" in
26530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26531 *) ac_try_echo=$ac_try;;
26532 esac
26533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26534 (eval "$ac_link") 2>conftest.er1
26535 ac_status=$?
26536 grep -v '^ *+' conftest.er1 >conftest.err
26537 rm -f conftest.er1
26538 cat conftest.err >&5
26539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540 (exit $ac_status); } && {
26541 test -z "$ac_c_werror_flag" ||
26542 test ! -s conftest.err
26543 } && test -s conftest$ac_exeext &&
26544 $as_test_x conftest$ac_exeext; then
26545 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26546 else
26547 echo "$as_me: failed program was:" >&5
26548 sed 's/^/| /' conftest.$ac_ext >&5
26549
26550 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26551 fi
26552
26553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26554 conftest$ac_exeext conftest.$ac_ext
26555 LIBS=$ac_check_lib_save_LIBS
26556 fi
26557 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26558 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26559 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26560 MSPACK_LINK=" -lmspack"
26561 fi
26562
26563 fi
26564 if test "x$MSPACK_LINK" = "x" ; then
26565 wxUSE_LIBMSPACK=no
26566 fi
26567 fi
26568
26569 if test "$wxUSE_LIBMSPACK" != "no"; then
26570 cat >>confdefs.h <<\_ACEOF
26571 #define wxUSE_LIBMSPACK 1
26572 _ACEOF
26573
26574 fi
26575
26576
26577
26578 AFMINSTALL=
26579 WIN32INSTALL=
26580
26581 TOOLKIT=
26582 TOOLKIT_INCLUDE=
26583 WIDGET_SET=
26584
26585 if test "$USE_WIN32" = 1 ; then
26586 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26587 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26588 if test "${ac_cv_header_w32api_h+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 else
26591 cat >conftest.$ac_ext <<_ACEOF
26592 /* confdefs.h. */
26593 _ACEOF
26594 cat confdefs.h >>conftest.$ac_ext
26595 cat >>conftest.$ac_ext <<_ACEOF
26596 /* end confdefs.h. */
26597
26598
26599 #include <w32api.h>
26600 _ACEOF
26601 rm -f conftest.$ac_objext
26602 if { (ac_try="$ac_compile"
26603 case "(($ac_try" in
26604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26605 *) ac_try_echo=$ac_try;;
26606 esac
26607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26608 (eval "$ac_compile") 2>conftest.er1
26609 ac_status=$?
26610 grep -v '^ *+' conftest.er1 >conftest.err
26611 rm -f conftest.er1
26612 cat conftest.err >&5
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); } && {
26615 test -z "$ac_c_werror_flag" ||
26616 test ! -s conftest.err
26617 } && test -s conftest.$ac_objext; then
26618 ac_cv_header_w32api_h=yes
26619 else
26620 echo "$as_me: failed program was:" >&5
26621 sed 's/^/| /' conftest.$ac_ext >&5
26622
26623 ac_cv_header_w32api_h=no
26624 fi
26625
26626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26627 fi
26628 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26629 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26630
26631
26632 { echo "$as_me:$LINENO: checking for windows.h" >&5
26633 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26634 if test "${ac_cv_header_windows_h+set}" = set; then
26635 echo $ECHO_N "(cached) $ECHO_C" >&6
26636 else
26637 cat >conftest.$ac_ext <<_ACEOF
26638 /* confdefs.h. */
26639 _ACEOF
26640 cat confdefs.h >>conftest.$ac_ext
26641 cat >>conftest.$ac_ext <<_ACEOF
26642 /* end confdefs.h. */
26643
26644
26645 #include <windows.h>
26646 _ACEOF
26647 rm -f conftest.$ac_objext
26648 if { (ac_try="$ac_compile"
26649 case "(($ac_try" in
26650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26651 *) ac_try_echo=$ac_try;;
26652 esac
26653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26654 (eval "$ac_compile") 2>conftest.er1
26655 ac_status=$?
26656 grep -v '^ *+' conftest.er1 >conftest.err
26657 rm -f conftest.er1
26658 cat conftest.err >&5
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); } && {
26661 test -z "$ac_c_werror_flag" ||
26662 test ! -s conftest.err
26663 } && test -s conftest.$ac_objext; then
26664 ac_cv_header_windows_h=yes
26665 else
26666 echo "$as_me: failed program was:" >&5
26667 sed 's/^/| /' conftest.$ac_ext >&5
26668
26669 ac_cv_header_windows_h=no
26670 fi
26671
26672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26673 fi
26674 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26675 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26676 if test $ac_cv_header_windows_h = yes; then
26677 :
26678 else
26679
26680 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26681 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26682 { (exit 1); exit 1; }; }
26683
26684 fi
26685
26686
26687
26688 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26689
26690 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26691 LIBS="$LIBS -loleacc"
26692 fi
26693
26694 case "${host}" in
26695 *-*-cygwin* )
26696 LIBS="$LIBS -lkernel32 -luser32"
26697 esac
26698
26699 if test "$wxUSE_ODBC" = "sys" ; then
26700 wxUSE_ODBC = "yes"
26701 fi
26702 if test "$wxUSE_ODBC" = "yes" ; then
26703 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26704 cat >>confdefs.h <<\_ACEOF
26705 #define wxUSE_ODBC 1
26706 _ACEOF
26707
26708 fi
26709
26710 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26711 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26712
26713 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26714
26715 WIN32INSTALL=win32install
26716
26717 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26718 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26719 if test "${ac_cv_header_pbt_h+set}" = set; then
26720 echo $ECHO_N "(cached) $ECHO_C" >&6
26721 else
26722 cat >conftest.$ac_ext <<_ACEOF
26723 /* confdefs.h. */
26724 _ACEOF
26725 cat confdefs.h >>conftest.$ac_ext
26726 cat >>conftest.$ac_ext <<_ACEOF
26727 /* end confdefs.h. */
26728
26729
26730 #include <pbt.h>
26731 _ACEOF
26732 rm -f conftest.$ac_objext
26733 if { (ac_try="$ac_compile"
26734 case "(($ac_try" in
26735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26736 *) ac_try_echo=$ac_try;;
26737 esac
26738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26739 (eval "$ac_compile") 2>conftest.er1
26740 ac_status=$?
26741 grep -v '^ *+' conftest.er1 >conftest.err
26742 rm -f conftest.er1
26743 cat conftest.err >&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); } && {
26746 test -z "$ac_c_werror_flag" ||
26747 test ! -s conftest.err
26748 } && test -s conftest.$ac_objext; then
26749 ac_cv_header_pbt_h=yes
26750 else
26751 echo "$as_me: failed program was:" >&5
26752 sed 's/^/| /' conftest.$ac_ext >&5
26753
26754 ac_cv_header_pbt_h=no
26755 fi
26756
26757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26758 fi
26759 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26760 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26761 if test $ac_cv_header_pbt_h = yes; then
26762 :
26763 else
26764 cat >>confdefs.h <<\_ACEOF
26765 #define NEED_PBT_H 1
26766 _ACEOF
26767
26768 fi
26769
26770
26771 fi
26772
26773 if test "$wxUSE_GUI" = "yes"; then
26774 USE_GUI=1
26775
26776 GUI_TK_LIBRARY=
26777
26778 WXGTK12=
26779 WXGTK127=
26780 WXGTK20=
26781 WXGPE=
26782
26783 if test "$wxUSE_COCOA" = 1 ; then
26784 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26785 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26786 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26787 wxUSE_PRINTING_ARCHITECTURE=no
26788 fi
26789 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26790 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26791 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26792 wxUSE_DRAG_AND_DROP=no
26793 fi
26794 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26795 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26796 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26797 wxUSE_DRAGIMAGE=no
26798 fi
26799 fi
26800
26801 if test "$wxUSE_MSW" = 1 ; then
26802 TOOLKIT=MSW
26803 GUIDIST=MSW_DIST
26804
26805 case "${host}" in
26806 *-*-mingw32* )
26807 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26808 esac
26809 fi
26810
26811 if test "$wxUSE_GTK" = 1; then
26812 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26813 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26814
26815 gtk_version_cached=1
26816 if test "${wx_cv_lib_gtk+set}" = set; then
26817 echo $ECHO_N "(cached) $ECHO_C" >&6
26818 else
26819
26820 gtk_version_cached=0
26821 { echo "$as_me:$LINENO: result: " >&5
26822 echo "${ECHO_T}" >&6; }
26823
26824 GTK_MODULES=
26825 if test "$wxUSE_THREADS" = "yes"; then
26826 GTK_MODULES=gthread
26827 fi
26828
26829 wx_cv_lib_gtk=
26830 if test "x$wxGTK_VERSION" != "x1"
26831 then
26832 case "${host}" in
26833 *-*-solaris2* )
26834 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26835 enable_gtktest=no
26836 fi
26837 esac
26838
26839 # Check whether --enable-gtktest was given.
26840 if test "${enable_gtktest+set}" = set; then
26841 enableval=$enable_gtktest;
26842 else
26843 enable_gtktest=yes
26844 fi
26845
26846
26847 pkg_config_args=gtk+-2.0
26848 for module in . $GTK_MODULES
26849 do
26850 case "$module" in
26851 gthread)
26852 pkg_config_args="$pkg_config_args gthread-2.0"
26853 ;;
26854 esac
26855 done
26856
26857 no_gtk=""
26858
26859 # Extract the first word of "pkg-config", so it can be a program name with args.
26860 set dummy pkg-config; ac_word=$2
26861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26863 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26864 echo $ECHO_N "(cached) $ECHO_C" >&6
26865 else
26866 case $PKG_CONFIG in
26867 [\\/]* | ?:[\\/]*)
26868 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26869 ;;
26870 *)
26871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26872 for as_dir in $PATH
26873 do
26874 IFS=$as_save_IFS
26875 test -z "$as_dir" && as_dir=.
26876 for ac_exec_ext in '' $ac_executable_extensions; do
26877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26878 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26880 break 2
26881 fi
26882 done
26883 done
26884 IFS=$as_save_IFS
26885
26886 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26887 ;;
26888 esac
26889 fi
26890 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26891 if test -n "$PKG_CONFIG"; then
26892 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26893 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26894 else
26895 { echo "$as_me:$LINENO: result: no" >&5
26896 echo "${ECHO_T}no" >&6; }
26897 fi
26898
26899
26900
26901 if test x$PKG_CONFIG != xno ; then
26902 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26903 :
26904 else
26905 echo "*** pkg-config too old; version 0.7 or better required."
26906 no_gtk=yes
26907 PKG_CONFIG=no
26908 fi
26909 else
26910 no_gtk=yes
26911 fi
26912
26913 min_gtk_version=2.0.0
26914 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26915 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
26916
26917 if test x$PKG_CONFIG != xno ; then
26918 ## don't try to run the test against uninstalled libtool libs
26919 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26920 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26921 enable_gtktest=no
26922 fi
26923
26924 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26925 :
26926 else
26927 no_gtk=yes
26928 fi
26929 fi
26930
26931 if test x"$no_gtk" = x ; then
26932 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26933 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26934 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26935 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26936 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26938 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26940 if test "x$enable_gtktest" = "xyes" ; then
26941 ac_save_CFLAGS="$CFLAGS"
26942 ac_save_LIBS="$LIBS"
26943 CFLAGS="$CFLAGS $GTK_CFLAGS"
26944 LIBS="$GTK_LIBS $LIBS"
26945 rm -f conf.gtktest
26946 if test "$cross_compiling" = yes; then
26947 echo $ac_n "cross compiling; assumed OK... $ac_c"
26948 else
26949 cat >conftest.$ac_ext <<_ACEOF
26950 /* confdefs.h. */
26951 _ACEOF
26952 cat confdefs.h >>conftest.$ac_ext
26953 cat >>conftest.$ac_ext <<_ACEOF
26954 /* end confdefs.h. */
26955
26956 #include <gtk/gtk.h>
26957 #include <stdio.h>
26958 #include <stdlib.h>
26959
26960 int
26961 main ()
26962 {
26963 int major, minor, micro;
26964 char *tmp_version;
26965
26966 system ("touch conf.gtktest");
26967
26968 /* HP/UX 9 (%@#!) writes to sscanf strings */
26969 tmp_version = g_strdup("$min_gtk_version");
26970 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26971 printf("%s, bad version string\n", "$min_gtk_version");
26972 exit(1);
26973 }
26974
26975 if ((gtk_major_version != $gtk_config_major_version) ||
26976 (gtk_minor_version != $gtk_config_minor_version) ||
26977 (gtk_micro_version != $gtk_config_micro_version))
26978 {
26979 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26980 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26981 gtk_major_version, gtk_minor_version, gtk_micro_version);
26982 printf ("*** was found! If pkg-config was correct, then it is best\n");
26983 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26984 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26985 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26986 printf("*** required on your system.\n");
26987 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26988 printf("*** to point to the correct configuration files\n");
26989 }
26990 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26991 (gtk_minor_version != GTK_MINOR_VERSION) ||
26992 (gtk_micro_version != GTK_MICRO_VERSION))
26993 {
26994 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26995 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26996 printf("*** library (version %d.%d.%d)\n",
26997 gtk_major_version, gtk_minor_version, gtk_micro_version);
26998 }
26999 else
27000 {
27001 if ((gtk_major_version > major) ||
27002 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27003 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27004 {
27005 return 0;
27006 }
27007 else
27008 {
27009 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27010 gtk_major_version, gtk_minor_version, gtk_micro_version);
27011 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27012 major, minor, micro);
27013 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27014 printf("***\n");
27015 printf("*** If you have already installed a sufficiently new version, this error\n");
27016 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27017 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27018 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27019 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27020 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27021 printf("*** so that the correct libraries are found at run-time))\n");
27022 }
27023 }
27024 return 1;
27025 }
27026
27027 _ACEOF
27028 rm -f conftest$ac_exeext
27029 if { (ac_try="$ac_link"
27030 case "(($ac_try" in
27031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27032 *) ac_try_echo=$ac_try;;
27033 esac
27034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27035 (eval "$ac_link") 2>&5
27036 ac_status=$?
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27039 { (case "(($ac_try" in
27040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27041 *) ac_try_echo=$ac_try;;
27042 esac
27043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27044 (eval "$ac_try") 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; }; then
27048 :
27049 else
27050 echo "$as_me: program exited with status $ac_status" >&5
27051 echo "$as_me: failed program was:" >&5
27052 sed 's/^/| /' conftest.$ac_ext >&5
27053
27054 ( exit $ac_status )
27055 no_gtk=yes
27056 fi
27057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27058 fi
27059
27060
27061 CFLAGS="$ac_save_CFLAGS"
27062 LIBS="$ac_save_LIBS"
27063 fi
27064 fi
27065 if test "x$no_gtk" = x ; then
27066 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27067 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27068 wx_cv_lib_gtk=2.0
27069 else
27070 { echo "$as_me:$LINENO: result: no" >&5
27071 echo "${ECHO_T}no" >&6; }
27072 if test "$PKG_CONFIG" = "no" ; then
27073 echo "*** A new enough version of pkg-config was not found."
27074 echo "*** See http://pkgconfig.sourceforge.net"
27075 else
27076 if test -f conf.gtktest ; then
27077 :
27078 else
27079 echo "*** Could not run GTK+ test program, checking why..."
27080 ac_save_CFLAGS="$CFLAGS"
27081 ac_save_LIBS="$LIBS"
27082 CFLAGS="$CFLAGS $GTK_CFLAGS"
27083 LIBS="$LIBS $GTK_LIBS"
27084 cat >conftest.$ac_ext <<_ACEOF
27085 /* confdefs.h. */
27086 _ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h. */
27090
27091 #include <gtk/gtk.h>
27092 #include <stdio.h>
27093
27094 int
27095 main ()
27096 {
27097 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27098 ;
27099 return 0;
27100 }
27101 _ACEOF
27102 rm -f conftest.$ac_objext conftest$ac_exeext
27103 if { (ac_try="$ac_link"
27104 case "(($ac_try" in
27105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27106 *) ac_try_echo=$ac_try;;
27107 esac
27108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27109 (eval "$ac_link") 2>conftest.er1
27110 ac_status=$?
27111 grep -v '^ *+' conftest.er1 >conftest.err
27112 rm -f conftest.er1
27113 cat conftest.err >&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); } && {
27116 test -z "$ac_c_werror_flag" ||
27117 test ! -s conftest.err
27118 } && test -s conftest$ac_exeext &&
27119 $as_test_x conftest$ac_exeext; then
27120 echo "*** The test program compiled, but did not run. This usually means"
27121 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27122 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27123 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27124 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27125 echo "*** is required on your system"
27126 echo "***"
27127 echo "*** If you have an old version installed, it is best to remove it, although"
27128 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27129 else
27130 echo "$as_me: failed program was:" >&5
27131 sed 's/^/| /' conftest.$ac_ext >&5
27132
27133 echo "*** The test program failed to compile or link. See the file config.log for the"
27134 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27135 fi
27136
27137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27138 conftest$ac_exeext conftest.$ac_ext
27139 CFLAGS="$ac_save_CFLAGS"
27140 LIBS="$ac_save_LIBS"
27141 fi
27142 fi
27143 GTK_CFLAGS=""
27144 GTK_LIBS=""
27145 :
27146 fi
27147
27148
27149 rm -f conf.gtktest
27150
27151
27152 case "${host}" in
27153 *-*-solaris2* )
27154 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27155 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27156 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27157 fi
27158 if test "$wxUSE_SHARED" != "yes"; then
27159 GTK_LIBS="$GTK_LIBS -lX11"
27160 fi
27161 esac
27162 fi
27163
27164 if test -z "$wx_cv_lib_gtk"; then
27165 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27166
27167 # Check whether --with-gtk-prefix was given.
27168 if test "${with_gtk_prefix+set}" = set; then
27169 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27170 else
27171 gtk_config_prefix=""
27172 fi
27173
27174
27175 # Check whether --with-gtk-exec-prefix was given.
27176 if test "${with_gtk_exec_prefix+set}" = set; then
27177 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27178 else
27179 gtk_config_exec_prefix=""
27180 fi
27181
27182 # Check whether --enable-gtktest was given.
27183 if test "${enable_gtktest+set}" = set; then
27184 enableval=$enable_gtktest;
27185 else
27186 enable_gtktest=yes
27187 fi
27188
27189
27190 for module in . $GTK_MODULES
27191 do
27192 case "$module" in
27193 gthread)
27194 gtk_config_args="$gtk_config_args gthread"
27195 ;;
27196 esac
27197 done
27198
27199 if test x$gtk_config_exec_prefix != x ; then
27200 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27201 if test x${GTK_CONFIG+set} != xset ; then
27202 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27203 fi
27204 fi
27205 if test x$gtk_config_prefix != x ; then
27206 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27207 if test x${GTK_CONFIG+set} != xset ; then
27208 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27209 fi
27210 fi
27211
27212 # Extract the first word of "gtk-config", so it can be a program name with args.
27213 set dummy gtk-config; ac_word=$2
27214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27216 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27217 echo $ECHO_N "(cached) $ECHO_C" >&6
27218 else
27219 case $GTK_CONFIG in
27220 [\\/]* | ?:[\\/]*)
27221 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27222 ;;
27223 *)
27224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27225 for as_dir in $PATH
27226 do
27227 IFS=$as_save_IFS
27228 test -z "$as_dir" && as_dir=.
27229 for ac_exec_ext in '' $ac_executable_extensions; do
27230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27231 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27233 break 2
27234 fi
27235 done
27236 done
27237 IFS=$as_save_IFS
27238
27239 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27240 ;;
27241 esac
27242 fi
27243 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27244 if test -n "$GTK_CONFIG"; then
27245 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27246 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27247 else
27248 { echo "$as_me:$LINENO: result: no" >&5
27249 echo "${ECHO_T}no" >&6; }
27250 fi
27251
27252
27253 min_gtk_version=1.2.7
27254 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27255 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27256 no_gtk=""
27257 if test "$GTK_CONFIG" = "no" ; then
27258 no_gtk=yes
27259 else
27260 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27261 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27262 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27263 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27264 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27266 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27267 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27268 if test "x$enable_gtktest" = "xyes" ; then
27269 ac_save_CFLAGS="$CFLAGS"
27270 ac_save_LIBS="$LIBS"
27271 CFLAGS="$CFLAGS $GTK_CFLAGS"
27272 LIBS="$GTK_LIBS $LIBS"
27273 rm -f conf.gtktest
27274 if test "$cross_compiling" = yes; then
27275 echo $ac_n "cross compiling; assumed OK... $ac_c"
27276 else
27277 cat >conftest.$ac_ext <<_ACEOF
27278 /* confdefs.h. */
27279 _ACEOF
27280 cat confdefs.h >>conftest.$ac_ext
27281 cat >>conftest.$ac_ext <<_ACEOF
27282 /* end confdefs.h. */
27283
27284 #include <gtk/gtk.h>
27285 #include <stdio.h>
27286 #include <stdlib.h>
27287
27288 int
27289 main ()
27290 {
27291 int major, minor, micro;
27292 char *tmp_version;
27293
27294 system ("touch conf.gtktest");
27295
27296 /* HP/UX 9 (%@#!) writes to sscanf strings */
27297 tmp_version = g_strdup("$min_gtk_version");
27298 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27299 printf("%s, bad version string\n", "$min_gtk_version");
27300 exit(1);
27301 }
27302
27303 if ((gtk_major_version != $gtk_config_major_version) ||
27304 (gtk_minor_version != $gtk_config_minor_version) ||
27305 (gtk_micro_version != $gtk_config_micro_version))
27306 {
27307 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27308 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27309 gtk_major_version, gtk_minor_version, gtk_micro_version);
27310 printf ("*** was found! If gtk-config was correct, then it is best\n");
27311 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27312 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27313 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27314 printf("*** required on your system.\n");
27315 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27316 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27317 printf("*** before re-running configure\n");
27318 }
27319 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27320 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27321 (gtk_minor_version != GTK_MINOR_VERSION) ||
27322 (gtk_micro_version != GTK_MICRO_VERSION))
27323 {
27324 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27325 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27326 printf("*** library (version %d.%d.%d)\n",
27327 gtk_major_version, gtk_minor_version, gtk_micro_version);
27328 }
27329 #endif /* defined (GTK_MAJOR_VERSION) ... */
27330 else
27331 {
27332 if ((gtk_major_version > major) ||
27333 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27334 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27335 {
27336 return 0;
27337 }
27338 else
27339 {
27340 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27341 gtk_major_version, gtk_minor_version, gtk_micro_version);
27342 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27343 major, minor, micro);
27344 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27345 printf("***\n");
27346 printf("*** If you have already installed a sufficiently new version, this error\n");
27347 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27348 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27349 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27350 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27351 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27352 printf("*** so that the correct libraries are found at run-time))\n");
27353 }
27354 }
27355 return 1;
27356 }
27357
27358 _ACEOF
27359 rm -f conftest$ac_exeext
27360 if { (ac_try="$ac_link"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27363 *) ac_try_echo=$ac_try;;
27364 esac
27365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_link") 2>&5
27367 ac_status=$?
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27370 { (case "(($ac_try" in
27371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27372 *) ac_try_echo=$ac_try;;
27373 esac
27374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27375 (eval "$ac_try") 2>&5
27376 ac_status=$?
27377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27378 (exit $ac_status); }; }; then
27379 :
27380 else
27381 echo "$as_me: program exited with status $ac_status" >&5
27382 echo "$as_me: failed program was:" >&5
27383 sed 's/^/| /' conftest.$ac_ext >&5
27384
27385 ( exit $ac_status )
27386 no_gtk=yes
27387 fi
27388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27389 fi
27390
27391
27392 CFLAGS="$ac_save_CFLAGS"
27393 LIBS="$ac_save_LIBS"
27394 fi
27395 fi
27396 if test "x$no_gtk" = x ; then
27397 { echo "$as_me:$LINENO: result: yes" >&5
27398 echo "${ECHO_T}yes" >&6; }
27399 wx_cv_lib_gtk=1.2.7
27400 else
27401 { echo "$as_me:$LINENO: result: no" >&5
27402 echo "${ECHO_T}no" >&6; }
27403 if test "$GTK_CONFIG" = "no" ; then
27404 echo "*** The gtk-config script installed by GTK could not be found"
27405 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27406 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27407 echo "*** full path to gtk-config."
27408 else
27409 if test -f conf.gtktest ; then
27410 :
27411 else
27412 echo "*** Could not run GTK test program, checking why..."
27413 CFLAGS="$CFLAGS $GTK_CFLAGS"
27414 LIBS="$LIBS $GTK_LIBS"
27415 cat >conftest.$ac_ext <<_ACEOF
27416 /* confdefs.h. */
27417 _ACEOF
27418 cat confdefs.h >>conftest.$ac_ext
27419 cat >>conftest.$ac_ext <<_ACEOF
27420 /* end confdefs.h. */
27421
27422 #include <gtk/gtk.h>
27423 #include <stdio.h>
27424
27425 int
27426 main ()
27427 {
27428 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27429 ;
27430 return 0;
27431 }
27432 _ACEOF
27433 rm -f conftest.$ac_objext conftest$ac_exeext
27434 if { (ac_try="$ac_link"
27435 case "(($ac_try" in
27436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27437 *) ac_try_echo=$ac_try;;
27438 esac
27439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27440 (eval "$ac_link") 2>conftest.er1
27441 ac_status=$?
27442 grep -v '^ *+' conftest.er1 >conftest.err
27443 rm -f conftest.er1
27444 cat conftest.err >&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); } && {
27447 test -z "$ac_c_werror_flag" ||
27448 test ! -s conftest.err
27449 } && test -s conftest$ac_exeext &&
27450 $as_test_x conftest$ac_exeext; then
27451 echo "*** The test program compiled, but did not run. This usually means"
27452 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27453 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27454 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27455 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27456 echo "*** is required on your system"
27457 echo "***"
27458 echo "*** If you have an old version installed, it is best to remove it, although"
27459 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27460 echo "***"
27461 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27462 echo "*** came with the system with the command"
27463 echo "***"
27464 echo "*** rpm --erase --nodeps gtk gtk-devel"
27465 else
27466 echo "$as_me: failed program was:" >&5
27467 sed 's/^/| /' conftest.$ac_ext >&5
27468
27469 echo "*** The test program failed to compile or link. See the file config.log for the"
27470 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27471 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27472 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27473 fi
27474
27475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27476 conftest$ac_exeext conftest.$ac_ext
27477 CFLAGS="$ac_save_CFLAGS"
27478 LIBS="$ac_save_LIBS"
27479 fi
27480 fi
27481 GTK_CFLAGS=""
27482 GTK_LIBS=""
27483 :
27484 fi
27485
27486
27487 rm -f conf.gtktest
27488
27489
27490 if test -z "$wx_cv_lib_gtk"; then
27491
27492 # Check whether --with-gtk-prefix was given.
27493 if test "${with_gtk_prefix+set}" = set; then
27494 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27495 else
27496 gtk_config_prefix=""
27497 fi
27498
27499
27500 # Check whether --with-gtk-exec-prefix was given.
27501 if test "${with_gtk_exec_prefix+set}" = set; then
27502 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27503 else
27504 gtk_config_exec_prefix=""
27505 fi
27506
27507 # Check whether --enable-gtktest was given.
27508 if test "${enable_gtktest+set}" = set; then
27509 enableval=$enable_gtktest;
27510 else
27511 enable_gtktest=yes
27512 fi
27513
27514
27515 for module in . $GTK_MODULES
27516 do
27517 case "$module" in
27518 gthread)
27519 gtk_config_args="$gtk_config_args gthread"
27520 ;;
27521 esac
27522 done
27523
27524 if test x$gtk_config_exec_prefix != x ; then
27525 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27526 if test x${GTK_CONFIG+set} != xset ; then
27527 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27528 fi
27529 fi
27530 if test x$gtk_config_prefix != x ; then
27531 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27532 if test x${GTK_CONFIG+set} != xset ; then
27533 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27534 fi
27535 fi
27536
27537 # Extract the first word of "gtk-config", so it can be a program name with args.
27538 set dummy gtk-config; ac_word=$2
27539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27541 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27542 echo $ECHO_N "(cached) $ECHO_C" >&6
27543 else
27544 case $GTK_CONFIG in
27545 [\\/]* | ?:[\\/]*)
27546 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27547 ;;
27548 *)
27549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27550 for as_dir in $PATH
27551 do
27552 IFS=$as_save_IFS
27553 test -z "$as_dir" && as_dir=.
27554 for ac_exec_ext in '' $ac_executable_extensions; do
27555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27556 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27558 break 2
27559 fi
27560 done
27561 done
27562 IFS=$as_save_IFS
27563
27564 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27565 ;;
27566 esac
27567 fi
27568 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27569 if test -n "$GTK_CONFIG"; then
27570 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27571 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27572 else
27573 { echo "$as_me:$LINENO: result: no" >&5
27574 echo "${ECHO_T}no" >&6; }
27575 fi
27576
27577
27578 min_gtk_version=1.2.3
27579 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27580 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27581 no_gtk=""
27582 if test "$GTK_CONFIG" = "no" ; then
27583 no_gtk=yes
27584 else
27585 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27586 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27587 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27589 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27591 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27592 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27593 if test "x$enable_gtktest" = "xyes" ; then
27594 ac_save_CFLAGS="$CFLAGS"
27595 ac_save_LIBS="$LIBS"
27596 CFLAGS="$CFLAGS $GTK_CFLAGS"
27597 LIBS="$GTK_LIBS $LIBS"
27598 rm -f conf.gtktest
27599 if test "$cross_compiling" = yes; then
27600 echo $ac_n "cross compiling; assumed OK... $ac_c"
27601 else
27602 cat >conftest.$ac_ext <<_ACEOF
27603 /* confdefs.h. */
27604 _ACEOF
27605 cat confdefs.h >>conftest.$ac_ext
27606 cat >>conftest.$ac_ext <<_ACEOF
27607 /* end confdefs.h. */
27608
27609 #include <gtk/gtk.h>
27610 #include <stdio.h>
27611 #include <stdlib.h>
27612
27613 int
27614 main ()
27615 {
27616 int major, minor, micro;
27617 char *tmp_version;
27618
27619 system ("touch conf.gtktest");
27620
27621 /* HP/UX 9 (%@#!) writes to sscanf strings */
27622 tmp_version = g_strdup("$min_gtk_version");
27623 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27624 printf("%s, bad version string\n", "$min_gtk_version");
27625 exit(1);
27626 }
27627
27628 if ((gtk_major_version != $gtk_config_major_version) ||
27629 (gtk_minor_version != $gtk_config_minor_version) ||
27630 (gtk_micro_version != $gtk_config_micro_version))
27631 {
27632 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27633 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27634 gtk_major_version, gtk_minor_version, gtk_micro_version);
27635 printf ("*** was found! If gtk-config was correct, then it is best\n");
27636 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27637 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27638 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27639 printf("*** required on your system.\n");
27640 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27641 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27642 printf("*** before re-running configure\n");
27643 }
27644 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27645 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27646 (gtk_minor_version != GTK_MINOR_VERSION) ||
27647 (gtk_micro_version != GTK_MICRO_VERSION))
27648 {
27649 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27650 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27651 printf("*** library (version %d.%d.%d)\n",
27652 gtk_major_version, gtk_minor_version, gtk_micro_version);
27653 }
27654 #endif /* defined (GTK_MAJOR_VERSION) ... */
27655 else
27656 {
27657 if ((gtk_major_version > major) ||
27658 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27659 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27660 {
27661 return 0;
27662 }
27663 else
27664 {
27665 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27666 gtk_major_version, gtk_minor_version, gtk_micro_version);
27667 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27668 major, minor, micro);
27669 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27670 printf("***\n");
27671 printf("*** If you have already installed a sufficiently new version, this error\n");
27672 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27673 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27674 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27675 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27676 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27677 printf("*** so that the correct libraries are found at run-time))\n");
27678 }
27679 }
27680 return 1;
27681 }
27682
27683 _ACEOF
27684 rm -f conftest$ac_exeext
27685 if { (ac_try="$ac_link"
27686 case "(($ac_try" in
27687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27688 *) ac_try_echo=$ac_try;;
27689 esac
27690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27691 (eval "$ac_link") 2>&5
27692 ac_status=$?
27693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27695 { (case "(($ac_try" in
27696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27697 *) ac_try_echo=$ac_try;;
27698 esac
27699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27700 (eval "$ac_try") 2>&5
27701 ac_status=$?
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; }; then
27704 :
27705 else
27706 echo "$as_me: program exited with status $ac_status" >&5
27707 echo "$as_me: failed program was:" >&5
27708 sed 's/^/| /' conftest.$ac_ext >&5
27709
27710 ( exit $ac_status )
27711 no_gtk=yes
27712 fi
27713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27714 fi
27715
27716
27717 CFLAGS="$ac_save_CFLAGS"
27718 LIBS="$ac_save_LIBS"
27719 fi
27720 fi
27721 if test "x$no_gtk" = x ; then
27722 { echo "$as_me:$LINENO: result: yes" >&5
27723 echo "${ECHO_T}yes" >&6; }
27724 wx_cv_lib_gtk=1.2.3
27725 else
27726 { echo "$as_me:$LINENO: result: no" >&5
27727 echo "${ECHO_T}no" >&6; }
27728 if test "$GTK_CONFIG" = "no" ; then
27729 echo "*** The gtk-config script installed by GTK could not be found"
27730 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27731 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27732 echo "*** full path to gtk-config."
27733 else
27734 if test -f conf.gtktest ; then
27735 :
27736 else
27737 echo "*** Could not run GTK test program, checking why..."
27738 CFLAGS="$CFLAGS $GTK_CFLAGS"
27739 LIBS="$LIBS $GTK_LIBS"
27740 cat >conftest.$ac_ext <<_ACEOF
27741 /* confdefs.h. */
27742 _ACEOF
27743 cat confdefs.h >>conftest.$ac_ext
27744 cat >>conftest.$ac_ext <<_ACEOF
27745 /* end confdefs.h. */
27746
27747 #include <gtk/gtk.h>
27748 #include <stdio.h>
27749
27750 int
27751 main ()
27752 {
27753 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27754 ;
27755 return 0;
27756 }
27757 _ACEOF
27758 rm -f conftest.$ac_objext conftest$ac_exeext
27759 if { (ac_try="$ac_link"
27760 case "(($ac_try" in
27761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27762 *) ac_try_echo=$ac_try;;
27763 esac
27764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27765 (eval "$ac_link") 2>conftest.er1
27766 ac_status=$?
27767 grep -v '^ *+' conftest.er1 >conftest.err
27768 rm -f conftest.er1
27769 cat conftest.err >&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } && {
27772 test -z "$ac_c_werror_flag" ||
27773 test ! -s conftest.err
27774 } && test -s conftest$ac_exeext &&
27775 $as_test_x conftest$ac_exeext; then
27776 echo "*** The test program compiled, but did not run. This usually means"
27777 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27778 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27779 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27780 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27781 echo "*** is required on your system"
27782 echo "***"
27783 echo "*** If you have an old version installed, it is best to remove it, although"
27784 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27785 echo "***"
27786 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27787 echo "*** came with the system with the command"
27788 echo "***"
27789 echo "*** rpm --erase --nodeps gtk gtk-devel"
27790 else
27791 echo "$as_me: failed program was:" >&5
27792 sed 's/^/| /' conftest.$ac_ext >&5
27793
27794 echo "*** The test program failed to compile or link. See the file config.log for the"
27795 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27796 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27797 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27798 fi
27799
27800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27801 conftest$ac_exeext conftest.$ac_ext
27802 CFLAGS="$ac_save_CFLAGS"
27803 LIBS="$ac_save_LIBS"
27804 fi
27805 fi
27806 GTK_CFLAGS=""
27807 GTK_LIBS=""
27808 :
27809 fi
27810
27811
27812 rm -f conf.gtktest
27813
27814 fi
27815 fi
27816 fi
27817
27818 if test -z "$wx_cv_lib_gtk"; then
27819 wx_cv_lib_gtk=none
27820 else
27821 wx_cv_cflags_gtk=$GTK_CFLAGS
27822 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27823 fi
27824
27825
27826 fi
27827
27828
27829 if test "$gtk_version_cached" = 1; then
27830 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27831 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27832 fi
27833
27834 case "$wx_cv_lib_gtk" in
27835 2.0) WXGTK20=1
27836 TOOLKIT_VERSION=2
27837 ;;
27838 1.2.7) WXGTK127=1
27839 WXGTK12=1
27840 ;;
27841 1.2.3) WXGTK12=1
27842 ;;
27843 *) { { echo "$as_me:$LINENO: error:
27844 The development files for GTK+ were not found. For GTK+ 2, please
27845 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27846 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27847 and that the version is 1.2.3 or above. Also check that the
27848 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27849 --libs' are in the LD_LIBRARY_PATH or equivalent.
27850 " >&5
27851 echo "$as_me: error:
27852 The development files for GTK+ were not found. For GTK+ 2, please
27853 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27854 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27855 and that the version is 1.2.3 or above. Also check that the
27856 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27857 --libs' are in the LD_LIBRARY_PATH or equivalent.
27858 " >&2;}
27859 { (exit 1); exit 1; }; }
27860 ;;
27861 esac
27862
27863 if test "$WXGTK20" = 1; then
27864 save_CFLAGS="$CFLAGS"
27865 save_LIBS="$LIBS"
27866 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27867 LIBS="$LIBS $wx_cv_libs_gtk"
27868
27869 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27870 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27871 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27872 echo $ECHO_N "(cached) $ECHO_C" >&6
27873 else
27874 cat >conftest.$ac_ext <<_ACEOF
27875 /* confdefs.h. */
27876 _ACEOF
27877 cat confdefs.h >>conftest.$ac_ext
27878 cat >>conftest.$ac_ext <<_ACEOF
27879 /* end confdefs.h. */
27880 #include <gtk/gtk.h>
27881
27882 int
27883 main ()
27884 {
27885 #ifndef gtk_icon_size_lookup
27886 (void) gtk_icon_size_lookup;
27887 #endif
27888
27889 ;
27890 return 0;
27891 }
27892 _ACEOF
27893 rm -f conftest.$ac_objext
27894 if { (ac_try="$ac_compile"
27895 case "(($ac_try" in
27896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27897 *) ac_try_echo=$ac_try;;
27898 esac
27899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27900 (eval "$ac_compile") 2>conftest.er1
27901 ac_status=$?
27902 grep -v '^ *+' conftest.er1 >conftest.err
27903 rm -f conftest.er1
27904 cat conftest.err >&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); } && {
27907 test -z "$ac_c_werror_flag" ||
27908 test ! -s conftest.err
27909 } && test -s conftest.$ac_objext; then
27910 ac_cv_have_decl_gtk_icon_size_lookup=yes
27911 else
27912 echo "$as_me: failed program was:" >&5
27913 sed 's/^/| /' conftest.$ac_ext >&5
27914
27915 ac_cv_have_decl_gtk_icon_size_lookup=no
27916 fi
27917
27918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27919 fi
27920 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27921 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27922 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27923
27924 cat >>confdefs.h <<_ACEOF
27925 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27926 _ACEOF
27927
27928
27929 else
27930 cat >>confdefs.h <<_ACEOF
27931 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27932 _ACEOF
27933
27934 cat >>confdefs.h <<\_ACEOF
27935 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27936 _ACEOF
27937
27938 fi
27939
27940
27941
27942
27943 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27944 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27945 cat >conftest.$ac_ext <<_ACEOF
27946 /* confdefs.h. */
27947 _ACEOF
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27951
27952 #include <gtk/gtk.h>
27953
27954 int
27955 main ()
27956 {
27957
27958 #if !GTK_CHECK_VERSION(2,10,0)
27959 Not GTK+ 2.10
27960 #endif
27961
27962 ;
27963 return 0;
27964 }
27965 _ACEOF
27966 rm -f conftest.$ac_objext
27967 if { (ac_try="$ac_compile"
27968 case "(($ac_try" in
27969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27970 *) ac_try_echo=$ac_try;;
27971 esac
27972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27973 (eval "$ac_compile") 2>conftest.er1
27974 ac_status=$?
27975 grep -v '^ *+' conftest.er1 >conftest.err
27976 rm -f conftest.er1
27977 cat conftest.err >&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); } && {
27980 test -z "$ac_c_werror_flag" ||
27981 test ! -s conftest.err
27982 } && test -s conftest.$ac_objext; then
27983
27984 cat >>confdefs.h <<\_ACEOF
27985 #define __WXGTK210__ 1
27986 _ACEOF
27987
27988 cat >>confdefs.h <<\_ACEOF
27989 #define __WXGTK26__ 1
27990 _ACEOF
27991
27992 cat >>confdefs.h <<\_ACEOF
27993 #define __WXGTK24__ 1
27994 _ACEOF
27995
27996 { echo "$as_me:$LINENO: result: yes" >&5
27997 echo "${ECHO_T}yes" >&6; }
27998 ac_wxgtk210=1
27999
28000 else
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28003
28004
28005 { echo "$as_me:$LINENO: result: no" >&5
28006 echo "${ECHO_T}no" >&6; }
28007 ac_wxgtk210=0
28008
28009 fi
28010
28011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28012
28013 if test "$ac_wxgtk210" = 0; then
28014 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28015 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28016 cat >conftest.$ac_ext <<_ACEOF
28017 /* confdefs.h. */
28018 _ACEOF
28019 cat confdefs.h >>conftest.$ac_ext
28020 cat >>conftest.$ac_ext <<_ACEOF
28021 /* end confdefs.h. */
28022
28023 #include <gtk/gtk.h>
28024
28025 int
28026 main ()
28027 {
28028
28029 #if !GTK_CHECK_VERSION(2,6,0)
28030 Not GTK+ 2.6
28031 #endif
28032
28033 ;
28034 return 0;
28035 }
28036 _ACEOF
28037 rm -f conftest.$ac_objext
28038 if { (ac_try="$ac_compile"
28039 case "(($ac_try" in
28040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28041 *) ac_try_echo=$ac_try;;
28042 esac
28043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28044 (eval "$ac_compile") 2>conftest.er1
28045 ac_status=$?
28046 grep -v '^ *+' conftest.er1 >conftest.err
28047 rm -f conftest.er1
28048 cat conftest.err >&5
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); } && {
28051 test -z "$ac_c_werror_flag" ||
28052 test ! -s conftest.err
28053 } && test -s conftest.$ac_objext; then
28054
28055 cat >>confdefs.h <<\_ACEOF
28056 #define __WXGTK26__ 1
28057 _ACEOF
28058
28059 cat >>confdefs.h <<\_ACEOF
28060 #define __WXGTK24__ 1
28061 _ACEOF
28062
28063 { echo "$as_me:$LINENO: result: yes" >&5
28064 echo "${ECHO_T}yes" >&6; }
28065 ac_wxgtk26=1
28066
28067 else
28068 echo "$as_me: failed program was:" >&5
28069 sed 's/^/| /' conftest.$ac_ext >&5
28070
28071
28072 { echo "$as_me:$LINENO: result: no" >&5
28073 echo "${ECHO_T}no" >&6; }
28074 ac_wxgtk26=0
28075
28076 fi
28077
28078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28079 fi
28080
28081 if test "$ac_wxgtk26" = 0; then
28082 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28083 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28084 cat >conftest.$ac_ext <<_ACEOF
28085 /* confdefs.h. */
28086 _ACEOF
28087 cat confdefs.h >>conftest.$ac_ext
28088 cat >>conftest.$ac_ext <<_ACEOF
28089 /* end confdefs.h. */
28090
28091 #include <gtk/gtk.h>
28092
28093 int
28094 main ()
28095 {
28096
28097 #if !GTK_CHECK_VERSION(2,4,0)
28098 Not GTK+ 2.4
28099 #endif
28100
28101 ;
28102 return 0;
28103 }
28104 _ACEOF
28105 rm -f conftest.$ac_objext
28106 if { (ac_try="$ac_compile"
28107 case "(($ac_try" in
28108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28109 *) ac_try_echo=$ac_try;;
28110 esac
28111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28112 (eval "$ac_compile") 2>conftest.er1
28113 ac_status=$?
28114 grep -v '^ *+' conftest.er1 >conftest.err
28115 rm -f conftest.er1
28116 cat conftest.err >&5
28117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28118 (exit $ac_status); } && {
28119 test -z "$ac_c_werror_flag" ||
28120 test ! -s conftest.err
28121 } && test -s conftest.$ac_objext; then
28122
28123 cat >>confdefs.h <<\_ACEOF
28124 #define __WXGTK24__ 1
28125 _ACEOF
28126
28127 { echo "$as_me:$LINENO: result: yes" >&5
28128 echo "${ECHO_T}yes" >&6; }
28129
28130 else
28131 echo "$as_me: failed program was:" >&5
28132 sed 's/^/| /' conftest.$ac_ext >&5
28133
28134
28135 { echo "$as_me:$LINENO: result: no" >&5
28136 echo "${ECHO_T}no" >&6; }
28137
28138 fi
28139
28140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28141 fi
28142
28143 CFLAGS="$save_CFLAGS"
28144 LIBS="$save_LIBS"
28145 else
28146 if test "$wxUSE_UNICODE" = "yes"; then
28147 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28148 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28149 wxUSE_UNICODE=no
28150 fi
28151
28152 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28153 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28154 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28155 echo $ECHO_N "(cached) $ECHO_C" >&6
28156 else
28157 ac_check_lib_save_LIBS=$LIBS
28158 LIBS="-lgdk $LIBS"
28159 cat >conftest.$ac_ext <<_ACEOF
28160 /* confdefs.h. */
28161 _ACEOF
28162 cat confdefs.h >>conftest.$ac_ext
28163 cat >>conftest.$ac_ext <<_ACEOF
28164 /* end confdefs.h. */
28165
28166 /* Override any GCC internal prototype to avoid an error.
28167 Use char because int might match the return type of a GCC
28168 builtin and then its argument prototype would still apply. */
28169 #ifdef __cplusplus
28170 extern "C"
28171 #endif
28172 char gdk_im_open ();
28173 int
28174 main ()
28175 {
28176 return gdk_im_open ();
28177 ;
28178 return 0;
28179 }
28180 _ACEOF
28181 rm -f conftest.$ac_objext conftest$ac_exeext
28182 if { (ac_try="$ac_link"
28183 case "(($ac_try" in
28184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28185 *) ac_try_echo=$ac_try;;
28186 esac
28187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28188 (eval "$ac_link") 2>conftest.er1
28189 ac_status=$?
28190 grep -v '^ *+' conftest.er1 >conftest.err
28191 rm -f conftest.er1
28192 cat conftest.err >&5
28193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28194 (exit $ac_status); } && {
28195 test -z "$ac_c_werror_flag" ||
28196 test ! -s conftest.err
28197 } && test -s conftest$ac_exeext &&
28198 $as_test_x conftest$ac_exeext; then
28199 ac_cv_lib_gdk_gdk_im_open=yes
28200 else
28201 echo "$as_me: failed program was:" >&5
28202 sed 's/^/| /' conftest.$ac_ext >&5
28203
28204 ac_cv_lib_gdk_gdk_im_open=no
28205 fi
28206
28207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28208 conftest$ac_exeext conftest.$ac_ext
28209 LIBS=$ac_check_lib_save_LIBS
28210 fi
28211 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28212 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28213 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28214 cat >>confdefs.h <<\_ACEOF
28215 #define HAVE_XIM 1
28216 _ACEOF
28217
28218 fi
28219
28220
28221 if test "$USE_DARWIN" != 1; then
28222
28223 for ac_func in poll
28224 do
28225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28226 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28228 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28229 echo $ECHO_N "(cached) $ECHO_C" >&6
28230 else
28231 cat >conftest.$ac_ext <<_ACEOF
28232 /* confdefs.h. */
28233 _ACEOF
28234 cat confdefs.h >>conftest.$ac_ext
28235 cat >>conftest.$ac_ext <<_ACEOF
28236 /* end confdefs.h. */
28237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28239 #define $ac_func innocuous_$ac_func
28240
28241 /* System header to define __stub macros and hopefully few prototypes,
28242 which can conflict with char $ac_func (); below.
28243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28244 <limits.h> exists even on freestanding compilers. */
28245
28246 #ifdef __STDC__
28247 # include <limits.h>
28248 #else
28249 # include <assert.h>
28250 #endif
28251
28252 #undef $ac_func
28253
28254 /* Override any GCC internal prototype to avoid an error.
28255 Use char because int might match the return type of a GCC
28256 builtin and then its argument prototype would still apply. */
28257 #ifdef __cplusplus
28258 extern "C"
28259 #endif
28260 char $ac_func ();
28261 /* The GNU C library defines this for functions which it implements
28262 to always fail with ENOSYS. Some functions are actually named
28263 something starting with __ and the normal name is an alias. */
28264 #if defined __stub_$ac_func || defined __stub___$ac_func
28265 choke me
28266 #endif
28267
28268 int
28269 main ()
28270 {
28271 return $ac_func ();
28272 ;
28273 return 0;
28274 }
28275 _ACEOF
28276 rm -f conftest.$ac_objext conftest$ac_exeext
28277 if { (ac_try="$ac_link"
28278 case "(($ac_try" in
28279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28280 *) ac_try_echo=$ac_try;;
28281 esac
28282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28283 (eval "$ac_link") 2>conftest.er1
28284 ac_status=$?
28285 grep -v '^ *+' conftest.er1 >conftest.err
28286 rm -f conftest.er1
28287 cat conftest.err >&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); } && {
28290 test -z "$ac_c_werror_flag" ||
28291 test ! -s conftest.err
28292 } && test -s conftest$ac_exeext &&
28293 $as_test_x conftest$ac_exeext; then
28294 eval "$as_ac_var=yes"
28295 else
28296 echo "$as_me: failed program was:" >&5
28297 sed 's/^/| /' conftest.$ac_ext >&5
28298
28299 eval "$as_ac_var=no"
28300 fi
28301
28302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28303 conftest$ac_exeext conftest.$ac_ext
28304 fi
28305 ac_res=`eval echo '${'$as_ac_var'}'`
28306 { echo "$as_me:$LINENO: result: $ac_res" >&5
28307 echo "${ECHO_T}$ac_res" >&6; }
28308 if test `eval echo '${'$as_ac_var'}'` = yes; then
28309 cat >>confdefs.h <<_ACEOF
28310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28311 _ACEOF
28312
28313 fi
28314 done
28315
28316 fi
28317 fi
28318
28319 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28320 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28321
28322 AFMINSTALL=afminstall
28323 TOOLKIT=GTK
28324 GUIDIST=GTK_DIST
28325
28326 if test "$wxUSE_GPE" = "yes"; then
28327 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28328 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28329
28330 ac_find_libraries=
28331 for ac_dir in $SEARCH_LIB;
28332 do
28333 for ac_extension in a so sl dylib dll.a; do
28334 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28335 ac_find_libraries=$ac_dir
28336 break 2
28337 fi
28338 done
28339 done
28340
28341 if test "$ac_find_libraries" != "" ; then
28342
28343 if test "$ac_find_libraries" = "default location"; then
28344 ac_path_to_link=""
28345 else
28346 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28347 result=$?
28348 if test $result = 0; then
28349 ac_path_to_link=""
28350 else
28351 ac_path_to_link=" -L$ac_find_libraries"
28352 fi
28353 fi
28354
28355 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28356 WXGPE=1
28357 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28358 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28359 else
28360 { echo "$as_me:$LINENO: result: not found" >&5
28361 echo "${ECHO_T}not found" >&6; }
28362 fi
28363
28364 fi
28365 fi
28366
28367 if test "$wxUSE_MGL" = 1; then
28368 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28369 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28370 if test "x$MGL_ROOT" = x ; then
28371 { echo "$as_me:$LINENO: result: not found" >&5
28372 echo "${ECHO_T}not found" >&6; }
28373 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28374 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28375 { (exit 1); exit 1; }; }
28376 else
28377 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28378 echo "${ECHO_T}$MGL_ROOT" >&6; }
28379 fi
28380
28381 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28382 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28383 case "${host}" in
28384 *-*-linux* )
28385 if test "x$wxUSE_SHARED" = xyes ; then
28386 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28387 else
28388 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28389 fi
28390 ;;
28391 *-pc-msdosdjgpp )
28392 mgl_os_candidates="dos32/dj2"
28393 ;;
28394 *)
28395 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28396 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28397 { (exit 1); exit 1; }; }
28398 esac
28399
28400 mgl_lib_type=""
28401 mgl_os=""
28402
28403 for mgl_os_i in $mgl_os_candidates ; do
28404 if test "x$mgl_os" = x ; then
28405 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28406 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28407 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28408 mgl_lib_type=debug
28409 mgl_os=$mgl_os_i
28410 fi
28411 fi
28412 if test "x$mgl_lib_type" = x ; then
28413 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28414 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28415 mgl_lib_type=release
28416 mgl_os=$mgl_os_i
28417 fi
28418 fi
28419 fi
28420 done
28421
28422 if test "x$mgl_os" = x ; then
28423 { echo "$as_me:$LINENO: result: not found" >&5
28424 echo "${ECHO_T}not found" >&6; }
28425 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28426 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28427 { (exit 1); exit 1; }; }
28428 fi
28429 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28430 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28431
28432 wxUSE_UNIVERSAL="yes"
28433
28434 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28435 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28436
28437 AFMINSTALL=afminstall
28438 TOOLKIT=MGL
28439 GUIDIST=MGL_DIST
28440 fi
28441
28442 if test "$wxUSE_DFB" = 1; then
28443
28444
28445 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28446 if test -n "$ac_tool_prefix"; then
28447 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28448 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28451 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28452 echo $ECHO_N "(cached) $ECHO_C" >&6
28453 else
28454 case $PKG_CONFIG in
28455 [\\/]* | ?:[\\/]*)
28456 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28457 ;;
28458 *)
28459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28460 for as_dir in $PATH
28461 do
28462 IFS=$as_save_IFS
28463 test -z "$as_dir" && as_dir=.
28464 for ac_exec_ext in '' $ac_executable_extensions; do
28465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28466 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28468 break 2
28469 fi
28470 done
28471 done
28472 IFS=$as_save_IFS
28473
28474 ;;
28475 esac
28476 fi
28477 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28478 if test -n "$PKG_CONFIG"; then
28479 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28480 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28481 else
28482 { echo "$as_me:$LINENO: result: no" >&5
28483 echo "${ECHO_T}no" >&6; }
28484 fi
28485
28486
28487 fi
28488 if test -z "$ac_cv_path_PKG_CONFIG"; then
28489 ac_pt_PKG_CONFIG=$PKG_CONFIG
28490 # Extract the first word of "pkg-config", so it can be a program name with args.
28491 set dummy pkg-config; ac_word=$2
28492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28494 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28495 echo $ECHO_N "(cached) $ECHO_C" >&6
28496 else
28497 case $ac_pt_PKG_CONFIG in
28498 [\\/]* | ?:[\\/]*)
28499 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28500 ;;
28501 *)
28502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28503 for as_dir in $PATH
28504 do
28505 IFS=$as_save_IFS
28506 test -z "$as_dir" && as_dir=.
28507 for ac_exec_ext in '' $ac_executable_extensions; do
28508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28509 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28511 break 2
28512 fi
28513 done
28514 done
28515 IFS=$as_save_IFS
28516
28517 ;;
28518 esac
28519 fi
28520 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28521 if test -n "$ac_pt_PKG_CONFIG"; then
28522 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28523 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28524 else
28525 { echo "$as_me:$LINENO: result: no" >&5
28526 echo "${ECHO_T}no" >&6; }
28527 fi
28528
28529 if test "x$ac_pt_PKG_CONFIG" = x; then
28530 PKG_CONFIG=""
28531 else
28532 case $cross_compiling:$ac_tool_warned in
28533 yes:)
28534 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28535 whose name does not start with the host triplet. If you think this
28536 configuration is useful to you, please write to autoconf@gnu.org." >&5
28537 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28538 whose name does not start with the host triplet. If you think this
28539 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28540 ac_tool_warned=yes ;;
28541 esac
28542 PKG_CONFIG=$ac_pt_PKG_CONFIG
28543 fi
28544 else
28545 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28546 fi
28547
28548 fi
28549 if test -n "$PKG_CONFIG"; then
28550 _pkg_min_version=0.9.0
28551 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28552 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28553 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28554 { echo "$as_me:$LINENO: result: yes" >&5
28555 echo "${ECHO_T}yes" >&6; }
28556 else
28557 { echo "$as_me:$LINENO: result: no" >&5
28558 echo "${ECHO_T}no" >&6; }
28559 PKG_CONFIG=""
28560 fi
28561
28562 fi
28563
28564
28565 pkg_failed=no
28566 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28567 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28568
28569 if test -n "$PKG_CONFIG"; then
28570 if test -n "$DIRECTFB_CFLAGS"; then
28571 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28572 else
28573 if test -n "$PKG_CONFIG" && \
28574 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28575 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28576 ac_status=$?
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; then
28579 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28580 else
28581 pkg_failed=yes
28582 fi
28583 fi
28584 else
28585 pkg_failed=untried
28586 fi
28587 if test -n "$PKG_CONFIG"; then
28588 if test -n "$DIRECTFB_LIBS"; then
28589 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28590 else
28591 if test -n "$PKG_CONFIG" && \
28592 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28593 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28594 ac_status=$?
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); }; then
28597 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28598 else
28599 pkg_failed=yes
28600 fi
28601 fi
28602 else
28603 pkg_failed=untried
28604 fi
28605
28606
28607
28608 if test $pkg_failed = yes; then
28609
28610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28611 _pkg_short_errors_supported=yes
28612 else
28613 _pkg_short_errors_supported=no
28614 fi
28615 if test $_pkg_short_errors_supported = yes; then
28616 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28617 else
28618 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28619 fi
28620 # Put the nasty error message in config.log where it belongs
28621 echo "$DIRECTFB_PKG_ERRORS" >&5
28622
28623
28624 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28625 echo "$as_me: error: DirectFB not found." >&2;}
28626 { (exit 1); exit 1; }; }
28627
28628
28629 elif test $pkg_failed = untried; then
28630
28631 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28632 echo "$as_me: error: DirectFB not found." >&2;}
28633 { (exit 1); exit 1; }; }
28634
28635
28636 else
28637 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28638 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28639 { echo "$as_me:$LINENO: result: yes" >&5
28640 echo "${ECHO_T}yes" >&6; }
28641
28642 wxUSE_UNIVERSAL="yes"
28643 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28644 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28645 TOOLKIT=DFB
28646 GUIDIST=DFB_DIST
28647
28648 fi
28649 fi
28650
28651 if test "$wxUSE_MICROWIN" = 1; then
28652 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28653 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28654 if test "x$MICROWINDOWS" = x ; then
28655 { echo "$as_me:$LINENO: result: not found" >&5
28656 echo "${ECHO_T}not found" >&6; }
28657 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28658 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28659 { (exit 1); exit 1; }; }
28660 else
28661 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28662 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28663 fi
28664
28665 if test -f $MICROWINDOWS/lib/libmwin.a; then
28666 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28667 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28668 else
28669 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28670 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28671 { (exit 1); exit 1; }; }
28672 fi
28673
28674 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28675 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28676
28677 wxUSE_UNIVERSAL="yes"
28678
28679 AFMINSTALL=afminstall
28680 TOOLKIT=MICROWIN
28681 GUIDIST=MICROWIN_DIST
28682
28683 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28684 fi
28685
28686 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28687 { echo "$as_me:$LINENO: checking for X" >&5
28688 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28689
28690
28691 # Check whether --with-x was given.
28692 if test "${with_x+set}" = set; then
28693 withval=$with_x;
28694 fi
28695
28696 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28697 if test "x$with_x" = xno; then
28698 # The user explicitly disabled X.
28699 have_x=disabled
28700 else
28701 case $x_includes,$x_libraries in #(
28702 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28703 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28704 { (exit 1); exit 1; }; };; #(
28705 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28706 echo $ECHO_N "(cached) $ECHO_C" >&6
28707 else
28708 # One or both of the vars are not set, and there is no cached value.
28709 ac_x_includes=no ac_x_libraries=no
28710 rm -f -r conftest.dir
28711 if mkdir conftest.dir; then
28712 cd conftest.dir
28713 cat >Imakefile <<'_ACEOF'
28714 incroot:
28715 @echo incroot='${INCROOT}'
28716 usrlibdir:
28717 @echo usrlibdir='${USRLIBDIR}'
28718 libdir:
28719 @echo libdir='${LIBDIR}'
28720 _ACEOF
28721 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28722 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28723 for ac_var in incroot usrlibdir libdir; do
28724 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28725 done
28726 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28727 for ac_extension in a so sl; do
28728 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28729 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28730 ac_im_usrlibdir=$ac_im_libdir; break
28731 fi
28732 done
28733 # Screen out bogus values from the imake configuration. They are
28734 # bogus both because they are the default anyway, and because
28735 # using them would break gcc on systems where it needs fixed includes.
28736 case $ac_im_incroot in
28737 /usr/include) ac_x_includes= ;;
28738 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28739 esac
28740 case $ac_im_usrlibdir in
28741 /usr/lib | /lib) ;;
28742 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28743 esac
28744 fi
28745 cd ..
28746 rm -f -r conftest.dir
28747 fi
28748
28749 # Standard set of common directories for X headers.
28750 # Check X11 before X11Rn because it is often a symlink to the current release.
28751 ac_x_header_dirs='
28752 /usr/X11/include
28753 /usr/X11R6/include
28754 /usr/X11R5/include
28755 /usr/X11R4/include
28756
28757 /usr/include/X11
28758 /usr/include/X11R6
28759 /usr/include/X11R5
28760 /usr/include/X11R4
28761
28762 /usr/local/X11/include
28763 /usr/local/X11R6/include
28764 /usr/local/X11R5/include
28765 /usr/local/X11R4/include
28766
28767 /usr/local/include/X11
28768 /usr/local/include/X11R6
28769 /usr/local/include/X11R5
28770 /usr/local/include/X11R4
28771
28772 /usr/X386/include
28773 /usr/x386/include
28774 /usr/XFree86/include/X11
28775
28776 /usr/include
28777 /usr/local/include
28778 /usr/unsupported/include
28779 /usr/athena/include
28780 /usr/local/x11r5/include
28781 /usr/lpp/Xamples/include
28782
28783 /usr/openwin/include
28784 /usr/openwin/share/include'
28785
28786 if test "$ac_x_includes" = no; then
28787 # Guess where to find include files, by looking for Xlib.h.
28788 # First, try using that file with no special directory specified.
28789 cat >conftest.$ac_ext <<_ACEOF
28790 /* confdefs.h. */
28791 _ACEOF
28792 cat confdefs.h >>conftest.$ac_ext
28793 cat >>conftest.$ac_ext <<_ACEOF
28794 /* end confdefs.h. */
28795 #include <X11/Xlib.h>
28796 _ACEOF
28797 if { (ac_try="$ac_cpp conftest.$ac_ext"
28798 case "(($ac_try" in
28799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28800 *) ac_try_echo=$ac_try;;
28801 esac
28802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28804 ac_status=$?
28805 grep -v '^ *+' conftest.er1 >conftest.err
28806 rm -f conftest.er1
28807 cat conftest.err >&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); } >/dev/null && {
28810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28811 test ! -s conftest.err
28812 }; then
28813 # We can compile using X headers with no special include directory.
28814 ac_x_includes=
28815 else
28816 echo "$as_me: failed program was:" >&5
28817 sed 's/^/| /' conftest.$ac_ext >&5
28818
28819 for ac_dir in $ac_x_header_dirs; do
28820 if test -r "$ac_dir/X11/Xlib.h"; then
28821 ac_x_includes=$ac_dir
28822 break
28823 fi
28824 done
28825 fi
28826
28827 rm -f conftest.err conftest.$ac_ext
28828 fi # $ac_x_includes = no
28829
28830 if test "$ac_x_libraries" = no; then
28831 # Check for the libraries.
28832 # See if we find them without any special options.
28833 # Don't add to $LIBS permanently.
28834 ac_save_LIBS=$LIBS
28835 LIBS="-lX11 $LIBS"
28836 cat >conftest.$ac_ext <<_ACEOF
28837 /* confdefs.h. */
28838 _ACEOF
28839 cat confdefs.h >>conftest.$ac_ext
28840 cat >>conftest.$ac_ext <<_ACEOF
28841 /* end confdefs.h. */
28842 #include <X11/Xlib.h>
28843 int
28844 main ()
28845 {
28846 XrmInitialize ()
28847 ;
28848 return 0;
28849 }
28850 _ACEOF
28851 rm -f conftest.$ac_objext conftest$ac_exeext
28852 if { (ac_try="$ac_link"
28853 case "(($ac_try" in
28854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28855 *) ac_try_echo=$ac_try;;
28856 esac
28857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28858 (eval "$ac_link") 2>conftest.er1
28859 ac_status=$?
28860 grep -v '^ *+' conftest.er1 >conftest.err
28861 rm -f conftest.er1
28862 cat conftest.err >&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } && {
28865 test -z "$ac_c_werror_flag" ||
28866 test ! -s conftest.err
28867 } && test -s conftest$ac_exeext &&
28868 $as_test_x conftest$ac_exeext; then
28869 LIBS=$ac_save_LIBS
28870 # We can link X programs with no special library path.
28871 ac_x_libraries=
28872 else
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.$ac_ext >&5
28875
28876 LIBS=$ac_save_LIBS
28877 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28878 do
28879 # Don't even attempt the hair of trying to link an X program!
28880 for ac_extension in a so sl; do
28881 if test -r "$ac_dir/libX11.$ac_extension"; then
28882 ac_x_libraries=$ac_dir
28883 break 2
28884 fi
28885 done
28886 done
28887 fi
28888
28889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28890 conftest$ac_exeext conftest.$ac_ext
28891 fi # $ac_x_libraries = no
28892
28893 case $ac_x_includes,$ac_x_libraries in #(
28894 no,* | *,no | *\'*)
28895 # Didn't find X, or a directory has "'" in its name.
28896 ac_cv_have_x="have_x=no";; #(
28897 *)
28898 # Record where we found X for the cache.
28899 ac_cv_have_x="have_x=yes\
28900 ac_x_includes='$ac_x_includes'\
28901 ac_x_libraries='$ac_x_libraries'"
28902 esac
28903 fi
28904 ;; #(
28905 *) have_x=yes;;
28906 esac
28907 eval "$ac_cv_have_x"
28908 fi # $with_x != no
28909
28910 if test "$have_x" != yes; then
28911 { echo "$as_me:$LINENO: result: $have_x" >&5
28912 echo "${ECHO_T}$have_x" >&6; }
28913 no_x=yes
28914 else
28915 # If each of the values was on the command line, it overrides each guess.
28916 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28917 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28918 # Update the cache value to reflect the command line values.
28919 ac_cv_have_x="have_x=yes\
28920 ac_x_includes='$x_includes'\
28921 ac_x_libraries='$x_libraries'"
28922 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28923 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28924 fi
28925
28926 if test "$no_x" = yes; then
28927 # Not all programs may use this symbol, but it does not hurt to define it.
28928
28929 cat >>confdefs.h <<\_ACEOF
28930 #define X_DISPLAY_MISSING 1
28931 _ACEOF
28932
28933 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28934 else
28935 if test -n "$x_includes"; then
28936 X_CFLAGS="$X_CFLAGS -I$x_includes"
28937 fi
28938
28939 # It would also be nice to do this for all -L options, not just this one.
28940 if test -n "$x_libraries"; then
28941 X_LIBS="$X_LIBS -L$x_libraries"
28942 # For Solaris; some versions of Sun CC require a space after -R and
28943 # others require no space. Words are not sufficient . . . .
28944 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28945 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28946 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28947 ac_xsave_c_werror_flag=$ac_c_werror_flag
28948 ac_c_werror_flag=yes
28949 cat >conftest.$ac_ext <<_ACEOF
28950 /* confdefs.h. */
28951 _ACEOF
28952 cat confdefs.h >>conftest.$ac_ext
28953 cat >>conftest.$ac_ext <<_ACEOF
28954 /* end confdefs.h. */
28955
28956 int
28957 main ()
28958 {
28959
28960 ;
28961 return 0;
28962 }
28963 _ACEOF
28964 rm -f conftest.$ac_objext conftest$ac_exeext
28965 if { (ac_try="$ac_link"
28966 case "(($ac_try" in
28967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28968 *) ac_try_echo=$ac_try;;
28969 esac
28970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28971 (eval "$ac_link") 2>conftest.er1
28972 ac_status=$?
28973 grep -v '^ *+' conftest.er1 >conftest.err
28974 rm -f conftest.er1
28975 cat conftest.err >&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } && {
28978 test -z "$ac_c_werror_flag" ||
28979 test ! -s conftest.err
28980 } && test -s conftest$ac_exeext &&
28981 $as_test_x conftest$ac_exeext; then
28982 { echo "$as_me:$LINENO: result: no" >&5
28983 echo "${ECHO_T}no" >&6; }
28984 X_LIBS="$X_LIBS -R$x_libraries"
28985 else
28986 echo "$as_me: failed program was:" >&5
28987 sed 's/^/| /' conftest.$ac_ext >&5
28988
28989 LIBS="$ac_xsave_LIBS -R $x_libraries"
28990 cat >conftest.$ac_ext <<_ACEOF
28991 /* confdefs.h. */
28992 _ACEOF
28993 cat confdefs.h >>conftest.$ac_ext
28994 cat >>conftest.$ac_ext <<_ACEOF
28995 /* end confdefs.h. */
28996
28997 int
28998 main ()
28999 {
29000
29001 ;
29002 return 0;
29003 }
29004 _ACEOF
29005 rm -f conftest.$ac_objext conftest$ac_exeext
29006 if { (ac_try="$ac_link"
29007 case "(($ac_try" in
29008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29009 *) ac_try_echo=$ac_try;;
29010 esac
29011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29012 (eval "$ac_link") 2>conftest.er1
29013 ac_status=$?
29014 grep -v '^ *+' conftest.er1 >conftest.err
29015 rm -f conftest.er1
29016 cat conftest.err >&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); } && {
29019 test -z "$ac_c_werror_flag" ||
29020 test ! -s conftest.err
29021 } && test -s conftest$ac_exeext &&
29022 $as_test_x conftest$ac_exeext; then
29023 { echo "$as_me:$LINENO: result: yes" >&5
29024 echo "${ECHO_T}yes" >&6; }
29025 X_LIBS="$X_LIBS -R $x_libraries"
29026 else
29027 echo "$as_me: failed program was:" >&5
29028 sed 's/^/| /' conftest.$ac_ext >&5
29029
29030 { echo "$as_me:$LINENO: result: neither works" >&5
29031 echo "${ECHO_T}neither works" >&6; }
29032 fi
29033
29034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29035 conftest$ac_exeext conftest.$ac_ext
29036 fi
29037
29038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29039 conftest$ac_exeext conftest.$ac_ext
29040 ac_c_werror_flag=$ac_xsave_c_werror_flag
29041 LIBS=$ac_xsave_LIBS
29042 fi
29043
29044 # Check for system-dependent libraries X programs must link with.
29045 # Do this before checking for the system-independent R6 libraries
29046 # (-lICE), since we may need -lsocket or whatever for X linking.
29047
29048 if test "$ISC" = yes; then
29049 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29050 else
29051 # Martyn Johnson says this is needed for Ultrix, if the X
29052 # libraries were built with DECnet support. And Karl Berry says
29053 # the Alpha needs dnet_stub (dnet does not exist).
29054 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29055 cat >conftest.$ac_ext <<_ACEOF
29056 /* confdefs.h. */
29057 _ACEOF
29058 cat confdefs.h >>conftest.$ac_ext
29059 cat >>conftest.$ac_ext <<_ACEOF
29060 /* end confdefs.h. */
29061
29062 /* Override any GCC internal prototype to avoid an error.
29063 Use char because int might match the return type of a GCC
29064 builtin and then its argument prototype would still apply. */
29065 #ifdef __cplusplus
29066 extern "C"
29067 #endif
29068 char XOpenDisplay ();
29069 int
29070 main ()
29071 {
29072 return XOpenDisplay ();
29073 ;
29074 return 0;
29075 }
29076 _ACEOF
29077 rm -f conftest.$ac_objext conftest$ac_exeext
29078 if { (ac_try="$ac_link"
29079 case "(($ac_try" in
29080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29081 *) ac_try_echo=$ac_try;;
29082 esac
29083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29084 (eval "$ac_link") 2>conftest.er1
29085 ac_status=$?
29086 grep -v '^ *+' conftest.er1 >conftest.err
29087 rm -f conftest.er1
29088 cat conftest.err >&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); } && {
29091 test -z "$ac_c_werror_flag" ||
29092 test ! -s conftest.err
29093 } && test -s conftest$ac_exeext &&
29094 $as_test_x conftest$ac_exeext; then
29095 :
29096 else
29097 echo "$as_me: failed program was:" >&5
29098 sed 's/^/| /' conftest.$ac_ext >&5
29099
29100 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29101 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29102 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29103 echo $ECHO_N "(cached) $ECHO_C" >&6
29104 else
29105 ac_check_lib_save_LIBS=$LIBS
29106 LIBS="-ldnet $LIBS"
29107 cat >conftest.$ac_ext <<_ACEOF
29108 /* confdefs.h. */
29109 _ACEOF
29110 cat confdefs.h >>conftest.$ac_ext
29111 cat >>conftest.$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29113
29114 /* Override any GCC internal prototype to avoid an error.
29115 Use char because int might match the return type of a GCC
29116 builtin and then its argument prototype would still apply. */
29117 #ifdef __cplusplus
29118 extern "C"
29119 #endif
29120 char dnet_ntoa ();
29121 int
29122 main ()
29123 {
29124 return dnet_ntoa ();
29125 ;
29126 return 0;
29127 }
29128 _ACEOF
29129 rm -f conftest.$ac_objext conftest$ac_exeext
29130 if { (ac_try="$ac_link"
29131 case "(($ac_try" in
29132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29133 *) ac_try_echo=$ac_try;;
29134 esac
29135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29136 (eval "$ac_link") 2>conftest.er1
29137 ac_status=$?
29138 grep -v '^ *+' conftest.er1 >conftest.err
29139 rm -f conftest.er1
29140 cat conftest.err >&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); } && {
29143 test -z "$ac_c_werror_flag" ||
29144 test ! -s conftest.err
29145 } && test -s conftest$ac_exeext &&
29146 $as_test_x conftest$ac_exeext; then
29147 ac_cv_lib_dnet_dnet_ntoa=yes
29148 else
29149 echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.$ac_ext >&5
29151
29152 ac_cv_lib_dnet_dnet_ntoa=no
29153 fi
29154
29155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29156 conftest$ac_exeext conftest.$ac_ext
29157 LIBS=$ac_check_lib_save_LIBS
29158 fi
29159 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29160 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29161 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29162 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29163 fi
29164
29165 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29166 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29167 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29168 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29169 echo $ECHO_N "(cached) $ECHO_C" >&6
29170 else
29171 ac_check_lib_save_LIBS=$LIBS
29172 LIBS="-ldnet_stub $LIBS"
29173 cat >conftest.$ac_ext <<_ACEOF
29174 /* confdefs.h. */
29175 _ACEOF
29176 cat confdefs.h >>conftest.$ac_ext
29177 cat >>conftest.$ac_ext <<_ACEOF
29178 /* end confdefs.h. */
29179
29180 /* Override any GCC internal prototype to avoid an error.
29181 Use char because int might match the return type of a GCC
29182 builtin and then its argument prototype would still apply. */
29183 #ifdef __cplusplus
29184 extern "C"
29185 #endif
29186 char dnet_ntoa ();
29187 int
29188 main ()
29189 {
29190 return dnet_ntoa ();
29191 ;
29192 return 0;
29193 }
29194 _ACEOF
29195 rm -f conftest.$ac_objext conftest$ac_exeext
29196 if { (ac_try="$ac_link"
29197 case "(($ac_try" in
29198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29199 *) ac_try_echo=$ac_try;;
29200 esac
29201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_link") 2>conftest.er1
29203 ac_status=$?
29204 grep -v '^ *+' conftest.er1 >conftest.err
29205 rm -f conftest.er1
29206 cat conftest.err >&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); } && {
29209 test -z "$ac_c_werror_flag" ||
29210 test ! -s conftest.err
29211 } && test -s conftest$ac_exeext &&
29212 $as_test_x conftest$ac_exeext; then
29213 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29214 else
29215 echo "$as_me: failed program was:" >&5
29216 sed 's/^/| /' conftest.$ac_ext >&5
29217
29218 ac_cv_lib_dnet_stub_dnet_ntoa=no
29219 fi
29220
29221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29222 conftest$ac_exeext conftest.$ac_ext
29223 LIBS=$ac_check_lib_save_LIBS
29224 fi
29225 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29226 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29227 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29228 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29229 fi
29230
29231 fi
29232 fi
29233
29234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29235 conftest$ac_exeext conftest.$ac_ext
29236 LIBS="$ac_xsave_LIBS"
29237
29238 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29239 # to get the SysV transport functions.
29240 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29241 # needs -lnsl.
29242 # The nsl library prevents programs from opening the X display
29243 # on Irix 5.2, according to T.E. Dickey.
29244 # The functions gethostbyname, getservbyname, and inet_addr are
29245 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29246 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29247 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29248 if test "${ac_cv_func_gethostbyname+set}" = set; then
29249 echo $ECHO_N "(cached) $ECHO_C" >&6
29250 else
29251 cat >conftest.$ac_ext <<_ACEOF
29252 /* confdefs.h. */
29253 _ACEOF
29254 cat confdefs.h >>conftest.$ac_ext
29255 cat >>conftest.$ac_ext <<_ACEOF
29256 /* end confdefs.h. */
29257 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29259 #define gethostbyname innocuous_gethostbyname
29260
29261 /* System header to define __stub macros and hopefully few prototypes,
29262 which can conflict with char gethostbyname (); below.
29263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29264 <limits.h> exists even on freestanding compilers. */
29265
29266 #ifdef __STDC__
29267 # include <limits.h>
29268 #else
29269 # include <assert.h>
29270 #endif
29271
29272 #undef gethostbyname
29273
29274 /* Override any GCC internal prototype to avoid an error.
29275 Use char because int might match the return type of a GCC
29276 builtin and then its argument prototype would still apply. */
29277 #ifdef __cplusplus
29278 extern "C"
29279 #endif
29280 char gethostbyname ();
29281 /* The GNU C library defines this for functions which it implements
29282 to always fail with ENOSYS. Some functions are actually named
29283 something starting with __ and the normal name is an alias. */
29284 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29285 choke me
29286 #endif
29287
29288 int
29289 main ()
29290 {
29291 return gethostbyname ();
29292 ;
29293 return 0;
29294 }
29295 _ACEOF
29296 rm -f conftest.$ac_objext conftest$ac_exeext
29297 if { (ac_try="$ac_link"
29298 case "(($ac_try" in
29299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29300 *) ac_try_echo=$ac_try;;
29301 esac
29302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29303 (eval "$ac_link") 2>conftest.er1
29304 ac_status=$?
29305 grep -v '^ *+' conftest.er1 >conftest.err
29306 rm -f conftest.er1
29307 cat conftest.err >&5
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); } && {
29310 test -z "$ac_c_werror_flag" ||
29311 test ! -s conftest.err
29312 } && test -s conftest$ac_exeext &&
29313 $as_test_x conftest$ac_exeext; then
29314 ac_cv_func_gethostbyname=yes
29315 else
29316 echo "$as_me: failed program was:" >&5
29317 sed 's/^/| /' conftest.$ac_ext >&5
29318
29319 ac_cv_func_gethostbyname=no
29320 fi
29321
29322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29323 conftest$ac_exeext conftest.$ac_ext
29324 fi
29325 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29326 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29327
29328 if test $ac_cv_func_gethostbyname = no; then
29329 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29330 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29331 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29332 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 else
29334 ac_check_lib_save_LIBS=$LIBS
29335 LIBS="-lnsl $LIBS"
29336 cat >conftest.$ac_ext <<_ACEOF
29337 /* confdefs.h. */
29338 _ACEOF
29339 cat confdefs.h >>conftest.$ac_ext
29340 cat >>conftest.$ac_ext <<_ACEOF
29341 /* end confdefs.h. */
29342
29343 /* Override any GCC internal prototype to avoid an error.
29344 Use char because int might match the return type of a GCC
29345 builtin and then its argument prototype would still apply. */
29346 #ifdef __cplusplus
29347 extern "C"
29348 #endif
29349 char gethostbyname ();
29350 int
29351 main ()
29352 {
29353 return gethostbyname ();
29354 ;
29355 return 0;
29356 }
29357 _ACEOF
29358 rm -f conftest.$ac_objext conftest$ac_exeext
29359 if { (ac_try="$ac_link"
29360 case "(($ac_try" in
29361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29362 *) ac_try_echo=$ac_try;;
29363 esac
29364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29365 (eval "$ac_link") 2>conftest.er1
29366 ac_status=$?
29367 grep -v '^ *+' conftest.er1 >conftest.err
29368 rm -f conftest.er1
29369 cat conftest.err >&5
29370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29371 (exit $ac_status); } && {
29372 test -z "$ac_c_werror_flag" ||
29373 test ! -s conftest.err
29374 } && test -s conftest$ac_exeext &&
29375 $as_test_x conftest$ac_exeext; then
29376 ac_cv_lib_nsl_gethostbyname=yes
29377 else
29378 echo "$as_me: failed program was:" >&5
29379 sed 's/^/| /' conftest.$ac_ext >&5
29380
29381 ac_cv_lib_nsl_gethostbyname=no
29382 fi
29383
29384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29385 conftest$ac_exeext conftest.$ac_ext
29386 LIBS=$ac_check_lib_save_LIBS
29387 fi
29388 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29389 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29390 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29391 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29392 fi
29393
29394 if test $ac_cv_lib_nsl_gethostbyname = no; then
29395 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29396 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29397 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29398 echo $ECHO_N "(cached) $ECHO_C" >&6
29399 else
29400 ac_check_lib_save_LIBS=$LIBS
29401 LIBS="-lbsd $LIBS"
29402 cat >conftest.$ac_ext <<_ACEOF
29403 /* confdefs.h. */
29404 _ACEOF
29405 cat confdefs.h >>conftest.$ac_ext
29406 cat >>conftest.$ac_ext <<_ACEOF
29407 /* end confdefs.h. */
29408
29409 /* Override any GCC internal prototype to avoid an error.
29410 Use char because int might match the return type of a GCC
29411 builtin and then its argument prototype would still apply. */
29412 #ifdef __cplusplus
29413 extern "C"
29414 #endif
29415 char gethostbyname ();
29416 int
29417 main ()
29418 {
29419 return gethostbyname ();
29420 ;
29421 return 0;
29422 }
29423 _ACEOF
29424 rm -f conftest.$ac_objext conftest$ac_exeext
29425 if { (ac_try="$ac_link"
29426 case "(($ac_try" in
29427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29428 *) ac_try_echo=$ac_try;;
29429 esac
29430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29431 (eval "$ac_link") 2>conftest.er1
29432 ac_status=$?
29433 grep -v '^ *+' conftest.er1 >conftest.err
29434 rm -f conftest.er1
29435 cat conftest.err >&5
29436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437 (exit $ac_status); } && {
29438 test -z "$ac_c_werror_flag" ||
29439 test ! -s conftest.err
29440 } && test -s conftest$ac_exeext &&
29441 $as_test_x conftest$ac_exeext; then
29442 ac_cv_lib_bsd_gethostbyname=yes
29443 else
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29446
29447 ac_cv_lib_bsd_gethostbyname=no
29448 fi
29449
29450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29451 conftest$ac_exeext conftest.$ac_ext
29452 LIBS=$ac_check_lib_save_LIBS
29453 fi
29454 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29455 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29456 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29457 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29458 fi
29459
29460 fi
29461 fi
29462
29463 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29464 # socket/setsockopt and other routines are undefined under SCO ODT
29465 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29466 # on later versions), says Simon Leinen: it contains gethostby*
29467 # variants that don't use the name server (or something). -lsocket
29468 # must be given before -lnsl if both are needed. We assume that
29469 # if connect needs -lnsl, so does gethostbyname.
29470 { echo "$as_me:$LINENO: checking for connect" >&5
29471 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29472 if test "${ac_cv_func_connect+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29474 else
29475 cat >conftest.$ac_ext <<_ACEOF
29476 /* confdefs.h. */
29477 _ACEOF
29478 cat confdefs.h >>conftest.$ac_ext
29479 cat >>conftest.$ac_ext <<_ACEOF
29480 /* end confdefs.h. */
29481 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29483 #define connect innocuous_connect
29484
29485 /* System header to define __stub macros and hopefully few prototypes,
29486 which can conflict with char connect (); below.
29487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29488 <limits.h> exists even on freestanding compilers. */
29489
29490 #ifdef __STDC__
29491 # include <limits.h>
29492 #else
29493 # include <assert.h>
29494 #endif
29495
29496 #undef connect
29497
29498 /* Override any GCC internal prototype to avoid an error.
29499 Use char because int might match the return type of a GCC
29500 builtin and then its argument prototype would still apply. */
29501 #ifdef __cplusplus
29502 extern "C"
29503 #endif
29504 char connect ();
29505 /* The GNU C library defines this for functions which it implements
29506 to always fail with ENOSYS. Some functions are actually named
29507 something starting with __ and the normal name is an alias. */
29508 #if defined __stub_connect || defined __stub___connect
29509 choke me
29510 #endif
29511
29512 int
29513 main ()
29514 {
29515 return connect ();
29516 ;
29517 return 0;
29518 }
29519 _ACEOF
29520 rm -f conftest.$ac_objext conftest$ac_exeext
29521 if { (ac_try="$ac_link"
29522 case "(($ac_try" in
29523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29524 *) ac_try_echo=$ac_try;;
29525 esac
29526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29527 (eval "$ac_link") 2>conftest.er1
29528 ac_status=$?
29529 grep -v '^ *+' conftest.er1 >conftest.err
29530 rm -f conftest.er1
29531 cat conftest.err >&5
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); } && {
29534 test -z "$ac_c_werror_flag" ||
29535 test ! -s conftest.err
29536 } && test -s conftest$ac_exeext &&
29537 $as_test_x conftest$ac_exeext; then
29538 ac_cv_func_connect=yes
29539 else
29540 echo "$as_me: failed program was:" >&5
29541 sed 's/^/| /' conftest.$ac_ext >&5
29542
29543 ac_cv_func_connect=no
29544 fi
29545
29546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29547 conftest$ac_exeext conftest.$ac_ext
29548 fi
29549 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29550 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29551
29552 if test $ac_cv_func_connect = no; then
29553 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29554 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29555 if test "${ac_cv_lib_socket_connect+set}" = set; then
29556 echo $ECHO_N "(cached) $ECHO_C" >&6
29557 else
29558 ac_check_lib_save_LIBS=$LIBS
29559 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29560 cat >conftest.$ac_ext <<_ACEOF
29561 /* confdefs.h. */
29562 _ACEOF
29563 cat confdefs.h >>conftest.$ac_ext
29564 cat >>conftest.$ac_ext <<_ACEOF
29565 /* end confdefs.h. */
29566
29567 /* Override any GCC internal prototype to avoid an error.
29568 Use char because int might match the return type of a GCC
29569 builtin and then its argument prototype would still apply. */
29570 #ifdef __cplusplus
29571 extern "C"
29572 #endif
29573 char connect ();
29574 int
29575 main ()
29576 {
29577 return connect ();
29578 ;
29579 return 0;
29580 }
29581 _ACEOF
29582 rm -f conftest.$ac_objext conftest$ac_exeext
29583 if { (ac_try="$ac_link"
29584 case "(($ac_try" in
29585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29586 *) ac_try_echo=$ac_try;;
29587 esac
29588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29589 (eval "$ac_link") 2>conftest.er1
29590 ac_status=$?
29591 grep -v '^ *+' conftest.er1 >conftest.err
29592 rm -f conftest.er1
29593 cat conftest.err >&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); } && {
29596 test -z "$ac_c_werror_flag" ||
29597 test ! -s conftest.err
29598 } && test -s conftest$ac_exeext &&
29599 $as_test_x conftest$ac_exeext; then
29600 ac_cv_lib_socket_connect=yes
29601 else
29602 echo "$as_me: failed program was:" >&5
29603 sed 's/^/| /' conftest.$ac_ext >&5
29604
29605 ac_cv_lib_socket_connect=no
29606 fi
29607
29608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29609 conftest$ac_exeext conftest.$ac_ext
29610 LIBS=$ac_check_lib_save_LIBS
29611 fi
29612 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29613 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29614 if test $ac_cv_lib_socket_connect = yes; then
29615 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29616 fi
29617
29618 fi
29619
29620 # Guillermo Gomez says -lposix is necessary on A/UX.
29621 { echo "$as_me:$LINENO: checking for remove" >&5
29622 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29623 if test "${ac_cv_func_remove+set}" = set; then
29624 echo $ECHO_N "(cached) $ECHO_C" >&6
29625 else
29626 cat >conftest.$ac_ext <<_ACEOF
29627 /* confdefs.h. */
29628 _ACEOF
29629 cat confdefs.h >>conftest.$ac_ext
29630 cat >>conftest.$ac_ext <<_ACEOF
29631 /* end confdefs.h. */
29632 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29634 #define remove innocuous_remove
29635
29636 /* System header to define __stub macros and hopefully few prototypes,
29637 which can conflict with char remove (); below.
29638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29639 <limits.h> exists even on freestanding compilers. */
29640
29641 #ifdef __STDC__
29642 # include <limits.h>
29643 #else
29644 # include <assert.h>
29645 #endif
29646
29647 #undef remove
29648
29649 /* Override any GCC internal prototype to avoid an error.
29650 Use char because int might match the return type of a GCC
29651 builtin and then its argument prototype would still apply. */
29652 #ifdef __cplusplus
29653 extern "C"
29654 #endif
29655 char remove ();
29656 /* The GNU C library defines this for functions which it implements
29657 to always fail with ENOSYS. Some functions are actually named
29658 something starting with __ and the normal name is an alias. */
29659 #if defined __stub_remove || defined __stub___remove
29660 choke me
29661 #endif
29662
29663 int
29664 main ()
29665 {
29666 return remove ();
29667 ;
29668 return 0;
29669 }
29670 _ACEOF
29671 rm -f conftest.$ac_objext conftest$ac_exeext
29672 if { (ac_try="$ac_link"
29673 case "(($ac_try" in
29674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29675 *) ac_try_echo=$ac_try;;
29676 esac
29677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29678 (eval "$ac_link") 2>conftest.er1
29679 ac_status=$?
29680 grep -v '^ *+' conftest.er1 >conftest.err
29681 rm -f conftest.er1
29682 cat conftest.err >&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); } && {
29685 test -z "$ac_c_werror_flag" ||
29686 test ! -s conftest.err
29687 } && test -s conftest$ac_exeext &&
29688 $as_test_x conftest$ac_exeext; then
29689 ac_cv_func_remove=yes
29690 else
29691 echo "$as_me: failed program was:" >&5
29692 sed 's/^/| /' conftest.$ac_ext >&5
29693
29694 ac_cv_func_remove=no
29695 fi
29696
29697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29698 conftest$ac_exeext conftest.$ac_ext
29699 fi
29700 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29701 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29702
29703 if test $ac_cv_func_remove = no; then
29704 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29705 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29706 if test "${ac_cv_lib_posix_remove+set}" = set; then
29707 echo $ECHO_N "(cached) $ECHO_C" >&6
29708 else
29709 ac_check_lib_save_LIBS=$LIBS
29710 LIBS="-lposix $LIBS"
29711 cat >conftest.$ac_ext <<_ACEOF
29712 /* confdefs.h. */
29713 _ACEOF
29714 cat confdefs.h >>conftest.$ac_ext
29715 cat >>conftest.$ac_ext <<_ACEOF
29716 /* end confdefs.h. */
29717
29718 /* Override any GCC internal prototype to avoid an error.
29719 Use char because int might match the return type of a GCC
29720 builtin and then its argument prototype would still apply. */
29721 #ifdef __cplusplus
29722 extern "C"
29723 #endif
29724 char remove ();
29725 int
29726 main ()
29727 {
29728 return remove ();
29729 ;
29730 return 0;
29731 }
29732 _ACEOF
29733 rm -f conftest.$ac_objext conftest$ac_exeext
29734 if { (ac_try="$ac_link"
29735 case "(($ac_try" in
29736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29737 *) ac_try_echo=$ac_try;;
29738 esac
29739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29740 (eval "$ac_link") 2>conftest.er1
29741 ac_status=$?
29742 grep -v '^ *+' conftest.er1 >conftest.err
29743 rm -f conftest.er1
29744 cat conftest.err >&5
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } && {
29747 test -z "$ac_c_werror_flag" ||
29748 test ! -s conftest.err
29749 } && test -s conftest$ac_exeext &&
29750 $as_test_x conftest$ac_exeext; then
29751 ac_cv_lib_posix_remove=yes
29752 else
29753 echo "$as_me: failed program was:" >&5
29754 sed 's/^/| /' conftest.$ac_ext >&5
29755
29756 ac_cv_lib_posix_remove=no
29757 fi
29758
29759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29760 conftest$ac_exeext conftest.$ac_ext
29761 LIBS=$ac_check_lib_save_LIBS
29762 fi
29763 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29764 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29765 if test $ac_cv_lib_posix_remove = yes; then
29766 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29767 fi
29768
29769 fi
29770
29771 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29772 { echo "$as_me:$LINENO: checking for shmat" >&5
29773 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29774 if test "${ac_cv_func_shmat+set}" = set; then
29775 echo $ECHO_N "(cached) $ECHO_C" >&6
29776 else
29777 cat >conftest.$ac_ext <<_ACEOF
29778 /* confdefs.h. */
29779 _ACEOF
29780 cat confdefs.h >>conftest.$ac_ext
29781 cat >>conftest.$ac_ext <<_ACEOF
29782 /* end confdefs.h. */
29783 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29785 #define shmat innocuous_shmat
29786
29787 /* System header to define __stub macros and hopefully few prototypes,
29788 which can conflict with char shmat (); below.
29789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29790 <limits.h> exists even on freestanding compilers. */
29791
29792 #ifdef __STDC__
29793 # include <limits.h>
29794 #else
29795 # include <assert.h>
29796 #endif
29797
29798 #undef shmat
29799
29800 /* Override any GCC internal prototype to avoid an error.
29801 Use char because int might match the return type of a GCC
29802 builtin and then its argument prototype would still apply. */
29803 #ifdef __cplusplus
29804 extern "C"
29805 #endif
29806 char shmat ();
29807 /* The GNU C library defines this for functions which it implements
29808 to always fail with ENOSYS. Some functions are actually named
29809 something starting with __ and the normal name is an alias. */
29810 #if defined __stub_shmat || defined __stub___shmat
29811 choke me
29812 #endif
29813
29814 int
29815 main ()
29816 {
29817 return shmat ();
29818 ;
29819 return 0;
29820 }
29821 _ACEOF
29822 rm -f conftest.$ac_objext conftest$ac_exeext
29823 if { (ac_try="$ac_link"
29824 case "(($ac_try" in
29825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29826 *) ac_try_echo=$ac_try;;
29827 esac
29828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29829 (eval "$ac_link") 2>conftest.er1
29830 ac_status=$?
29831 grep -v '^ *+' conftest.er1 >conftest.err
29832 rm -f conftest.er1
29833 cat conftest.err >&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); } && {
29836 test -z "$ac_c_werror_flag" ||
29837 test ! -s conftest.err
29838 } && test -s conftest$ac_exeext &&
29839 $as_test_x conftest$ac_exeext; then
29840 ac_cv_func_shmat=yes
29841 else
29842 echo "$as_me: failed program was:" >&5
29843 sed 's/^/| /' conftest.$ac_ext >&5
29844
29845 ac_cv_func_shmat=no
29846 fi
29847
29848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29849 conftest$ac_exeext conftest.$ac_ext
29850 fi
29851 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29852 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29853
29854 if test $ac_cv_func_shmat = no; then
29855 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29856 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29857 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29858 echo $ECHO_N "(cached) $ECHO_C" >&6
29859 else
29860 ac_check_lib_save_LIBS=$LIBS
29861 LIBS="-lipc $LIBS"
29862 cat >conftest.$ac_ext <<_ACEOF
29863 /* confdefs.h. */
29864 _ACEOF
29865 cat confdefs.h >>conftest.$ac_ext
29866 cat >>conftest.$ac_ext <<_ACEOF
29867 /* end confdefs.h. */
29868
29869 /* Override any GCC internal prototype to avoid an error.
29870 Use char because int might match the return type of a GCC
29871 builtin and then its argument prototype would still apply. */
29872 #ifdef __cplusplus
29873 extern "C"
29874 #endif
29875 char shmat ();
29876 int
29877 main ()
29878 {
29879 return shmat ();
29880 ;
29881 return 0;
29882 }
29883 _ACEOF
29884 rm -f conftest.$ac_objext conftest$ac_exeext
29885 if { (ac_try="$ac_link"
29886 case "(($ac_try" in
29887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29888 *) ac_try_echo=$ac_try;;
29889 esac
29890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29891 (eval "$ac_link") 2>conftest.er1
29892 ac_status=$?
29893 grep -v '^ *+' conftest.er1 >conftest.err
29894 rm -f conftest.er1
29895 cat conftest.err >&5
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); } && {
29898 test -z "$ac_c_werror_flag" ||
29899 test ! -s conftest.err
29900 } && test -s conftest$ac_exeext &&
29901 $as_test_x conftest$ac_exeext; then
29902 ac_cv_lib_ipc_shmat=yes
29903 else
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29906
29907 ac_cv_lib_ipc_shmat=no
29908 fi
29909
29910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29911 conftest$ac_exeext conftest.$ac_ext
29912 LIBS=$ac_check_lib_save_LIBS
29913 fi
29914 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29915 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29916 if test $ac_cv_lib_ipc_shmat = yes; then
29917 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29918 fi
29919
29920 fi
29921 fi
29922
29923 # Check for libraries that X11R6 Xt/Xaw programs need.
29924 ac_save_LDFLAGS=$LDFLAGS
29925 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29926 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29927 # check for ICE first), but we must link in the order -lSM -lICE or
29928 # we get undefined symbols. So assume we have SM if we have ICE.
29929 # These have to be linked with before -lX11, unlike the other
29930 # libraries we check for below, so use a different variable.
29931 # John Interrante, Karl Berry
29932 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29933 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29934 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29935 echo $ECHO_N "(cached) $ECHO_C" >&6
29936 else
29937 ac_check_lib_save_LIBS=$LIBS
29938 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29939 cat >conftest.$ac_ext <<_ACEOF
29940 /* confdefs.h. */
29941 _ACEOF
29942 cat confdefs.h >>conftest.$ac_ext
29943 cat >>conftest.$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29945
29946 /* Override any GCC internal prototype to avoid an error.
29947 Use char because int might match the return type of a GCC
29948 builtin and then its argument prototype would still apply. */
29949 #ifdef __cplusplus
29950 extern "C"
29951 #endif
29952 char IceConnectionNumber ();
29953 int
29954 main ()
29955 {
29956 return IceConnectionNumber ();
29957 ;
29958 return 0;
29959 }
29960 _ACEOF
29961 rm -f conftest.$ac_objext conftest$ac_exeext
29962 if { (ac_try="$ac_link"
29963 case "(($ac_try" in
29964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29965 *) ac_try_echo=$ac_try;;
29966 esac
29967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29968 (eval "$ac_link") 2>conftest.er1
29969 ac_status=$?
29970 grep -v '^ *+' conftest.er1 >conftest.err
29971 rm -f conftest.er1
29972 cat conftest.err >&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); } && {
29975 test -z "$ac_c_werror_flag" ||
29976 test ! -s conftest.err
29977 } && test -s conftest$ac_exeext &&
29978 $as_test_x conftest$ac_exeext; then
29979 ac_cv_lib_ICE_IceConnectionNumber=yes
29980 else
29981 echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.$ac_ext >&5
29983
29984 ac_cv_lib_ICE_IceConnectionNumber=no
29985 fi
29986
29987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29988 conftest$ac_exeext conftest.$ac_ext
29989 LIBS=$ac_check_lib_save_LIBS
29990 fi
29991 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29992 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29993 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29994 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29995 fi
29996
29997 LDFLAGS=$ac_save_LDFLAGS
29998
29999 fi
30000
30001
30002 if test "$no_x" = "yes"; then
30003 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30004 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30005 { (exit 1); exit 1; }; }
30006 fi
30007
30008 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30009 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30010 AFMINSTALL=afminstall
30011 COMPILED_X_PROGRAM=0
30012
30013 fi
30014
30015 if test "$wxUSE_X11" = 1; then
30016 if test "$wxUSE_NANOX" = "yes"; then
30017 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30018 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30019 if test "x$MICROWIN" = x ; then
30020 { echo "$as_me:$LINENO: result: not found" >&5
30021 echo "${ECHO_T}not found" >&6; }
30022 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30023 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30024 { (exit 1); exit 1; }; }
30025 else
30026 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30027 echo "${ECHO_T}$MICROWIN" >&6; }
30028 cat >>confdefs.h <<\_ACEOF
30029 #define wxUSE_NANOX 1
30030 _ACEOF
30031
30032 fi
30033 fi
30034
30035 if test "$wxUSE_UNICODE" = "yes"; then
30036
30037
30038 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30039 if test -n "$ac_tool_prefix"; then
30040 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30041 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30044 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30045 echo $ECHO_N "(cached) $ECHO_C" >&6
30046 else
30047 case $PKG_CONFIG in
30048 [\\/]* | ?:[\\/]*)
30049 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30050 ;;
30051 *)
30052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30053 for as_dir in $PATH
30054 do
30055 IFS=$as_save_IFS
30056 test -z "$as_dir" && as_dir=.
30057 for ac_exec_ext in '' $ac_executable_extensions; do
30058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30059 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30061 break 2
30062 fi
30063 done
30064 done
30065 IFS=$as_save_IFS
30066
30067 ;;
30068 esac
30069 fi
30070 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30071 if test -n "$PKG_CONFIG"; then
30072 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30073 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30074 else
30075 { echo "$as_me:$LINENO: result: no" >&5
30076 echo "${ECHO_T}no" >&6; }
30077 fi
30078
30079
30080 fi
30081 if test -z "$ac_cv_path_PKG_CONFIG"; then
30082 ac_pt_PKG_CONFIG=$PKG_CONFIG
30083 # Extract the first word of "pkg-config", so it can be a program name with args.
30084 set dummy pkg-config; ac_word=$2
30085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30087 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30088 echo $ECHO_N "(cached) $ECHO_C" >&6
30089 else
30090 case $ac_pt_PKG_CONFIG in
30091 [\\/]* | ?:[\\/]*)
30092 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30093 ;;
30094 *)
30095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30096 for as_dir in $PATH
30097 do
30098 IFS=$as_save_IFS
30099 test -z "$as_dir" && as_dir=.
30100 for ac_exec_ext in '' $ac_executable_extensions; do
30101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30102 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30104 break 2
30105 fi
30106 done
30107 done
30108 IFS=$as_save_IFS
30109
30110 ;;
30111 esac
30112 fi
30113 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30114 if test -n "$ac_pt_PKG_CONFIG"; then
30115 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30116 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30117 else
30118 { echo "$as_me:$LINENO: result: no" >&5
30119 echo "${ECHO_T}no" >&6; }
30120 fi
30121
30122 if test "x$ac_pt_PKG_CONFIG" = x; then
30123 PKG_CONFIG=""
30124 else
30125 case $cross_compiling:$ac_tool_warned in
30126 yes:)
30127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30128 whose name does not start with the host triplet. If you think this
30129 configuration is useful to you, please write to autoconf@gnu.org." >&5
30130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30131 whose name does not start with the host triplet. If you think this
30132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30133 ac_tool_warned=yes ;;
30134 esac
30135 PKG_CONFIG=$ac_pt_PKG_CONFIG
30136 fi
30137 else
30138 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30139 fi
30140
30141 fi
30142 if test -n "$PKG_CONFIG"; then
30143 _pkg_min_version=0.9.0
30144 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30145 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30146 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30147 { echo "$as_me:$LINENO: result: yes" >&5
30148 echo "${ECHO_T}yes" >&6; }
30149 else
30150 { echo "$as_me:$LINENO: result: no" >&5
30151 echo "${ECHO_T}no" >&6; }
30152 PKG_CONFIG=""
30153 fi
30154
30155 fi
30156
30157
30158 pkg_failed=no
30159 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30160 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30161
30162 if test -n "$PKG_CONFIG"; then
30163 if test -n "$PANGOX_CFLAGS"; then
30164 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30165 else
30166 if test -n "$PKG_CONFIG" && \
30167 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30168 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30169 ac_status=$?
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; then
30172 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30173 else
30174 pkg_failed=yes
30175 fi
30176 fi
30177 else
30178 pkg_failed=untried
30179 fi
30180 if test -n "$PKG_CONFIG"; then
30181 if test -n "$PANGOX_LIBS"; then
30182 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30183 else
30184 if test -n "$PKG_CONFIG" && \
30185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30186 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30187 ac_status=$?
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; then
30190 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30191 else
30192 pkg_failed=yes
30193 fi
30194 fi
30195 else
30196 pkg_failed=untried
30197 fi
30198
30199
30200
30201 if test $pkg_failed = yes; then
30202
30203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30204 _pkg_short_errors_supported=yes
30205 else
30206 _pkg_short_errors_supported=no
30207 fi
30208 if test $_pkg_short_errors_supported = yes; then
30209 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30210 else
30211 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30212 fi
30213 # Put the nasty error message in config.log where it belongs
30214 echo "$PANGOX_PKG_ERRORS" >&5
30215
30216
30217 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30218 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30219 { (exit 1); exit 1; }; }
30220
30221
30222 elif test $pkg_failed = untried; then
30223
30224 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30225 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30226 { (exit 1); exit 1; }; }
30227
30228
30229 else
30230 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30231 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30232 { echo "$as_me:$LINENO: result: yes" >&5
30233 echo "${ECHO_T}yes" >&6; }
30234
30235 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30236 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30237 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30238
30239 fi
30240
30241 pkg_failed=no
30242 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30243 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30244
30245 if test -n "$PKG_CONFIG"; then
30246 if test -n "$PANGOFT2_CFLAGS"; then
30247 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30248 else
30249 if test -n "$PKG_CONFIG" && \
30250 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30251 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30252 ac_status=$?
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); }; then
30255 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30256 else
30257 pkg_failed=yes
30258 fi
30259 fi
30260 else
30261 pkg_failed=untried
30262 fi
30263 if test -n "$PKG_CONFIG"; then
30264 if test -n "$PANGOFT2_LIBS"; then
30265 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30266 else
30267 if test -n "$PKG_CONFIG" && \
30268 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30269 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30270 ac_status=$?
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); }; then
30273 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30274 else
30275 pkg_failed=yes
30276 fi
30277 fi
30278 else
30279 pkg_failed=untried
30280 fi
30281
30282
30283
30284 if test $pkg_failed = yes; then
30285
30286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30287 _pkg_short_errors_supported=yes
30288 else
30289 _pkg_short_errors_supported=no
30290 fi
30291 if test $_pkg_short_errors_supported = yes; then
30292 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30293 else
30294 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30295 fi
30296 # Put the nasty error message in config.log where it belongs
30297 echo "$PANGOFT2_PKG_ERRORS" >&5
30298
30299
30300 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30301 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30302 wxUSE_PRINTING_ARCHITECTURE="no"
30303
30304
30305 elif test $pkg_failed = untried; then
30306
30307 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30308 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30309 wxUSE_PRINTING_ARCHITECTURE="no"
30310
30311
30312 else
30313 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30314 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30315 { echo "$as_me:$LINENO: result: yes" >&5
30316 echo "${ECHO_T}yes" >&6; }
30317
30318 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30319 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30320 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30321
30322 fi
30323
30324 pkg_failed=no
30325 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30326 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30327
30328 if test -n "$PKG_CONFIG"; then
30329 if test -n "$PANGOXFT_CFLAGS"; then
30330 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30331 else
30332 if test -n "$PKG_CONFIG" && \
30333 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30334 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30335 ac_status=$?
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; then
30338 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30339 else
30340 pkg_failed=yes
30341 fi
30342 fi
30343 else
30344 pkg_failed=untried
30345 fi
30346 if test -n "$PKG_CONFIG"; then
30347 if test -n "$PANGOXFT_LIBS"; then
30348 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30349 else
30350 if test -n "$PKG_CONFIG" && \
30351 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30352 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30353 ac_status=$?
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; then
30356 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30357 else
30358 pkg_failed=yes
30359 fi
30360 fi
30361 else
30362 pkg_failed=untried
30363 fi
30364
30365
30366
30367 if test $pkg_failed = yes; then
30368
30369 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30370 _pkg_short_errors_supported=yes
30371 else
30372 _pkg_short_errors_supported=no
30373 fi
30374 if test $_pkg_short_errors_supported = yes; then
30375 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30376 else
30377 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30378 fi
30379 # Put the nasty error message in config.log where it belongs
30380 echo "$PANGOXFT_PKG_ERRORS" >&5
30381
30382
30383 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30384 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30385
30386
30387 elif test $pkg_failed = untried; then
30388
30389 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30390 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30391
30392
30393 else
30394 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30395 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30396 { echo "$as_me:$LINENO: result: yes" >&5
30397 echo "${ECHO_T}yes" >&6; }
30398
30399 cat >>confdefs.h <<\_ACEOF
30400 #define HAVE_PANGO_XFT 1
30401 _ACEOF
30402
30403 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30404 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30405 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30406
30407 fi
30408 save_LIBS="$LIBS"
30409 LIBS="$LIBS $PANGOX_LIBS"
30410
30411 for ac_func in pango_font_family_is_monospace
30412 do
30413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30414 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30416 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 else
30419 cat >conftest.$ac_ext <<_ACEOF
30420 /* confdefs.h. */
30421 _ACEOF
30422 cat confdefs.h >>conftest.$ac_ext
30423 cat >>conftest.$ac_ext <<_ACEOF
30424 /* end confdefs.h. */
30425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30427 #define $ac_func innocuous_$ac_func
30428
30429 /* System header to define __stub macros and hopefully few prototypes,
30430 which can conflict with char $ac_func (); below.
30431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30432 <limits.h> exists even on freestanding compilers. */
30433
30434 #ifdef __STDC__
30435 # include <limits.h>
30436 #else
30437 # include <assert.h>
30438 #endif
30439
30440 #undef $ac_func
30441
30442 /* Override any GCC internal prototype to avoid an error.
30443 Use char because int might match the return type of a GCC
30444 builtin and then its argument prototype would still apply. */
30445 #ifdef __cplusplus
30446 extern "C"
30447 #endif
30448 char $ac_func ();
30449 /* The GNU C library defines this for functions which it implements
30450 to always fail with ENOSYS. Some functions are actually named
30451 something starting with __ and the normal name is an alias. */
30452 #if defined __stub_$ac_func || defined __stub___$ac_func
30453 choke me
30454 #endif
30455
30456 int
30457 main ()
30458 {
30459 return $ac_func ();
30460 ;
30461 return 0;
30462 }
30463 _ACEOF
30464 rm -f conftest.$ac_objext conftest$ac_exeext
30465 if { (ac_try="$ac_link"
30466 case "(($ac_try" in
30467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30468 *) ac_try_echo=$ac_try;;
30469 esac
30470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30471 (eval "$ac_link") 2>conftest.er1
30472 ac_status=$?
30473 grep -v '^ *+' conftest.er1 >conftest.err
30474 rm -f conftest.er1
30475 cat conftest.err >&5
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); } && {
30478 test -z "$ac_c_werror_flag" ||
30479 test ! -s conftest.err
30480 } && test -s conftest$ac_exeext &&
30481 $as_test_x conftest$ac_exeext; then
30482 eval "$as_ac_var=yes"
30483 else
30484 echo "$as_me: failed program was:" >&5
30485 sed 's/^/| /' conftest.$ac_ext >&5
30486
30487 eval "$as_ac_var=no"
30488 fi
30489
30490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30491 conftest$ac_exeext conftest.$ac_ext
30492 fi
30493 ac_res=`eval echo '${'$as_ac_var'}'`
30494 { echo "$as_me:$LINENO: result: $ac_res" >&5
30495 echo "${ECHO_T}$ac_res" >&6; }
30496 if test `eval echo '${'$as_ac_var'}'` = yes; then
30497 cat >>confdefs.h <<_ACEOF
30498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30499 _ACEOF
30500
30501 fi
30502 done
30503
30504 LIBS="$save_LIBS"
30505 fi
30506
30507 wxUSE_UNIVERSAL="yes"
30508
30509 if test "$wxUSE_NANOX" = "yes"; then
30510 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30511 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"
30512 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30513 else
30514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30515 fi
30516
30517 TOOLKIT=X11
30518 GUIDIST=X11_DIST
30519 fi
30520
30521 if test "$wxUSE_MOTIF" = 1; then
30522 if test "$wxUSE_UNICODE" = "yes"; then
30523 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30524 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30525 { (exit 1); exit 1; }; }
30526 fi
30527
30528 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30529 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30530
30531 ac_find_includes=
30532 for ac_dir in $SEARCH_INCLUDE /usr/include;
30533 do
30534 if test -f "$ac_dir/Xm/Xm.h"; then
30535 ac_find_includes=$ac_dir
30536 break
30537 fi
30538 done
30539
30540 if test "$ac_find_includes" != "" ; then
30541 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30542 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30543
30544 if test "x$ac_find_includes" = "x/usr/include"; then
30545 ac_path_to_include=""
30546 else
30547 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30548 result=$?
30549 if test $result = 0; then
30550 ac_path_to_include=""
30551 else
30552 ac_path_to_include=" -I$ac_find_includes"
30553 fi
30554 fi
30555
30556 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30557 else
30558 save_CFLAGS=$CFLAGS
30559 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30560
30561 cat >conftest.$ac_ext <<_ACEOF
30562 /* confdefs.h. */
30563 _ACEOF
30564 cat confdefs.h >>conftest.$ac_ext
30565 cat >>conftest.$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30567
30568 #include <Xm/Xm.h>
30569
30570 int
30571 main ()
30572 {
30573
30574 int version;
30575 version = xmUseVersion;
30576
30577 ;
30578 return 0;
30579 }
30580 _ACEOF
30581 rm -f conftest.$ac_objext
30582 if { (ac_try="$ac_compile"
30583 case "(($ac_try" in
30584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30585 *) ac_try_echo=$ac_try;;
30586 esac
30587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30588 (eval "$ac_compile") 2>conftest.er1
30589 ac_status=$?
30590 grep -v '^ *+' conftest.er1 >conftest.err
30591 rm -f conftest.er1
30592 cat conftest.err >&5
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); } && {
30595 test -z "$ac_c_werror_flag" ||
30596 test ! -s conftest.err
30597 } && test -s conftest.$ac_objext; then
30598
30599 { echo "$as_me:$LINENO: result: found in default search path" >&5
30600 echo "${ECHO_T}found in default search path" >&6; }
30601 COMPILED_X_PROGRAM=1
30602
30603 else
30604 echo "$as_me: failed program was:" >&5
30605 sed 's/^/| /' conftest.$ac_ext >&5
30606
30607
30608 { echo "$as_me:$LINENO: result: no" >&5
30609 echo "${ECHO_T}no" >&6; }
30610 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30611 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30612 { (exit 1); exit 1; }; }
30613
30614
30615 fi
30616
30617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30618
30619 CFLAGS=$save_CFLAGS
30620 fi
30621
30622
30623 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30624 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30625
30626 ac_find_libraries=
30627 for ac_dir in $SEARCH_LIB;
30628 do
30629 for ac_extension in a so sl dylib dll.a; do
30630 if test -f "$ac_dir/libXm.$ac_extension"; then
30631 ac_find_libraries=$ac_dir
30632 break 2
30633 fi
30634 done
30635 done
30636
30637
30638 if test "x$ac_find_libraries" != "x" ; then
30639 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30640 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30641
30642
30643 if test "$ac_find_libraries" = "default location"; then
30644 ac_path_to_link=""
30645 else
30646 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30647 result=$?
30648 if test $result = 0; then
30649 ac_path_to_link=""
30650 else
30651 ac_path_to_link=" -L$ac_find_libraries"
30652 fi
30653 fi
30654
30655 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30656 else
30657 save_CFLAGS=$CFLAGS
30658 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30659 save_LIBS="$LIBS"
30660 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30661
30662 cat >conftest.$ac_ext <<_ACEOF
30663 /* confdefs.h. */
30664 _ACEOF
30665 cat confdefs.h >>conftest.$ac_ext
30666 cat >>conftest.$ac_ext <<_ACEOF
30667 /* end confdefs.h. */
30668
30669 #include <Xm/Xm.h>
30670
30671 int
30672 main ()
30673 {
30674
30675 int version;
30676 version = xmUseVersion;
30677
30678 ;
30679 return 0;
30680 }
30681 _ACEOF
30682 rm -f conftest.$ac_objext conftest$ac_exeext
30683 if { (ac_try="$ac_link"
30684 case "(($ac_try" in
30685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30686 *) ac_try_echo=$ac_try;;
30687 esac
30688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30689 (eval "$ac_link") 2>conftest.er1
30690 ac_status=$?
30691 grep -v '^ *+' conftest.er1 >conftest.err
30692 rm -f conftest.er1
30693 cat conftest.err >&5
30694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 (exit $ac_status); } && {
30696 test -z "$ac_c_werror_flag" ||
30697 test ! -s conftest.err
30698 } && test -s conftest$ac_exeext &&
30699 $as_test_x conftest$ac_exeext; then
30700
30701 { echo "$as_me:$LINENO: result: found in default search path" >&5
30702 echo "${ECHO_T}found in default search path" >&6; }
30703 COMPILED_X_PROGRAM=1
30704
30705 else
30706 echo "$as_me: failed program was:" >&5
30707 sed 's/^/| /' conftest.$ac_ext >&5
30708
30709
30710 { echo "$as_me:$LINENO: result: no" >&5
30711 echo "${ECHO_T}no" >&6; }
30712 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30713 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30714 { (exit 1); exit 1; }; }
30715
30716
30717 fi
30718
30719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30720 conftest$ac_exeext conftest.$ac_ext
30721
30722 CFLAGS=$save_CFLAGS
30723 LIBS="$save_LIBS"
30724 fi
30725
30726 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30727 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30728 libp_link=""
30729 libsm_ice_link=""
30730 libs_found=0
30731 for libp in "" " -lXp"; do
30732 if test "$libs_found" = "0"; then
30733 for libsm_ice in "" " -lSM -lICE"; do
30734 if test "$libs_found" = "0"; then
30735 save_LIBS="$LIBS"
30736 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30737 save_CFLAGS=$CFLAGS
30738 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30739
30740 cat >conftest.$ac_ext <<_ACEOF
30741 /* confdefs.h. */
30742 _ACEOF
30743 cat confdefs.h >>conftest.$ac_ext
30744 cat >>conftest.$ac_ext <<_ACEOF
30745 /* end confdefs.h. */
30746
30747 #include <Xm/Xm.h>
30748 #include <Xm/List.h>
30749
30750 int
30751 main ()
30752 {
30753
30754 XmString string = NULL;
30755 Widget w = NULL;
30756 int position = 0;
30757 XmListAddItem(w, string, position);
30758
30759 ;
30760 return 0;
30761 }
30762 _ACEOF
30763 rm -f conftest.$ac_objext conftest$ac_exeext
30764 if { (ac_try="$ac_link"
30765 case "(($ac_try" in
30766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30767 *) ac_try_echo=$ac_try;;
30768 esac
30769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30770 (eval "$ac_link") 2>conftest.er1
30771 ac_status=$?
30772 grep -v '^ *+' conftest.er1 >conftest.err
30773 rm -f conftest.er1
30774 cat conftest.err >&5
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); } && {
30777 test -z "$ac_c_werror_flag" ||
30778 test ! -s conftest.err
30779 } && test -s conftest$ac_exeext &&
30780 $as_test_x conftest$ac_exeext; then
30781
30782 libp_link="$libp"
30783 libsm_ice_link="$libsm_ice"
30784 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30785 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30786 libs_found=1
30787
30788 else
30789 echo "$as_me: failed program was:" >&5
30790 sed 's/^/| /' conftest.$ac_ext >&5
30791
30792
30793
30794 fi
30795
30796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30797 conftest$ac_exeext conftest.$ac_ext
30798
30799 LIBS="$save_LIBS"
30800 CFLAGS=$save_CFLAGS
30801 fi
30802 done
30803 fi
30804 done
30805
30806 if test "$libs_found" = "0"; then
30807 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30808 echo "${ECHO_T}can't find the right libraries" >&6; }
30809 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30810 echo "$as_me: error: can't link a simple motif program" >&2;}
30811 { (exit 1); exit 1; }; }
30812 fi
30813
30814 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30815 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30816 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30817 echo $ECHO_N "(cached) $ECHO_C" >&6
30818 else
30819 ac_check_lib_save_LIBS=$LIBS
30820 LIBS="-lSgm $LIBS"
30821 cat >conftest.$ac_ext <<_ACEOF
30822 /* confdefs.h. */
30823 _ACEOF
30824 cat confdefs.h >>conftest.$ac_ext
30825 cat >>conftest.$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30827
30828 /* Override any GCC internal prototype to avoid an error.
30829 Use char because int might match the return type of a GCC
30830 builtin and then its argument prototype would still apply. */
30831 #ifdef __cplusplus
30832 extern "C"
30833 #endif
30834 char SgCreateList ();
30835 int
30836 main ()
30837 {
30838 return SgCreateList ();
30839 ;
30840 return 0;
30841 }
30842 _ACEOF
30843 rm -f conftest.$ac_objext conftest$ac_exeext
30844 if { (ac_try="$ac_link"
30845 case "(($ac_try" in
30846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30847 *) ac_try_echo=$ac_try;;
30848 esac
30849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30850 (eval "$ac_link") 2>conftest.er1
30851 ac_status=$?
30852 grep -v '^ *+' conftest.er1 >conftest.err
30853 rm -f conftest.er1
30854 cat conftest.err >&5
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); } && {
30857 test -z "$ac_c_werror_flag" ||
30858 test ! -s conftest.err
30859 } && test -s conftest$ac_exeext &&
30860 $as_test_x conftest$ac_exeext; then
30861 ac_cv_lib_Sgm_SgCreateList=yes
30862 else
30863 echo "$as_me: failed program was:" >&5
30864 sed 's/^/| /' conftest.$ac_ext >&5
30865
30866 ac_cv_lib_Sgm_SgCreateList=no
30867 fi
30868
30869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30870 conftest$ac_exeext conftest.$ac_ext
30871 LIBS=$ac_check_lib_save_LIBS
30872 fi
30873 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30874 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30875 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30876 libsgm_link=" -lSgm"
30877 fi
30878
30879
30880 save_CFLAGS=$CFLAGS
30881 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30882
30883 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30884 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30885 if test "${wx_cv_lib_motif2+set}" = set; then
30886 echo $ECHO_N "(cached) $ECHO_C" >&6
30887 else
30888 cat >conftest.$ac_ext <<_ACEOF
30889 /* confdefs.h. */
30890 _ACEOF
30891 cat confdefs.h >>conftest.$ac_ext
30892 cat >>conftest.$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30894
30895 #include <Xm/Xm.h>
30896
30897 int
30898 main ()
30899 {
30900
30901 #if XmVersion < 2000
30902 Not Motif 2
30903 #endif
30904
30905 ;
30906 return 0;
30907 }
30908 _ACEOF
30909 rm -f conftest.$ac_objext
30910 if { (ac_try="$ac_compile"
30911 case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30913 *) ac_try_echo=$ac_try;;
30914 esac
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_compile") 2>conftest.er1
30917 ac_status=$?
30918 grep -v '^ *+' conftest.er1 >conftest.err
30919 rm -f conftest.er1
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } && {
30923 test -z "$ac_c_werror_flag" ||
30924 test ! -s conftest.err
30925 } && test -s conftest.$ac_objext; then
30926 wx_cv_lib_motif2="yes"
30927 else
30928 echo "$as_me: failed program was:" >&5
30929 sed 's/^/| /' conftest.$ac_ext >&5
30930
30931 wx_cv_lib_motif2="no"
30932 fi
30933
30934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30935 fi
30936 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30937 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30938 if test "$wx_cv_lib_motif2" = "yes"; then
30939 cat >>confdefs.h <<\_ACEOF
30940 #define __WXMOTIF20__ 1
30941 _ACEOF
30942
30943 else
30944 cat >>confdefs.h <<\_ACEOF
30945 #define __WXMOTIF20__ 0
30946 _ACEOF
30947
30948 fi
30949
30950 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30951 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30952 if test "${wx_cv_lib_lesstif+set}" = set; then
30953 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 else
30955 cat >conftest.$ac_ext <<_ACEOF
30956 /* confdefs.h. */
30957 _ACEOF
30958 cat confdefs.h >>conftest.$ac_ext
30959 cat >>conftest.$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30961
30962 #include <Xm/Xm.h>
30963
30964 int
30965 main ()
30966 {
30967
30968 #if !defined(LesstifVersion) || LesstifVersion <= 0
30969 Not Lesstif
30970 #endif
30971
30972 ;
30973 return 0;
30974 }
30975 _ACEOF
30976 rm -f conftest.$ac_objext
30977 if { (ac_try="$ac_compile"
30978 case "(($ac_try" in
30979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30980 *) ac_try_echo=$ac_try;;
30981 esac
30982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30983 (eval "$ac_compile") 2>conftest.er1
30984 ac_status=$?
30985 grep -v '^ *+' conftest.er1 >conftest.err
30986 rm -f conftest.er1
30987 cat conftest.err >&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); } && {
30990 test -z "$ac_c_werror_flag" ||
30991 test ! -s conftest.err
30992 } && test -s conftest.$ac_objext; then
30993 wx_cv_lib_lesstif="yes"
30994 else
30995 echo "$as_me: failed program was:" >&5
30996 sed 's/^/| /' conftest.$ac_ext >&5
30997
30998 wx_cv_lib_lesstif="no"
30999 fi
31000
31001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31002
31003 fi
31004 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31005 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31006 if test "$wx_cv_lib_lesstif" = "yes"; then
31007 cat >>confdefs.h <<\_ACEOF
31008 #define __WXLESSTIF__ 1
31009 _ACEOF
31010
31011 else
31012 cat >>confdefs.h <<\_ACEOF
31013 #define __WXLESSTIF__ 0
31014 _ACEOF
31015
31016 fi
31017
31018 CFLAGS=$save_CFLAGS
31019
31020 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31021 TOOLKIT=MOTIF
31022 GUIDIST=MOTIF_DIST
31023 fi
31024
31025 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31026 if test "$wxUSE_LIBXPM" = "sys"; then
31027 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31028 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31029
31030 ac_find_libraries=
31031 for ac_dir in $SEARCH_LIB;
31032 do
31033 for ac_extension in a so sl dylib dll.a; do
31034 if test -f "$ac_dir/libXpm.$ac_extension"; then
31035 ac_find_libraries=$ac_dir
31036 break 2
31037 fi
31038 done
31039 done
31040
31041 if test "$ac_find_libraries" != "" ; then
31042
31043 if test "$ac_find_libraries" = "default location"; then
31044 ac_path_to_link=""
31045 else
31046 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31047 result=$?
31048 if test $result = 0; then
31049 ac_path_to_link=""
31050 else
31051 ac_path_to_link=" -L$ac_find_libraries"
31052 fi
31053 fi
31054
31055 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31056 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31057 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31058
31059 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31060 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31061 if test "${wx_cv_x11_xpm_h+set}" = set; then
31062 echo $ECHO_N "(cached) $ECHO_C" >&6
31063 else
31064
31065 save_CFLAGS=$CFLAGS
31066 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31067
31068 cat >conftest.$ac_ext <<_ACEOF
31069 /* confdefs.h. */
31070 _ACEOF
31071 cat confdefs.h >>conftest.$ac_ext
31072 cat >>conftest.$ac_ext <<_ACEOF
31073 /* end confdefs.h. */
31074
31075 #include <X11/xpm.h>
31076
31077 int
31078 main ()
31079 {
31080
31081 int version;
31082 version = XpmLibraryVersion();
31083
31084 ;
31085 return 0;
31086 }
31087 _ACEOF
31088 rm -f conftest.$ac_objext
31089 if { (ac_try="$ac_compile"
31090 case "(($ac_try" in
31091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31092 *) ac_try_echo=$ac_try;;
31093 esac
31094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31095 (eval "$ac_compile") 2>conftest.er1
31096 ac_status=$?
31097 grep -v '^ *+' conftest.er1 >conftest.err
31098 rm -f conftest.er1
31099 cat conftest.err >&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); } && {
31102 test -z "$ac_c_werror_flag" ||
31103 test ! -s conftest.err
31104 } && test -s conftest.$ac_objext; then
31105 wx_cv_x11_xpm_h=yes
31106 else
31107 echo "$as_me: failed program was:" >&5
31108 sed 's/^/| /' conftest.$ac_ext >&5
31109
31110 wx_cv_x11_xpm_h=no
31111
31112 fi
31113
31114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31115
31116 CFLAGS=$save_CFLAGS
31117
31118
31119 fi
31120 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31121 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31122
31123 if test $wx_cv_x11_xpm_h = "yes"; then
31124 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31125 cat >>confdefs.h <<\_ACEOF
31126 #define wxHAVE_LIB_XPM 1
31127 _ACEOF
31128
31129 else
31130 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31131 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31132 fi
31133 fi
31134
31135 fi
31136
31137 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31138 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31139 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31140 echo $ECHO_N "(cached) $ECHO_C" >&6
31141 else
31142 ac_check_lib_save_LIBS=$LIBS
31143 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31144 cat >conftest.$ac_ext <<_ACEOF
31145 /* confdefs.h. */
31146 _ACEOF
31147 cat confdefs.h >>conftest.$ac_ext
31148 cat >>conftest.$ac_ext <<_ACEOF
31149 /* end confdefs.h. */
31150
31151 /* Override any GCC internal prototype to avoid an error.
31152 Use char because int might match the return type of a GCC
31153 builtin and then its argument prototype would still apply. */
31154 #ifdef __cplusplus
31155 extern "C"
31156 #endif
31157 char XShapeQueryExtension ();
31158 int
31159 main ()
31160 {
31161 return XShapeQueryExtension ();
31162 ;
31163 return 0;
31164 }
31165 _ACEOF
31166 rm -f conftest.$ac_objext conftest$ac_exeext
31167 if { (ac_try="$ac_link"
31168 case "(($ac_try" in
31169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31170 *) ac_try_echo=$ac_try;;
31171 esac
31172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31173 (eval "$ac_link") 2>conftest.er1
31174 ac_status=$?
31175 grep -v '^ *+' conftest.er1 >conftest.err
31176 rm -f conftest.er1
31177 cat conftest.err >&5
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); } && {
31180 test -z "$ac_c_werror_flag" ||
31181 test ! -s conftest.err
31182 } && test -s conftest$ac_exeext &&
31183 $as_test_x conftest$ac_exeext; then
31184 ac_cv_lib_Xext_XShapeQueryExtension=yes
31185 else
31186 echo "$as_me: failed program was:" >&5
31187 sed 's/^/| /' conftest.$ac_ext >&5
31188
31189 ac_cv_lib_Xext_XShapeQueryExtension=no
31190 fi
31191
31192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31193 conftest$ac_exeext conftest.$ac_ext
31194 LIBS=$ac_check_lib_save_LIBS
31195 fi
31196 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31197 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31198 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31199
31200 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31201 wxHAVE_XEXT_LIB=1
31202
31203 fi
31204
31205
31206 if test "$wxHAVE_XEXT_LIB" = 1; then
31207 save_CFLAGS="$CFLAGS"
31208 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31209
31210 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31211 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31212 cat >conftest.$ac_ext <<_ACEOF
31213 /* confdefs.h. */
31214 _ACEOF
31215 cat confdefs.h >>conftest.$ac_ext
31216 cat >>conftest.$ac_ext <<_ACEOF
31217 /* end confdefs.h. */
31218
31219 #include <X11/Xlib.h>
31220 #include <X11/extensions/shape.h>
31221
31222 int
31223 main ()
31224 {
31225
31226 int dummy1, dummy2;
31227 XShapeQueryExtension((Display*)NULL,
31228 (int*)NULL, (int*)NULL);
31229
31230 ;
31231 return 0;
31232 }
31233 _ACEOF
31234 rm -f conftest.$ac_objext
31235 if { (ac_try="$ac_compile"
31236 case "(($ac_try" in
31237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31238 *) ac_try_echo=$ac_try;;
31239 esac
31240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31241 (eval "$ac_compile") 2>conftest.er1
31242 ac_status=$?
31243 grep -v '^ *+' conftest.er1 >conftest.err
31244 rm -f conftest.er1
31245 cat conftest.err >&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); } && {
31248 test -z "$ac_c_werror_flag" ||
31249 test ! -s conftest.err
31250 } && test -s conftest.$ac_objext; then
31251
31252 cat >>confdefs.h <<\_ACEOF
31253 #define HAVE_XSHAPE 1
31254 _ACEOF
31255
31256 { echo "$as_me:$LINENO: result: found" >&5
31257 echo "${ECHO_T}found" >&6; }
31258
31259 else
31260 echo "$as_me: failed program was:" >&5
31261 sed 's/^/| /' conftest.$ac_ext >&5
31262
31263
31264 { echo "$as_me:$LINENO: result: not found" >&5
31265 echo "${ECHO_T}not found" >&6; }
31266
31267 fi
31268
31269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31270 CFLAGS="$save_CFLAGS"
31271
31272 fi
31273 fi
31274
31275 if test "$wxUSE_MAC" = 1; then
31276 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31277 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31278 if test "$GCC" = yes; then
31279 { echo "$as_me:$LINENO: result: gcc" >&5
31280 echo "${ECHO_T}gcc" >&6; }
31281 CPPFLAGS_PASCAL="-fpascal-strings"
31282 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31283 { echo "$as_me:$LINENO: result: xlc" >&5
31284 echo "${ECHO_T}xlc" >&6; }
31285 CPPFLAGS_PASCAL="-qmacpstr"
31286 else
31287 { echo "$as_me:$LINENO: result: none" >&5
31288 echo "${ECHO_T}none" >&6; }
31289 fi
31290
31291 if test "x$wxUSE_UNIX" = "xyes"; then
31292 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31293 else
31294 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31295 fi
31296
31297 TOOLKIT=MAC
31298 GUIDIST=MACX_DIST
31299 WXBASEPORT="_carbon"
31300 fi
31301
31302 if test "$wxUSE_COCOA" = 1; then
31303 TOOLKIT=COCOA
31304 GUIDIST=COCOA_DIST
31305 fi
31306
31307 if test "$wxUSE_PM" = 1; then
31308 TOOLKIT=PM
31309 GUIDIST=PM_DIST
31310 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31311 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31312 if test "${wx_cv_spbcdata+set}" = set; then
31313 echo $ECHO_N "(cached) $ECHO_C" >&6
31314 else
31315
31316 cat >conftest.$ac_ext <<_ACEOF
31317 /* confdefs.h. */
31318 _ACEOF
31319 cat confdefs.h >>conftest.$ac_ext
31320 cat >>conftest.$ac_ext <<_ACEOF
31321 /* end confdefs.h. */
31322
31323 #define INCL_PM
31324 #include <os2.h>
31325
31326 int
31327 main ()
31328 {
31329
31330 SPBCDATA test;
31331
31332 ;
31333 return 0;
31334 }
31335 _ACEOF
31336 rm -f conftest.$ac_objext
31337 if { (ac_try="$ac_compile"
31338 case "(($ac_try" in
31339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31340 *) ac_try_echo=$ac_try;;
31341 esac
31342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31343 (eval "$ac_compile") 2>conftest.er1
31344 ac_status=$?
31345 grep -v '^ *+' conftest.er1 >conftest.err
31346 rm -f conftest.er1
31347 cat conftest.err >&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); } && {
31350 test -z "$ac_c_werror_flag" ||
31351 test ! -s conftest.err
31352 } && test -s conftest.$ac_objext; then
31353 wx_cv_spbcdata=yes
31354 else
31355 echo "$as_me: failed program was:" >&5
31356 sed 's/^/| /' conftest.$ac_ext >&5
31357
31358 wx_cv_spbcdata=no
31359
31360 fi
31361
31362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31363
31364
31365 fi
31366 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31367 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31368
31369 if test $wx_cv_spbcdata = "yes"; then
31370 cat >>confdefs.h <<\_ACEOF
31371 #define HAVE_SPBCDATA 1
31372 _ACEOF
31373
31374 fi
31375 fi
31376
31377 if test "$TOOLKIT" = "PM" ; then
31378 TOOLKIT_DIR="os2"
31379 else
31380 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31381 fi
31382
31383 if test "$wxUSE_UNIVERSAL" = "yes"; then
31384 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31385 WIDGET_SET=univ
31386 fi
31387
31388 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31389 DISTDIR="wx\$(TOOLKIT)"
31390 else
31391 USE_GUI=0
31392
31393 TOOLKIT_DIR="base"
31394
31395 if test "$USE_WIN32" = 1 ; then
31396 TOOLKIT="MSW"
31397 fi
31398
31399 GUIDIST="BASE_DIST"
31400 DISTDIR="wxBase"
31401 fi
31402
31403
31404 if test "$wxUSE_GUI" = "yes"; then
31405 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31406 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31407 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31408 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31409 echo $ECHO_N "(cached) $ECHO_C" >&6
31410 else
31411 cat >conftest.$ac_ext <<_ACEOF
31412 /* confdefs.h. */
31413 _ACEOF
31414 cat confdefs.h >>conftest.$ac_ext
31415 cat >>conftest.$ac_ext <<_ACEOF
31416 /* end confdefs.h. */
31417
31418
31419 #include <X11/Xlib.h>
31420 _ACEOF
31421 rm -f conftest.$ac_objext
31422 if { (ac_try="$ac_compile"
31423 case "(($ac_try" in
31424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31425 *) ac_try_echo=$ac_try;;
31426 esac
31427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31428 (eval "$ac_compile") 2>conftest.er1
31429 ac_status=$?
31430 grep -v '^ *+' conftest.er1 >conftest.err
31431 rm -f conftest.er1
31432 cat conftest.err >&5
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); } && {
31435 test -z "$ac_c_werror_flag" ||
31436 test ! -s conftest.err
31437 } && test -s conftest.$ac_objext; then
31438 ac_cv_header_X11_Xlib_h=yes
31439 else
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.$ac_ext >&5
31442
31443 ac_cv_header_X11_Xlib_h=no
31444 fi
31445
31446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31447 fi
31448 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31449 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31450
31451
31452 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31453 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31454 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31455 echo $ECHO_N "(cached) $ECHO_C" >&6
31456 else
31457 cat >conftest.$ac_ext <<_ACEOF
31458 /* confdefs.h. */
31459 _ACEOF
31460 cat confdefs.h >>conftest.$ac_ext
31461 cat >>conftest.$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31463
31464 #if HAVE_X11_XLIB_H
31465 #include <X11/Xlib.h>
31466 #endif
31467
31468
31469 #include <X11/XKBlib.h>
31470 _ACEOF
31471 rm -f conftest.$ac_objext
31472 if { (ac_try="$ac_compile"
31473 case "(($ac_try" in
31474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31475 *) ac_try_echo=$ac_try;;
31476 esac
31477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31478 (eval "$ac_compile") 2>conftest.er1
31479 ac_status=$?
31480 grep -v '^ *+' conftest.er1 >conftest.err
31481 rm -f conftest.er1
31482 cat conftest.err >&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } && {
31485 test -z "$ac_c_werror_flag" ||
31486 test ! -s conftest.err
31487 } && test -s conftest.$ac_objext; then
31488 ac_cv_header_X11_XKBlib_h=yes
31489 else
31490 echo "$as_me: failed program was:" >&5
31491 sed 's/^/| /' conftest.$ac_ext >&5
31492
31493 ac_cv_header_X11_XKBlib_h=no
31494 fi
31495
31496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31497 fi
31498 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31499 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31500
31501
31502 fi
31503 fi
31504
31505
31506
31507 IODBC_C_SRC=""
31508
31509
31510 if test "$TOOLKIT" != "MSW" ; then
31511
31512 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31513
31514 { echo "$as_me:$LINENO: checking for sql.h" >&5
31515 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31516 if test "${ac_cv_header_sql_h+set}" = set; then
31517 echo $ECHO_N "(cached) $ECHO_C" >&6
31518 else
31519 cat >conftest.$ac_ext <<_ACEOF
31520 /* confdefs.h. */
31521 _ACEOF
31522 cat confdefs.h >>conftest.$ac_ext
31523 cat >>conftest.$ac_ext <<_ACEOF
31524 /* end confdefs.h. */
31525
31526
31527 #include <sql.h>
31528 _ACEOF
31529 rm -f conftest.$ac_objext
31530 if { (ac_try="$ac_compile"
31531 case "(($ac_try" in
31532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31533 *) ac_try_echo=$ac_try;;
31534 esac
31535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31536 (eval "$ac_compile") 2>conftest.er1
31537 ac_status=$?
31538 grep -v '^ *+' conftest.er1 >conftest.err
31539 rm -f conftest.er1
31540 cat conftest.err >&5
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); } && {
31543 test -z "$ac_c_werror_flag" ||
31544 test ! -s conftest.err
31545 } && test -s conftest.$ac_objext; then
31546 ac_cv_header_sql_h=yes
31547 else
31548 echo "$as_me: failed program was:" >&5
31549 sed 's/^/| /' conftest.$ac_ext >&5
31550
31551 ac_cv_header_sql_h=no
31552 fi
31553
31554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31555 fi
31556 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31557 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31558 if test $ac_cv_header_sql_h = yes; then
31559 found_sql_h=1
31560 fi
31561
31562
31563 if test "x$found_sql_h" = "x1" ; then
31564 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31565 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31566 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31567 echo $ECHO_N "(cached) $ECHO_C" >&6
31568 else
31569 ac_check_lib_save_LIBS=$LIBS
31570 LIBS="-liodbc $LIBS"
31571 cat >conftest.$ac_ext <<_ACEOF
31572 /* confdefs.h. */
31573 _ACEOF
31574 cat confdefs.h >>conftest.$ac_ext
31575 cat >>conftest.$ac_ext <<_ACEOF
31576 /* end confdefs.h. */
31577
31578 /* Override any GCC internal prototype to avoid an error.
31579 Use char because int might match the return type of a GCC
31580 builtin and then its argument prototype would still apply. */
31581 #ifdef __cplusplus
31582 extern "C"
31583 #endif
31584 char SQLAllocEnv ();
31585 int
31586 main ()
31587 {
31588 return SQLAllocEnv ();
31589 ;
31590 return 0;
31591 }
31592 _ACEOF
31593 rm -f conftest.$ac_objext conftest$ac_exeext
31594 if { (ac_try="$ac_link"
31595 case "(($ac_try" in
31596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31597 *) ac_try_echo=$ac_try;;
31598 esac
31599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31600 (eval "$ac_link") 2>conftest.er1
31601 ac_status=$?
31602 grep -v '^ *+' conftest.er1 >conftest.err
31603 rm -f conftest.er1
31604 cat conftest.err >&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } && {
31607 test -z "$ac_c_werror_flag" ||
31608 test ! -s conftest.err
31609 } && test -s conftest$ac_exeext &&
31610 $as_test_x conftest$ac_exeext; then
31611 ac_cv_lib_iodbc_SQLAllocEnv=yes
31612 else
31613 echo "$as_me: failed program was:" >&5
31614 sed 's/^/| /' conftest.$ac_ext >&5
31615
31616 ac_cv_lib_iodbc_SQLAllocEnv=no
31617 fi
31618
31619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31620 conftest$ac_exeext conftest.$ac_ext
31621 LIBS=$ac_check_lib_save_LIBS
31622 fi
31623 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31624 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31625 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31626 ODBC_LINK=" -liodbc"
31627 else
31628
31629 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31630 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31631 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31632 echo $ECHO_N "(cached) $ECHO_C" >&6
31633 else
31634 ac_check_lib_save_LIBS=$LIBS
31635 LIBS="-lunixodbc $LIBS"
31636 cat >conftest.$ac_ext <<_ACEOF
31637 /* confdefs.h. */
31638 _ACEOF
31639 cat confdefs.h >>conftest.$ac_ext
31640 cat >>conftest.$ac_ext <<_ACEOF
31641 /* end confdefs.h. */
31642
31643 /* Override any GCC internal prototype to avoid an error.
31644 Use char because int might match the return type of a GCC
31645 builtin and then its argument prototype would still apply. */
31646 #ifdef __cplusplus
31647 extern "C"
31648 #endif
31649 char SQLAllocEnv ();
31650 int
31651 main ()
31652 {
31653 return SQLAllocEnv ();
31654 ;
31655 return 0;
31656 }
31657 _ACEOF
31658 rm -f conftest.$ac_objext conftest$ac_exeext
31659 if { (ac_try="$ac_link"
31660 case "(($ac_try" in
31661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31662 *) ac_try_echo=$ac_try;;
31663 esac
31664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31665 (eval "$ac_link") 2>conftest.er1
31666 ac_status=$?
31667 grep -v '^ *+' conftest.er1 >conftest.err
31668 rm -f conftest.er1
31669 cat conftest.err >&5
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); } && {
31672 test -z "$ac_c_werror_flag" ||
31673 test ! -s conftest.err
31674 } && test -s conftest$ac_exeext &&
31675 $as_test_x conftest$ac_exeext; then
31676 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31677 else
31678 echo "$as_me: failed program was:" >&5
31679 sed 's/^/| /' conftest.$ac_ext >&5
31680
31681 ac_cv_lib_unixodbc_SQLAllocEnv=no
31682 fi
31683
31684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31685 conftest$ac_exeext conftest.$ac_ext
31686 LIBS=$ac_check_lib_save_LIBS
31687 fi
31688 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31689 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31690 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31691 ODBC_LINK=" -lunixodbc"
31692 else
31693
31694 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31695 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31696 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31697 echo $ECHO_N "(cached) $ECHO_C" >&6
31698 else
31699 ac_check_lib_save_LIBS=$LIBS
31700 LIBS="-lodbc $LIBS"
31701 cat >conftest.$ac_ext <<_ACEOF
31702 /* confdefs.h. */
31703 _ACEOF
31704 cat confdefs.h >>conftest.$ac_ext
31705 cat >>conftest.$ac_ext <<_ACEOF
31706 /* end confdefs.h. */
31707
31708 /* Override any GCC internal prototype to avoid an error.
31709 Use char because int might match the return type of a GCC
31710 builtin and then its argument prototype would still apply. */
31711 #ifdef __cplusplus
31712 extern "C"
31713 #endif
31714 char SQLAllocEnv ();
31715 int
31716 main ()
31717 {
31718 return SQLAllocEnv ();
31719 ;
31720 return 0;
31721 }
31722 _ACEOF
31723 rm -f conftest.$ac_objext conftest$ac_exeext
31724 if { (ac_try="$ac_link"
31725 case "(($ac_try" in
31726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31727 *) ac_try_echo=$ac_try;;
31728 esac
31729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31730 (eval "$ac_link") 2>conftest.er1
31731 ac_status=$?
31732 grep -v '^ *+' conftest.er1 >conftest.err
31733 rm -f conftest.er1
31734 cat conftest.err >&5
31735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31736 (exit $ac_status); } && {
31737 test -z "$ac_c_werror_flag" ||
31738 test ! -s conftest.err
31739 } && test -s conftest$ac_exeext &&
31740 $as_test_x conftest$ac_exeext; then
31741 ac_cv_lib_odbc_SQLAllocEnv=yes
31742 else
31743 echo "$as_me: failed program was:" >&5
31744 sed 's/^/| /' conftest.$ac_ext >&5
31745
31746 ac_cv_lib_odbc_SQLAllocEnv=no
31747 fi
31748
31749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31750 conftest$ac_exeext conftest.$ac_ext
31751 LIBS=$ac_check_lib_save_LIBS
31752 fi
31753 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31754 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31755 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31756 ODBC_LINK=" -lodbc"
31757 fi
31758
31759
31760 fi
31761
31762
31763 fi
31764
31765 fi
31766 if test "x$ODBC_LINK" = "x" ; then
31767 if test "$wxUSE_ODBC" = "sys" ; then
31768 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31769 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31770 { (exit 1); exit 1; }; }
31771 else
31772 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31773 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31774 wxUSE_ODBC=builtin
31775 fi
31776 else
31777 wxUSE_ODBC=sys
31778 fi
31779 fi
31780
31781 if test "$wxUSE_ODBC" = "builtin" ; then
31782 cat >>confdefs.h <<\_ACEOF
31783 #define wxUSE_BUILTIN_IODBC 1
31784 _ACEOF
31785
31786 fi
31787 fi
31788
31789 if test "$wxUSE_ODBC" != "no" ; then
31790 cat >>confdefs.h <<\_ACEOF
31791 #define wxUSE_ODBC 1
31792 _ACEOF
31793
31794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31795
31796 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31797 fi
31798
31799
31800 if test "$wxUSE_DISPLAY" = "yes"; then
31801 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31802 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31803 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31804
31805 ac_find_libraries=
31806 for ac_dir in $SEARCH_LIB;
31807 do
31808 for ac_extension in a so sl dylib dll.a; do
31809 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31810 ac_find_libraries=$ac_dir
31811 break 2
31812 fi
31813 done
31814 done
31815
31816 if test "$ac_find_libraries" != "" ; then
31817
31818 if test "$ac_find_libraries" = "default location"; then
31819 ac_path_to_link=""
31820 else
31821 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31822 result=$?
31823 if test $result = 0; then
31824 ac_path_to_link=""
31825 else
31826 ac_path_to_link=" -L$ac_find_libraries"
31827 fi
31828 fi
31829
31830 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31831 LDFLAGS="$LDFLAGS $ac_path_to_link"
31832 fi
31833 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31834 { echo "$as_me:$LINENO: result: yes" >&5
31835 echo "${ECHO_T}yes" >&6; }
31836
31837 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31838 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31839
31840 ac_find_libraries=
31841 for ac_dir in $SEARCH_LIB;
31842 do
31843 for ac_extension in a so sl dylib dll.a; do
31844 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31845 ac_find_libraries=$ac_dir
31846 break 2
31847 fi
31848 done
31849 done
31850
31851 if test "$ac_find_libraries" != "" ; then
31852 { echo "$as_me:$LINENO: result: yes" >&5
31853 echo "${ECHO_T}yes" >&6; }
31854 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31855 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31856 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31857 echo $ECHO_N "(cached) $ECHO_C" >&6
31858 else
31859 cat >conftest.$ac_ext <<_ACEOF
31860 /* confdefs.h. */
31861 _ACEOF
31862 cat confdefs.h >>conftest.$ac_ext
31863 cat >>conftest.$ac_ext <<_ACEOF
31864 /* end confdefs.h. */
31865
31866 #if HAVE_X11_XLIB_H
31867 #include <X11/Xlib.h>
31868 #endif
31869
31870
31871 #include <X11/extensions/xf86vmode.h>
31872 _ACEOF
31873 rm -f conftest.$ac_objext
31874 if { (ac_try="$ac_compile"
31875 case "(($ac_try" in
31876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31877 *) ac_try_echo=$ac_try;;
31878 esac
31879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31880 (eval "$ac_compile") 2>conftest.er1
31881 ac_status=$?
31882 grep -v '^ *+' conftest.er1 >conftest.err
31883 rm -f conftest.er1
31884 cat conftest.err >&5
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); } && {
31887 test -z "$ac_c_werror_flag" ||
31888 test ! -s conftest.err
31889 } && test -s conftest.$ac_objext; then
31890 ac_cv_header_X11_extensions_xf86vmode_h=yes
31891 else
31892 echo "$as_me: failed program was:" >&5
31893 sed 's/^/| /' conftest.$ac_ext >&5
31894
31895 ac_cv_header_X11_extensions_xf86vmode_h=no
31896 fi
31897
31898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31899 fi
31900 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31901 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31902 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31903
31904 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31905
31906 fi
31907
31908
31909 else
31910 { echo "$as_me:$LINENO: result: no" >&5
31911 echo "${ECHO_T}no" >&6; }
31912 fi
31913
31914 else
31915 { echo "$as_me:$LINENO: result: no" >&5
31916 echo "${ECHO_T}no" >&6; }
31917 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31918 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31919 wxUSE_DISPLAY="no"
31920 fi
31921 elif test "$wxUSE_MSW" = 1; then
31922 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31923 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31924 if test "${ac_cv_header_ddraw_h+set}" = set; then
31925 echo $ECHO_N "(cached) $ECHO_C" >&6
31926 else
31927 cat >conftest.$ac_ext <<_ACEOF
31928 /* confdefs.h. */
31929 _ACEOF
31930 cat confdefs.h >>conftest.$ac_ext
31931 cat >>conftest.$ac_ext <<_ACEOF
31932 /* end confdefs.h. */
31933 #include <windows.h>
31934
31935 #include <ddraw.h>
31936 _ACEOF
31937 rm -f conftest.$ac_objext
31938 if { (ac_try="$ac_compile"
31939 case "(($ac_try" in
31940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31941 *) ac_try_echo=$ac_try;;
31942 esac
31943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31944 (eval "$ac_compile") 2>conftest.er1
31945 ac_status=$?
31946 grep -v '^ *+' conftest.er1 >conftest.err
31947 rm -f conftest.er1
31948 cat conftest.err >&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); } && {
31951 test -z "$ac_c_werror_flag" ||
31952 test ! -s conftest.err
31953 } && test -s conftest.$ac_objext; then
31954 ac_cv_header_ddraw_h=yes
31955 else
31956 echo "$as_me: failed program was:" >&5
31957 sed 's/^/| /' conftest.$ac_ext >&5
31958
31959 ac_cv_header_ddraw_h=no
31960 fi
31961
31962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31963 fi
31964 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31965 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
31966
31967
31968 fi
31969 fi
31970
31971 if test "$wxUSE_DETECT_SM" = "yes"; then
31972 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31973 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31974 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
31975
31976 ac_find_libraries=
31977 for ac_dir in $SEARCH_LIB;
31978 do
31979 for ac_extension in a so sl dylib dll.a; do
31980 if test -f "$ac_dir/libSM.$ac_extension"; then
31981 ac_find_libraries=$ac_dir
31982 break 2
31983 fi
31984 done
31985 done
31986
31987 if test "$ac_find_libraries" != "" ; then
31988
31989 if test "$ac_find_libraries" = "default location"; then
31990 ac_path_to_link=""
31991 else
31992 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31993 result=$?
31994 if test $result = 0; then
31995 ac_path_to_link=""
31996 else
31997 ac_path_to_link=" -L$ac_find_libraries"
31998 fi
31999 fi
32000
32001 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32002 LDFLAGS="$LDFLAGS $ac_path_to_link"
32003 fi
32004 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32005 { echo "$as_me:$LINENO: result: yes" >&5
32006 echo "${ECHO_T}yes" >&6; }
32007 else
32008 { echo "$as_me:$LINENO: result: no" >&5
32009 echo "${ECHO_T}no" >&6; }
32010 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32011 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32012 wxUSE_DETECT_SM="no"
32013 fi
32014 else
32015 wxUSE_DETECT_SM="no"
32016 fi
32017 fi
32018
32019
32020
32021 USE_OPENGL=0
32022 if test "$wxUSE_OPENGL" = "yes"; then
32023 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32024 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32025 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32026 wxUSE_OPENGL="no"
32027 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32028 OPENGL_LIBS="-framework OpenGL -framework AGL"
32029 elif test "$wxUSE_MSW" = 1; then
32030 OPENGL_LIBS="-lopengl32 -lglu32"
32031 else
32032 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32033 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32034
32035 ac_find_includes=
32036 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32037 do
32038 if test -f "$ac_dir/GL/gl.h"; then
32039 ac_find_includes=$ac_dir
32040 break
32041 fi
32042 done
32043
32044 if test "$ac_find_includes" != "" ; then
32045 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32046 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32047
32048 if test "x$ac_find_includes" = "x/usr/include"; then
32049 ac_path_to_include=""
32050 else
32051 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32052 result=$?
32053 if test $result = 0; then
32054 ac_path_to_include=""
32055 else
32056 ac_path_to_include=" -I$ac_find_includes"
32057 fi
32058 fi
32059
32060 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32061 else
32062 { echo "$as_me:$LINENO: result: not found" >&5
32063 echo "${ECHO_T}not found" >&6; }
32064 fi
32065
32066 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32067 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32068 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32070 else
32071 cat >conftest.$ac_ext <<_ACEOF
32072 /* confdefs.h. */
32073 _ACEOF
32074 cat confdefs.h >>conftest.$ac_ext
32075 cat >>conftest.$ac_ext <<_ACEOF
32076 /* end confdefs.h. */
32077
32078
32079 #include <GL/gl.h>
32080 _ACEOF
32081 rm -f conftest.$ac_objext
32082 if { (ac_try="$ac_compile"
32083 case "(($ac_try" in
32084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32085 *) ac_try_echo=$ac_try;;
32086 esac
32087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32088 (eval "$ac_compile") 2>conftest.er1
32089 ac_status=$?
32090 grep -v '^ *+' conftest.er1 >conftest.err
32091 rm -f conftest.er1
32092 cat conftest.err >&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } && {
32095 test -z "$ac_c_werror_flag" ||
32096 test ! -s conftest.err
32097 } && test -s conftest.$ac_objext; then
32098 ac_cv_header_GL_gl_h=yes
32099 else
32100 echo "$as_me: failed program was:" >&5
32101 sed 's/^/| /' conftest.$ac_ext >&5
32102
32103 ac_cv_header_GL_gl_h=no
32104 fi
32105
32106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32107 fi
32108 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32109 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32110 if test $ac_cv_header_GL_gl_h = yes; then
32111
32112 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32113 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32114 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32115 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32116 echo $ECHO_N "(cached) $ECHO_C" >&6
32117 fi
32118 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32119 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32120 else
32121 # Is the header compilable?
32122 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32123 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32124 cat >conftest.$ac_ext <<_ACEOF
32125 /* confdefs.h. */
32126 _ACEOF
32127 cat confdefs.h >>conftest.$ac_ext
32128 cat >>conftest.$ac_ext <<_ACEOF
32129 /* end confdefs.h. */
32130 $ac_includes_default
32131 #include <GL/glu.h>
32132 _ACEOF
32133 rm -f conftest.$ac_objext
32134 if { (ac_try="$ac_compile"
32135 case "(($ac_try" in
32136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32137 *) ac_try_echo=$ac_try;;
32138 esac
32139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32140 (eval "$ac_compile") 2>conftest.er1
32141 ac_status=$?
32142 grep -v '^ *+' conftest.er1 >conftest.err
32143 rm -f conftest.er1
32144 cat conftest.err >&5
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); } && {
32147 test -z "$ac_c_werror_flag" ||
32148 test ! -s conftest.err
32149 } && test -s conftest.$ac_objext; then
32150 ac_header_compiler=yes
32151 else
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.$ac_ext >&5
32154
32155 ac_header_compiler=no
32156 fi
32157
32158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32160 echo "${ECHO_T}$ac_header_compiler" >&6; }
32161
32162 # Is the header present?
32163 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32164 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32165 cat >conftest.$ac_ext <<_ACEOF
32166 /* confdefs.h. */
32167 _ACEOF
32168 cat confdefs.h >>conftest.$ac_ext
32169 cat >>conftest.$ac_ext <<_ACEOF
32170 /* end confdefs.h. */
32171 #include <GL/glu.h>
32172 _ACEOF
32173 if { (ac_try="$ac_cpp conftest.$ac_ext"
32174 case "(($ac_try" in
32175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32176 *) ac_try_echo=$ac_try;;
32177 esac
32178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32180 ac_status=$?
32181 grep -v '^ *+' conftest.er1 >conftest.err
32182 rm -f conftest.er1
32183 cat conftest.err >&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } >/dev/null && {
32186 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32187 test ! -s conftest.err
32188 }; then
32189 ac_header_preproc=yes
32190 else
32191 echo "$as_me: failed program was:" >&5
32192 sed 's/^/| /' conftest.$ac_ext >&5
32193
32194 ac_header_preproc=no
32195 fi
32196
32197 rm -f conftest.err conftest.$ac_ext
32198 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32199 echo "${ECHO_T}$ac_header_preproc" >&6; }
32200
32201 # So? What about this header?
32202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32203 yes:no: )
32204 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32205 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32206 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32207 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32208 ac_header_preproc=yes
32209 ;;
32210 no:yes:* )
32211 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32212 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32213 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32214 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32215 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32216 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32217 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32218 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32219 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32220 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32221 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32222 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32223 ( cat <<\_ASBOX
32224 ## ----------------------------------------- ##
32225 ## Report this to wx-dev@lists.wxwidgets.org ##
32226 ## ----------------------------------------- ##
32227 _ASBOX
32228 ) | sed "s/^/$as_me: WARNING: /" >&2
32229 ;;
32230 esac
32231 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32232 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32233 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32234 echo $ECHO_N "(cached) $ECHO_C" >&6
32235 else
32236 ac_cv_header_GL_glu_h=$ac_header_preproc
32237 fi
32238 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32239 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32240
32241 fi
32242 if test $ac_cv_header_GL_glu_h = yes; then
32243
32244 found_gl=0
32245
32246 { echo "$as_me:$LINENO: checking for -lGL" >&5
32247 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32248
32249 ac_find_libraries=
32250 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32251 do
32252 for ac_extension in a so sl dylib dll.a; do
32253 if test -f "$ac_dir/libGL.$ac_extension"; then
32254 ac_find_libraries=$ac_dir
32255 break 2
32256 fi
32257 done
32258 done
32259
32260 if test "$ac_find_libraries" != "" ; then
32261 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32262 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32263
32264
32265 if test "$ac_find_libraries" = "default location"; then
32266 ac_path_to_link=""
32267 else
32268 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32269 result=$?
32270 if test $result = 0; then
32271 ac_path_to_link=""
32272 else
32273 ac_path_to_link=" -L$ac_find_libraries"
32274 fi
32275 fi
32276
32277 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32278 LDFLAGS_GL="$ac_path_to_link"
32279 fi
32280
32281 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32282 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32283
32284 ac_find_libraries=
32285 for ac_dir in $SEARCH_LIB;
32286 do
32287 for ac_extension in a so sl dylib dll.a; do
32288 if test -f "$ac_dir/libGLU.$ac_extension"; then
32289 ac_find_libraries=$ac_dir
32290 break 2
32291 fi
32292 done
32293 done
32294
32295 if test "$ac_find_libraries" != "" ; then
32296
32297 if test "$ac_find_libraries" = "default location"; then
32298 ac_path_to_link=""
32299 else
32300 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32301 result=$?
32302 if test $result = 0; then
32303 ac_path_to_link=""
32304 else
32305 ac_path_to_link=" -L$ac_find_libraries"
32306 fi
32307 fi
32308
32309 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32310 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32311 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32312 fi
32313
32314 found_gl=1
32315 OPENGL_LIBS="-lGL -lGLU"
32316 { echo "$as_me:$LINENO: result: yes" >&5
32317 echo "${ECHO_T}yes" >&6; }
32318 else
32319 { echo "$as_me:$LINENO: result: no" >&5
32320 echo "${ECHO_T}no" >&6; }
32321 fi
32322 else
32323 { echo "$as_me:$LINENO: result: no" >&5
32324 echo "${ECHO_T}no" >&6; }
32325 fi
32326
32327 if test "$found_gl" != 1; then
32328 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32329 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32330
32331 ac_find_libraries=
32332 for ac_dir in $SEARCH_LIB;
32333 do
32334 for ac_extension in a so sl dylib dll.a; do
32335 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32336 ac_find_libraries=$ac_dir
32337 break 2
32338 fi
32339 done
32340 done
32341
32342 if test "$ac_find_libraries" != "" ; then
32343
32344 if test "$ac_find_libraries" = "default location"; then
32345 ac_path_to_link=""
32346 else
32347 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32348 result=$?
32349 if test $result = 0; then
32350 ac_path_to_link=""
32351 else
32352 ac_path_to_link=" -L$ac_find_libraries"
32353 fi
32354 fi
32355
32356 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32357 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32358 { echo "$as_me:$LINENO: result: yes" >&5
32359 echo "${ECHO_T}yes" >&6; }
32360 else
32361 { echo "$as_me:$LINENO: result: no" >&5
32362 echo "${ECHO_T}no" >&6; }
32363 fi
32364 fi
32365
32366 fi
32367
32368
32369
32370 fi
32371
32372
32373
32374 if test "x$OPENGL_LIBS" = "x"; then
32375 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32376 echo "$as_me: error: OpenGL libraries not available" >&2;}
32377 { (exit 1); exit 1; }; }
32378 fi
32379 fi
32380
32381 if test "$wxUSE_OPENGL" = "yes"; then
32382 USE_OPENGL=1
32383 cat >>confdefs.h <<\_ACEOF
32384 #define wxUSE_OPENGL 1
32385 _ACEOF
32386
32387 cat >>confdefs.h <<\_ACEOF
32388 #define wxUSE_GLCANVAS 1
32389 _ACEOF
32390
32391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32392 fi
32393 fi
32394
32395
32396 if test -n "$TOOLKIT" ; then
32397 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32398 fi
32399
32400
32401
32402 if test "$wxUSE_SHARED" = "yes"; then
32403 case "${host}" in
32404 *-pc-msdosdjgpp )
32405 wxUSE_SHARED=no
32406 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32407 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32408 ;;
32409 esac
32410 fi
32411
32412 if test "$wxUSE_SHARED" = "yes"; then
32413
32414
32415 case "${host}" in
32416 *-*-cygwin* | *-*-mingw* )
32417 wx_cv_version_script=no
32418 ;;
32419
32420 *)
32421 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32422 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32423 if test "${wx_cv_version_script+set}" = set; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32425 else
32426
32427 echo "VER_1 { *; };" >conftest.sym
32428 echo "int main() { return 0; }" >conftest.cpp
32429
32430 if { ac_try='
32431 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32432 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32435 ac_status=$?
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; } ; then
32438 if test -s conftest.stderr ; then
32439 wx_cv_version_script=no
32440 else
32441 wx_cv_version_script=yes
32442 fi
32443 else
32444 wx_cv_version_script=no
32445 fi
32446
32447 if test $wx_cv_version_script = yes
32448 then
32449 echo "struct B { virtual ~B() { } }; \
32450 struct D : public B { }; \
32451 void F() { D d; }" > conftest.cpp
32452
32453 if { ac_try='
32454 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32455 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457 (eval $ac_try) 2>&5
32458 ac_status=$?
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); }; } &&
32461 { ac_try='
32462 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32463 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32465 (eval $ac_try) 2>&5
32466 ac_status=$?
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); }; }
32469 then
32470 if { ac_try='
32471 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32472 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32474 (eval $ac_try) 2>&5
32475 ac_status=$?
32476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32477 (exit $ac_status); }; }
32478 then
32479 wx_cv_version_script=yes
32480 else
32481 wx_cv_version_script=no
32482 fi
32483 fi
32484 fi
32485
32486 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32487 rm -f conftest1.output conftest2.output conftest3.output
32488
32489 fi
32490 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32491 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32492
32493 if test $wx_cv_version_script = yes ; then
32494 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32495 fi
32496 ;;
32497 esac
32498
32499
32500 case "${host}" in
32501 *-*-linux* | *-*-gnu* )
32502 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32503 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32504 ;;
32505
32506 *-*-solaris2* )
32507 if test "$GCC" = yes ; then
32508 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32509
32510 saveLdflags="$LDFLAGS"
32511 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32512 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32513 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32514 cat >conftest.$ac_ext <<_ACEOF
32515 /* confdefs.h. */
32516 _ACEOF
32517 cat confdefs.h >>conftest.$ac_ext
32518 cat >>conftest.$ac_ext <<_ACEOF
32519 /* end confdefs.h. */
32520
32521 int
32522 main ()
32523 {
32524
32525 ;
32526 return 0;
32527 }
32528 _ACEOF
32529 rm -f conftest.$ac_objext conftest$ac_exeext
32530 if { (ac_try="$ac_link"
32531 case "(($ac_try" in
32532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32533 *) ac_try_echo=$ac_try;;
32534 esac
32535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32536 (eval "$ac_link") 2>conftest.er1
32537 ac_status=$?
32538 grep -v '^ *+' conftest.er1 >conftest.err
32539 rm -f conftest.er1
32540 cat conftest.err >&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } && {
32543 test -z "$ac_c_werror_flag" ||
32544 test ! -s conftest.err
32545 } && test -s conftest$ac_exeext &&
32546 $as_test_x conftest$ac_exeext; then
32547
32548 { echo "$as_me:$LINENO: result: yes" >&5
32549 echo "${ECHO_T}yes" >&6; }
32550 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32551 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32552
32553 else
32554 echo "$as_me: failed program was:" >&5
32555 sed 's/^/| /' conftest.$ac_ext >&5
32556
32557
32558 { echo "$as_me:$LINENO: result: no" >&5
32559 echo "${ECHO_T}no" >&6; }
32560 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32561 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32562 LDFLAGS="$saveLdflags -Wl,-R,/"
32563 cat >conftest.$ac_ext <<_ACEOF
32564 /* confdefs.h. */
32565 _ACEOF
32566 cat confdefs.h >>conftest.$ac_ext
32567 cat >>conftest.$ac_ext <<_ACEOF
32568 /* end confdefs.h. */
32569
32570 int
32571 main ()
32572 {
32573
32574 ;
32575 return 0;
32576 }
32577 _ACEOF
32578 rm -f conftest.$ac_objext conftest$ac_exeext
32579 if { (ac_try="$ac_link"
32580 case "(($ac_try" in
32581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32582 *) ac_try_echo=$ac_try;;
32583 esac
32584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32585 (eval "$ac_link") 2>conftest.er1
32586 ac_status=$?
32587 grep -v '^ *+' conftest.er1 >conftest.err
32588 rm -f conftest.er1
32589 cat conftest.err >&5
32590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591 (exit $ac_status); } && {
32592 test -z "$ac_c_werror_flag" ||
32593 test ! -s conftest.err
32594 } && test -s conftest$ac_exeext &&
32595 $as_test_x conftest$ac_exeext; then
32596
32597 { echo "$as_me:$LINENO: result: yes" >&5
32598 echo "${ECHO_T}yes" >&6; }
32599 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32600 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32601
32602 else
32603 echo "$as_me: failed program was:" >&5
32604 sed 's/^/| /' conftest.$ac_ext >&5
32605
32606
32607 { echo "$as_me:$LINENO: result: no" >&5
32608 echo "${ECHO_T}no" >&6; }
32609
32610 fi
32611
32612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32613 conftest$ac_exeext conftest.$ac_ext
32614
32615 fi
32616
32617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32618 conftest$ac_exeext conftest.$ac_ext
32619 LDFLAGS="$saveLdflags"
32620 else
32621 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32622 WXCONFIG_RPATH="-R\$libdir"
32623 fi
32624 ;;
32625
32626 *-*-darwin* )
32627 install_name_tool=`which install_name_tool`
32628 if test "$install_name_tool" -a -x "$install_name_tool"; then
32629 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32630 cat <<EOF >change-install-names
32631 #!/bin/sh
32632 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32633 inst_cmd="install_name_tool "
32634 for i in \${libnames} ; do
32635 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32636 done
32637 \${inst_cmd} \${3}
32638 EOF
32639 chmod +x change-install-names
32640 fi
32641 ;;
32642
32643 *-*-cygwin* | *-*-mingw32* )
32644 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32645 ;;
32646
32647 *-*-hpux* )
32648 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32649 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32650 ;;
32651
32652 esac
32653
32654 if test $wxUSE_RPATH = "no"; then
32655 SAMPLES_RPATH_FLAG=''
32656 SAMPLES_RPATH_POSTLINK=''
32657 WXCONFIG_RPATH=''
32658 fi
32659
32660 SHARED=1
32661
32662 else
32663
32664 config_linkage_component="-static"
32665 SHARED=0
32666
32667 fi
32668
32669
32670 UNICODE=0
32671 lib_unicode_suffix=
32672 WX_CHARTYPE="ansi"
32673 if test "$wxUSE_UNICODE" = "yes"; then
32674 lib_unicode_suffix=u
32675 WX_CHARTYPE="unicode"
32676 UNICODE=1
32677 fi
32678
32679 lib_debug_suffix=
32680 WX_DEBUGTYPE="release"
32681 DEBUG_FLAG=0
32682 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32683 lib_debug_suffix=d
32684 WX_DEBUGTYPE="debug"
32685 DEBUG_FLAG=1
32686 fi
32687
32688 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32689 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32690
32691 DEBUG_INFO=0
32692 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32693 DEBUG_INFO=1
32694 fi
32695
32696 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32697
32698 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32699
32700 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32701
32702 if test "$cross_compiling" = "yes"; then
32703 HOST_SUFFIX="-$host_alias"
32704 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32705 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32706 fi
32707
32708 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32709 if test "${TOOLKIT_DIR}" = "os2"; then
32710 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32711 else
32712 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32713 fi
32714
32715
32716
32717 if test "$wxUSE_COCOA" = 1; then
32718
32719 ac_ext=c
32720 ac_cpp='$CPP $CPPFLAGS'
32721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32724
32725 ac_ext=m
32726
32727 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32728 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32729 cat >conftest.$ac_ext <<_ACEOF
32730 /* confdefs.h. */
32731 _ACEOF
32732 cat confdefs.h >>conftest.$ac_ext
32733 cat >>conftest.$ac_ext <<_ACEOF
32734 /* end confdefs.h. */
32735 #include <AppKit/NSEvent.h>
32736 #include <CoreFoundation/CoreFoundation.h>
32737
32738 int
32739 main ()
32740 {
32741
32742 ;
32743 return 0;
32744 }
32745 _ACEOF
32746 rm -f conftest.$ac_objext
32747 if { (ac_try="$ac_compile"
32748 case "(($ac_try" in
32749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32750 *) ac_try_echo=$ac_try;;
32751 esac
32752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32753 (eval "$ac_compile") 2>conftest.er1
32754 ac_status=$?
32755 grep -v '^ *+' conftest.er1 >conftest.err
32756 rm -f conftest.er1
32757 cat conftest.err >&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); } && {
32760 test -z "$ac_c_werror_flag" ||
32761 test ! -s conftest.err
32762 } && test -s conftest.$ac_objext; then
32763 { echo "$as_me:$LINENO: result: no" >&5
32764 echo "${ECHO_T}no" >&6; }
32765 else
32766 echo "$as_me: failed program was:" >&5
32767 sed 's/^/| /' conftest.$ac_ext >&5
32768
32769 { echo "$as_me:$LINENO: result: yes" >&5
32770 echo "${ECHO_T}yes" >&6; }
32771 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32772 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32773 cat >conftest.$ac_ext <<_ACEOF
32774 /* confdefs.h. */
32775 _ACEOF
32776 cat confdefs.h >>conftest.$ac_ext
32777 cat >>conftest.$ac_ext <<_ACEOF
32778 /* end confdefs.h. */
32779 #define __Point__ 1
32780 #include <AppKit/NSEvent.h>
32781 #include <CoreFoundation/CoreFoundation.h>
32782
32783 int
32784 main ()
32785 {
32786
32787 ;
32788 return 0;
32789 }
32790 _ACEOF
32791 rm -f conftest.$ac_objext
32792 if { (ac_try="$ac_compile"
32793 case "(($ac_try" in
32794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32795 *) ac_try_echo=$ac_try;;
32796 esac
32797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32798 (eval "$ac_compile") 2>conftest.er1
32799 ac_status=$?
32800 grep -v '^ *+' conftest.er1 >conftest.err
32801 rm -f conftest.er1
32802 cat conftest.err >&5
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); } && {
32805 test -z "$ac_c_werror_flag" ||
32806 test ! -s conftest.err
32807 } && test -s conftest.$ac_objext; then
32808 { echo "$as_me:$LINENO: result: yes" >&5
32809 echo "${ECHO_T}yes" >&6; }
32810 cat >>confdefs.h <<\_ACEOF
32811 #define __Point__ 1
32812 _ACEOF
32813
32814
32815 else
32816 echo "$as_me: failed program was:" >&5
32817 sed 's/^/| /' conftest.$ac_ext >&5
32818
32819 { { echo "$as_me:$LINENO: error: no
32820 See \`config.log' for more details." >&5
32821 echo "$as_me: error: no
32822 See \`config.log' for more details." >&2;}
32823 { (exit 1); exit 1; }; }
32824
32825 fi
32826
32827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32828
32829 fi
32830
32831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32832 ac_ext=c
32833 ac_cpp='$CPP $CPPFLAGS'
32834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32837
32838 fi
32839
32840 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32841 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32842 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32843
32844 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32845
32846 # Extract the first word of "Rez", so it can be a program name with args.
32847 set dummy Rez; ac_word=$2
32848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32850 if test "${ac_cv_prog_REZ+set}" = set; then
32851 echo $ECHO_N "(cached) $ECHO_C" >&6
32852 else
32853 if test -n "$REZ"; then
32854 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32855 else
32856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32857 for as_dir in $PATH
32858 do
32859 IFS=$as_save_IFS
32860 test -z "$as_dir" && as_dir=.
32861 for ac_exec_ext in '' $ac_executable_extensions; do
32862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32863 ac_cv_prog_REZ="Rez"
32864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32865 break 2
32866 fi
32867 done
32868 done
32869 IFS=$as_save_IFS
32870
32871 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32872 fi
32873 fi
32874 REZ=$ac_cv_prog_REZ
32875 if test -n "$REZ"; then
32876 { echo "$as_me:$LINENO: result: $REZ" >&5
32877 echo "${ECHO_T}$REZ" >&6; }
32878 else
32879 { echo "$as_me:$LINENO: result: no" >&5
32880 echo "${ECHO_T}no" >&6; }
32881 fi
32882
32883
32884 # Extract the first word of "DeRez", so it can be a program name with args.
32885 set dummy DeRez; ac_word=$2
32886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32888 if test "${ac_cv_prog_DEREZ+set}" = set; then
32889 echo $ECHO_N "(cached) $ECHO_C" >&6
32890 else
32891 if test -n "$DEREZ"; then
32892 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32893 else
32894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32895 for as_dir in $PATH
32896 do
32897 IFS=$as_save_IFS
32898 test -z "$as_dir" && as_dir=.
32899 for ac_exec_ext in '' $ac_executable_extensions; do
32900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32901 ac_cv_prog_DEREZ="DeRez"
32902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32903 break 2
32904 fi
32905 done
32906 done
32907 IFS=$as_save_IFS
32908
32909 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32910 fi
32911 fi
32912 DEREZ=$ac_cv_prog_DEREZ
32913 if test -n "$DEREZ"; then
32914 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32915 echo "${ECHO_T}$DEREZ" >&6; }
32916 else
32917 { echo "$as_me:$LINENO: result: no" >&5
32918 echo "${ECHO_T}no" >&6; }
32919 fi
32920
32921
32922 # Extract the first word of "SetFile", so it can be a program name with args.
32923 set dummy SetFile; ac_word=$2
32924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32926 if test "${ac_cv_prog_SETFILE+set}" = set; then
32927 echo $ECHO_N "(cached) $ECHO_C" >&6
32928 else
32929 if test -n "$SETFILE"; then
32930 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32931 else
32932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32933 for as_dir in $PATH
32934 do
32935 IFS=$as_save_IFS
32936 test -z "$as_dir" && as_dir=.
32937 for ac_exec_ext in '' $ac_executable_extensions; do
32938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32939 ac_cv_prog_SETFILE="SetFile"
32940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32941 break 2
32942 fi
32943 done
32944 done
32945 IFS=$as_save_IFS
32946
32947 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32948 fi
32949 fi
32950 SETFILE=$ac_cv_prog_SETFILE
32951 if test -n "$SETFILE"; then
32952 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32953 echo "${ECHO_T}$SETFILE" >&6; }
32954 else
32955 { echo "$as_me:$LINENO: result: no" >&5
32956 echo "${ECHO_T}no" >&6; }
32957 fi
32958
32959
32960
32961 MACSETFILE="\$(SETFILE)"
32962
32963 if test "$wxUSE_MAC" = 1; then
32964 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32965 RESCOMP="$REZ"
32966 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32967 else
32968 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32969 RESCOMP="echo -n \| $REZ"
32970 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32971 fi
32972
32973 else
32974 MACSETFILE="@true"
32975
32976 if test "$wxUSE_PM" = 1; then
32977 RESCOMP="emxbind"
32978 WXCONFIG_RESFLAGS="-ep"
32979
32980 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32981 else
32982 POSTLINK_COMMAND="@true"
32983 fi
32984
32985 fi
32986
32987
32988
32989 { echo "$as_me:$LINENO: checking for mode_t" >&5
32990 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
32991 if test "${ac_cv_type_mode_t+set}" = set; then
32992 echo $ECHO_N "(cached) $ECHO_C" >&6
32993 else
32994 cat >conftest.$ac_ext <<_ACEOF
32995 /* confdefs.h. */
32996 _ACEOF
32997 cat confdefs.h >>conftest.$ac_ext
32998 cat >>conftest.$ac_ext <<_ACEOF
32999 /* end confdefs.h. */
33000 $ac_includes_default
33001 typedef mode_t ac__type_new_;
33002 int
33003 main ()
33004 {
33005 if ((ac__type_new_ *) 0)
33006 return 0;
33007 if (sizeof (ac__type_new_))
33008 return 0;
33009 ;
33010 return 0;
33011 }
33012 _ACEOF
33013 rm -f conftest.$ac_objext
33014 if { (ac_try="$ac_compile"
33015 case "(($ac_try" in
33016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33017 *) ac_try_echo=$ac_try;;
33018 esac
33019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33020 (eval "$ac_compile") 2>conftest.er1
33021 ac_status=$?
33022 grep -v '^ *+' conftest.er1 >conftest.err
33023 rm -f conftest.er1
33024 cat conftest.err >&5
33025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33026 (exit $ac_status); } && {
33027 test -z "$ac_c_werror_flag" ||
33028 test ! -s conftest.err
33029 } && test -s conftest.$ac_objext; then
33030 ac_cv_type_mode_t=yes
33031 else
33032 echo "$as_me: failed program was:" >&5
33033 sed 's/^/| /' conftest.$ac_ext >&5
33034
33035 ac_cv_type_mode_t=no
33036 fi
33037
33038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33039 fi
33040 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33041 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33042 if test $ac_cv_type_mode_t = yes; then
33043 :
33044 else
33045
33046 cat >>confdefs.h <<_ACEOF
33047 #define mode_t int
33048 _ACEOF
33049
33050 fi
33051
33052 { echo "$as_me:$LINENO: checking for off_t" >&5
33053 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33054 if test "${ac_cv_type_off_t+set}" = set; then
33055 echo $ECHO_N "(cached) $ECHO_C" >&6
33056 else
33057 cat >conftest.$ac_ext <<_ACEOF
33058 /* confdefs.h. */
33059 _ACEOF
33060 cat confdefs.h >>conftest.$ac_ext
33061 cat >>conftest.$ac_ext <<_ACEOF
33062 /* end confdefs.h. */
33063 $ac_includes_default
33064 typedef off_t ac__type_new_;
33065 int
33066 main ()
33067 {
33068 if ((ac__type_new_ *) 0)
33069 return 0;
33070 if (sizeof (ac__type_new_))
33071 return 0;
33072 ;
33073 return 0;
33074 }
33075 _ACEOF
33076 rm -f conftest.$ac_objext
33077 if { (ac_try="$ac_compile"
33078 case "(($ac_try" in
33079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33080 *) ac_try_echo=$ac_try;;
33081 esac
33082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33083 (eval "$ac_compile") 2>conftest.er1
33084 ac_status=$?
33085 grep -v '^ *+' conftest.er1 >conftest.err
33086 rm -f conftest.er1
33087 cat conftest.err >&5
33088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33089 (exit $ac_status); } && {
33090 test -z "$ac_c_werror_flag" ||
33091 test ! -s conftest.err
33092 } && test -s conftest.$ac_objext; then
33093 ac_cv_type_off_t=yes
33094 else
33095 echo "$as_me: failed program was:" >&5
33096 sed 's/^/| /' conftest.$ac_ext >&5
33097
33098 ac_cv_type_off_t=no
33099 fi
33100
33101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33102 fi
33103 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33104 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33105 if test $ac_cv_type_off_t = yes; then
33106 :
33107 else
33108
33109 cat >>confdefs.h <<_ACEOF
33110 #define off_t long int
33111 _ACEOF
33112
33113 fi
33114
33115 { echo "$as_me:$LINENO: checking for pid_t" >&5
33116 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33117 if test "${ac_cv_type_pid_t+set}" = set; then
33118 echo $ECHO_N "(cached) $ECHO_C" >&6
33119 else
33120 cat >conftest.$ac_ext <<_ACEOF
33121 /* confdefs.h. */
33122 _ACEOF
33123 cat confdefs.h >>conftest.$ac_ext
33124 cat >>conftest.$ac_ext <<_ACEOF
33125 /* end confdefs.h. */
33126 $ac_includes_default
33127 typedef pid_t ac__type_new_;
33128 int
33129 main ()
33130 {
33131 if ((ac__type_new_ *) 0)
33132 return 0;
33133 if (sizeof (ac__type_new_))
33134 return 0;
33135 ;
33136 return 0;
33137 }
33138 _ACEOF
33139 rm -f conftest.$ac_objext
33140 if { (ac_try="$ac_compile"
33141 case "(($ac_try" in
33142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33143 *) ac_try_echo=$ac_try;;
33144 esac
33145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33146 (eval "$ac_compile") 2>conftest.er1
33147 ac_status=$?
33148 grep -v '^ *+' conftest.er1 >conftest.err
33149 rm -f conftest.er1
33150 cat conftest.err >&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); } && {
33153 test -z "$ac_c_werror_flag" ||
33154 test ! -s conftest.err
33155 } && test -s conftest.$ac_objext; then
33156 ac_cv_type_pid_t=yes
33157 else
33158 echo "$as_me: failed program was:" >&5
33159 sed 's/^/| /' conftest.$ac_ext >&5
33160
33161 ac_cv_type_pid_t=no
33162 fi
33163
33164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33165 fi
33166 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33167 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33168 if test $ac_cv_type_pid_t = yes; then
33169 :
33170 else
33171
33172 cat >>confdefs.h <<_ACEOF
33173 #define pid_t int
33174 _ACEOF
33175
33176 fi
33177
33178 { echo "$as_me:$LINENO: checking for size_t" >&5
33179 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33180 if test "${ac_cv_type_size_t+set}" = set; then
33181 echo $ECHO_N "(cached) $ECHO_C" >&6
33182 else
33183 cat >conftest.$ac_ext <<_ACEOF
33184 /* confdefs.h. */
33185 _ACEOF
33186 cat confdefs.h >>conftest.$ac_ext
33187 cat >>conftest.$ac_ext <<_ACEOF
33188 /* end confdefs.h. */
33189 $ac_includes_default
33190 typedef size_t ac__type_new_;
33191 int
33192 main ()
33193 {
33194 if ((ac__type_new_ *) 0)
33195 return 0;
33196 if (sizeof (ac__type_new_))
33197 return 0;
33198 ;
33199 return 0;
33200 }
33201 _ACEOF
33202 rm -f conftest.$ac_objext
33203 if { (ac_try="$ac_compile"
33204 case "(($ac_try" in
33205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33206 *) ac_try_echo=$ac_try;;
33207 esac
33208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33209 (eval "$ac_compile") 2>conftest.er1
33210 ac_status=$?
33211 grep -v '^ *+' conftest.er1 >conftest.err
33212 rm -f conftest.er1
33213 cat conftest.err >&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); } && {
33216 test -z "$ac_c_werror_flag" ||
33217 test ! -s conftest.err
33218 } && test -s conftest.$ac_objext; then
33219 ac_cv_type_size_t=yes
33220 else
33221 echo "$as_me: failed program was:" >&5
33222 sed 's/^/| /' conftest.$ac_ext >&5
33223
33224 ac_cv_type_size_t=no
33225 fi
33226
33227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33228 fi
33229 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33230 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33231 if test $ac_cv_type_size_t = yes; then
33232 :
33233 else
33234
33235 cat >>confdefs.h <<_ACEOF
33236 #define size_t unsigned int
33237 _ACEOF
33238
33239 fi
33240
33241 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33242 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33243 if test "${ac_cv_type_uid_t+set}" = set; then
33244 echo $ECHO_N "(cached) $ECHO_C" >&6
33245 else
33246 cat >conftest.$ac_ext <<_ACEOF
33247 /* confdefs.h. */
33248 _ACEOF
33249 cat confdefs.h >>conftest.$ac_ext
33250 cat >>conftest.$ac_ext <<_ACEOF
33251 /* end confdefs.h. */
33252 #include <sys/types.h>
33253
33254 _ACEOF
33255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33256 $EGREP "uid_t" >/dev/null 2>&1; then
33257 ac_cv_type_uid_t=yes
33258 else
33259 ac_cv_type_uid_t=no
33260 fi
33261 rm -f conftest*
33262
33263 fi
33264 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33265 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33266 if test $ac_cv_type_uid_t = no; then
33267
33268 cat >>confdefs.h <<\_ACEOF
33269 #define uid_t int
33270 _ACEOF
33271
33272
33273 cat >>confdefs.h <<\_ACEOF
33274 #define gid_t int
33275 _ACEOF
33276
33277 fi
33278
33279
33280 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33281 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33282 if test "${ac_cv_type_ssize_t+set}" = set; then
33283 echo $ECHO_N "(cached) $ECHO_C" >&6
33284 else
33285 cat >conftest.$ac_ext <<_ACEOF
33286 /* confdefs.h. */
33287 _ACEOF
33288 cat confdefs.h >>conftest.$ac_ext
33289 cat >>conftest.$ac_ext <<_ACEOF
33290 /* end confdefs.h. */
33291 $ac_includes_default
33292 typedef ssize_t ac__type_new_;
33293 int
33294 main ()
33295 {
33296 if ((ac__type_new_ *) 0)
33297 return 0;
33298 if (sizeof (ac__type_new_))
33299 return 0;
33300 ;
33301 return 0;
33302 }
33303 _ACEOF
33304 rm -f conftest.$ac_objext
33305 if { (ac_try="$ac_compile"
33306 case "(($ac_try" in
33307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33308 *) ac_try_echo=$ac_try;;
33309 esac
33310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33311 (eval "$ac_compile") 2>conftest.er1
33312 ac_status=$?
33313 grep -v '^ *+' conftest.er1 >conftest.err
33314 rm -f conftest.er1
33315 cat conftest.err >&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); } && {
33318 test -z "$ac_c_werror_flag" ||
33319 test ! -s conftest.err
33320 } && test -s conftest.$ac_objext; then
33321 ac_cv_type_ssize_t=yes
33322 else
33323 echo "$as_me: failed program was:" >&5
33324 sed 's/^/| /' conftest.$ac_ext >&5
33325
33326 ac_cv_type_ssize_t=no
33327 fi
33328
33329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33330 fi
33331 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33332 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33333 if test $ac_cv_type_ssize_t = yes; then
33334
33335 cat >>confdefs.h <<_ACEOF
33336 #define HAVE_SSIZE_T 1
33337 _ACEOF
33338
33339
33340 fi
33341
33342
33343 ac_ext=cpp
33344 ac_cpp='$CXXCPP $CPPFLAGS'
33345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33348 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33349 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33350 if test "${wx_cv_size_t_is_uint+set}" = set; then
33351 echo $ECHO_N "(cached) $ECHO_C" >&6
33352 else
33353
33354 cat >conftest.$ac_ext <<_ACEOF
33355 /* confdefs.h. */
33356 _ACEOF
33357 cat confdefs.h >>conftest.$ac_ext
33358 cat >>conftest.$ac_ext <<_ACEOF
33359 /* end confdefs.h. */
33360 #include <stddef.h>
33361 int
33362 main ()
33363 {
33364
33365 return 0; }
33366
33367 struct Foo { void foo(size_t); void foo(unsigned int); };
33368
33369 int bar() {
33370
33371 ;
33372 return 0;
33373 }
33374 _ACEOF
33375 rm -f conftest.$ac_objext
33376 if { (ac_try="$ac_compile"
33377 case "(($ac_try" in
33378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33379 *) ac_try_echo=$ac_try;;
33380 esac
33381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33382 (eval "$ac_compile") 2>conftest.er1
33383 ac_status=$?
33384 grep -v '^ *+' conftest.er1 >conftest.err
33385 rm -f conftest.er1
33386 cat conftest.err >&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); } && {
33389 test -z "$ac_cxx_werror_flag" ||
33390 test ! -s conftest.err
33391 } && test -s conftest.$ac_objext; then
33392 wx_cv_size_t_is_uint=no
33393 else
33394 echo "$as_me: failed program was:" >&5
33395 sed 's/^/| /' conftest.$ac_ext >&5
33396
33397 wx_cv_size_t_is_uint=yes
33398
33399 fi
33400
33401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33402
33403
33404 fi
33405 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33406 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33407
33408 if test "$wx_cv_size_t_is_uint" = "yes"; then
33409 cat >>confdefs.h <<\_ACEOF
33410 #define wxSIZE_T_IS_UINT 1
33411 _ACEOF
33412
33413 else
33414 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33415 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33416 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33417 echo $ECHO_N "(cached) $ECHO_C" >&6
33418 else
33419 cat >conftest.$ac_ext <<_ACEOF
33420 /* confdefs.h. */
33421 _ACEOF
33422 cat confdefs.h >>conftest.$ac_ext
33423 cat >>conftest.$ac_ext <<_ACEOF
33424 /* end confdefs.h. */
33425 #include <stddef.h>
33426 int
33427 main ()
33428 {
33429
33430 return 0; }
33431
33432 struct Foo { void foo(size_t); void foo(unsigned long); };
33433
33434 int bar() {
33435
33436 ;
33437 return 0;
33438 }
33439 _ACEOF
33440 rm -f conftest.$ac_objext
33441 if { (ac_try="$ac_compile"
33442 case "(($ac_try" in
33443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33444 *) ac_try_echo=$ac_try;;
33445 esac
33446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33447 (eval "$ac_compile") 2>conftest.er1
33448 ac_status=$?
33449 grep -v '^ *+' conftest.er1 >conftest.err
33450 rm -f conftest.er1
33451 cat conftest.err >&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); } && {
33454 test -z "$ac_cxx_werror_flag" ||
33455 test ! -s conftest.err
33456 } && test -s conftest.$ac_objext; then
33457 wx_cv_size_t_is_ulong=no
33458 else
33459 echo "$as_me: failed program was:" >&5
33460 sed 's/^/| /' conftest.$ac_ext >&5
33461
33462 wx_cv_size_t_is_ulong=yes
33463
33464 fi
33465
33466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33467
33468 fi
33469 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33470 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33471
33472 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33473 cat >>confdefs.h <<\_ACEOF
33474 #define wxSIZE_T_IS_ULONG 1
33475 _ACEOF
33476
33477 fi
33478 fi
33479
33480 ac_ext=c
33481 ac_cpp='$CPP $CPPFLAGS'
33482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33485
33486
33487 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33488 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33489 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33490 echo $ECHO_N "(cached) $ECHO_C" >&6
33491 else
33492
33493 cat >conftest.$ac_ext <<_ACEOF
33494 /* confdefs.h. */
33495 _ACEOF
33496 cat confdefs.h >>conftest.$ac_ext
33497 cat >>conftest.$ac_ext <<_ACEOF
33498 /* end confdefs.h. */
33499 #include <pwd.h>
33500 int
33501 main ()
33502 {
33503
33504 char *p;
33505 struct passwd *pw;
33506 p = pw->pw_gecos;
33507
33508 ;
33509 return 0;
33510 }
33511 _ACEOF
33512 rm -f conftest.$ac_objext
33513 if { (ac_try="$ac_compile"
33514 case "(($ac_try" in
33515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33516 *) ac_try_echo=$ac_try;;
33517 esac
33518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33519 (eval "$ac_compile") 2>conftest.er1
33520 ac_status=$?
33521 grep -v '^ *+' conftest.er1 >conftest.err
33522 rm -f conftest.er1
33523 cat conftest.err >&5
33524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525 (exit $ac_status); } && {
33526 test -z "$ac_c_werror_flag" ||
33527 test ! -s conftest.err
33528 } && test -s conftest.$ac_objext; then
33529
33530 wx_cv_struct_pw_gecos=yes
33531
33532 else
33533 echo "$as_me: failed program was:" >&5
33534 sed 's/^/| /' conftest.$ac_ext >&5
33535
33536
33537 wx_cv_struct_pw_gecos=no
33538
33539
33540 fi
33541
33542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33543
33544
33545 fi
33546 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33547 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33548
33549 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33550 cat >>confdefs.h <<\_ACEOF
33551 #define HAVE_PW_GECOS 1
33552 _ACEOF
33553
33554 fi
33555
33556
33557 if test "$wxUSE_WCHAR_T" = "yes"; then
33558 cat >>confdefs.h <<\_ACEOF
33559 #define wxUSE_WCHAR_T 1
33560 _ACEOF
33561
33562
33563 WCSLEN_FOUND=0
33564 WCHAR_LINK=
33565
33566 for ac_func in wcslen
33567 do
33568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33569 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33571 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33572 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 else
33574 cat >conftest.$ac_ext <<_ACEOF
33575 /* confdefs.h. */
33576 _ACEOF
33577 cat confdefs.h >>conftest.$ac_ext
33578 cat >>conftest.$ac_ext <<_ACEOF
33579 /* end confdefs.h. */
33580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33582 #define $ac_func innocuous_$ac_func
33583
33584 /* System header to define __stub macros and hopefully few prototypes,
33585 which can conflict with char $ac_func (); below.
33586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33587 <limits.h> exists even on freestanding compilers. */
33588
33589 #ifdef __STDC__
33590 # include <limits.h>
33591 #else
33592 # include <assert.h>
33593 #endif
33594
33595 #undef $ac_func
33596
33597 /* Override any GCC internal prototype to avoid an error.
33598 Use char because int might match the return type of a GCC
33599 builtin and then its argument prototype would still apply. */
33600 #ifdef __cplusplus
33601 extern "C"
33602 #endif
33603 char $ac_func ();
33604 /* The GNU C library defines this for functions which it implements
33605 to always fail with ENOSYS. Some functions are actually named
33606 something starting with __ and the normal name is an alias. */
33607 #if defined __stub_$ac_func || defined __stub___$ac_func
33608 choke me
33609 #endif
33610
33611 int
33612 main ()
33613 {
33614 return $ac_func ();
33615 ;
33616 return 0;
33617 }
33618 _ACEOF
33619 rm -f conftest.$ac_objext conftest$ac_exeext
33620 if { (ac_try="$ac_link"
33621 case "(($ac_try" in
33622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33623 *) ac_try_echo=$ac_try;;
33624 esac
33625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33626 (eval "$ac_link") 2>conftest.er1
33627 ac_status=$?
33628 grep -v '^ *+' conftest.er1 >conftest.err
33629 rm -f conftest.er1
33630 cat conftest.err >&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); } && {
33633 test -z "$ac_c_werror_flag" ||
33634 test ! -s conftest.err
33635 } && test -s conftest$ac_exeext &&
33636 $as_test_x conftest$ac_exeext; then
33637 eval "$as_ac_var=yes"
33638 else
33639 echo "$as_me: failed program was:" >&5
33640 sed 's/^/| /' conftest.$ac_ext >&5
33641
33642 eval "$as_ac_var=no"
33643 fi
33644
33645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33646 conftest$ac_exeext conftest.$ac_ext
33647 fi
33648 ac_res=`eval echo '${'$as_ac_var'}'`
33649 { echo "$as_me:$LINENO: result: $ac_res" >&5
33650 echo "${ECHO_T}$ac_res" >&6; }
33651 if test `eval echo '${'$as_ac_var'}'` = yes; then
33652 cat >>confdefs.h <<_ACEOF
33653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33654 _ACEOF
33655 WCSLEN_FOUND=1
33656 fi
33657 done
33658
33659
33660 if test "$WCSLEN_FOUND" = 0; then
33661 if test "$TOOLKIT" = "MSW"; then
33662 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33663 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33664 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33665 echo $ECHO_N "(cached) $ECHO_C" >&6
33666 else
33667 ac_check_lib_save_LIBS=$LIBS
33668 LIBS="-lmsvcrt $LIBS"
33669 cat >conftest.$ac_ext <<_ACEOF
33670 /* confdefs.h. */
33671 _ACEOF
33672 cat confdefs.h >>conftest.$ac_ext
33673 cat >>conftest.$ac_ext <<_ACEOF
33674 /* end confdefs.h. */
33675
33676 /* Override any GCC internal prototype to avoid an error.
33677 Use char because int might match the return type of a GCC
33678 builtin and then its argument prototype would still apply. */
33679 #ifdef __cplusplus
33680 extern "C"
33681 #endif
33682 char wcslen ();
33683 int
33684 main ()
33685 {
33686 return wcslen ();
33687 ;
33688 return 0;
33689 }
33690 _ACEOF
33691 rm -f conftest.$ac_objext conftest$ac_exeext
33692 if { (ac_try="$ac_link"
33693 case "(($ac_try" in
33694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33695 *) ac_try_echo=$ac_try;;
33696 esac
33697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33698 (eval "$ac_link") 2>conftest.er1
33699 ac_status=$?
33700 grep -v '^ *+' conftest.er1 >conftest.err
33701 rm -f conftest.er1
33702 cat conftest.err >&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } && {
33705 test -z "$ac_c_werror_flag" ||
33706 test ! -s conftest.err
33707 } && test -s conftest$ac_exeext &&
33708 $as_test_x conftest$ac_exeext; then
33709 ac_cv_lib_msvcrt_wcslen=yes
33710 else
33711 echo "$as_me: failed program was:" >&5
33712 sed 's/^/| /' conftest.$ac_ext >&5
33713
33714 ac_cv_lib_msvcrt_wcslen=no
33715 fi
33716
33717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33718 conftest$ac_exeext conftest.$ac_ext
33719 LIBS=$ac_check_lib_save_LIBS
33720 fi
33721 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33722 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33723 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33724 WCHAR_OK=1
33725 fi
33726
33727 else
33728 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33729 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33730 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33731 echo $ECHO_N "(cached) $ECHO_C" >&6
33732 else
33733 ac_check_lib_save_LIBS=$LIBS
33734 LIBS="-lw $LIBS"
33735 cat >conftest.$ac_ext <<_ACEOF
33736 /* confdefs.h. */
33737 _ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33741
33742 /* Override any GCC internal prototype to avoid an error.
33743 Use char because int might match the return type of a GCC
33744 builtin and then its argument prototype would still apply. */
33745 #ifdef __cplusplus
33746 extern "C"
33747 #endif
33748 char wcslen ();
33749 int
33750 main ()
33751 {
33752 return wcslen ();
33753 ;
33754 return 0;
33755 }
33756 _ACEOF
33757 rm -f conftest.$ac_objext conftest$ac_exeext
33758 if { (ac_try="$ac_link"
33759 case "(($ac_try" in
33760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33761 *) ac_try_echo=$ac_try;;
33762 esac
33763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33764 (eval "$ac_link") 2>conftest.er1
33765 ac_status=$?
33766 grep -v '^ *+' conftest.er1 >conftest.err
33767 rm -f conftest.er1
33768 cat conftest.err >&5
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); } && {
33771 test -z "$ac_c_werror_flag" ||
33772 test ! -s conftest.err
33773 } && test -s conftest$ac_exeext &&
33774 $as_test_x conftest$ac_exeext; then
33775 ac_cv_lib_w_wcslen=yes
33776 else
33777 echo "$as_me: failed program was:" >&5
33778 sed 's/^/| /' conftest.$ac_ext >&5
33779
33780 ac_cv_lib_w_wcslen=no
33781 fi
33782
33783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33784 conftest$ac_exeext conftest.$ac_ext
33785 LIBS=$ac_check_lib_save_LIBS
33786 fi
33787 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33788 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33789 if test $ac_cv_lib_w_wcslen = yes; then
33790
33791 WCHAR_LINK=" -lw"
33792 WCSLEN_FOUND=1
33793
33794 fi
33795
33796 fi
33797 fi
33798
33799 if test "$WCSLEN_FOUND" = 1; then
33800 cat >>confdefs.h <<\_ACEOF
33801 #define HAVE_WCSLEN 1
33802 _ACEOF
33803
33804 fi
33805
33806 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33807 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33808 fi
33809
33810 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33811 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33812 if test "${ac_cv_type_mbstate_t+set}" = set; then
33813 echo $ECHO_N "(cached) $ECHO_C" >&6
33814 else
33815 cat >conftest.$ac_ext <<_ACEOF
33816 /* confdefs.h. */
33817 _ACEOF
33818 cat confdefs.h >>conftest.$ac_ext
33819 cat >>conftest.$ac_ext <<_ACEOF
33820 /* end confdefs.h. */
33821 #include <wchar.h>
33822
33823 typedef mbstate_t ac__type_new_;
33824 int
33825 main ()
33826 {
33827 if ((ac__type_new_ *) 0)
33828 return 0;
33829 if (sizeof (ac__type_new_))
33830 return 0;
33831 ;
33832 return 0;
33833 }
33834 _ACEOF
33835 rm -f conftest.$ac_objext
33836 if { (ac_try="$ac_compile"
33837 case "(($ac_try" in
33838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33839 *) ac_try_echo=$ac_try;;
33840 esac
33841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33842 (eval "$ac_compile") 2>conftest.er1
33843 ac_status=$?
33844 grep -v '^ *+' conftest.er1 >conftest.err
33845 rm -f conftest.er1
33846 cat conftest.err >&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } && {
33849 test -z "$ac_c_werror_flag" ||
33850 test ! -s conftest.err
33851 } && test -s conftest.$ac_objext; then
33852 ac_cv_type_mbstate_t=yes
33853 else
33854 echo "$as_me: failed program was:" >&5
33855 sed 's/^/| /' conftest.$ac_ext >&5
33856
33857 ac_cv_type_mbstate_t=no
33858 fi
33859
33860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33861 fi
33862 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33863 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33864 if test $ac_cv_type_mbstate_t = yes; then
33865
33866 cat >>confdefs.h <<_ACEOF
33867 #define HAVE_MBSTATE_T 1
33868 _ACEOF
33869
33870
33871 for ac_func in wcsrtombs
33872 do
33873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33877 echo $ECHO_N "(cached) $ECHO_C" >&6
33878 else
33879 cat >conftest.$ac_ext <<_ACEOF
33880 /* confdefs.h. */
33881 _ACEOF
33882 cat confdefs.h >>conftest.$ac_ext
33883 cat >>conftest.$ac_ext <<_ACEOF
33884 /* end confdefs.h. */
33885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33887 #define $ac_func innocuous_$ac_func
33888
33889 /* System header to define __stub macros and hopefully few prototypes,
33890 which can conflict with char $ac_func (); below.
33891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33892 <limits.h> exists even on freestanding compilers. */
33893
33894 #ifdef __STDC__
33895 # include <limits.h>
33896 #else
33897 # include <assert.h>
33898 #endif
33899
33900 #undef $ac_func
33901
33902 /* Override any GCC internal prototype to avoid an error.
33903 Use char because int might match the return type of a GCC
33904 builtin and then its argument prototype would still apply. */
33905 #ifdef __cplusplus
33906 extern "C"
33907 #endif
33908 char $ac_func ();
33909 /* The GNU C library defines this for functions which it implements
33910 to always fail with ENOSYS. Some functions are actually named
33911 something starting with __ and the normal name is an alias. */
33912 #if defined __stub_$ac_func || defined __stub___$ac_func
33913 choke me
33914 #endif
33915
33916 int
33917 main ()
33918 {
33919 return $ac_func ();
33920 ;
33921 return 0;
33922 }
33923 _ACEOF
33924 rm -f conftest.$ac_objext conftest$ac_exeext
33925 if { (ac_try="$ac_link"
33926 case "(($ac_try" in
33927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33928 *) ac_try_echo=$ac_try;;
33929 esac
33930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33931 (eval "$ac_link") 2>conftest.er1
33932 ac_status=$?
33933 grep -v '^ *+' conftest.er1 >conftest.err
33934 rm -f conftest.er1
33935 cat conftest.err >&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); } && {
33938 test -z "$ac_c_werror_flag" ||
33939 test ! -s conftest.err
33940 } && test -s conftest$ac_exeext &&
33941 $as_test_x conftest$ac_exeext; then
33942 eval "$as_ac_var=yes"
33943 else
33944 echo "$as_me: failed program was:" >&5
33945 sed 's/^/| /' conftest.$ac_ext >&5
33946
33947 eval "$as_ac_var=no"
33948 fi
33949
33950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33951 conftest$ac_exeext conftest.$ac_ext
33952 fi
33953 ac_res=`eval echo '${'$as_ac_var'}'`
33954 { echo "$as_me:$LINENO: result: $ac_res" >&5
33955 echo "${ECHO_T}$ac_res" >&6; }
33956 if test `eval echo '${'$as_ac_var'}'` = yes; then
33957 cat >>confdefs.h <<_ACEOF
33958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33959 _ACEOF
33960
33961 fi
33962 done
33963
33964 fi
33965
33966 else
33967 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33968 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33969 fi
33970
33971
33972
33973 for ac_func in snprintf vsnprintf
33974 do
33975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33976 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33978 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33979 echo $ECHO_N "(cached) $ECHO_C" >&6
33980 else
33981 cat >conftest.$ac_ext <<_ACEOF
33982 /* confdefs.h. */
33983 _ACEOF
33984 cat confdefs.h >>conftest.$ac_ext
33985 cat >>conftest.$ac_ext <<_ACEOF
33986 /* end confdefs.h. */
33987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33989 #define $ac_func innocuous_$ac_func
33990
33991 /* System header to define __stub macros and hopefully few prototypes,
33992 which can conflict with char $ac_func (); below.
33993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33994 <limits.h> exists even on freestanding compilers. */
33995
33996 #ifdef __STDC__
33997 # include <limits.h>
33998 #else
33999 # include <assert.h>
34000 #endif
34001
34002 #undef $ac_func
34003
34004 /* Override any GCC internal prototype to avoid an error.
34005 Use char because int might match the return type of a GCC
34006 builtin and then its argument prototype would still apply. */
34007 #ifdef __cplusplus
34008 extern "C"
34009 #endif
34010 char $ac_func ();
34011 /* The GNU C library defines this for functions which it implements
34012 to always fail with ENOSYS. Some functions are actually named
34013 something starting with __ and the normal name is an alias. */
34014 #if defined __stub_$ac_func || defined __stub___$ac_func
34015 choke me
34016 #endif
34017
34018 int
34019 main ()
34020 {
34021 return $ac_func ();
34022 ;
34023 return 0;
34024 }
34025 _ACEOF
34026 rm -f conftest.$ac_objext conftest$ac_exeext
34027 if { (ac_try="$ac_link"
34028 case "(($ac_try" in
34029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34030 *) ac_try_echo=$ac_try;;
34031 esac
34032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34033 (eval "$ac_link") 2>conftest.er1
34034 ac_status=$?
34035 grep -v '^ *+' conftest.er1 >conftest.err
34036 rm -f conftest.er1
34037 cat conftest.err >&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } && {
34040 test -z "$ac_c_werror_flag" ||
34041 test ! -s conftest.err
34042 } && test -s conftest$ac_exeext &&
34043 $as_test_x conftest$ac_exeext; then
34044 eval "$as_ac_var=yes"
34045 else
34046 echo "$as_me: failed program was:" >&5
34047 sed 's/^/| /' conftest.$ac_ext >&5
34048
34049 eval "$as_ac_var=no"
34050 fi
34051
34052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34053 conftest$ac_exeext conftest.$ac_ext
34054 fi
34055 ac_res=`eval echo '${'$as_ac_var'}'`
34056 { echo "$as_me:$LINENO: result: $ac_res" >&5
34057 echo "${ECHO_T}$ac_res" >&6; }
34058 if test `eval echo '${'$as_ac_var'}'` = yes; then
34059 cat >>confdefs.h <<_ACEOF
34060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34061 _ACEOF
34062
34063 fi
34064 done
34065
34066
34067 if test "$ac_cv_func_vsnprintf" = "yes"; then
34068 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34069 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34070 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34072 else
34073
34074 cat >conftest.$ac_ext <<_ACEOF
34075 /* confdefs.h. */
34076 _ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080
34081 #include <stdio.h>
34082 #include <stdarg.h>
34083 #ifdef __MSL__
34084 #if __MSL__ >= 0x6000
34085 namespace std {}
34086 using namespace std;
34087 #endif
34088 #endif
34089
34090 int
34091 main ()
34092 {
34093
34094 char *buf;
34095 va_list ap;
34096 vsnprintf(buf, 10u, "%s", ap);
34097
34098 ;
34099 return 0;
34100 }
34101 _ACEOF
34102 rm -f conftest.$ac_objext
34103 if { (ac_try="$ac_compile"
34104 case "(($ac_try" in
34105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34106 *) ac_try_echo=$ac_try;;
34107 esac
34108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34109 (eval "$ac_compile") 2>conftest.er1
34110 ac_status=$?
34111 grep -v '^ *+' conftest.er1 >conftest.err
34112 rm -f conftest.er1
34113 cat conftest.err >&5
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); } && {
34116 test -z "$ac_c_werror_flag" ||
34117 test ! -s conftest.err
34118 } && test -s conftest.$ac_objext; then
34119 wx_cv_func_vsnprintf_decl=yes
34120 else
34121 echo "$as_me: failed program was:" >&5
34122 sed 's/^/| /' conftest.$ac_ext >&5
34123
34124 wx_cv_func_vsnprintf_decl=no
34125
34126 fi
34127
34128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34129
34130
34131 fi
34132 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34133 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34134
34135 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34136 cat >>confdefs.h <<\_ACEOF
34137 #define HAVE_VSNPRINTF_DECL 1
34138 _ACEOF
34139
34140
34141 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34142 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34143 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34144 echo $ECHO_N "(cached) $ECHO_C" >&6
34145 else
34146
34147 cat >conftest.$ac_ext <<_ACEOF
34148 /* confdefs.h. */
34149 _ACEOF
34150 cat confdefs.h >>conftest.$ac_ext
34151 cat >>conftest.$ac_ext <<_ACEOF
34152 /* end confdefs.h. */
34153
34154 #include <stdio.h>
34155 #include <stdarg.h>
34156 #ifdef __MSL__
34157 #if __MSL__ >= 0x6000
34158 namespace std {}
34159 using namespace std;
34160 #endif
34161 #endif
34162
34163 int
34164 main ()
34165 {
34166
34167 char *buf;
34168 va_list ap;
34169 const char *fmt = "%s";
34170 vsnprintf(buf, 10u, fmt, ap);
34171
34172 ;
34173 return 0;
34174 }
34175 _ACEOF
34176 rm -f conftest.$ac_objext
34177 if { (ac_try="$ac_compile"
34178 case "(($ac_try" in
34179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34180 *) ac_try_echo=$ac_try;;
34181 esac
34182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34183 (eval "$ac_compile") 2>conftest.er1
34184 ac_status=$?
34185 grep -v '^ *+' conftest.er1 >conftest.err
34186 rm -f conftest.er1
34187 cat conftest.err >&5
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); } && {
34190 test -z "$ac_c_werror_flag" ||
34191 test ! -s conftest.err
34192 } && test -s conftest.$ac_objext; then
34193 wx_cv_func_broken_vsnprintf_decl=no
34194 else
34195 echo "$as_me: failed program was:" >&5
34196 sed 's/^/| /' conftest.$ac_ext >&5
34197
34198 wx_cv_func_broken_vsnprintf_decl=yes
34199
34200 fi
34201
34202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34203
34204
34205 fi
34206 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34207 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34208
34209 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34210 cat >>confdefs.h <<\_ACEOF
34211 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34212 _ACEOF
34213
34214 fi
34215 fi
34216 fi
34217
34218 if test "$ac_cv_func_snprintf" = "yes"; then
34219 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34220 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34221 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34222 echo $ECHO_N "(cached) $ECHO_C" >&6
34223 else
34224
34225 cat >conftest.$ac_ext <<_ACEOF
34226 /* confdefs.h. */
34227 _ACEOF
34228 cat confdefs.h >>conftest.$ac_ext
34229 cat >>conftest.$ac_ext <<_ACEOF
34230 /* end confdefs.h. */
34231
34232 #include <stdio.h>
34233 #include <stdarg.h>
34234 #ifdef __MSL__
34235 #if __MSL__ >= 0x6000
34236 namespace std {}
34237 using namespace std;
34238 #endif
34239 #endif
34240
34241 int
34242 main ()
34243 {
34244
34245 char *buf;
34246 snprintf(buf, 10u, "%s", "wx");
34247
34248 ;
34249 return 0;
34250 }
34251 _ACEOF
34252 rm -f conftest.$ac_objext
34253 if { (ac_try="$ac_compile"
34254 case "(($ac_try" in
34255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34256 *) ac_try_echo=$ac_try;;
34257 esac
34258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34259 (eval "$ac_compile") 2>conftest.er1
34260 ac_status=$?
34261 grep -v '^ *+' conftest.er1 >conftest.err
34262 rm -f conftest.er1
34263 cat conftest.err >&5
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); } && {
34266 test -z "$ac_c_werror_flag" ||
34267 test ! -s conftest.err
34268 } && test -s conftest.$ac_objext; then
34269 wx_cv_func_snprintf_decl=yes
34270 else
34271 echo "$as_me: failed program was:" >&5
34272 sed 's/^/| /' conftest.$ac_ext >&5
34273
34274 wx_cv_func_snprintf_decl=no
34275
34276 fi
34277
34278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34279
34280
34281 fi
34282 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34283 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34284
34285 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34286 cat >>confdefs.h <<\_ACEOF
34287 #define HAVE_SNPRINTF_DECL 1
34288 _ACEOF
34289
34290
34291 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34292 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34293 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34294 echo $ECHO_N "(cached) $ECHO_C" >&6
34295 else
34296
34297 cat >conftest.$ac_ext <<_ACEOF
34298 /* confdefs.h. */
34299 _ACEOF
34300 cat confdefs.h >>conftest.$ac_ext
34301 cat >>conftest.$ac_ext <<_ACEOF
34302 /* end confdefs.h. */
34303
34304 #include <stdio.h>
34305 #include <stdarg.h>
34306 #ifdef __MSL__
34307 #if __MSL__ >= 0x6000
34308 namespace std {}
34309 using namespace std;
34310 #endif
34311 #endif
34312
34313 int
34314 main ()
34315 {
34316
34317 char *buf;
34318 const char *fmt = "%s";
34319 snprintf(buf, 10u, fmt, "wx");
34320
34321 ;
34322 return 0;
34323 }
34324 _ACEOF
34325 rm -f conftest.$ac_objext
34326 if { (ac_try="$ac_compile"
34327 case "(($ac_try" in
34328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34329 *) ac_try_echo=$ac_try;;
34330 esac
34331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34332 (eval "$ac_compile") 2>conftest.er1
34333 ac_status=$?
34334 grep -v '^ *+' conftest.er1 >conftest.err
34335 rm -f conftest.er1
34336 cat conftest.err >&5
34337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34338 (exit $ac_status); } && {
34339 test -z "$ac_c_werror_flag" ||
34340 test ! -s conftest.err
34341 } && test -s conftest.$ac_objext; then
34342 wx_cv_func_broken_snprintf_decl=no
34343 else
34344 echo "$as_me: failed program was:" >&5
34345 sed 's/^/| /' conftest.$ac_ext >&5
34346
34347 wx_cv_func_broken_snprintf_decl=yes
34348
34349 fi
34350
34351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34352
34353
34354 fi
34355 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34356 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34357
34358 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34359 cat >>confdefs.h <<\_ACEOF
34360 #define HAVE_BROKEN_SNPRINTF_DECL 1
34361 _ACEOF
34362
34363 fi
34364 fi
34365
34366 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34367
34368 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34369 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34370 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34371 echo $ECHO_N "(cached) $ECHO_C" >&6
34372 else
34373
34374 if test "$cross_compiling" = yes; then
34375
34376 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34377 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34378 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34379 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34380 wx_cv_func_snprintf_pos_params=no
34381
34382
34383 else
34384 cat >conftest.$ac_ext <<_ACEOF
34385 /* confdefs.h. */
34386 _ACEOF
34387 cat confdefs.h >>conftest.$ac_ext
34388 cat >>conftest.$ac_ext <<_ACEOF
34389 /* end confdefs.h. */
34390
34391 #include <stdio.h>
34392
34393 int main (void)
34394 {
34395 char buffer[128];
34396 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34397 if (strcmp ("2 3 1", buffer) == 0)
34398 exit (0);
34399 exit (1);
34400 }
34401
34402 _ACEOF
34403 rm -f conftest$ac_exeext
34404 if { (ac_try="$ac_link"
34405 case "(($ac_try" in
34406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34407 *) ac_try_echo=$ac_try;;
34408 esac
34409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34410 (eval "$ac_link") 2>&5
34411 ac_status=$?
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34414 { (case "(($ac_try" in
34415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34416 *) ac_try_echo=$ac_try;;
34417 esac
34418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34419 (eval "$ac_try") 2>&5
34420 ac_status=$?
34421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34422 (exit $ac_status); }; }; then
34423 wx_cv_func_snprintf_pos_params=no
34424 else
34425 echo "$as_me: program exited with status $ac_status" >&5
34426 echo "$as_me: failed program was:" >&5
34427 sed 's/^/| /' conftest.$ac_ext >&5
34428
34429 ( exit $ac_status )
34430 wx_cv_func_snprintf_pos_params=yes
34431 fi
34432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34433 fi
34434
34435
34436
34437
34438 fi
34439 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34440 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34441
34442 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34443 cat >>confdefs.h <<\_ACEOF
34444 #define HAVE_UNIX98_PRINTF 1
34445 _ACEOF
34446
34447 fi
34448 fi
34449 fi
34450
34451 if test "$wxUSE_UNICODE" = yes; then
34452
34453
34454 for ac_func in swprintf
34455 do
34456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34457 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34459 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34460 echo $ECHO_N "(cached) $ECHO_C" >&6
34461 else
34462 cat >conftest.$ac_ext <<_ACEOF
34463 /* confdefs.h. */
34464 _ACEOF
34465 cat confdefs.h >>conftest.$ac_ext
34466 cat >>conftest.$ac_ext <<_ACEOF
34467 /* end confdefs.h. */
34468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34470 #define $ac_func innocuous_$ac_func
34471
34472 /* System header to define __stub macros and hopefully few prototypes,
34473 which can conflict with char $ac_func (); below.
34474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34475 <limits.h> exists even on freestanding compilers. */
34476
34477 #ifdef __STDC__
34478 # include <limits.h>
34479 #else
34480 # include <assert.h>
34481 #endif
34482
34483 #undef $ac_func
34484
34485 /* Override any GCC internal prototype to avoid an error.
34486 Use char because int might match the return type of a GCC
34487 builtin and then its argument prototype would still apply. */
34488 #ifdef __cplusplus
34489 extern "C"
34490 #endif
34491 char $ac_func ();
34492 /* The GNU C library defines this for functions which it implements
34493 to always fail with ENOSYS. Some functions are actually named
34494 something starting with __ and the normal name is an alias. */
34495 #if defined __stub_$ac_func || defined __stub___$ac_func
34496 choke me
34497 #endif
34498
34499 int
34500 main ()
34501 {
34502 return $ac_func ();
34503 ;
34504 return 0;
34505 }
34506 _ACEOF
34507 rm -f conftest.$ac_objext conftest$ac_exeext
34508 if { (ac_try="$ac_link"
34509 case "(($ac_try" in
34510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34511 *) ac_try_echo=$ac_try;;
34512 esac
34513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34514 (eval "$ac_link") 2>conftest.er1
34515 ac_status=$?
34516 grep -v '^ *+' conftest.er1 >conftest.err
34517 rm -f conftest.er1
34518 cat conftest.err >&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); } && {
34521 test -z "$ac_c_werror_flag" ||
34522 test ! -s conftest.err
34523 } && test -s conftest$ac_exeext &&
34524 $as_test_x conftest$ac_exeext; then
34525 eval "$as_ac_var=yes"
34526 else
34527 echo "$as_me: failed program was:" >&5
34528 sed 's/^/| /' conftest.$ac_ext >&5
34529
34530 eval "$as_ac_var=no"
34531 fi
34532
34533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34534 conftest$ac_exeext conftest.$ac_ext
34535 fi
34536 ac_res=`eval echo '${'$as_ac_var'}'`
34537 { echo "$as_me:$LINENO: result: $ac_res" >&5
34538 echo "${ECHO_T}$ac_res" >&6; }
34539 if test `eval echo '${'$as_ac_var'}'` = yes; then
34540 cat >>confdefs.h <<_ACEOF
34541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34542 _ACEOF
34543
34544 fi
34545 done
34546
34547
34548 if test "$ac_cv_func_swprintf" = "yes"; then
34549 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34550 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34551 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34552 echo $ECHO_N "(cached) $ECHO_C" >&6
34553 else
34554
34555 cat >conftest.$ac_ext <<_ACEOF
34556 /* confdefs.h. */
34557 _ACEOF
34558 cat confdefs.h >>conftest.$ac_ext
34559 cat >>conftest.$ac_ext <<_ACEOF
34560 /* end confdefs.h. */
34561
34562 #include <stdio.h>
34563 #include <stdarg.h>
34564 #include <wchar.h>
34565
34566 int
34567 main ()
34568 {
34569
34570 wchar_t *buf;
34571 const wchar_t *fmt = L"test";
34572 swprintf(buf, 10u, fmt);
34573
34574 ;
34575 return 0;
34576 }
34577 _ACEOF
34578 rm -f conftest.$ac_objext
34579 if { (ac_try="$ac_compile"
34580 case "(($ac_try" in
34581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34582 *) ac_try_echo=$ac_try;;
34583 esac
34584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34585 (eval "$ac_compile") 2>conftest.er1
34586 ac_status=$?
34587 grep -v '^ *+' conftest.er1 >conftest.err
34588 rm -f conftest.er1
34589 cat conftest.err >&5
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); } && {
34592 test -z "$ac_c_werror_flag" ||
34593 test ! -s conftest.err
34594 } && test -s conftest.$ac_objext; then
34595 wx_cv_func_broken_swprintf_decl=no
34596 else
34597 echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.$ac_ext >&5
34599
34600 wx_cv_func_broken_swprintf_decl=yes
34601
34602 fi
34603
34604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34605
34606
34607 fi
34608 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34609 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34610
34611 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34612 cat >>confdefs.h <<\_ACEOF
34613 #define HAVE_BROKEN_SWPRINTF_DECL 1
34614 _ACEOF
34615
34616 fi
34617 fi
34618
34619 wchar_headers="#include <stdio.h>
34620 #include <wchar.h>"
34621 case "${host}" in
34622 *-*-solaris2* )
34623 { echo "$as_me:$LINENO: checking for widec.h" >&5
34624 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34625 if test "${ac_cv_header_widec_h+set}" = set; then
34626 echo $ECHO_N "(cached) $ECHO_C" >&6
34627 else
34628 cat >conftest.$ac_ext <<_ACEOF
34629 /* confdefs.h. */
34630 _ACEOF
34631 cat confdefs.h >>conftest.$ac_ext
34632 cat >>conftest.$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34634 $ac_includes_default
34635
34636 #include <widec.h>
34637 _ACEOF
34638 rm -f conftest.$ac_objext
34639 if { (ac_try="$ac_compile"
34640 case "(($ac_try" in
34641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34642 *) ac_try_echo=$ac_try;;
34643 esac
34644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34645 (eval "$ac_compile") 2>conftest.er1
34646 ac_status=$?
34647 grep -v '^ *+' conftest.er1 >conftest.err
34648 rm -f conftest.er1
34649 cat conftest.err >&5
34650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34651 (exit $ac_status); } && {
34652 test -z "$ac_c_werror_flag" ||
34653 test ! -s conftest.err
34654 } && test -s conftest.$ac_objext; then
34655 ac_cv_header_widec_h=yes
34656 else
34657 echo "$as_me: failed program was:" >&5
34658 sed 's/^/| /' conftest.$ac_ext >&5
34659
34660 ac_cv_header_widec_h=no
34661 fi
34662
34663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34664 fi
34665 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34666 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34667
34668
34669 if test "$ac_cv_header_widec_h" = "yes"; then
34670 wchar_headers="$wchar_headers
34671 #include <widec.h>"
34672 fi
34673 esac
34674
34675
34676 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34677 do
34678 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34679 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34680 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34681 echo $ECHO_N "(cached) $ECHO_C" >&6
34682 else
34683
34684 cat >conftest.$ac_ext <<_ACEOF
34685
34686 /* confdefs.h. */
34687 _ACEOF
34688 cat confdefs.h >>conftest.$ac_ext
34689 cat >>conftest.$ac_ext <<_ACEOF
34690 /* end confdefs.h. */
34691
34692 $wchar_headers
34693 $ac_includes_default
34694
34695 int
34696 main ()
34697 {
34698
34699 #ifndef $wx_func
34700 &$wx_func;
34701 #endif
34702
34703
34704 ;
34705 return 0;
34706 }
34707
34708 _ACEOF
34709 rm -f conftest.$ac_objext conftest$ac_exeext
34710 if { (ac_try="$ac_link"
34711 case "(($ac_try" in
34712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34713 *) ac_try_echo=$ac_try;;
34714 esac
34715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34716 (eval "$ac_link") 2>conftest.er1
34717 ac_status=$?
34718 grep -v '^ *+' conftest.er1 >conftest.err
34719 rm -f conftest.er1
34720 cat conftest.err >&5
34721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34722 (exit $ac_status); } && {
34723 test -z "$ac_c_werror_flag" ||
34724 test ! -s conftest.err
34725 } && test -s conftest$ac_exeext &&
34726 $as_test_x conftest$ac_exeext; then
34727 eval wx_cv_func_$wx_func=yes
34728 else
34729 echo "$as_me: failed program was:" >&5
34730 sed 's/^/| /' conftest.$ac_ext >&5
34731
34732 eval wx_cv_func_$wx_func=no
34733 fi
34734
34735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34736 conftest$ac_exeext conftest.$ac_ext
34737
34738 fi
34739 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34740 { echo "$as_me:$LINENO: result: $ac_res" >&5
34741 echo "${ECHO_T}$ac_res" >&6; }
34742
34743 if eval test \$wx_cv_func_$wx_func = yes
34744 then
34745 cat >>confdefs.h <<_ACEOF
34746 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34747 _ACEOF
34748
34749
34750 else
34751 :
34752
34753 fi
34754 done
34755
34756
34757 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34758 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34759 cat >conftest.$ac_ext <<_ACEOF
34760 /* confdefs.h. */
34761 _ACEOF
34762 cat confdefs.h >>conftest.$ac_ext
34763 cat >>conftest.$ac_ext <<_ACEOF
34764 /* end confdefs.h. */
34765 #include <wchar.h>
34766 int
34767 main ()
34768 {
34769 &_vsnwprintf;
34770 ;
34771 return 0;
34772 }
34773 _ACEOF
34774 rm -f conftest.$ac_objext
34775 if { (ac_try="$ac_compile"
34776 case "(($ac_try" in
34777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34778 *) ac_try_echo=$ac_try;;
34779 esac
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_compile") 2>conftest.er1
34782 ac_status=$?
34783 grep -v '^ *+' conftest.er1 >conftest.err
34784 rm -f conftest.er1
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest.$ac_objext; then
34791 { echo "$as_me:$LINENO: result: yes" >&5
34792 echo "${ECHO_T}yes" >&6; }
34793 cat >>confdefs.h <<\_ACEOF
34794 #define HAVE__VSNWPRINTF 1
34795 _ACEOF
34796
34797 else
34798 echo "$as_me: failed program was:" >&5
34799 sed 's/^/| /' conftest.$ac_ext >&5
34800
34801 { echo "$as_me:$LINENO: result: no" >&5
34802 echo "${ECHO_T}no" >&6; }
34803 fi
34804
34805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34806 fi
34807
34808 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34809
34810 for wx_func in fnmatch
34811 do
34812 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34813 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34814 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34815 echo $ECHO_N "(cached) $ECHO_C" >&6
34816 else
34817
34818 cat >conftest.$ac_ext <<_ACEOF
34819
34820 /* confdefs.h. */
34821 _ACEOF
34822 cat confdefs.h >>conftest.$ac_ext
34823 cat >>conftest.$ac_ext <<_ACEOF
34824 /* end confdefs.h. */
34825
34826 #include <fnmatch.h>
34827 $ac_includes_default
34828
34829 int
34830 main ()
34831 {
34832
34833 #ifndef $wx_func
34834 &$wx_func;
34835 #endif
34836
34837
34838 ;
34839 return 0;
34840 }
34841
34842 _ACEOF
34843 rm -f conftest.$ac_objext conftest$ac_exeext
34844 if { (ac_try="$ac_link"
34845 case "(($ac_try" in
34846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34847 *) ac_try_echo=$ac_try;;
34848 esac
34849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34850 (eval "$ac_link") 2>conftest.er1
34851 ac_status=$?
34852 grep -v '^ *+' conftest.er1 >conftest.err
34853 rm -f conftest.er1
34854 cat conftest.err >&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } && {
34857 test -z "$ac_c_werror_flag" ||
34858 test ! -s conftest.err
34859 } && test -s conftest$ac_exeext &&
34860 $as_test_x conftest$ac_exeext; then
34861 eval wx_cv_func_$wx_func=yes
34862 else
34863 echo "$as_me: failed program was:" >&5
34864 sed 's/^/| /' conftest.$ac_ext >&5
34865
34866 eval wx_cv_func_$wx_func=no
34867 fi
34868
34869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34870 conftest$ac_exeext conftest.$ac_ext
34871
34872 fi
34873 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34874 { echo "$as_me:$LINENO: result: $ac_res" >&5
34875 echo "${ECHO_T}$ac_res" >&6; }
34876
34877 if eval test \$wx_cv_func_$wx_func = yes
34878 then
34879 cat >>confdefs.h <<_ACEOF
34880 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34881 _ACEOF
34882
34883
34884 else
34885 :
34886
34887 fi
34888 done
34889
34890 fi
34891
34892 if test "$wxUSE_FILE" = "yes"; then
34893
34894 for wx_func in fsync
34895 do
34896 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34897 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34898 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34899 echo $ECHO_N "(cached) $ECHO_C" >&6
34900 else
34901
34902 cat >conftest.$ac_ext <<_ACEOF
34903
34904 /* confdefs.h. */
34905 _ACEOF
34906 cat confdefs.h >>conftest.$ac_ext
34907 cat >>conftest.$ac_ext <<_ACEOF
34908 /* end confdefs.h. */
34909
34910
34911 $ac_includes_default
34912
34913 int
34914 main ()
34915 {
34916
34917 #ifndef $wx_func
34918 &$wx_func;
34919 #endif
34920
34921
34922 ;
34923 return 0;
34924 }
34925
34926 _ACEOF
34927 rm -f conftest.$ac_objext conftest$ac_exeext
34928 if { (ac_try="$ac_link"
34929 case "(($ac_try" in
34930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34931 *) ac_try_echo=$ac_try;;
34932 esac
34933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34934 (eval "$ac_link") 2>conftest.er1
34935 ac_status=$?
34936 grep -v '^ *+' conftest.er1 >conftest.err
34937 rm -f conftest.er1
34938 cat conftest.err >&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); } && {
34941 test -z "$ac_c_werror_flag" ||
34942 test ! -s conftest.err
34943 } && test -s conftest$ac_exeext &&
34944 $as_test_x conftest$ac_exeext; then
34945 eval wx_cv_func_$wx_func=yes
34946 else
34947 echo "$as_me: failed program was:" >&5
34948 sed 's/^/| /' conftest.$ac_ext >&5
34949
34950 eval wx_cv_func_$wx_func=no
34951 fi
34952
34953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34954 conftest$ac_exeext conftest.$ac_ext
34955
34956 fi
34957 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34958 { echo "$as_me:$LINENO: result: $ac_res" >&5
34959 echo "${ECHO_T}$ac_res" >&6; }
34960
34961 if eval test \$wx_cv_func_$wx_func = yes
34962 then
34963 cat >>confdefs.h <<_ACEOF
34964 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34965 _ACEOF
34966
34967
34968 else
34969 :
34970
34971 fi
34972 done
34973
34974 fi
34975
34976
34977 for wx_func in round
34978 do
34979 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34980 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34981 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34982 echo $ECHO_N "(cached) $ECHO_C" >&6
34983 else
34984
34985 cat >conftest.$ac_ext <<_ACEOF
34986
34987 /* confdefs.h. */
34988 _ACEOF
34989 cat confdefs.h >>conftest.$ac_ext
34990 cat >>conftest.$ac_ext <<_ACEOF
34991 /* end confdefs.h. */
34992
34993 #include <math.h>
34994 $ac_includes_default
34995
34996 int
34997 main ()
34998 {
34999
35000 #ifndef $wx_func
35001 &$wx_func;
35002 #endif
35003
35004
35005 ;
35006 return 0;
35007 }
35008
35009 _ACEOF
35010 rm -f conftest.$ac_objext conftest$ac_exeext
35011 if { (ac_try="$ac_link"
35012 case "(($ac_try" in
35013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35014 *) ac_try_echo=$ac_try;;
35015 esac
35016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35017 (eval "$ac_link") 2>conftest.er1
35018 ac_status=$?
35019 grep -v '^ *+' conftest.er1 >conftest.err
35020 rm -f conftest.er1
35021 cat conftest.err >&5
35022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35023 (exit $ac_status); } && {
35024 test -z "$ac_c_werror_flag" ||
35025 test ! -s conftest.err
35026 } && test -s conftest$ac_exeext &&
35027 $as_test_x conftest$ac_exeext; then
35028 eval wx_cv_func_$wx_func=yes
35029 else
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.$ac_ext >&5
35032
35033 eval wx_cv_func_$wx_func=no
35034 fi
35035
35036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35037 conftest$ac_exeext conftest.$ac_ext
35038
35039 fi
35040 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35041 { echo "$as_me:$LINENO: result: $ac_res" >&5
35042 echo "${ECHO_T}$ac_res" >&6; }
35043
35044 if eval test \$wx_cv_func_$wx_func = yes
35045 then
35046 cat >>confdefs.h <<_ACEOF
35047 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35048 _ACEOF
35049
35050
35051 else
35052 :
35053
35054 fi
35055 done
35056
35057
35058 if test "$TOOLKIT" != "MSW"; then
35059
35060
35061
35062
35063
35064 # Check whether --with-libiconv-prefix was given.
35065 if test "${with_libiconv_prefix+set}" = set; then
35066 withval=$with_libiconv_prefix;
35067 for dir in `echo "$withval" | tr : ' '`; do
35068 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35069 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35070 done
35071
35072 fi
35073
35074
35075 { echo "$as_me:$LINENO: checking for iconv" >&5
35076 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35077 if test "${am_cv_func_iconv+set}" = set; then
35078 echo $ECHO_N "(cached) $ECHO_C" >&6
35079 else
35080
35081 am_cv_func_iconv="no, consider installing GNU libiconv"
35082 am_cv_lib_iconv=no
35083 cat >conftest.$ac_ext <<_ACEOF
35084 /* confdefs.h. */
35085 _ACEOF
35086 cat confdefs.h >>conftest.$ac_ext
35087 cat >>conftest.$ac_ext <<_ACEOF
35088 /* end confdefs.h. */
35089 #include <stdlib.h>
35090 #include <iconv.h>
35091 int
35092 main ()
35093 {
35094 iconv_t cd = iconv_open("","");
35095 iconv(cd,NULL,NULL,NULL,NULL);
35096 iconv_close(cd);
35097 ;
35098 return 0;
35099 }
35100 _ACEOF
35101 rm -f conftest.$ac_objext conftest$ac_exeext
35102 if { (ac_try="$ac_link"
35103 case "(($ac_try" in
35104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35105 *) ac_try_echo=$ac_try;;
35106 esac
35107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35108 (eval "$ac_link") 2>conftest.er1
35109 ac_status=$?
35110 grep -v '^ *+' conftest.er1 >conftest.err
35111 rm -f conftest.er1
35112 cat conftest.err >&5
35113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114 (exit $ac_status); } && {
35115 test -z "$ac_c_werror_flag" ||
35116 test ! -s conftest.err
35117 } && test -s conftest$ac_exeext &&
35118 $as_test_x conftest$ac_exeext; then
35119 am_cv_func_iconv=yes
35120 else
35121 echo "$as_me: failed program was:" >&5
35122 sed 's/^/| /' conftest.$ac_ext >&5
35123
35124
35125 fi
35126
35127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35128 conftest$ac_exeext conftest.$ac_ext
35129 if test "$am_cv_func_iconv" != yes; then
35130 am_save_LIBS="$LIBS"
35131 LIBS="$LIBS -liconv"
35132 cat >conftest.$ac_ext <<_ACEOF
35133 /* confdefs.h. */
35134 _ACEOF
35135 cat confdefs.h >>conftest.$ac_ext
35136 cat >>conftest.$ac_ext <<_ACEOF
35137 /* end confdefs.h. */
35138 #include <stdlib.h>
35139 #include <iconv.h>
35140 int
35141 main ()
35142 {
35143 iconv_t cd = iconv_open("","");
35144 iconv(cd,NULL,NULL,NULL,NULL);
35145 iconv_close(cd);
35146 ;
35147 return 0;
35148 }
35149 _ACEOF
35150 rm -f conftest.$ac_objext conftest$ac_exeext
35151 if { (ac_try="$ac_link"
35152 case "(($ac_try" in
35153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35154 *) ac_try_echo=$ac_try;;
35155 esac
35156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35157 (eval "$ac_link") 2>conftest.er1
35158 ac_status=$?
35159 grep -v '^ *+' conftest.er1 >conftest.err
35160 rm -f conftest.er1
35161 cat conftest.err >&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); } && {
35164 test -z "$ac_c_werror_flag" ||
35165 test ! -s conftest.err
35166 } && test -s conftest$ac_exeext &&
35167 $as_test_x conftest$ac_exeext; then
35168 am_cv_lib_iconv=yes
35169 am_cv_func_iconv=yes
35170 else
35171 echo "$as_me: failed program was:" >&5
35172 sed 's/^/| /' conftest.$ac_ext >&5
35173
35174
35175 fi
35176
35177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35178 conftest$ac_exeext conftest.$ac_ext
35179 LIBS="$am_save_LIBS"
35180 fi
35181
35182 fi
35183 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35184 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35185 if test "$am_cv_func_iconv" = yes; then
35186
35187 cat >>confdefs.h <<\_ACEOF
35188 #define HAVE_ICONV 1
35189 _ACEOF
35190
35191 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35192 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35193 if test "${wx_cv_func_iconv_const+set}" = set; then
35194 echo $ECHO_N "(cached) $ECHO_C" >&6
35195 else
35196 cat >conftest.$ac_ext <<_ACEOF
35197 /* confdefs.h. */
35198 _ACEOF
35199 cat confdefs.h >>conftest.$ac_ext
35200 cat >>conftest.$ac_ext <<_ACEOF
35201 /* end confdefs.h. */
35202
35203 #include <stdlib.h>
35204 #include <iconv.h>
35205 extern
35206 #ifdef __cplusplus
35207 "C"
35208 #endif
35209 #if defined(__STDC__) || defined(__cplusplus)
35210 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35211 #else
35212 size_t iconv();
35213 #endif
35214
35215 int
35216 main ()
35217 {
35218
35219 ;
35220 return 0;
35221 }
35222 _ACEOF
35223 rm -f conftest.$ac_objext
35224 if { (ac_try="$ac_compile"
35225 case "(($ac_try" in
35226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35227 *) ac_try_echo=$ac_try;;
35228 esac
35229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35230 (eval "$ac_compile") 2>conftest.er1
35231 ac_status=$?
35232 grep -v '^ *+' conftest.er1 >conftest.err
35233 rm -f conftest.er1
35234 cat conftest.err >&5
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); } && {
35237 test -z "$ac_c_werror_flag" ||
35238 test ! -s conftest.err
35239 } && test -s conftest.$ac_objext; then
35240 wx_cv_func_iconv_const="no"
35241 else
35242 echo "$as_me: failed program was:" >&5
35243 sed 's/^/| /' conftest.$ac_ext >&5
35244
35245 wx_cv_func_iconv_const="yes"
35246
35247 fi
35248
35249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35250
35251 fi
35252 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35253 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35254
35255 iconv_const=
35256 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35257 iconv_const="const"
35258 fi
35259
35260
35261 cat >>confdefs.h <<_ACEOF
35262 #define ICONV_CONST $iconv_const
35263 _ACEOF
35264
35265 fi
35266 LIBICONV=
35267 if test "$am_cv_lib_iconv" = yes; then
35268 LIBICONV="-liconv"
35269 fi
35270
35271
35272 LIBS="$LIBICONV $LIBS"
35273
35274 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35275
35276 for ac_func in sigaction
35277 do
35278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35279 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35281 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35283 else
35284 cat >conftest.$ac_ext <<_ACEOF
35285 /* confdefs.h. */
35286 _ACEOF
35287 cat confdefs.h >>conftest.$ac_ext
35288 cat >>conftest.$ac_ext <<_ACEOF
35289 /* end confdefs.h. */
35290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35292 #define $ac_func innocuous_$ac_func
35293
35294 /* System header to define __stub macros and hopefully few prototypes,
35295 which can conflict with char $ac_func (); below.
35296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35297 <limits.h> exists even on freestanding compilers. */
35298
35299 #ifdef __STDC__
35300 # include <limits.h>
35301 #else
35302 # include <assert.h>
35303 #endif
35304
35305 #undef $ac_func
35306
35307 /* Override any GCC internal prototype to avoid an error.
35308 Use char because int might match the return type of a GCC
35309 builtin and then its argument prototype would still apply. */
35310 #ifdef __cplusplus
35311 extern "C"
35312 #endif
35313 char $ac_func ();
35314 /* The GNU C library defines this for functions which it implements
35315 to always fail with ENOSYS. Some functions are actually named
35316 something starting with __ and the normal name is an alias. */
35317 #if defined __stub_$ac_func || defined __stub___$ac_func
35318 choke me
35319 #endif
35320
35321 int
35322 main ()
35323 {
35324 return $ac_func ();
35325 ;
35326 return 0;
35327 }
35328 _ACEOF
35329 rm -f conftest.$ac_objext conftest$ac_exeext
35330 if { (ac_try="$ac_link"
35331 case "(($ac_try" in
35332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35333 *) ac_try_echo=$ac_try;;
35334 esac
35335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35336 (eval "$ac_link") 2>conftest.er1
35337 ac_status=$?
35338 grep -v '^ *+' conftest.er1 >conftest.err
35339 rm -f conftest.er1
35340 cat conftest.err >&5
35341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35342 (exit $ac_status); } && {
35343 test -z "$ac_c_werror_flag" ||
35344 test ! -s conftest.err
35345 } && test -s conftest$ac_exeext &&
35346 $as_test_x conftest$ac_exeext; then
35347 eval "$as_ac_var=yes"
35348 else
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.$ac_ext >&5
35351
35352 eval "$as_ac_var=no"
35353 fi
35354
35355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35356 conftest$ac_exeext conftest.$ac_ext
35357 fi
35358 ac_res=`eval echo '${'$as_ac_var'}'`
35359 { echo "$as_me:$LINENO: result: $ac_res" >&5
35360 echo "${ECHO_T}$ac_res" >&6; }
35361 if test `eval echo '${'$as_ac_var'}'` = yes; then
35362 cat >>confdefs.h <<_ACEOF
35363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35364 _ACEOF
35365
35366 fi
35367 done
35368
35369
35370 if test "$ac_cv_func_sigaction" = "no"; then
35371 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35372 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35373 wxUSE_ON_FATAL_EXCEPTION=no
35374 fi
35375
35376 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35377 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35378 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35379 if test "${wx_cv_type_sa_handler+set}" = set; then
35380 echo $ECHO_N "(cached) $ECHO_C" >&6
35381 else
35382
35383 ac_ext=cpp
35384 ac_cpp='$CXXCPP $CPPFLAGS'
35385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35388
35389 cat >conftest.$ac_ext <<_ACEOF
35390 /* confdefs.h. */
35391 _ACEOF
35392 cat confdefs.h >>conftest.$ac_ext
35393 cat >>conftest.$ac_ext <<_ACEOF
35394 /* end confdefs.h. */
35395 #include <signal.h>
35396 int
35397 main ()
35398 {
35399
35400 extern void testSigHandler(int);
35401
35402 struct sigaction sa;
35403 sa.sa_handler = testSigHandler;
35404
35405 ;
35406 return 0;
35407 }
35408 _ACEOF
35409 rm -f conftest.$ac_objext
35410 if { (ac_try="$ac_compile"
35411 case "(($ac_try" in
35412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35413 *) ac_try_echo=$ac_try;;
35414 esac
35415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35416 (eval "$ac_compile") 2>conftest.er1
35417 ac_status=$?
35418 grep -v '^ *+' conftest.er1 >conftest.err
35419 rm -f conftest.er1
35420 cat conftest.err >&5
35421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422 (exit $ac_status); } && {
35423 test -z "$ac_cxx_werror_flag" ||
35424 test ! -s conftest.err
35425 } && test -s conftest.$ac_objext; then
35426
35427 wx_cv_type_sa_handler=int
35428
35429 else
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.$ac_ext >&5
35432
35433
35434 wx_cv_type_sa_handler=void
35435
35436 fi
35437
35438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35439 ac_ext=c
35440 ac_cpp='$CPP $CPPFLAGS'
35441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35444
35445
35446 fi
35447 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35448 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35449
35450 cat >>confdefs.h <<_ACEOF
35451 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35452 _ACEOF
35453
35454 fi
35455 fi
35456
35457 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35458 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35459 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35460 if test "${wx_cv_func_backtrace+set}" = set; then
35461 echo $ECHO_N "(cached) $ECHO_C" >&6
35462 else
35463
35464 ac_ext=cpp
35465 ac_cpp='$CXXCPP $CPPFLAGS'
35466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35469
35470 cat >conftest.$ac_ext <<_ACEOF
35471 /* confdefs.h. */
35472 _ACEOF
35473 cat confdefs.h >>conftest.$ac_ext
35474 cat >>conftest.$ac_ext <<_ACEOF
35475 /* end confdefs.h. */
35476 #include <execinfo.h>
35477 int
35478 main ()
35479 {
35480
35481 void *trace[1];
35482 char **messages;
35483
35484 backtrace(trace, 1);
35485 messages = backtrace_symbols(trace, 1);
35486
35487 ;
35488 return 0;
35489 }
35490 _ACEOF
35491 rm -f conftest.$ac_objext
35492 if { (ac_try="$ac_compile"
35493 case "(($ac_try" in
35494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35495 *) ac_try_echo=$ac_try;;
35496 esac
35497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35498 (eval "$ac_compile") 2>conftest.er1
35499 ac_status=$?
35500 grep -v '^ *+' conftest.er1 >conftest.err
35501 rm -f conftest.er1
35502 cat conftest.err >&5
35503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35504 (exit $ac_status); } && {
35505 test -z "$ac_cxx_werror_flag" ||
35506 test ! -s conftest.err
35507 } && test -s conftest.$ac_objext; then
35508 wx_cv_func_backtrace=yes
35509 else
35510 echo "$as_me: failed program was:" >&5
35511 sed 's/^/| /' conftest.$ac_ext >&5
35512
35513 wx_cv_func_backtrace=no
35514
35515 fi
35516
35517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35518 ac_ext=c
35519 ac_cpp='$CPP $CPPFLAGS'
35520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35523
35524
35525
35526 fi
35527 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35528 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35529
35530
35531 if test "$wx_cv_func_backtrace" = "no"; then
35532 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35533 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35534 wxUSE_STACKWALKER=no
35535 else
35536 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35537 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35538 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35539 echo $ECHO_N "(cached) $ECHO_C" >&6
35540 else
35541
35542 ac_ext=cpp
35543 ac_cpp='$CXXCPP $CPPFLAGS'
35544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35547
35548 cat >conftest.$ac_ext <<_ACEOF
35549 /* confdefs.h. */
35550 _ACEOF
35551 cat confdefs.h >>conftest.$ac_ext
35552 cat >>conftest.$ac_ext <<_ACEOF
35553 /* end confdefs.h. */
35554 #include <cxxabi.h>
35555 int
35556 main ()
35557 {
35558
35559 int rc;
35560 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35561
35562 ;
35563 return 0;
35564 }
35565 _ACEOF
35566 rm -f conftest.$ac_objext conftest$ac_exeext
35567 if { (ac_try="$ac_link"
35568 case "(($ac_try" in
35569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35570 *) ac_try_echo=$ac_try;;
35571 esac
35572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35573 (eval "$ac_link") 2>conftest.er1
35574 ac_status=$?
35575 grep -v '^ *+' conftest.er1 >conftest.err
35576 rm -f conftest.er1
35577 cat conftest.err >&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } && {
35580 test -z "$ac_cxx_werror_flag" ||
35581 test ! -s conftest.err
35582 } && test -s conftest$ac_exeext &&
35583 $as_test_x conftest$ac_exeext; then
35584 wx_cv_func_cxa_demangle=yes
35585 else
35586 echo "$as_me: failed program was:" >&5
35587 sed 's/^/| /' conftest.$ac_ext >&5
35588
35589 wx_cv_func_cxa_demangle=no
35590
35591 fi
35592
35593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35594 conftest$ac_exeext conftest.$ac_ext
35595 ac_ext=c
35596 ac_cpp='$CPP $CPPFLAGS'
35597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35600
35601
35602
35603 fi
35604 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35605 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35606
35607 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35608 cat >>confdefs.h <<\_ACEOF
35609 #define HAVE_CXA_DEMANGLE 1
35610 _ACEOF
35611
35612 fi
35613 fi
35614 fi
35615
35616 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35617 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35618 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35619 wxUSE_STACKWALKER=no
35620 fi
35621
35622
35623
35624
35625 for ac_func in mkstemp mktemp
35626 do
35627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 else
35633 cat >conftest.$ac_ext <<_ACEOF
35634 /* confdefs.h. */
35635 _ACEOF
35636 cat confdefs.h >>conftest.$ac_ext
35637 cat >>conftest.$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35641 #define $ac_func innocuous_$ac_func
35642
35643 /* System header to define __stub macros and hopefully few prototypes,
35644 which can conflict with char $ac_func (); below.
35645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35646 <limits.h> exists even on freestanding compilers. */
35647
35648 #ifdef __STDC__
35649 # include <limits.h>
35650 #else
35651 # include <assert.h>
35652 #endif
35653
35654 #undef $ac_func
35655
35656 /* Override any GCC internal prototype to avoid an error.
35657 Use char because int might match the return type of a GCC
35658 builtin and then its argument prototype would still apply. */
35659 #ifdef __cplusplus
35660 extern "C"
35661 #endif
35662 char $ac_func ();
35663 /* The GNU C library defines this for functions which it implements
35664 to always fail with ENOSYS. Some functions are actually named
35665 something starting with __ and the normal name is an alias. */
35666 #if defined __stub_$ac_func || defined __stub___$ac_func
35667 choke me
35668 #endif
35669
35670 int
35671 main ()
35672 {
35673 return $ac_func ();
35674 ;
35675 return 0;
35676 }
35677 _ACEOF
35678 rm -f conftest.$ac_objext conftest$ac_exeext
35679 if { (ac_try="$ac_link"
35680 case "(($ac_try" in
35681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35682 *) ac_try_echo=$ac_try;;
35683 esac
35684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35685 (eval "$ac_link") 2>conftest.er1
35686 ac_status=$?
35687 grep -v '^ *+' conftest.er1 >conftest.err
35688 rm -f conftest.er1
35689 cat conftest.err >&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); } && {
35692 test -z "$ac_c_werror_flag" ||
35693 test ! -s conftest.err
35694 } && test -s conftest$ac_exeext &&
35695 $as_test_x conftest$ac_exeext; then
35696 eval "$as_ac_var=yes"
35697 else
35698 echo "$as_me: failed program was:" >&5
35699 sed 's/^/| /' conftest.$ac_ext >&5
35700
35701 eval "$as_ac_var=no"
35702 fi
35703
35704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35705 conftest$ac_exeext conftest.$ac_ext
35706 fi
35707 ac_res=`eval echo '${'$as_ac_var'}'`
35708 { echo "$as_me:$LINENO: result: $ac_res" >&5
35709 echo "${ECHO_T}$ac_res" >&6; }
35710 if test `eval echo '${'$as_ac_var'}'` = yes; then
35711 cat >>confdefs.h <<_ACEOF
35712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35713 _ACEOF
35714 break
35715 fi
35716 done
35717
35718
35719 { echo "$as_me:$LINENO: checking for statfs" >&5
35720 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35721 if test "${wx_cv_func_statfs+set}" = set; then
35722 echo $ECHO_N "(cached) $ECHO_C" >&6
35723 else
35724 cat >conftest.$ac_ext <<_ACEOF
35725 /* confdefs.h. */
35726 _ACEOF
35727 cat confdefs.h >>conftest.$ac_ext
35728 cat >>conftest.$ac_ext <<_ACEOF
35729 /* end confdefs.h. */
35730
35731 #if defined(__BSD__)
35732 #include <sys/param.h>
35733 #include <sys/mount.h>
35734 #else
35735 #include <sys/vfs.h>
35736 #endif
35737
35738 int
35739 main ()
35740 {
35741
35742 long l;
35743 struct statfs fs;
35744 statfs("/", &fs);
35745 l = fs.f_bsize;
35746 l += fs.f_blocks;
35747 l += fs.f_bavail;
35748
35749 ;
35750 return 0;
35751 }
35752 _ACEOF
35753 rm -f conftest.$ac_objext
35754 if { (ac_try="$ac_compile"
35755 case "(($ac_try" in
35756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35757 *) ac_try_echo=$ac_try;;
35758 esac
35759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35760 (eval "$ac_compile") 2>conftest.er1
35761 ac_status=$?
35762 grep -v '^ *+' conftest.er1 >conftest.err
35763 rm -f conftest.er1
35764 cat conftest.err >&5
35765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35766 (exit $ac_status); } && {
35767 test -z "$ac_c_werror_flag" ||
35768 test ! -s conftest.err
35769 } && test -s conftest.$ac_objext; then
35770 wx_cv_func_statfs=yes
35771 else
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.$ac_ext >&5
35774
35775 wx_cv_func_statfs=no
35776
35777 fi
35778
35779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35780
35781 fi
35782 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35783 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35784
35785 if test "$wx_cv_func_statfs" = "yes"; then
35786 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35787 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35788 if test "${wx_cv_func_statfs_decl+set}" = set; then
35789 echo $ECHO_N "(cached) $ECHO_C" >&6
35790 else
35791 ac_ext=cpp
35792 ac_cpp='$CXXCPP $CPPFLAGS'
35793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35796
35797 cat >conftest.$ac_ext <<_ACEOF
35798 /* confdefs.h. */
35799 _ACEOF
35800 cat confdefs.h >>conftest.$ac_ext
35801 cat >>conftest.$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35803
35804 #if defined(__BSD__)
35805 #include <sys/param.h>
35806 #include <sys/mount.h>
35807 #else
35808 #include <sys/vfs.h>
35809 #endif
35810
35811 int
35812 main ()
35813 {
35814
35815 struct statfs fs;
35816 statfs("", &fs);
35817
35818 ;
35819 return 0;
35820 }
35821 _ACEOF
35822 rm -f conftest.$ac_objext
35823 if { (ac_try="$ac_compile"
35824 case "(($ac_try" in
35825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35826 *) ac_try_echo=$ac_try;;
35827 esac
35828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35829 (eval "$ac_compile") 2>conftest.er1
35830 ac_status=$?
35831 grep -v '^ *+' conftest.er1 >conftest.err
35832 rm -f conftest.er1
35833 cat conftest.err >&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } && {
35836 test -z "$ac_cxx_werror_flag" ||
35837 test ! -s conftest.err
35838 } && test -s conftest.$ac_objext; then
35839 wx_cv_func_statfs_decl=yes
35840 else
35841 echo "$as_me: failed program was:" >&5
35842 sed 's/^/| /' conftest.$ac_ext >&5
35843
35844 wx_cv_func_statfs_decl=no
35845
35846 fi
35847
35848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35849 ac_ext=c
35850 ac_cpp='$CPP $CPPFLAGS'
35851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35854
35855
35856 fi
35857 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35858 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35859
35860 if test "$wx_cv_func_statfs_decl" = "yes"; then
35861 cat >>confdefs.h <<\_ACEOF
35862 #define HAVE_STATFS_DECL 1
35863 _ACEOF
35864
35865 fi
35866
35867 wx_cv_type_statvfs_t="struct statfs"
35868 cat >>confdefs.h <<\_ACEOF
35869 #define HAVE_STATFS 1
35870 _ACEOF
35871
35872 else
35873 { echo "$as_me:$LINENO: checking for statvfs" >&5
35874 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35875 if test "${wx_cv_func_statvfs+set}" = set; then
35876 echo $ECHO_N "(cached) $ECHO_C" >&6
35877 else
35878 cat >conftest.$ac_ext <<_ACEOF
35879 /* confdefs.h. */
35880 _ACEOF
35881 cat confdefs.h >>conftest.$ac_ext
35882 cat >>conftest.$ac_ext <<_ACEOF
35883 /* end confdefs.h. */
35884
35885 #include <stddef.h>
35886 #include <sys/statvfs.h>
35887
35888 int
35889 main ()
35890 {
35891
35892 statvfs("/", NULL);
35893
35894 ;
35895 return 0;
35896 }
35897 _ACEOF
35898 rm -f conftest.$ac_objext
35899 if { (ac_try="$ac_compile"
35900 case "(($ac_try" in
35901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35902 *) ac_try_echo=$ac_try;;
35903 esac
35904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35905 (eval "$ac_compile") 2>conftest.er1
35906 ac_status=$?
35907 grep -v '^ *+' conftest.er1 >conftest.err
35908 rm -f conftest.er1
35909 cat conftest.err >&5
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); } && {
35912 test -z "$ac_c_werror_flag" ||
35913 test ! -s conftest.err
35914 } && test -s conftest.$ac_objext; then
35915 wx_cv_func_statvfs=yes
35916 else
35917 echo "$as_me: failed program was:" >&5
35918 sed 's/^/| /' conftest.$ac_ext >&5
35919
35920 wx_cv_func_statvfs=no
35921
35922 fi
35923
35924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35925
35926 fi
35927 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35928 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35929
35930 if test "$wx_cv_func_statvfs" = "yes"; then
35931 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35932 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35933 if test "${wx_cv_type_statvfs_t+set}" = set; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35935 else
35936 ac_ext=cpp
35937 ac_cpp='$CXXCPP $CPPFLAGS'
35938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35941
35942 cat >conftest.$ac_ext <<_ACEOF
35943 /* confdefs.h. */
35944 _ACEOF
35945 cat confdefs.h >>conftest.$ac_ext
35946 cat >>conftest.$ac_ext <<_ACEOF
35947 /* end confdefs.h. */
35948
35949 #include <sys/statvfs.h>
35950
35951 int
35952 main ()
35953 {
35954
35955 long l;
35956 statvfs_t fs;
35957 statvfs("/", &fs);
35958 l = fs.f_bsize;
35959 l += fs.f_blocks;
35960 l += fs.f_bavail;
35961
35962 ;
35963 return 0;
35964 }
35965 _ACEOF
35966 rm -f conftest.$ac_objext
35967 if { (ac_try="$ac_compile"
35968 case "(($ac_try" in
35969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35970 *) ac_try_echo=$ac_try;;
35971 esac
35972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35973 (eval "$ac_compile") 2>conftest.er1
35974 ac_status=$?
35975 grep -v '^ *+' conftest.er1 >conftest.err
35976 rm -f conftest.er1
35977 cat conftest.err >&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); } && {
35980 test -z "$ac_cxx_werror_flag" ||
35981 test ! -s conftest.err
35982 } && test -s conftest.$ac_objext; then
35983 wx_cv_type_statvfs_t=statvfs_t
35984 else
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.$ac_ext >&5
35987
35988
35989 cat >conftest.$ac_ext <<_ACEOF
35990 /* confdefs.h. */
35991 _ACEOF
35992 cat confdefs.h >>conftest.$ac_ext
35993 cat >>conftest.$ac_ext <<_ACEOF
35994 /* end confdefs.h. */
35995
35996 #include <sys/statvfs.h>
35997
35998 int
35999 main ()
36000 {
36001
36002 long l;
36003 struct statvfs fs;
36004 statvfs("/", &fs);
36005 l = fs.f_bsize;
36006 l += fs.f_blocks;
36007 l += fs.f_bavail;
36008
36009 ;
36010 return 0;
36011 }
36012 _ACEOF
36013 rm -f conftest.$ac_objext
36014 if { (ac_try="$ac_compile"
36015 case "(($ac_try" in
36016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36017 *) ac_try_echo=$ac_try;;
36018 esac
36019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36020 (eval "$ac_compile") 2>conftest.er1
36021 ac_status=$?
36022 grep -v '^ *+' conftest.er1 >conftest.err
36023 rm -f conftest.er1
36024 cat conftest.err >&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); } && {
36027 test -z "$ac_cxx_werror_flag" ||
36028 test ! -s conftest.err
36029 } && test -s conftest.$ac_objext; then
36030 wx_cv_type_statvfs_t="struct statvfs"
36031 else
36032 echo "$as_me: failed program was:" >&5
36033 sed 's/^/| /' conftest.$ac_ext >&5
36034
36035 wx_cv_type_statvfs_t="unknown"
36036
36037 fi
36038
36039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36040
36041
36042 fi
36043
36044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36045 ac_ext=c
36046 ac_cpp='$CPP $CPPFLAGS'
36047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36050
36051
36052 fi
36053 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36054 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36055
36056 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36057 cat >>confdefs.h <<\_ACEOF
36058 #define HAVE_STATVFS 1
36059 _ACEOF
36060
36061 fi
36062 else
36063 wx_cv_type_statvfs_t="unknown"
36064 fi
36065 fi
36066
36067 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36068 cat >>confdefs.h <<_ACEOF
36069 #define WX_STATFS_T $wx_cv_type_statvfs_t
36070 _ACEOF
36071
36072 else
36073 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36074 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36075 fi
36076
36077 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36078
36079
36080 for ac_func in fcntl flock
36081 do
36082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36083 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36085 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36086 echo $ECHO_N "(cached) $ECHO_C" >&6
36087 else
36088 cat >conftest.$ac_ext <<_ACEOF
36089 /* confdefs.h. */
36090 _ACEOF
36091 cat confdefs.h >>conftest.$ac_ext
36092 cat >>conftest.$ac_ext <<_ACEOF
36093 /* end confdefs.h. */
36094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36096 #define $ac_func innocuous_$ac_func
36097
36098 /* System header to define __stub macros and hopefully few prototypes,
36099 which can conflict with char $ac_func (); below.
36100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36101 <limits.h> exists even on freestanding compilers. */
36102
36103 #ifdef __STDC__
36104 # include <limits.h>
36105 #else
36106 # include <assert.h>
36107 #endif
36108
36109 #undef $ac_func
36110
36111 /* Override any GCC internal prototype to avoid an error.
36112 Use char because int might match the return type of a GCC
36113 builtin and then its argument prototype would still apply. */
36114 #ifdef __cplusplus
36115 extern "C"
36116 #endif
36117 char $ac_func ();
36118 /* The GNU C library defines this for functions which it implements
36119 to always fail with ENOSYS. Some functions are actually named
36120 something starting with __ and the normal name is an alias. */
36121 #if defined __stub_$ac_func || defined __stub___$ac_func
36122 choke me
36123 #endif
36124
36125 int
36126 main ()
36127 {
36128 return $ac_func ();
36129 ;
36130 return 0;
36131 }
36132 _ACEOF
36133 rm -f conftest.$ac_objext conftest$ac_exeext
36134 if { (ac_try="$ac_link"
36135 case "(($ac_try" in
36136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36137 *) ac_try_echo=$ac_try;;
36138 esac
36139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36140 (eval "$ac_link") 2>conftest.er1
36141 ac_status=$?
36142 grep -v '^ *+' conftest.er1 >conftest.err
36143 rm -f conftest.er1
36144 cat conftest.err >&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); } && {
36147 test -z "$ac_c_werror_flag" ||
36148 test ! -s conftest.err
36149 } && test -s conftest$ac_exeext &&
36150 $as_test_x conftest$ac_exeext; then
36151 eval "$as_ac_var=yes"
36152 else
36153 echo "$as_me: failed program was:" >&5
36154 sed 's/^/| /' conftest.$ac_ext >&5
36155
36156 eval "$as_ac_var=no"
36157 fi
36158
36159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36160 conftest$ac_exeext conftest.$ac_ext
36161 fi
36162 ac_res=`eval echo '${'$as_ac_var'}'`
36163 { echo "$as_me:$LINENO: result: $ac_res" >&5
36164 echo "${ECHO_T}$ac_res" >&6; }
36165 if test `eval echo '${'$as_ac_var'}'` = yes; then
36166 cat >>confdefs.h <<_ACEOF
36167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36168 _ACEOF
36169 break
36170 fi
36171 done
36172
36173
36174 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36175 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36176 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36177 wxUSE_SNGLINST_CHECKER=no
36178 fi
36179 fi
36180
36181
36182 for ac_func in timegm
36183 do
36184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36185 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36187 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36188 echo $ECHO_N "(cached) $ECHO_C" >&6
36189 else
36190 cat >conftest.$ac_ext <<_ACEOF
36191 /* confdefs.h. */
36192 _ACEOF
36193 cat confdefs.h >>conftest.$ac_ext
36194 cat >>conftest.$ac_ext <<_ACEOF
36195 /* end confdefs.h. */
36196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36198 #define $ac_func innocuous_$ac_func
36199
36200 /* System header to define __stub macros and hopefully few prototypes,
36201 which can conflict with char $ac_func (); below.
36202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36203 <limits.h> exists even on freestanding compilers. */
36204
36205 #ifdef __STDC__
36206 # include <limits.h>
36207 #else
36208 # include <assert.h>
36209 #endif
36210
36211 #undef $ac_func
36212
36213 /* Override any GCC internal prototype to avoid an error.
36214 Use char because int might match the return type of a GCC
36215 builtin and then its argument prototype would still apply. */
36216 #ifdef __cplusplus
36217 extern "C"
36218 #endif
36219 char $ac_func ();
36220 /* The GNU C library defines this for functions which it implements
36221 to always fail with ENOSYS. Some functions are actually named
36222 something starting with __ and the normal name is an alias. */
36223 #if defined __stub_$ac_func || defined __stub___$ac_func
36224 choke me
36225 #endif
36226
36227 int
36228 main ()
36229 {
36230 return $ac_func ();
36231 ;
36232 return 0;
36233 }
36234 _ACEOF
36235 rm -f conftest.$ac_objext conftest$ac_exeext
36236 if { (ac_try="$ac_link"
36237 case "(($ac_try" in
36238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36239 *) ac_try_echo=$ac_try;;
36240 esac
36241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36242 (eval "$ac_link") 2>conftest.er1
36243 ac_status=$?
36244 grep -v '^ *+' conftest.er1 >conftest.err
36245 rm -f conftest.er1
36246 cat conftest.err >&5
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); } && {
36249 test -z "$ac_c_werror_flag" ||
36250 test ! -s conftest.err
36251 } && test -s conftest$ac_exeext &&
36252 $as_test_x conftest$ac_exeext; then
36253 eval "$as_ac_var=yes"
36254 else
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.$ac_ext >&5
36257
36258 eval "$as_ac_var=no"
36259 fi
36260
36261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36262 conftest$ac_exeext conftest.$ac_ext
36263 fi
36264 ac_res=`eval echo '${'$as_ac_var'}'`
36265 { echo "$as_me:$LINENO: result: $ac_res" >&5
36266 echo "${ECHO_T}$ac_res" >&6; }
36267 if test `eval echo '${'$as_ac_var'}'` = yes; then
36268 cat >>confdefs.h <<_ACEOF
36269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36270 _ACEOF
36271
36272 fi
36273 done
36274
36275
36276
36277
36278 for ac_func in putenv setenv
36279 do
36280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36281 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36283 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36284 echo $ECHO_N "(cached) $ECHO_C" >&6
36285 else
36286 cat >conftest.$ac_ext <<_ACEOF
36287 /* confdefs.h. */
36288 _ACEOF
36289 cat confdefs.h >>conftest.$ac_ext
36290 cat >>conftest.$ac_ext <<_ACEOF
36291 /* end confdefs.h. */
36292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36294 #define $ac_func innocuous_$ac_func
36295
36296 /* System header to define __stub macros and hopefully few prototypes,
36297 which can conflict with char $ac_func (); below.
36298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36299 <limits.h> exists even on freestanding compilers. */
36300
36301 #ifdef __STDC__
36302 # include <limits.h>
36303 #else
36304 # include <assert.h>
36305 #endif
36306
36307 #undef $ac_func
36308
36309 /* Override any GCC internal prototype to avoid an error.
36310 Use char because int might match the return type of a GCC
36311 builtin and then its argument prototype would still apply. */
36312 #ifdef __cplusplus
36313 extern "C"
36314 #endif
36315 char $ac_func ();
36316 /* The GNU C library defines this for functions which it implements
36317 to always fail with ENOSYS. Some functions are actually named
36318 something starting with __ and the normal name is an alias. */
36319 #if defined __stub_$ac_func || defined __stub___$ac_func
36320 choke me
36321 #endif
36322
36323 int
36324 main ()
36325 {
36326 return $ac_func ();
36327 ;
36328 return 0;
36329 }
36330 _ACEOF
36331 rm -f conftest.$ac_objext conftest$ac_exeext
36332 if { (ac_try="$ac_link"
36333 case "(($ac_try" in
36334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36335 *) ac_try_echo=$ac_try;;
36336 esac
36337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36338 (eval "$ac_link") 2>conftest.er1
36339 ac_status=$?
36340 grep -v '^ *+' conftest.er1 >conftest.err
36341 rm -f conftest.er1
36342 cat conftest.err >&5
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); } && {
36345 test -z "$ac_c_werror_flag" ||
36346 test ! -s conftest.err
36347 } && test -s conftest$ac_exeext &&
36348 $as_test_x conftest$ac_exeext; then
36349 eval "$as_ac_var=yes"
36350 else
36351 echo "$as_me: failed program was:" >&5
36352 sed 's/^/| /' conftest.$ac_ext >&5
36353
36354 eval "$as_ac_var=no"
36355 fi
36356
36357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36358 conftest$ac_exeext conftest.$ac_ext
36359 fi
36360 ac_res=`eval echo '${'$as_ac_var'}'`
36361 { echo "$as_me:$LINENO: result: $ac_res" >&5
36362 echo "${ECHO_T}$ac_res" >&6; }
36363 if test `eval echo '${'$as_ac_var'}'` = yes; then
36364 cat >>confdefs.h <<_ACEOF
36365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36366 _ACEOF
36367 break
36368 fi
36369 done
36370
36371
36372 HAVE_SOME_SLEEP_FUNC=0
36373 if test "$USE_BEOS" = 1; then
36374 cat >>confdefs.h <<\_ACEOF
36375 #define HAVE_SLEEP 1
36376 _ACEOF
36377
36378 HAVE_SOME_SLEEP_FUNC=1
36379 fi
36380
36381 if test "$USE_DARWIN" = 1; then
36382 cat >>confdefs.h <<\_ACEOF
36383 #define HAVE_USLEEP 1
36384 _ACEOF
36385
36386 HAVE_SOME_SLEEP_FUNC=1
36387 fi
36388
36389 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36390 POSIX4_LINK=
36391
36392 for ac_func in nanosleep
36393 do
36394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36395 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36397 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36398 echo $ECHO_N "(cached) $ECHO_C" >&6
36399 else
36400 cat >conftest.$ac_ext <<_ACEOF
36401 /* confdefs.h. */
36402 _ACEOF
36403 cat confdefs.h >>conftest.$ac_ext
36404 cat >>conftest.$ac_ext <<_ACEOF
36405 /* end confdefs.h. */
36406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36408 #define $ac_func innocuous_$ac_func
36409
36410 /* System header to define __stub macros and hopefully few prototypes,
36411 which can conflict with char $ac_func (); below.
36412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36413 <limits.h> exists even on freestanding compilers. */
36414
36415 #ifdef __STDC__
36416 # include <limits.h>
36417 #else
36418 # include <assert.h>
36419 #endif
36420
36421 #undef $ac_func
36422
36423 /* Override any GCC internal prototype to avoid an error.
36424 Use char because int might match the return type of a GCC
36425 builtin and then its argument prototype would still apply. */
36426 #ifdef __cplusplus
36427 extern "C"
36428 #endif
36429 char $ac_func ();
36430 /* The GNU C library defines this for functions which it implements
36431 to always fail with ENOSYS. Some functions are actually named
36432 something starting with __ and the normal name is an alias. */
36433 #if defined __stub_$ac_func || defined __stub___$ac_func
36434 choke me
36435 #endif
36436
36437 int
36438 main ()
36439 {
36440 return $ac_func ();
36441 ;
36442 return 0;
36443 }
36444 _ACEOF
36445 rm -f conftest.$ac_objext conftest$ac_exeext
36446 if { (ac_try="$ac_link"
36447 case "(($ac_try" in
36448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36449 *) ac_try_echo=$ac_try;;
36450 esac
36451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36452 (eval "$ac_link") 2>conftest.er1
36453 ac_status=$?
36454 grep -v '^ *+' conftest.er1 >conftest.err
36455 rm -f conftest.er1
36456 cat conftest.err >&5
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); } && {
36459 test -z "$ac_c_werror_flag" ||
36460 test ! -s conftest.err
36461 } && test -s conftest$ac_exeext &&
36462 $as_test_x conftest$ac_exeext; then
36463 eval "$as_ac_var=yes"
36464 else
36465 echo "$as_me: failed program was:" >&5
36466 sed 's/^/| /' conftest.$ac_ext >&5
36467
36468 eval "$as_ac_var=no"
36469 fi
36470
36471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36472 conftest$ac_exeext conftest.$ac_ext
36473 fi
36474 ac_res=`eval echo '${'$as_ac_var'}'`
36475 { echo "$as_me:$LINENO: result: $ac_res" >&5
36476 echo "${ECHO_T}$ac_res" >&6; }
36477 if test `eval echo '${'$as_ac_var'}'` = yes; then
36478 cat >>confdefs.h <<_ACEOF
36479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36480 _ACEOF
36481 cat >>confdefs.h <<\_ACEOF
36482 #define HAVE_NANOSLEEP 1
36483 _ACEOF
36484
36485 else
36486
36487 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36488 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36489 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36490 echo $ECHO_N "(cached) $ECHO_C" >&6
36491 else
36492 ac_check_lib_save_LIBS=$LIBS
36493 LIBS="-lposix4 $LIBS"
36494 cat >conftest.$ac_ext <<_ACEOF
36495 /* confdefs.h. */
36496 _ACEOF
36497 cat confdefs.h >>conftest.$ac_ext
36498 cat >>conftest.$ac_ext <<_ACEOF
36499 /* end confdefs.h. */
36500
36501 /* Override any GCC internal prototype to avoid an error.
36502 Use char because int might match the return type of a GCC
36503 builtin and then its argument prototype would still apply. */
36504 #ifdef __cplusplus
36505 extern "C"
36506 #endif
36507 char nanosleep ();
36508 int
36509 main ()
36510 {
36511 return nanosleep ();
36512 ;
36513 return 0;
36514 }
36515 _ACEOF
36516 rm -f conftest.$ac_objext conftest$ac_exeext
36517 if { (ac_try="$ac_link"
36518 case "(($ac_try" in
36519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36520 *) ac_try_echo=$ac_try;;
36521 esac
36522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36523 (eval "$ac_link") 2>conftest.er1
36524 ac_status=$?
36525 grep -v '^ *+' conftest.er1 >conftest.err
36526 rm -f conftest.er1
36527 cat conftest.err >&5
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); } && {
36530 test -z "$ac_c_werror_flag" ||
36531 test ! -s conftest.err
36532 } && test -s conftest$ac_exeext &&
36533 $as_test_x conftest$ac_exeext; then
36534 ac_cv_lib_posix4_nanosleep=yes
36535 else
36536 echo "$as_me: failed program was:" >&5
36537 sed 's/^/| /' conftest.$ac_ext >&5
36538
36539 ac_cv_lib_posix4_nanosleep=no
36540 fi
36541
36542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36543 conftest$ac_exeext conftest.$ac_ext
36544 LIBS=$ac_check_lib_save_LIBS
36545 fi
36546 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36547 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36548 if test $ac_cv_lib_posix4_nanosleep = yes; then
36549
36550 cat >>confdefs.h <<\_ACEOF
36551 #define HAVE_NANOSLEEP 1
36552 _ACEOF
36553
36554 POSIX4_LINK=" -lposix4"
36555
36556 else
36557
36558
36559 for wx_func in usleep
36560 do
36561 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36562 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36563 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36564 echo $ECHO_N "(cached) $ECHO_C" >&6
36565 else
36566
36567 cat >conftest.$ac_ext <<_ACEOF
36568
36569 /* confdefs.h. */
36570 _ACEOF
36571 cat confdefs.h >>conftest.$ac_ext
36572 cat >>conftest.$ac_ext <<_ACEOF
36573 /* end confdefs.h. */
36574
36575
36576 $ac_includes_default
36577
36578 int
36579 main ()
36580 {
36581
36582 #ifndef $wx_func
36583 &$wx_func;
36584 #endif
36585
36586
36587 ;
36588 return 0;
36589 }
36590
36591 _ACEOF
36592 rm -f conftest.$ac_objext conftest$ac_exeext
36593 if { (ac_try="$ac_link"
36594 case "(($ac_try" in
36595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36596 *) ac_try_echo=$ac_try;;
36597 esac
36598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36599 (eval "$ac_link") 2>conftest.er1
36600 ac_status=$?
36601 grep -v '^ *+' conftest.er1 >conftest.err
36602 rm -f conftest.er1
36603 cat conftest.err >&5
36604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36605 (exit $ac_status); } && {
36606 test -z "$ac_c_werror_flag" ||
36607 test ! -s conftest.err
36608 } && test -s conftest$ac_exeext &&
36609 $as_test_x conftest$ac_exeext; then
36610 eval wx_cv_func_$wx_func=yes
36611 else
36612 echo "$as_me: failed program was:" >&5
36613 sed 's/^/| /' conftest.$ac_ext >&5
36614
36615 eval wx_cv_func_$wx_func=no
36616 fi
36617
36618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36619 conftest$ac_exeext conftest.$ac_ext
36620
36621 fi
36622 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36623 { echo "$as_me:$LINENO: result: $ac_res" >&5
36624 echo "${ECHO_T}$ac_res" >&6; }
36625
36626 if eval test \$wx_cv_func_$wx_func = yes
36627 then
36628 cat >>confdefs.h <<_ACEOF
36629 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36630 _ACEOF
36631
36632
36633 else
36634 :
36635 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36636 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36637
36638 fi
36639 done
36640
36641
36642
36643 fi
36644
36645
36646
36647 fi
36648 done
36649
36650 fi
36651
36652
36653 for wx_func in uname
36654 do
36655 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36656 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36657 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36658 echo $ECHO_N "(cached) $ECHO_C" >&6
36659 else
36660
36661 cat >conftest.$ac_ext <<_ACEOF
36662
36663 /* confdefs.h. */
36664 _ACEOF
36665 cat confdefs.h >>conftest.$ac_ext
36666 cat >>conftest.$ac_ext <<_ACEOF
36667 /* end confdefs.h. */
36668
36669 #include <sys/utsname.h>
36670 $ac_includes_default
36671
36672 int
36673 main ()
36674 {
36675
36676 #ifndef $wx_func
36677 &$wx_func;
36678 #endif
36679
36680
36681 ;
36682 return 0;
36683 }
36684
36685 _ACEOF
36686 rm -f conftest.$ac_objext conftest$ac_exeext
36687 if { (ac_try="$ac_link"
36688 case "(($ac_try" in
36689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36690 *) ac_try_echo=$ac_try;;
36691 esac
36692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36693 (eval "$ac_link") 2>conftest.er1
36694 ac_status=$?
36695 grep -v '^ *+' conftest.er1 >conftest.err
36696 rm -f conftest.er1
36697 cat conftest.err >&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); } && {
36700 test -z "$ac_c_werror_flag" ||
36701 test ! -s conftest.err
36702 } && test -s conftest$ac_exeext &&
36703 $as_test_x conftest$ac_exeext; then
36704 eval wx_cv_func_$wx_func=yes
36705 else
36706 echo "$as_me: failed program was:" >&5
36707 sed 's/^/| /' conftest.$ac_ext >&5
36708
36709 eval wx_cv_func_$wx_func=no
36710 fi
36711
36712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36713 conftest$ac_exeext conftest.$ac_ext
36714
36715 fi
36716 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36717 { echo "$as_me:$LINENO: result: $ac_res" >&5
36718 echo "${ECHO_T}$ac_res" >&6; }
36719
36720 if eval test \$wx_cv_func_$wx_func = yes
36721 then
36722 cat >>confdefs.h <<_ACEOF
36723 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36724 _ACEOF
36725
36726
36727 else
36728 :
36729
36730 fi
36731 done
36732
36733 if test "$wx_cv_func_uname" != yes; then
36734
36735 for wx_func in gethostname
36736 do
36737 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36738 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36739 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36741 else
36742
36743 cat >conftest.$ac_ext <<_ACEOF
36744
36745 /* confdefs.h. */
36746 _ACEOF
36747 cat confdefs.h >>conftest.$ac_ext
36748 cat >>conftest.$ac_ext <<_ACEOF
36749 /* end confdefs.h. */
36750
36751
36752 $ac_includes_default
36753
36754 int
36755 main ()
36756 {
36757
36758 #ifndef $wx_func
36759 &$wx_func;
36760 #endif
36761
36762
36763 ;
36764 return 0;
36765 }
36766
36767 _ACEOF
36768 rm -f conftest.$ac_objext conftest$ac_exeext
36769 if { (ac_try="$ac_link"
36770 case "(($ac_try" in
36771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36772 *) ac_try_echo=$ac_try;;
36773 esac
36774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36775 (eval "$ac_link") 2>conftest.er1
36776 ac_status=$?
36777 grep -v '^ *+' conftest.er1 >conftest.err
36778 rm -f conftest.er1
36779 cat conftest.err >&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); } && {
36782 test -z "$ac_c_werror_flag" ||
36783 test ! -s conftest.err
36784 } && test -s conftest$ac_exeext &&
36785 $as_test_x conftest$ac_exeext; then
36786 eval wx_cv_func_$wx_func=yes
36787 else
36788 echo "$as_me: failed program was:" >&5
36789 sed 's/^/| /' conftest.$ac_ext >&5
36790
36791 eval wx_cv_func_$wx_func=no
36792 fi
36793
36794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36795 conftest$ac_exeext conftest.$ac_ext
36796
36797 fi
36798 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36799 { echo "$as_me:$LINENO: result: $ac_res" >&5
36800 echo "${ECHO_T}$ac_res" >&6; }
36801
36802 if eval test \$wx_cv_func_$wx_func = yes
36803 then
36804 cat >>confdefs.h <<_ACEOF
36805 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36806 _ACEOF
36807
36808
36809 else
36810 :
36811
36812 fi
36813 done
36814
36815 fi
36816
36817
36818 for wx_func in strtok_r
36819 do
36820 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36821 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36822 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36823 echo $ECHO_N "(cached) $ECHO_C" >&6
36824 else
36825
36826 cat >conftest.$ac_ext <<_ACEOF
36827
36828 /* confdefs.h. */
36829 _ACEOF
36830 cat confdefs.h >>conftest.$ac_ext
36831 cat >>conftest.$ac_ext <<_ACEOF
36832 /* end confdefs.h. */
36833
36834 #define _REENTRANT
36835 $ac_includes_default
36836
36837 int
36838 main ()
36839 {
36840
36841 #ifndef $wx_func
36842 &$wx_func;
36843 #endif
36844
36845
36846 ;
36847 return 0;
36848 }
36849
36850 _ACEOF
36851 rm -f conftest.$ac_objext conftest$ac_exeext
36852 if { (ac_try="$ac_link"
36853 case "(($ac_try" in
36854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36855 *) ac_try_echo=$ac_try;;
36856 esac
36857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36858 (eval "$ac_link") 2>conftest.er1
36859 ac_status=$?
36860 grep -v '^ *+' conftest.er1 >conftest.err
36861 rm -f conftest.er1
36862 cat conftest.err >&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); } && {
36865 test -z "$ac_c_werror_flag" ||
36866 test ! -s conftest.err
36867 } && test -s conftest$ac_exeext &&
36868 $as_test_x conftest$ac_exeext; then
36869 eval wx_cv_func_$wx_func=yes
36870 else
36871 echo "$as_me: failed program was:" >&5
36872 sed 's/^/| /' conftest.$ac_ext >&5
36873
36874 eval wx_cv_func_$wx_func=no
36875 fi
36876
36877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36878 conftest$ac_exeext conftest.$ac_ext
36879
36880 fi
36881 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36882 { echo "$as_me:$LINENO: result: $ac_res" >&5
36883 echo "${ECHO_T}$ac_res" >&6; }
36884
36885 if eval test \$wx_cv_func_$wx_func = yes
36886 then
36887 cat >>confdefs.h <<_ACEOF
36888 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36889 _ACEOF
36890
36891
36892 else
36893 :
36894
36895 fi
36896 done
36897
36898
36899 INET_LINK=
36900
36901 for ac_func in inet_addr
36902 do
36903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36906 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36907 echo $ECHO_N "(cached) $ECHO_C" >&6
36908 else
36909 cat >conftest.$ac_ext <<_ACEOF
36910 /* confdefs.h. */
36911 _ACEOF
36912 cat confdefs.h >>conftest.$ac_ext
36913 cat >>conftest.$ac_ext <<_ACEOF
36914 /* end confdefs.h. */
36915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36917 #define $ac_func innocuous_$ac_func
36918
36919 /* System header to define __stub macros and hopefully few prototypes,
36920 which can conflict with char $ac_func (); below.
36921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36922 <limits.h> exists even on freestanding compilers. */
36923
36924 #ifdef __STDC__
36925 # include <limits.h>
36926 #else
36927 # include <assert.h>
36928 #endif
36929
36930 #undef $ac_func
36931
36932 /* Override any GCC internal prototype to avoid an error.
36933 Use char because int might match the return type of a GCC
36934 builtin and then its argument prototype would still apply. */
36935 #ifdef __cplusplus
36936 extern "C"
36937 #endif
36938 char $ac_func ();
36939 /* The GNU C library defines this for functions which it implements
36940 to always fail with ENOSYS. Some functions are actually named
36941 something starting with __ and the normal name is an alias. */
36942 #if defined __stub_$ac_func || defined __stub___$ac_func
36943 choke me
36944 #endif
36945
36946 int
36947 main ()
36948 {
36949 return $ac_func ();
36950 ;
36951 return 0;
36952 }
36953 _ACEOF
36954 rm -f conftest.$ac_objext conftest$ac_exeext
36955 if { (ac_try="$ac_link"
36956 case "(($ac_try" in
36957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36958 *) ac_try_echo=$ac_try;;
36959 esac
36960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36961 (eval "$ac_link") 2>conftest.er1
36962 ac_status=$?
36963 grep -v '^ *+' conftest.er1 >conftest.err
36964 rm -f conftest.er1
36965 cat conftest.err >&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); } && {
36968 test -z "$ac_c_werror_flag" ||
36969 test ! -s conftest.err
36970 } && test -s conftest$ac_exeext &&
36971 $as_test_x conftest$ac_exeext; then
36972 eval "$as_ac_var=yes"
36973 else
36974 echo "$as_me: failed program was:" >&5
36975 sed 's/^/| /' conftest.$ac_ext >&5
36976
36977 eval "$as_ac_var=no"
36978 fi
36979
36980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36981 conftest$ac_exeext conftest.$ac_ext
36982 fi
36983 ac_res=`eval echo '${'$as_ac_var'}'`
36984 { echo "$as_me:$LINENO: result: $ac_res" >&5
36985 echo "${ECHO_T}$ac_res" >&6; }
36986 if test `eval echo '${'$as_ac_var'}'` = yes; then
36987 cat >>confdefs.h <<_ACEOF
36988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36989 _ACEOF
36990 cat >>confdefs.h <<\_ACEOF
36991 #define HAVE_INET_ADDR 1
36992 _ACEOF
36993
36994 else
36995
36996 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36997 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
36998 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36999 echo $ECHO_N "(cached) $ECHO_C" >&6
37000 else
37001 ac_check_lib_save_LIBS=$LIBS
37002 LIBS="-lnsl $LIBS"
37003 cat >conftest.$ac_ext <<_ACEOF
37004 /* confdefs.h. */
37005 _ACEOF
37006 cat confdefs.h >>conftest.$ac_ext
37007 cat >>conftest.$ac_ext <<_ACEOF
37008 /* end confdefs.h. */
37009
37010 /* Override any GCC internal prototype to avoid an error.
37011 Use char because int might match the return type of a GCC
37012 builtin and then its argument prototype would still apply. */
37013 #ifdef __cplusplus
37014 extern "C"
37015 #endif
37016 char inet_addr ();
37017 int
37018 main ()
37019 {
37020 return inet_addr ();
37021 ;
37022 return 0;
37023 }
37024 _ACEOF
37025 rm -f conftest.$ac_objext conftest$ac_exeext
37026 if { (ac_try="$ac_link"
37027 case "(($ac_try" in
37028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37029 *) ac_try_echo=$ac_try;;
37030 esac
37031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37032 (eval "$ac_link") 2>conftest.er1
37033 ac_status=$?
37034 grep -v '^ *+' conftest.er1 >conftest.err
37035 rm -f conftest.er1
37036 cat conftest.err >&5
37037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37038 (exit $ac_status); } && {
37039 test -z "$ac_c_werror_flag" ||
37040 test ! -s conftest.err
37041 } && test -s conftest$ac_exeext &&
37042 $as_test_x conftest$ac_exeext; then
37043 ac_cv_lib_nsl_inet_addr=yes
37044 else
37045 echo "$as_me: failed program was:" >&5
37046 sed 's/^/| /' conftest.$ac_ext >&5
37047
37048 ac_cv_lib_nsl_inet_addr=no
37049 fi
37050
37051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37052 conftest$ac_exeext conftest.$ac_ext
37053 LIBS=$ac_check_lib_save_LIBS
37054 fi
37055 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37056 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37057 if test $ac_cv_lib_nsl_inet_addr = yes; then
37058 INET_LINK="nsl"
37059 else
37060
37061 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37062 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37063 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37064 echo $ECHO_N "(cached) $ECHO_C" >&6
37065 else
37066 ac_check_lib_save_LIBS=$LIBS
37067 LIBS="-lresolv $LIBS"
37068 cat >conftest.$ac_ext <<_ACEOF
37069 /* confdefs.h. */
37070 _ACEOF
37071 cat confdefs.h >>conftest.$ac_ext
37072 cat >>conftest.$ac_ext <<_ACEOF
37073 /* end confdefs.h. */
37074
37075 /* Override any GCC internal prototype to avoid an error.
37076 Use char because int might match the return type of a GCC
37077 builtin and then its argument prototype would still apply. */
37078 #ifdef __cplusplus
37079 extern "C"
37080 #endif
37081 char inet_addr ();
37082 int
37083 main ()
37084 {
37085 return inet_addr ();
37086 ;
37087 return 0;
37088 }
37089 _ACEOF
37090 rm -f conftest.$ac_objext conftest$ac_exeext
37091 if { (ac_try="$ac_link"
37092 case "(($ac_try" in
37093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37094 *) ac_try_echo=$ac_try;;
37095 esac
37096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37097 (eval "$ac_link") 2>conftest.er1
37098 ac_status=$?
37099 grep -v '^ *+' conftest.er1 >conftest.err
37100 rm -f conftest.er1
37101 cat conftest.err >&5
37102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37103 (exit $ac_status); } && {
37104 test -z "$ac_c_werror_flag" ||
37105 test ! -s conftest.err
37106 } && test -s conftest$ac_exeext &&
37107 $as_test_x conftest$ac_exeext; then
37108 ac_cv_lib_resolv_inet_addr=yes
37109 else
37110 echo "$as_me: failed program was:" >&5
37111 sed 's/^/| /' conftest.$ac_ext >&5
37112
37113 ac_cv_lib_resolv_inet_addr=no
37114 fi
37115
37116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37117 conftest$ac_exeext conftest.$ac_ext
37118 LIBS=$ac_check_lib_save_LIBS
37119 fi
37120 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37121 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37122 if test $ac_cv_lib_resolv_inet_addr = yes; then
37123 INET_LINK="resolv"
37124 else
37125
37126 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37127 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37128 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37129 echo $ECHO_N "(cached) $ECHO_C" >&6
37130 else
37131 ac_check_lib_save_LIBS=$LIBS
37132 LIBS="-lsocket $LIBS"
37133 cat >conftest.$ac_ext <<_ACEOF
37134 /* confdefs.h. */
37135 _ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37139
37140 /* Override any GCC internal prototype to avoid an error.
37141 Use char because int might match the return type of a GCC
37142 builtin and then its argument prototype would still apply. */
37143 #ifdef __cplusplus
37144 extern "C"
37145 #endif
37146 char inet_addr ();
37147 int
37148 main ()
37149 {
37150 return inet_addr ();
37151 ;
37152 return 0;
37153 }
37154 _ACEOF
37155 rm -f conftest.$ac_objext conftest$ac_exeext
37156 if { (ac_try="$ac_link"
37157 case "(($ac_try" in
37158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37159 *) ac_try_echo=$ac_try;;
37160 esac
37161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37162 (eval "$ac_link") 2>conftest.er1
37163 ac_status=$?
37164 grep -v '^ *+' conftest.er1 >conftest.err
37165 rm -f conftest.er1
37166 cat conftest.err >&5
37167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168 (exit $ac_status); } && {
37169 test -z "$ac_c_werror_flag" ||
37170 test ! -s conftest.err
37171 } && test -s conftest$ac_exeext &&
37172 $as_test_x conftest$ac_exeext; then
37173 ac_cv_lib_socket_inet_addr=yes
37174 else
37175 echo "$as_me: failed program was:" >&5
37176 sed 's/^/| /' conftest.$ac_ext >&5
37177
37178 ac_cv_lib_socket_inet_addr=no
37179 fi
37180
37181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37182 conftest$ac_exeext conftest.$ac_ext
37183 LIBS=$ac_check_lib_save_LIBS
37184 fi
37185 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37186 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37187 if test $ac_cv_lib_socket_inet_addr = yes; then
37188 INET_LINK="socket"
37189
37190 fi
37191
37192
37193
37194 fi
37195
37196
37197
37198 fi
37199
37200
37201
37202 fi
37203 done
37204
37205
37206
37207 for ac_func in inet_aton
37208 do
37209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37210 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37212 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37213 echo $ECHO_N "(cached) $ECHO_C" >&6
37214 else
37215 cat >conftest.$ac_ext <<_ACEOF
37216 /* confdefs.h. */
37217 _ACEOF
37218 cat confdefs.h >>conftest.$ac_ext
37219 cat >>conftest.$ac_ext <<_ACEOF
37220 /* end confdefs.h. */
37221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37223 #define $ac_func innocuous_$ac_func
37224
37225 /* System header to define __stub macros and hopefully few prototypes,
37226 which can conflict with char $ac_func (); below.
37227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37228 <limits.h> exists even on freestanding compilers. */
37229
37230 #ifdef __STDC__
37231 # include <limits.h>
37232 #else
37233 # include <assert.h>
37234 #endif
37235
37236 #undef $ac_func
37237
37238 /* Override any GCC internal prototype to avoid an error.
37239 Use char because int might match the return type of a GCC
37240 builtin and then its argument prototype would still apply. */
37241 #ifdef __cplusplus
37242 extern "C"
37243 #endif
37244 char $ac_func ();
37245 /* The GNU C library defines this for functions which it implements
37246 to always fail with ENOSYS. Some functions are actually named
37247 something starting with __ and the normal name is an alias. */
37248 #if defined __stub_$ac_func || defined __stub___$ac_func
37249 choke me
37250 #endif
37251
37252 int
37253 main ()
37254 {
37255 return $ac_func ();
37256 ;
37257 return 0;
37258 }
37259 _ACEOF
37260 rm -f conftest.$ac_objext conftest$ac_exeext
37261 if { (ac_try="$ac_link"
37262 case "(($ac_try" in
37263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37264 *) ac_try_echo=$ac_try;;
37265 esac
37266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37267 (eval "$ac_link") 2>conftest.er1
37268 ac_status=$?
37269 grep -v '^ *+' conftest.er1 >conftest.err
37270 rm -f conftest.er1
37271 cat conftest.err >&5
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); } && {
37274 test -z "$ac_c_werror_flag" ||
37275 test ! -s conftest.err
37276 } && test -s conftest$ac_exeext &&
37277 $as_test_x conftest$ac_exeext; then
37278 eval "$as_ac_var=yes"
37279 else
37280 echo "$as_me: failed program was:" >&5
37281 sed 's/^/| /' conftest.$ac_ext >&5
37282
37283 eval "$as_ac_var=no"
37284 fi
37285
37286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37287 conftest$ac_exeext conftest.$ac_ext
37288 fi
37289 ac_res=`eval echo '${'$as_ac_var'}'`
37290 { echo "$as_me:$LINENO: result: $ac_res" >&5
37291 echo "${ECHO_T}$ac_res" >&6; }
37292 if test `eval echo '${'$as_ac_var'}'` = yes; then
37293 cat >>confdefs.h <<_ACEOF
37294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37295 _ACEOF
37296 cat >>confdefs.h <<\_ACEOF
37297 #define HAVE_INET_ATON 1
37298 _ACEOF
37299
37300 else
37301
37302 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37303 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37304 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37305 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37306 echo $ECHO_N "(cached) $ECHO_C" >&6
37307 else
37308 ac_check_lib_save_LIBS=$LIBS
37309 LIBS="-l$INET_LINK $LIBS"
37310 cat >conftest.$ac_ext <<_ACEOF
37311 /* confdefs.h. */
37312 _ACEOF
37313 cat confdefs.h >>conftest.$ac_ext
37314 cat >>conftest.$ac_ext <<_ACEOF
37315 /* end confdefs.h. */
37316
37317 /* Override any GCC internal prototype to avoid an error.
37318 Use char because int might match the return type of a GCC
37319 builtin and then its argument prototype would still apply. */
37320 #ifdef __cplusplus
37321 extern "C"
37322 #endif
37323 char inet_aton ();
37324 int
37325 main ()
37326 {
37327 return inet_aton ();
37328 ;
37329 return 0;
37330 }
37331 _ACEOF
37332 rm -f conftest.$ac_objext conftest$ac_exeext
37333 if { (ac_try="$ac_link"
37334 case "(($ac_try" in
37335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37336 *) ac_try_echo=$ac_try;;
37337 esac
37338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37339 (eval "$ac_link") 2>conftest.er1
37340 ac_status=$?
37341 grep -v '^ *+' conftest.er1 >conftest.err
37342 rm -f conftest.er1
37343 cat conftest.err >&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } && {
37346 test -z "$ac_c_werror_flag" ||
37347 test ! -s conftest.err
37348 } && test -s conftest$ac_exeext &&
37349 $as_test_x conftest$ac_exeext; then
37350 eval "$as_ac_Lib=yes"
37351 else
37352 echo "$as_me: failed program was:" >&5
37353 sed 's/^/| /' conftest.$ac_ext >&5
37354
37355 eval "$as_ac_Lib=no"
37356 fi
37357
37358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37359 conftest$ac_exeext conftest.$ac_ext
37360 LIBS=$ac_check_lib_save_LIBS
37361 fi
37362 ac_res=`eval echo '${'$as_ac_Lib'}'`
37363 { echo "$as_me:$LINENO: result: $ac_res" >&5
37364 echo "${ECHO_T}$ac_res" >&6; }
37365 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37366 cat >>confdefs.h <<\_ACEOF
37367 #define HAVE_INET_ATON 1
37368 _ACEOF
37369
37370 fi
37371
37372
37373 fi
37374 done
37375
37376
37377 if test "x$INET_LINK" != "x"; then
37378 cat >>confdefs.h <<\_ACEOF
37379 #define HAVE_INET_ADDR 1
37380 _ACEOF
37381
37382 INET_LINK=" -l$INET_LINK"
37383 fi
37384
37385
37386 for wx_func in fdopen
37387 do
37388 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37389 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37390 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37391 echo $ECHO_N "(cached) $ECHO_C" >&6
37392 else
37393
37394 cat >conftest.$ac_ext <<_ACEOF
37395
37396 /* confdefs.h. */
37397 _ACEOF
37398 cat confdefs.h >>conftest.$ac_ext
37399 cat >>conftest.$ac_ext <<_ACEOF
37400 /* end confdefs.h. */
37401
37402
37403 $ac_includes_default
37404
37405 int
37406 main ()
37407 {
37408
37409 #ifndef $wx_func
37410 &$wx_func;
37411 #endif
37412
37413
37414 ;
37415 return 0;
37416 }
37417
37418 _ACEOF
37419 rm -f conftest.$ac_objext conftest$ac_exeext
37420 if { (ac_try="$ac_link"
37421 case "(($ac_try" in
37422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37423 *) ac_try_echo=$ac_try;;
37424 esac
37425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37426 (eval "$ac_link") 2>conftest.er1
37427 ac_status=$?
37428 grep -v '^ *+' conftest.er1 >conftest.err
37429 rm -f conftest.er1
37430 cat conftest.err >&5
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); } && {
37433 test -z "$ac_c_werror_flag" ||
37434 test ! -s conftest.err
37435 } && test -s conftest$ac_exeext &&
37436 $as_test_x conftest$ac_exeext; then
37437 eval wx_cv_func_$wx_func=yes
37438 else
37439 echo "$as_me: failed program was:" >&5
37440 sed 's/^/| /' conftest.$ac_ext >&5
37441
37442 eval wx_cv_func_$wx_func=no
37443 fi
37444
37445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37446 conftest$ac_exeext conftest.$ac_ext
37447
37448 fi
37449 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37450 { echo "$as_me:$LINENO: result: $ac_res" >&5
37451 echo "${ECHO_T}$ac_res" >&6; }
37452
37453 if eval test \$wx_cv_func_$wx_func = yes
37454 then
37455 cat >>confdefs.h <<_ACEOF
37456 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37457 _ACEOF
37458
37459
37460 else
37461 :
37462
37463 fi
37464 done
37465
37466
37467 fi
37468
37469
37470
37471 cat >confcache <<\_ACEOF
37472 # This file is a shell script that caches the results of configure
37473 # tests run on this system so they can be shared between configure
37474 # scripts and configure runs, see configure's option --config-cache.
37475 # It is not useful on other systems. If it contains results you don't
37476 # want to keep, you may remove or edit it.
37477 #
37478 # config.status only pays attention to the cache file if you give it
37479 # the --recheck option to rerun configure.
37480 #
37481 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37482 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37483 # following values.
37484
37485 _ACEOF
37486
37487 # The following way of writing the cache mishandles newlines in values,
37488 # but we know of no workaround that is simple, portable, and efficient.
37489 # So, we kill variables containing newlines.
37490 # Ultrix sh set writes to stderr and can't be redirected directly,
37491 # and sets the high bit in the cache file unless we assign to the vars.
37492 (
37493 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37494 eval ac_val=\$$ac_var
37495 case $ac_val in #(
37496 *${as_nl}*)
37497 case $ac_var in #(
37498 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37499 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37500 esac
37501 case $ac_var in #(
37502 _ | IFS | as_nl) ;; #(
37503 *) $as_unset $ac_var ;;
37504 esac ;;
37505 esac
37506 done
37507
37508 (set) 2>&1 |
37509 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37510 *${as_nl}ac_space=\ *)
37511 # `set' does not quote correctly, so add quotes (double-quote
37512 # substitution turns \\\\ into \\, and sed turns \\ into \).
37513 sed -n \
37514 "s/'/'\\\\''/g;
37515 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37516 ;; #(
37517 *)
37518 # `set' quotes correctly as required by POSIX, so do not add quotes.
37519 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37520 ;;
37521 esac |
37522 sort
37523 ) |
37524 sed '
37525 /^ac_cv_env_/b end
37526 t clear
37527 :clear
37528 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37529 t end
37530 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37531 :end' >>confcache
37532 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37533 if test -w "$cache_file"; then
37534 test "x$cache_file" != "x/dev/null" &&
37535 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37536 echo "$as_me: updating cache $cache_file" >&6;}
37537 cat confcache >$cache_file
37538 else
37539 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37540 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37541 fi
37542 fi
37543 rm -f confcache
37544
37545
37546 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37547
37548
37549 THREADS_LINK=
37550 THREADS_CFLAGS=
37551
37552 if test "$wxUSE_THREADS" = "yes" ; then
37553 if test "$USE_BEOS" = 1; then
37554 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37555 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37556 wxUSE_THREADS="no"
37557 fi
37558 fi
37559
37560 if test "$wxUSE_THREADS" = "yes" ; then
37561
37562
37563 THREAD_OPTS="-pthread"
37564 case "${host}" in
37565 *-*-solaris2* | *-*-sunos4* )
37566 if test "x$GCC" = "xyes"; then
37567 THREAD_OPTS="-pthreads $THREAD_OPTS"
37568 else
37569 THREAD_OPTS="-mt $THREAD_OPTS"
37570 fi
37571 ;;
37572 *-*-freebsd*)
37573 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37574 ;;
37575 *-*-darwin* | *-*-cygwin* )
37576 THREAD_OPTS=""
37577 ;;
37578 *-*-aix*)
37579 THREAD_OPTS="pthreads"
37580 ;;
37581 *-hp-hpux* )
37582 if test "x$GCC" = "xyes"; then
37583 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37584 THREAD_OPTS=""
37585 else
37586 THREAD_OPTS="-mt"
37587 fi
37588 ;;
37589
37590 *-*-irix* )
37591 if test "x$GCC" = "xyes"; then
37592 THREAD_OPTS=""
37593 fi
37594 ;;
37595
37596 *-*-*UnixWare*)
37597 if test "x$GCC" != "xyes"; then
37598 THREAD_OPTS="-Ethread"
37599 fi
37600 ;;
37601 esac
37602
37603 THREAD_OPTS="$THREAD_OPTS pthread none"
37604
37605 THREADS_OK=no
37606 for flag in $THREAD_OPTS; do
37607 case $flag in
37608 none)
37609 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37610 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37611 ;;
37612
37613 -*)
37614 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37615 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37616 THREADS_CFLAGS="$flag"
37617 ;;
37618
37619 *)
37620 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37621 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37622 THREADS_LINK="-l$flag"
37623 ;;
37624 esac
37625
37626 save_LIBS="$LIBS"
37627 save_CFLAGS="$CFLAGS"
37628 LIBS="$THREADS_LINK $LIBS"
37629 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37630
37631 cat >conftest.$ac_ext <<_ACEOF
37632 /* confdefs.h. */
37633 _ACEOF
37634 cat confdefs.h >>conftest.$ac_ext
37635 cat >>conftest.$ac_ext <<_ACEOF
37636 /* end confdefs.h. */
37637 #include <pthread.h>
37638 int
37639 main ()
37640 {
37641 pthread_create(0,0,0,0);
37642 ;
37643 return 0;
37644 }
37645 _ACEOF
37646 rm -f conftest.$ac_objext conftest$ac_exeext
37647 if { (ac_try="$ac_link"
37648 case "(($ac_try" in
37649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37650 *) ac_try_echo=$ac_try;;
37651 esac
37652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37653 (eval "$ac_link") 2>conftest.er1
37654 ac_status=$?
37655 grep -v '^ *+' conftest.er1 >conftest.err
37656 rm -f conftest.er1
37657 cat conftest.err >&5
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); } && {
37660 test -z "$ac_c_werror_flag" ||
37661 test ! -s conftest.err
37662 } && test -s conftest$ac_exeext &&
37663 $as_test_x conftest$ac_exeext; then
37664 THREADS_OK=yes
37665 else
37666 echo "$as_me: failed program was:" >&5
37667 sed 's/^/| /' conftest.$ac_ext >&5
37668
37669
37670 fi
37671
37672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37673 conftest$ac_exeext conftest.$ac_ext
37674
37675 LIBS="$save_LIBS"
37676 CFLAGS="$save_CFLAGS"
37677
37678 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37679 echo "${ECHO_T}$THREADS_OK" >&6; }
37680 if test "x$THREADS_OK" = "xyes"; then
37681 break;
37682 fi
37683
37684 THREADS_LINK=""
37685 THREADS_CFLAGS=""
37686 done
37687
37688 if test "x$THREADS_OK" != "xyes"; then
37689 wxUSE_THREADS=no
37690 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37691 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37692 else
37693 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37694 LIBS="$THREADS_LINK $LIBS"
37695
37696 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37697 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37698 flag=no
37699 case "${host}" in
37700 *-aix*)
37701 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37702 flag="-D_THREAD_SAFE"
37703 ;;
37704 *-freebsd*)
37705 flag="-D_THREAD_SAFE"
37706 ;;
37707 *-hp-hpux* )
37708 flag="-D_REENTRANT"
37709 if test "x$GCC" != "xyes"; then
37710 flag="$flag -D_RWSTD_MULTI_THREAD"
37711 fi
37712 ;;
37713 *solaris* | alpha*-osf*)
37714 flag="-D_REENTRANT"
37715 ;;
37716 esac
37717 { echo "$as_me:$LINENO: result: ${flag}" >&5
37718 echo "${ECHO_T}${flag}" >&6; }
37719 if test "x$flag" != xno; then
37720 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37721 fi
37722
37723 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37724 fi
37725 fi
37726
37727 if test "$wxUSE_THREADS" = "yes" ; then
37728
37729 for ac_func in thr_setconcurrency
37730 do
37731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37735 echo $ECHO_N "(cached) $ECHO_C" >&6
37736 else
37737 cat >conftest.$ac_ext <<_ACEOF
37738 /* confdefs.h. */
37739 _ACEOF
37740 cat confdefs.h >>conftest.$ac_ext
37741 cat >>conftest.$ac_ext <<_ACEOF
37742 /* end confdefs.h. */
37743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37745 #define $ac_func innocuous_$ac_func
37746
37747 /* System header to define __stub macros and hopefully few prototypes,
37748 which can conflict with char $ac_func (); below.
37749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37750 <limits.h> exists even on freestanding compilers. */
37751
37752 #ifdef __STDC__
37753 # include <limits.h>
37754 #else
37755 # include <assert.h>
37756 #endif
37757
37758 #undef $ac_func
37759
37760 /* Override any GCC internal prototype to avoid an error.
37761 Use char because int might match the return type of a GCC
37762 builtin and then its argument prototype would still apply. */
37763 #ifdef __cplusplus
37764 extern "C"
37765 #endif
37766 char $ac_func ();
37767 /* The GNU C library defines this for functions which it implements
37768 to always fail with ENOSYS. Some functions are actually named
37769 something starting with __ and the normal name is an alias. */
37770 #if defined __stub_$ac_func || defined __stub___$ac_func
37771 choke me
37772 #endif
37773
37774 int
37775 main ()
37776 {
37777 return $ac_func ();
37778 ;
37779 return 0;
37780 }
37781 _ACEOF
37782 rm -f conftest.$ac_objext conftest$ac_exeext
37783 if { (ac_try="$ac_link"
37784 case "(($ac_try" in
37785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37786 *) ac_try_echo=$ac_try;;
37787 esac
37788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37789 (eval "$ac_link") 2>conftest.er1
37790 ac_status=$?
37791 grep -v '^ *+' conftest.er1 >conftest.err
37792 rm -f conftest.er1
37793 cat conftest.err >&5
37794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795 (exit $ac_status); } && {
37796 test -z "$ac_c_werror_flag" ||
37797 test ! -s conftest.err
37798 } && test -s conftest$ac_exeext &&
37799 $as_test_x conftest$ac_exeext; then
37800 eval "$as_ac_var=yes"
37801 else
37802 echo "$as_me: failed program was:" >&5
37803 sed 's/^/| /' conftest.$ac_ext >&5
37804
37805 eval "$as_ac_var=no"
37806 fi
37807
37808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37809 conftest$ac_exeext conftest.$ac_ext
37810 fi
37811 ac_res=`eval echo '${'$as_ac_var'}'`
37812 { echo "$as_me:$LINENO: result: $ac_res" >&5
37813 echo "${ECHO_T}$ac_res" >&6; }
37814 if test `eval echo '${'$as_ac_var'}'` = yes; then
37815 cat >>confdefs.h <<_ACEOF
37816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37817 _ACEOF
37818
37819 fi
37820 done
37821
37822
37823 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37824 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37825 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37826 echo $ECHO_N "(cached) $ECHO_C" >&6
37827 else
37828
37829 cat >conftest.$ac_ext <<_ACEOF
37830 /* confdefs.h. */
37831 _ACEOF
37832 cat confdefs.h >>conftest.$ac_ext
37833 cat >>conftest.$ac_ext <<_ACEOF
37834 /* end confdefs.h. */
37835 #include <pthread.h>
37836 void ThreadCleanupFunc(void *p);
37837
37838 int
37839 main ()
37840 {
37841
37842 void *p;
37843 pthread_cleanup_push(ThreadCleanupFunc, p);
37844 pthread_cleanup_pop(0);
37845
37846 ;
37847 return 0;
37848 }
37849 _ACEOF
37850 rm -f conftest.$ac_objext
37851 if { (ac_try="$ac_compile"
37852 case "(($ac_try" in
37853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37854 *) ac_try_echo=$ac_try;;
37855 esac
37856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37857 (eval "$ac_compile") 2>conftest.er1
37858 ac_status=$?
37859 grep -v '^ *+' conftest.er1 >conftest.err
37860 rm -f conftest.er1
37861 cat conftest.err >&5
37862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863 (exit $ac_status); } && {
37864 test -z "$ac_c_werror_flag" ||
37865 test ! -s conftest.err
37866 } && test -s conftest.$ac_objext; then
37867
37868 wx_cv_func_pthread_cleanup=yes
37869
37870 else
37871 echo "$as_me: failed program was:" >&5
37872 sed 's/^/| /' conftest.$ac_ext >&5
37873
37874
37875 wx_cv_func_pthread_cleanup=no
37876
37877
37878 fi
37879
37880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37881
37882 fi
37883 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37884 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37885 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37886 cat >>confdefs.h <<\_ACEOF
37887 #define wxHAVE_PTHREAD_CLEANUP 1
37888 _ACEOF
37889
37890 fi
37891
37892 { echo "$as_me:$LINENO: checking for sched.h" >&5
37893 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37894 if test "${ac_cv_header_sched_h+set}" = set; then
37895 echo $ECHO_N "(cached) $ECHO_C" >&6
37896 else
37897 cat >conftest.$ac_ext <<_ACEOF
37898 /* confdefs.h. */
37899 _ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 $ac_includes_default
37904
37905 #include <sched.h>
37906 _ACEOF
37907 rm -f conftest.$ac_objext
37908 if { (ac_try="$ac_compile"
37909 case "(($ac_try" in
37910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37911 *) ac_try_echo=$ac_try;;
37912 esac
37913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37914 (eval "$ac_compile") 2>conftest.er1
37915 ac_status=$?
37916 grep -v '^ *+' conftest.er1 >conftest.err
37917 rm -f conftest.er1
37918 cat conftest.err >&5
37919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37920 (exit $ac_status); } && {
37921 test -z "$ac_c_werror_flag" ||
37922 test ! -s conftest.err
37923 } && test -s conftest.$ac_objext; then
37924 ac_cv_header_sched_h=yes
37925 else
37926 echo "$as_me: failed program was:" >&5
37927 sed 's/^/| /' conftest.$ac_ext >&5
37928
37929 ac_cv_header_sched_h=no
37930 fi
37931
37932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37933 fi
37934 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37935 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
37936
37937
37938 if test "$ac_cv_header_sched_h" = "yes"; then
37939 { echo "$as_me:$LINENO: checking for sched_yield" >&5
37940 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
37941 if test "${ac_cv_func_sched_yield+set}" = set; then
37942 echo $ECHO_N "(cached) $ECHO_C" >&6
37943 else
37944 cat >conftest.$ac_ext <<_ACEOF
37945 /* confdefs.h. */
37946 _ACEOF
37947 cat confdefs.h >>conftest.$ac_ext
37948 cat >>conftest.$ac_ext <<_ACEOF
37949 /* end confdefs.h. */
37950 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37952 #define sched_yield innocuous_sched_yield
37953
37954 /* System header to define __stub macros and hopefully few prototypes,
37955 which can conflict with char sched_yield (); below.
37956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37957 <limits.h> exists even on freestanding compilers. */
37958
37959 #ifdef __STDC__
37960 # include <limits.h>
37961 #else
37962 # include <assert.h>
37963 #endif
37964
37965 #undef sched_yield
37966
37967 /* Override any GCC internal prototype to avoid an error.
37968 Use char because int might match the return type of a GCC
37969 builtin and then its argument prototype would still apply. */
37970 #ifdef __cplusplus
37971 extern "C"
37972 #endif
37973 char sched_yield ();
37974 /* The GNU C library defines this for functions which it implements
37975 to always fail with ENOSYS. Some functions are actually named
37976 something starting with __ and the normal name is an alias. */
37977 #if defined __stub_sched_yield || defined __stub___sched_yield
37978 choke me
37979 #endif
37980
37981 int
37982 main ()
37983 {
37984 return sched_yield ();
37985 ;
37986 return 0;
37987 }
37988 _ACEOF
37989 rm -f conftest.$ac_objext conftest$ac_exeext
37990 if { (ac_try="$ac_link"
37991 case "(($ac_try" in
37992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37993 *) ac_try_echo=$ac_try;;
37994 esac
37995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37996 (eval "$ac_link") 2>conftest.er1
37997 ac_status=$?
37998 grep -v '^ *+' conftest.er1 >conftest.err
37999 rm -f conftest.er1
38000 cat conftest.err >&5
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); } && {
38003 test -z "$ac_c_werror_flag" ||
38004 test ! -s conftest.err
38005 } && test -s conftest$ac_exeext &&
38006 $as_test_x conftest$ac_exeext; then
38007 ac_cv_func_sched_yield=yes
38008 else
38009 echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.$ac_ext >&5
38011
38012 ac_cv_func_sched_yield=no
38013 fi
38014
38015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38016 conftest$ac_exeext conftest.$ac_ext
38017 fi
38018 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38019 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38020 if test $ac_cv_func_sched_yield = yes; then
38021 cat >>confdefs.h <<\_ACEOF
38022 #define HAVE_SCHED_YIELD 1
38023 _ACEOF
38024
38025 else
38026
38027 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38028 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38029 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38030 echo $ECHO_N "(cached) $ECHO_C" >&6
38031 else
38032 ac_check_lib_save_LIBS=$LIBS
38033 LIBS="-lposix4 $LIBS"
38034 cat >conftest.$ac_ext <<_ACEOF
38035 /* confdefs.h. */
38036 _ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040
38041 /* Override any GCC internal prototype to avoid an error.
38042 Use char because int might match the return type of a GCC
38043 builtin and then its argument prototype would still apply. */
38044 #ifdef __cplusplus
38045 extern "C"
38046 #endif
38047 char sched_yield ();
38048 int
38049 main ()
38050 {
38051 return sched_yield ();
38052 ;
38053 return 0;
38054 }
38055 _ACEOF
38056 rm -f conftest.$ac_objext conftest$ac_exeext
38057 if { (ac_try="$ac_link"
38058 case "(($ac_try" in
38059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38060 *) ac_try_echo=$ac_try;;
38061 esac
38062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38063 (eval "$ac_link") 2>conftest.er1
38064 ac_status=$?
38065 grep -v '^ *+' conftest.er1 >conftest.err
38066 rm -f conftest.er1
38067 cat conftest.err >&5
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); } && {
38070 test -z "$ac_c_werror_flag" ||
38071 test ! -s conftest.err
38072 } && test -s conftest$ac_exeext &&
38073 $as_test_x conftest$ac_exeext; then
38074 ac_cv_lib_posix4_sched_yield=yes
38075 else
38076 echo "$as_me: failed program was:" >&5
38077 sed 's/^/| /' conftest.$ac_ext >&5
38078
38079 ac_cv_lib_posix4_sched_yield=no
38080 fi
38081
38082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38083 conftest$ac_exeext conftest.$ac_ext
38084 LIBS=$ac_check_lib_save_LIBS
38085 fi
38086 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38087 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38088 if test $ac_cv_lib_posix4_sched_yield = yes; then
38089 cat >>confdefs.h <<\_ACEOF
38090 #define HAVE_SCHED_YIELD 1
38091 _ACEOF
38092 POSIX4_LINK=" -lposix4"
38093 else
38094 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38095 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38096
38097 fi
38098
38099
38100
38101 fi
38102
38103 fi
38104
38105 HAVE_PRIOR_FUNCS=0
38106 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38107 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38108 if test "${ac_cv_func_pthread_attr_getschedpolicy+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 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38119 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38120
38121 /* System header to define __stub macros and hopefully few prototypes,
38122 which can conflict with char pthread_attr_getschedpolicy (); below.
38123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38124 <limits.h> exists even on freestanding compilers. */
38125
38126 #ifdef __STDC__
38127 # include <limits.h>
38128 #else
38129 # include <assert.h>
38130 #endif
38131
38132 #undef pthread_attr_getschedpolicy
38133
38134 /* Override any GCC internal prototype to avoid an error.
38135 Use char because int might match the return type of a GCC
38136 builtin and then its argument prototype would still apply. */
38137 #ifdef __cplusplus
38138 extern "C"
38139 #endif
38140 char pthread_attr_getschedpolicy ();
38141 /* The GNU C library defines this for functions which it implements
38142 to always fail with ENOSYS. Some functions are actually named
38143 something starting with __ and the normal name is an alias. */
38144 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38145 choke me
38146 #endif
38147
38148 int
38149 main ()
38150 {
38151 return pthread_attr_getschedpolicy ();
38152 ;
38153 return 0;
38154 }
38155 _ACEOF
38156 rm -f conftest.$ac_objext conftest$ac_exeext
38157 if { (ac_try="$ac_link"
38158 case "(($ac_try" in
38159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38160 *) ac_try_echo=$ac_try;;
38161 esac
38162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38163 (eval "$ac_link") 2>conftest.er1
38164 ac_status=$?
38165 grep -v '^ *+' conftest.er1 >conftest.err
38166 rm -f conftest.er1
38167 cat conftest.err >&5
38168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38169 (exit $ac_status); } && {
38170 test -z "$ac_c_werror_flag" ||
38171 test ! -s conftest.err
38172 } && test -s conftest$ac_exeext &&
38173 $as_test_x conftest$ac_exeext; then
38174 ac_cv_func_pthread_attr_getschedpolicy=yes
38175 else
38176 echo "$as_me: failed program was:" >&5
38177 sed 's/^/| /' conftest.$ac_ext >&5
38178
38179 ac_cv_func_pthread_attr_getschedpolicy=no
38180 fi
38181
38182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38183 conftest$ac_exeext conftest.$ac_ext
38184 fi
38185 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38186 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38187 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38188 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38189 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38190 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38191 echo $ECHO_N "(cached) $ECHO_C" >&6
38192 else
38193 cat >conftest.$ac_ext <<_ACEOF
38194 /* confdefs.h. */
38195 _ACEOF
38196 cat confdefs.h >>conftest.$ac_ext
38197 cat >>conftest.$ac_ext <<_ACEOF
38198 /* end confdefs.h. */
38199 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38201 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38202
38203 /* System header to define __stub macros and hopefully few prototypes,
38204 which can conflict with char pthread_attr_setschedparam (); below.
38205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38206 <limits.h> exists even on freestanding compilers. */
38207
38208 #ifdef __STDC__
38209 # include <limits.h>
38210 #else
38211 # include <assert.h>
38212 #endif
38213
38214 #undef pthread_attr_setschedparam
38215
38216 /* Override any GCC internal prototype to avoid an error.
38217 Use char because int might match the return type of a GCC
38218 builtin and then its argument prototype would still apply. */
38219 #ifdef __cplusplus
38220 extern "C"
38221 #endif
38222 char pthread_attr_setschedparam ();
38223 /* The GNU C library defines this for functions which it implements
38224 to always fail with ENOSYS. Some functions are actually named
38225 something starting with __ and the normal name is an alias. */
38226 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38227 choke me
38228 #endif
38229
38230 int
38231 main ()
38232 {
38233 return pthread_attr_setschedparam ();
38234 ;
38235 return 0;
38236 }
38237 _ACEOF
38238 rm -f conftest.$ac_objext conftest$ac_exeext
38239 if { (ac_try="$ac_link"
38240 case "(($ac_try" in
38241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38242 *) ac_try_echo=$ac_try;;
38243 esac
38244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38245 (eval "$ac_link") 2>conftest.er1
38246 ac_status=$?
38247 grep -v '^ *+' conftest.er1 >conftest.err
38248 rm -f conftest.er1
38249 cat conftest.err >&5
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); } && {
38252 test -z "$ac_c_werror_flag" ||
38253 test ! -s conftest.err
38254 } && test -s conftest$ac_exeext &&
38255 $as_test_x conftest$ac_exeext; then
38256 ac_cv_func_pthread_attr_setschedparam=yes
38257 else
38258 echo "$as_me: failed program was:" >&5
38259 sed 's/^/| /' conftest.$ac_ext >&5
38260
38261 ac_cv_func_pthread_attr_setschedparam=no
38262 fi
38263
38264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38265 conftest$ac_exeext conftest.$ac_ext
38266 fi
38267 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38268 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38269 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38270 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38271 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38272 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38273 echo $ECHO_N "(cached) $ECHO_C" >&6
38274 else
38275 cat >conftest.$ac_ext <<_ACEOF
38276 /* confdefs.h. */
38277 _ACEOF
38278 cat confdefs.h >>conftest.$ac_ext
38279 cat >>conftest.$ac_ext <<_ACEOF
38280 /* end confdefs.h. */
38281 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38283 #define sched_get_priority_max innocuous_sched_get_priority_max
38284
38285 /* System header to define __stub macros and hopefully few prototypes,
38286 which can conflict with char sched_get_priority_max (); below.
38287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38288 <limits.h> exists even on freestanding compilers. */
38289
38290 #ifdef __STDC__
38291 # include <limits.h>
38292 #else
38293 # include <assert.h>
38294 #endif
38295
38296 #undef sched_get_priority_max
38297
38298 /* Override any GCC internal prototype to avoid an error.
38299 Use char because int might match the return type of a GCC
38300 builtin and then its argument prototype would still apply. */
38301 #ifdef __cplusplus
38302 extern "C"
38303 #endif
38304 char sched_get_priority_max ();
38305 /* The GNU C library defines this for functions which it implements
38306 to always fail with ENOSYS. Some functions are actually named
38307 something starting with __ and the normal name is an alias. */
38308 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38309 choke me
38310 #endif
38311
38312 int
38313 main ()
38314 {
38315 return sched_get_priority_max ();
38316 ;
38317 return 0;
38318 }
38319 _ACEOF
38320 rm -f conftest.$ac_objext conftest$ac_exeext
38321 if { (ac_try="$ac_link"
38322 case "(($ac_try" in
38323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38324 *) ac_try_echo=$ac_try;;
38325 esac
38326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38327 (eval "$ac_link") 2>conftest.er1
38328 ac_status=$?
38329 grep -v '^ *+' conftest.er1 >conftest.err
38330 rm -f conftest.er1
38331 cat conftest.err >&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); } && {
38334 test -z "$ac_c_werror_flag" ||
38335 test ! -s conftest.err
38336 } && test -s conftest$ac_exeext &&
38337 $as_test_x conftest$ac_exeext; then
38338 ac_cv_func_sched_get_priority_max=yes
38339 else
38340 echo "$as_me: failed program was:" >&5
38341 sed 's/^/| /' conftest.$ac_ext >&5
38342
38343 ac_cv_func_sched_get_priority_max=no
38344 fi
38345
38346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38347 conftest$ac_exeext conftest.$ac_ext
38348 fi
38349 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38350 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38351 if test $ac_cv_func_sched_get_priority_max = yes; then
38352 HAVE_PRIOR_FUNCS=1
38353 else
38354 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38355 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38356 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38357 echo $ECHO_N "(cached) $ECHO_C" >&6
38358 else
38359 ac_check_lib_save_LIBS=$LIBS
38360 LIBS="-lposix4 $LIBS"
38361 cat >conftest.$ac_ext <<_ACEOF
38362 /* confdefs.h. */
38363 _ACEOF
38364 cat confdefs.h >>conftest.$ac_ext
38365 cat >>conftest.$ac_ext <<_ACEOF
38366 /* end confdefs.h. */
38367
38368 /* Override any GCC internal prototype to avoid an error.
38369 Use char because int might match the return type of a GCC
38370 builtin and then its argument prototype would still apply. */
38371 #ifdef __cplusplus
38372 extern "C"
38373 #endif
38374 char sched_get_priority_max ();
38375 int
38376 main ()
38377 {
38378 return sched_get_priority_max ();
38379 ;
38380 return 0;
38381 }
38382 _ACEOF
38383 rm -f conftest.$ac_objext conftest$ac_exeext
38384 if { (ac_try="$ac_link"
38385 case "(($ac_try" in
38386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38387 *) ac_try_echo=$ac_try;;
38388 esac
38389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38390 (eval "$ac_link") 2>conftest.er1
38391 ac_status=$?
38392 grep -v '^ *+' conftest.er1 >conftest.err
38393 rm -f conftest.er1
38394 cat conftest.err >&5
38395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38396 (exit $ac_status); } && {
38397 test -z "$ac_c_werror_flag" ||
38398 test ! -s conftest.err
38399 } && test -s conftest$ac_exeext &&
38400 $as_test_x conftest$ac_exeext; then
38401 ac_cv_lib_posix4_sched_get_priority_max=yes
38402 else
38403 echo "$as_me: failed program was:" >&5
38404 sed 's/^/| /' conftest.$ac_ext >&5
38405
38406 ac_cv_lib_posix4_sched_get_priority_max=no
38407 fi
38408
38409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38410 conftest$ac_exeext conftest.$ac_ext
38411 LIBS=$ac_check_lib_save_LIBS
38412 fi
38413 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38414 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38415 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38416
38417 HAVE_PRIOR_FUNCS=1
38418 POSIX4_LINK=" -lposix4"
38419
38420 fi
38421
38422
38423 fi
38424
38425
38426 fi
38427
38428
38429 fi
38430
38431
38432 if test "$HAVE_PRIOR_FUNCS" = 1; then
38433 cat >>confdefs.h <<\_ACEOF
38434 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38435 _ACEOF
38436
38437 else
38438 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38439 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38440 fi
38441
38442 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38443 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38444 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38445 echo $ECHO_N "(cached) $ECHO_C" >&6
38446 else
38447 cat >conftest.$ac_ext <<_ACEOF
38448 /* confdefs.h. */
38449 _ACEOF
38450 cat confdefs.h >>conftest.$ac_ext
38451 cat >>conftest.$ac_ext <<_ACEOF
38452 /* end confdefs.h. */
38453 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38455 #define pthread_cancel innocuous_pthread_cancel
38456
38457 /* System header to define __stub macros and hopefully few prototypes,
38458 which can conflict with char pthread_cancel (); below.
38459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38460 <limits.h> exists even on freestanding compilers. */
38461
38462 #ifdef __STDC__
38463 # include <limits.h>
38464 #else
38465 # include <assert.h>
38466 #endif
38467
38468 #undef pthread_cancel
38469
38470 /* Override any GCC internal prototype to avoid an error.
38471 Use char because int might match the return type of a GCC
38472 builtin and then its argument prototype would still apply. */
38473 #ifdef __cplusplus
38474 extern "C"
38475 #endif
38476 char pthread_cancel ();
38477 /* The GNU C library defines this for functions which it implements
38478 to always fail with ENOSYS. Some functions are actually named
38479 something starting with __ and the normal name is an alias. */
38480 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38481 choke me
38482 #endif
38483
38484 int
38485 main ()
38486 {
38487 return pthread_cancel ();
38488 ;
38489 return 0;
38490 }
38491 _ACEOF
38492 rm -f conftest.$ac_objext conftest$ac_exeext
38493 if { (ac_try="$ac_link"
38494 case "(($ac_try" in
38495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38496 *) ac_try_echo=$ac_try;;
38497 esac
38498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38499 (eval "$ac_link") 2>conftest.er1
38500 ac_status=$?
38501 grep -v '^ *+' conftest.er1 >conftest.err
38502 rm -f conftest.er1
38503 cat conftest.err >&5
38504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38505 (exit $ac_status); } && {
38506 test -z "$ac_c_werror_flag" ||
38507 test ! -s conftest.err
38508 } && test -s conftest$ac_exeext &&
38509 $as_test_x conftest$ac_exeext; then
38510 ac_cv_func_pthread_cancel=yes
38511 else
38512 echo "$as_me: failed program was:" >&5
38513 sed 's/^/| /' conftest.$ac_ext >&5
38514
38515 ac_cv_func_pthread_cancel=no
38516 fi
38517
38518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38519 conftest$ac_exeext conftest.$ac_ext
38520 fi
38521 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38522 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38523 if test $ac_cv_func_pthread_cancel = yes; then
38524 cat >>confdefs.h <<\_ACEOF
38525 #define HAVE_PTHREAD_CANCEL 1
38526 _ACEOF
38527
38528 else
38529 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38530 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38531 fi
38532
38533
38534 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38535 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38536 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38537 echo $ECHO_N "(cached) $ECHO_C" >&6
38538 else
38539 cat >conftest.$ac_ext <<_ACEOF
38540 /* confdefs.h. */
38541 _ACEOF
38542 cat confdefs.h >>conftest.$ac_ext
38543 cat >>conftest.$ac_ext <<_ACEOF
38544 /* end confdefs.h. */
38545 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38547 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38548
38549 /* System header to define __stub macros and hopefully few prototypes,
38550 which can conflict with char pthread_mutex_timedlock (); below.
38551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38552 <limits.h> exists even on freestanding compilers. */
38553
38554 #ifdef __STDC__
38555 # include <limits.h>
38556 #else
38557 # include <assert.h>
38558 #endif
38559
38560 #undef pthread_mutex_timedlock
38561
38562 /* Override any GCC internal prototype to avoid an error.
38563 Use char because int might match the return type of a GCC
38564 builtin and then its argument prototype would still apply. */
38565 #ifdef __cplusplus
38566 extern "C"
38567 #endif
38568 char pthread_mutex_timedlock ();
38569 /* The GNU C library defines this for functions which it implements
38570 to always fail with ENOSYS. Some functions are actually named
38571 something starting with __ and the normal name is an alias. */
38572 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38573 choke me
38574 #endif
38575
38576 int
38577 main ()
38578 {
38579 return pthread_mutex_timedlock ();
38580 ;
38581 return 0;
38582 }
38583 _ACEOF
38584 rm -f conftest.$ac_objext conftest$ac_exeext
38585 if { (ac_try="$ac_link"
38586 case "(($ac_try" in
38587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38588 *) ac_try_echo=$ac_try;;
38589 esac
38590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38591 (eval "$ac_link") 2>conftest.er1
38592 ac_status=$?
38593 grep -v '^ *+' conftest.er1 >conftest.err
38594 rm -f conftest.er1
38595 cat conftest.err >&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); } && {
38598 test -z "$ac_c_werror_flag" ||
38599 test ! -s conftest.err
38600 } && test -s conftest$ac_exeext &&
38601 $as_test_x conftest$ac_exeext; then
38602 ac_cv_func_pthread_mutex_timedlock=yes
38603 else
38604 echo "$as_me: failed program was:" >&5
38605 sed 's/^/| /' conftest.$ac_ext >&5
38606
38607 ac_cv_func_pthread_mutex_timedlock=no
38608 fi
38609
38610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38611 conftest$ac_exeext conftest.$ac_ext
38612 fi
38613 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38614 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38615 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38616 cat >>confdefs.h <<\_ACEOF
38617 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38618 _ACEOF
38619
38620 else
38621 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38622 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38623 fi
38624
38625
38626 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38627 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38628 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38629 echo $ECHO_N "(cached) $ECHO_C" >&6
38630 else
38631 cat >conftest.$ac_ext <<_ACEOF
38632 /* confdefs.h. */
38633 _ACEOF
38634 cat confdefs.h >>conftest.$ac_ext
38635 cat >>conftest.$ac_ext <<_ACEOF
38636 /* end confdefs.h. */
38637 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38639 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38640
38641 /* System header to define __stub macros and hopefully few prototypes,
38642 which can conflict with char pthread_attr_setstacksize (); below.
38643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38644 <limits.h> exists even on freestanding compilers. */
38645
38646 #ifdef __STDC__
38647 # include <limits.h>
38648 #else
38649 # include <assert.h>
38650 #endif
38651
38652 #undef pthread_attr_setstacksize
38653
38654 /* Override any GCC internal prototype to avoid an error.
38655 Use char because int might match the return type of a GCC
38656 builtin and then its argument prototype would still apply. */
38657 #ifdef __cplusplus
38658 extern "C"
38659 #endif
38660 char pthread_attr_setstacksize ();
38661 /* The GNU C library defines this for functions which it implements
38662 to always fail with ENOSYS. Some functions are actually named
38663 something starting with __ and the normal name is an alias. */
38664 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38665 choke me
38666 #endif
38667
38668 int
38669 main ()
38670 {
38671 return pthread_attr_setstacksize ();
38672 ;
38673 return 0;
38674 }
38675 _ACEOF
38676 rm -f conftest.$ac_objext conftest$ac_exeext
38677 if { (ac_try="$ac_link"
38678 case "(($ac_try" in
38679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38680 *) ac_try_echo=$ac_try;;
38681 esac
38682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38683 (eval "$ac_link") 2>conftest.er1
38684 ac_status=$?
38685 grep -v '^ *+' conftest.er1 >conftest.err
38686 rm -f conftest.er1
38687 cat conftest.err >&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); } && {
38690 test -z "$ac_c_werror_flag" ||
38691 test ! -s conftest.err
38692 } && test -s conftest$ac_exeext &&
38693 $as_test_x conftest$ac_exeext; then
38694 ac_cv_func_pthread_attr_setstacksize=yes
38695 else
38696 echo "$as_me: failed program was:" >&5
38697 sed 's/^/| /' conftest.$ac_ext >&5
38698
38699 ac_cv_func_pthread_attr_setstacksize=no
38700 fi
38701
38702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38703 conftest$ac_exeext conftest.$ac_ext
38704 fi
38705 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38706 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38707 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38708 cat >>confdefs.h <<\_ACEOF
38709 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38710 _ACEOF
38711
38712 fi
38713
38714
38715
38716 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38717 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38718 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38719 echo $ECHO_N "(cached) $ECHO_C" >&6
38720 else
38721
38722 cat >conftest.$ac_ext <<_ACEOF
38723 /* confdefs.h. */
38724 _ACEOF
38725 cat confdefs.h >>conftest.$ac_ext
38726 cat >>conftest.$ac_ext <<_ACEOF
38727 /* end confdefs.h. */
38728 #include <pthread.h>
38729 int
38730 main ()
38731 {
38732
38733 pthread_mutexattr_t attr;
38734 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38735
38736 ;
38737 return 0;
38738 }
38739 _ACEOF
38740 rm -f conftest.$ac_objext
38741 if { (ac_try="$ac_compile"
38742 case "(($ac_try" in
38743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38744 *) ac_try_echo=$ac_try;;
38745 esac
38746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38747 (eval "$ac_compile") 2>conftest.er1
38748 ac_status=$?
38749 grep -v '^ *+' conftest.er1 >conftest.err
38750 rm -f conftest.er1
38751 cat conftest.err >&5
38752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38753 (exit $ac_status); } && {
38754 test -z "$ac_c_werror_flag" ||
38755 test ! -s conftest.err
38756 } && test -s conftest.$ac_objext; then
38757 wx_cv_type_pthread_mutexattr_t=yes
38758 else
38759 echo "$as_me: failed program was:" >&5
38760 sed 's/^/| /' conftest.$ac_ext >&5
38761
38762 wx_cv_type_pthread_mutexattr_t=no
38763
38764 fi
38765
38766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38767
38768 fi
38769 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38770 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38771
38772 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38773 cat >>confdefs.h <<\_ACEOF
38774 #define HAVE_PTHREAD_MUTEXATTR_T 1
38775 _ACEOF
38776
38777
38778 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38779 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38780 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38781 echo $ECHO_N "(cached) $ECHO_C" >&6
38782 else
38783
38784 cat >conftest.$ac_ext <<_ACEOF
38785 /* confdefs.h. */
38786 _ACEOF
38787 cat confdefs.h >>conftest.$ac_ext
38788 cat >>conftest.$ac_ext <<_ACEOF
38789 /* end confdefs.h. */
38790 #include <pthread.h>
38791 int
38792 main ()
38793 {
38794
38795 pthread_mutexattr_t attr;
38796 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38797
38798 ;
38799 return 0;
38800 }
38801 _ACEOF
38802 rm -f conftest.$ac_objext
38803 if { (ac_try="$ac_compile"
38804 case "(($ac_try" in
38805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38806 *) ac_try_echo=$ac_try;;
38807 esac
38808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38809 (eval "$ac_compile") 2>conftest.er1
38810 ac_status=$?
38811 grep -v '^ *+' conftest.er1 >conftest.err
38812 rm -f conftest.er1
38813 cat conftest.err >&5
38814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38815 (exit $ac_status); } && {
38816 test -z "$ac_c_werror_flag" ||
38817 test ! -s conftest.err
38818 } && test -s conftest.$ac_objext; then
38819 wx_cv_func_pthread_mutexattr_settype_decl=yes
38820 else
38821 echo "$as_me: failed program was:" >&5
38822 sed 's/^/| /' conftest.$ac_ext >&5
38823
38824 wx_cv_func_pthread_mutexattr_settype_decl=no
38825
38826 fi
38827
38828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38829
38830 fi
38831 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38832 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38833 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38834 cat >>confdefs.h <<\_ACEOF
38835 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38836 _ACEOF
38837
38838 fi
38839 else
38840 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38841 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38842 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38844 else
38845
38846 cat >conftest.$ac_ext <<_ACEOF
38847 /* confdefs.h. */
38848 _ACEOF
38849 cat confdefs.h >>conftest.$ac_ext
38850 cat >>conftest.$ac_ext <<_ACEOF
38851 /* end confdefs.h. */
38852 #include <pthread.h>
38853 int
38854 main ()
38855 {
38856
38857 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38858
38859 ;
38860 return 0;
38861 }
38862 _ACEOF
38863 rm -f conftest.$ac_objext
38864 if { (ac_try="$ac_compile"
38865 case "(($ac_try" in
38866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38867 *) ac_try_echo=$ac_try;;
38868 esac
38869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38870 (eval "$ac_compile") 2>conftest.er1
38871 ac_status=$?
38872 grep -v '^ *+' conftest.er1 >conftest.err
38873 rm -f conftest.er1
38874 cat conftest.err >&5
38875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38876 (exit $ac_status); } && {
38877 test -z "$ac_c_werror_flag" ||
38878 test ! -s conftest.err
38879 } && test -s conftest.$ac_objext; then
38880
38881 wx_cv_type_pthread_rec_mutex_init=yes
38882
38883 else
38884 echo "$as_me: failed program was:" >&5
38885 sed 's/^/| /' conftest.$ac_ext >&5
38886
38887
38888 wx_cv_type_pthread_rec_mutex_init=no
38889
38890
38891 fi
38892
38893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38894
38895 fi
38896 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38897 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38898 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38899 cat >>confdefs.h <<\_ACEOF
38900 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38901 _ACEOF
38902
38903 else
38904 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38905 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38906 fi
38907 fi
38908 fi
38909
38910 else
38911 if test "$wxUSE_THREADS" = "yes" ; then
38912 case "${host}" in
38913 *-*-mingw32* )
38914 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38915 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
38916 if test "${wx_cv_cflags_mthread+set}" = set; then
38917 echo $ECHO_N "(cached) $ECHO_C" >&6
38918 else
38919
38920 CFLAGS_OLD="$CFLAGS"
38921 CFLAGS="-mthreads $CFLAGS"
38922 cat >conftest.$ac_ext <<_ACEOF
38923 /* confdefs.h. */
38924 _ACEOF
38925 cat confdefs.h >>conftest.$ac_ext
38926 cat >>conftest.$ac_ext <<_ACEOF
38927 /* end confdefs.h. */
38928
38929 int
38930 main ()
38931 {
38932
38933 ;
38934 return 0;
38935 }
38936 _ACEOF
38937 rm -f conftest.$ac_objext
38938 if { (ac_try="$ac_compile"
38939 case "(($ac_try" in
38940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38941 *) ac_try_echo=$ac_try;;
38942 esac
38943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38944 (eval "$ac_compile") 2>conftest.er1
38945 ac_status=$?
38946 grep -v '^ *+' conftest.er1 >conftest.err
38947 rm -f conftest.er1
38948 cat conftest.err >&5
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); } && {
38951 test -z "$ac_c_werror_flag" ||
38952 test ! -s conftest.err
38953 } && test -s conftest.$ac_objext; then
38954 wx_cv_cflags_mthread=yes
38955 else
38956 echo "$as_me: failed program was:" >&5
38957 sed 's/^/| /' conftest.$ac_ext >&5
38958
38959 wx_cv_cflags_mthread=no
38960
38961 fi
38962
38963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38964
38965
38966 fi
38967 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38968 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
38969
38970 if test "$wx_cv_cflags_mthread" = "yes"; then
38971 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38972 LDFLAGS="$LDFLAGS -mthreads"
38973 else
38974 CFLAGS="$CFLAGS_OLD"
38975 fi
38976 ;;
38977 *-pc-os2*emx )
38978 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38979 LDFLAGS="$LDFLAGS -Zmt"
38980 ;;
38981 esac
38982 fi
38983 fi
38984
38985 { echo "$as_me:$LINENO: checking for localtime_r" >&5
38986 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
38987 if test "${ac_cv_func_localtime_r+set}" = set; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38989 else
38990 cat >conftest.$ac_ext <<_ACEOF
38991 /* confdefs.h. */
38992 _ACEOF
38993 cat confdefs.h >>conftest.$ac_ext
38994 cat >>conftest.$ac_ext <<_ACEOF
38995 /* end confdefs.h. */
38996 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38998 #define localtime_r innocuous_localtime_r
38999
39000 /* System header to define __stub macros and hopefully few prototypes,
39001 which can conflict with char localtime_r (); below.
39002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39003 <limits.h> exists even on freestanding compilers. */
39004
39005 #ifdef __STDC__
39006 # include <limits.h>
39007 #else
39008 # include <assert.h>
39009 #endif
39010
39011 #undef localtime_r
39012
39013 /* Override any GCC internal prototype to avoid an error.
39014 Use char because int might match the return type of a GCC
39015 builtin and then its argument prototype would still apply. */
39016 #ifdef __cplusplus
39017 extern "C"
39018 #endif
39019 char localtime_r ();
39020 /* The GNU C library defines this for functions which it implements
39021 to always fail with ENOSYS. Some functions are actually named
39022 something starting with __ and the normal name is an alias. */
39023 #if defined __stub_localtime_r || defined __stub___localtime_r
39024 choke me
39025 #endif
39026
39027 int
39028 main ()
39029 {
39030 return localtime_r ();
39031 ;
39032 return 0;
39033 }
39034 _ACEOF
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (ac_try="$ac_link"
39037 case "(($ac_try" in
39038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39039 *) ac_try_echo=$ac_try;;
39040 esac
39041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39042 (eval "$ac_link") 2>conftest.er1
39043 ac_status=$?
39044 grep -v '^ *+' conftest.er1 >conftest.err
39045 rm -f conftest.er1
39046 cat conftest.err >&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } && {
39049 test -z "$ac_c_werror_flag" ||
39050 test ! -s conftest.err
39051 } && test -s conftest$ac_exeext &&
39052 $as_test_x conftest$ac_exeext; then
39053 ac_cv_func_localtime_r=yes
39054 else
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.$ac_ext >&5
39057
39058 ac_cv_func_localtime_r=no
39059 fi
39060
39061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39062 conftest$ac_exeext conftest.$ac_ext
39063 fi
39064 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39065 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39066 if test $ac_cv_func_localtime_r = yes; then
39067 cat >>confdefs.h <<\_ACEOF
39068 #define HAVE_LOCALTIME_R 1
39069 _ACEOF
39070
39071 fi
39072
39073 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39074 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39075 if test "${ac_cv_func_gmtime_r+set}" = set; then
39076 echo $ECHO_N "(cached) $ECHO_C" >&6
39077 else
39078 cat >conftest.$ac_ext <<_ACEOF
39079 /* confdefs.h. */
39080 _ACEOF
39081 cat confdefs.h >>conftest.$ac_ext
39082 cat >>conftest.$ac_ext <<_ACEOF
39083 /* end confdefs.h. */
39084 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39086 #define gmtime_r innocuous_gmtime_r
39087
39088 /* System header to define __stub macros and hopefully few prototypes,
39089 which can conflict with char gmtime_r (); below.
39090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39091 <limits.h> exists even on freestanding compilers. */
39092
39093 #ifdef __STDC__
39094 # include <limits.h>
39095 #else
39096 # include <assert.h>
39097 #endif
39098
39099 #undef gmtime_r
39100
39101 /* Override any GCC internal prototype to avoid an error.
39102 Use char because int might match the return type of a GCC
39103 builtin and then its argument prototype would still apply. */
39104 #ifdef __cplusplus
39105 extern "C"
39106 #endif
39107 char gmtime_r ();
39108 /* The GNU C library defines this for functions which it implements
39109 to always fail with ENOSYS. Some functions are actually named
39110 something starting with __ and the normal name is an alias. */
39111 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39112 choke me
39113 #endif
39114
39115 int
39116 main ()
39117 {
39118 return gmtime_r ();
39119 ;
39120 return 0;
39121 }
39122 _ACEOF
39123 rm -f conftest.$ac_objext conftest$ac_exeext
39124 if { (ac_try="$ac_link"
39125 case "(($ac_try" in
39126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39127 *) ac_try_echo=$ac_try;;
39128 esac
39129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39130 (eval "$ac_link") 2>conftest.er1
39131 ac_status=$?
39132 grep -v '^ *+' conftest.er1 >conftest.err
39133 rm -f conftest.er1
39134 cat conftest.err >&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); } && {
39137 test -z "$ac_c_werror_flag" ||
39138 test ! -s conftest.err
39139 } && test -s conftest$ac_exeext &&
39140 $as_test_x conftest$ac_exeext; then
39141 ac_cv_func_gmtime_r=yes
39142 else
39143 echo "$as_me: failed program was:" >&5
39144 sed 's/^/| /' conftest.$ac_ext >&5
39145
39146 ac_cv_func_gmtime_r=no
39147 fi
39148
39149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39150 conftest$ac_exeext conftest.$ac_ext
39151 fi
39152 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39153 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39154 if test $ac_cv_func_gmtime_r = yes; then
39155 cat >>confdefs.h <<\_ACEOF
39156 #define HAVE_GMTIME_R 1
39157 _ACEOF
39158
39159 fi
39160
39161 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39162 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39163 if test "${ac_cv_func_readdir_r+set}" = set; then
39164 echo $ECHO_N "(cached) $ECHO_C" >&6
39165 else
39166 cat >conftest.$ac_ext <<_ACEOF
39167 /* confdefs.h. */
39168 _ACEOF
39169 cat confdefs.h >>conftest.$ac_ext
39170 cat >>conftest.$ac_ext <<_ACEOF
39171 /* end confdefs.h. */
39172 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39174 #define readdir_r innocuous_readdir_r
39175
39176 /* System header to define __stub macros and hopefully few prototypes,
39177 which can conflict with char readdir_r (); below.
39178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39179 <limits.h> exists even on freestanding compilers. */
39180
39181 #ifdef __STDC__
39182 # include <limits.h>
39183 #else
39184 # include <assert.h>
39185 #endif
39186
39187 #undef readdir_r
39188
39189 /* Override any GCC internal prototype to avoid an error.
39190 Use char because int might match the return type of a GCC
39191 builtin and then its argument prototype would still apply. */
39192 #ifdef __cplusplus
39193 extern "C"
39194 #endif
39195 char readdir_r ();
39196 /* The GNU C library defines this for functions which it implements
39197 to always fail with ENOSYS. Some functions are actually named
39198 something starting with __ and the normal name is an alias. */
39199 #if defined __stub_readdir_r || defined __stub___readdir_r
39200 choke me
39201 #endif
39202
39203 int
39204 main ()
39205 {
39206 return readdir_r ();
39207 ;
39208 return 0;
39209 }
39210 _ACEOF
39211 rm -f conftest.$ac_objext conftest$ac_exeext
39212 if { (ac_try="$ac_link"
39213 case "(($ac_try" in
39214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39215 *) ac_try_echo=$ac_try;;
39216 esac
39217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39218 (eval "$ac_link") 2>conftest.er1
39219 ac_status=$?
39220 grep -v '^ *+' conftest.er1 >conftest.err
39221 rm -f conftest.er1
39222 cat conftest.err >&5
39223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39224 (exit $ac_status); } && {
39225 test -z "$ac_c_werror_flag" ||
39226 test ! -s conftest.err
39227 } && test -s conftest$ac_exeext &&
39228 $as_test_x conftest$ac_exeext; then
39229 ac_cv_func_readdir_r=yes
39230 else
39231 echo "$as_me: failed program was:" >&5
39232 sed 's/^/| /' conftest.$ac_ext >&5
39233
39234 ac_cv_func_readdir_r=no
39235 fi
39236
39237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39238 conftest$ac_exeext conftest.$ac_ext
39239 fi
39240 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39241 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39242 if test $ac_cv_func_readdir_r = yes; then
39243 cat >>confdefs.h <<\_ACEOF
39244 #define HAVE_READDIR_R 1
39245 _ACEOF
39246
39247 fi
39248
39249
39250
39251
39252 ac_ext=c
39253 ac_cpp='$CPP $CPPFLAGS'
39254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39257
39258 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39259 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39260
39261 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39262 echo $ECHO_N "(cached) $ECHO_C" >&6
39263 else
39264
39265
39266
39267 ac_cv_func_which_gethostbyname_r=unknown
39268
39269 #
39270 # ONE ARGUMENT (sanity check)
39271 #
39272
39273 # This should fail, as there is no variant of gethostbyname_r() that takes
39274 # a single argument. If it actually compiles, then we can assume that
39275 # netdb.h is not declaring the function, and the compiler is thereby
39276 # assuming an implicit prototype. In which case, we're out of luck.
39277 #
39278 cat >conftest.$ac_ext <<_ACEOF
39279 /* confdefs.h. */
39280 _ACEOF
39281 cat confdefs.h >>conftest.$ac_ext
39282 cat >>conftest.$ac_ext <<_ACEOF
39283 /* end confdefs.h. */
39284 #include <netdb.h>
39285 int
39286 main ()
39287 {
39288
39289 char *name = "www.gnu.org";
39290 (void)gethostbyname_r(name) /* ; */
39291
39292 ;
39293 return 0;
39294 }
39295 _ACEOF
39296 rm -f conftest.$ac_objext
39297 if { (ac_try="$ac_compile"
39298 case "(($ac_try" in
39299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39300 *) ac_try_echo=$ac_try;;
39301 esac
39302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39303 (eval "$ac_compile") 2>conftest.er1
39304 ac_status=$?
39305 grep -v '^ *+' conftest.er1 >conftest.err
39306 rm -f conftest.er1
39307 cat conftest.err >&5
39308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39309 (exit $ac_status); } && {
39310 test -z "$ac_c_werror_flag" ||
39311 test ! -s conftest.err
39312 } && test -s conftest.$ac_objext; then
39313 ac_cv_func_which_gethostbyname_r=no
39314 else
39315 echo "$as_me: failed program was:" >&5
39316 sed 's/^/| /' conftest.$ac_ext >&5
39317
39318
39319 fi
39320
39321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39322
39323 #
39324 # SIX ARGUMENTS
39325 # (e.g. Linux)
39326 #
39327
39328 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39329
39330 cat >conftest.$ac_ext <<_ACEOF
39331 /* confdefs.h. */
39332 _ACEOF
39333 cat confdefs.h >>conftest.$ac_ext
39334 cat >>conftest.$ac_ext <<_ACEOF
39335 /* end confdefs.h. */
39336 #include <netdb.h>
39337 int
39338 main ()
39339 {
39340
39341 char *name = "www.gnu.org";
39342 struct hostent ret, *retp;
39343 char buf[1024];
39344 int buflen = 1024;
39345 int my_h_errno;
39346 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39347
39348 ;
39349 return 0;
39350 }
39351 _ACEOF
39352 rm -f conftest.$ac_objext
39353 if { (ac_try="$ac_compile"
39354 case "(($ac_try" in
39355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39356 *) ac_try_echo=$ac_try;;
39357 esac
39358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39359 (eval "$ac_compile") 2>conftest.er1
39360 ac_status=$?
39361 grep -v '^ *+' conftest.er1 >conftest.err
39362 rm -f conftest.er1
39363 cat conftest.err >&5
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); } && {
39366 test -z "$ac_c_werror_flag" ||
39367 test ! -s conftest.err
39368 } && test -s conftest.$ac_objext; then
39369 ac_cv_func_which_gethostbyname_r=six
39370 else
39371 echo "$as_me: failed program was:" >&5
39372 sed 's/^/| /' conftest.$ac_ext >&5
39373
39374
39375 fi
39376
39377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39378
39379 fi
39380
39381 #
39382 # FIVE ARGUMENTS
39383 # (e.g. Solaris)
39384 #
39385
39386 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39387
39388 cat >conftest.$ac_ext <<_ACEOF
39389 /* confdefs.h. */
39390 _ACEOF
39391 cat confdefs.h >>conftest.$ac_ext
39392 cat >>conftest.$ac_ext <<_ACEOF
39393 /* end confdefs.h. */
39394 #include <netdb.h>
39395 int
39396 main ()
39397 {
39398
39399 char *name = "www.gnu.org";
39400 struct hostent ret;
39401 char buf[1024];
39402 int buflen = 1024;
39403 int my_h_errno;
39404 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39405
39406 ;
39407 return 0;
39408 }
39409 _ACEOF
39410 rm -f conftest.$ac_objext
39411 if { (ac_try="$ac_compile"
39412 case "(($ac_try" in
39413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39414 *) ac_try_echo=$ac_try;;
39415 esac
39416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39417 (eval "$ac_compile") 2>conftest.er1
39418 ac_status=$?
39419 grep -v '^ *+' conftest.er1 >conftest.err
39420 rm -f conftest.er1
39421 cat conftest.err >&5
39422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39423 (exit $ac_status); } && {
39424 test -z "$ac_c_werror_flag" ||
39425 test ! -s conftest.err
39426 } && test -s conftest.$ac_objext; then
39427 ac_cv_func_which_gethostbyname_r=five
39428 else
39429 echo "$as_me: failed program was:" >&5
39430 sed 's/^/| /' conftest.$ac_ext >&5
39431
39432
39433 fi
39434
39435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39436
39437 fi
39438
39439 #
39440 # THREE ARGUMENTS
39441 # (e.g. AIX, HP-UX, Tru64)
39442 #
39443
39444 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39445
39446 cat >conftest.$ac_ext <<_ACEOF
39447 /* confdefs.h. */
39448 _ACEOF
39449 cat confdefs.h >>conftest.$ac_ext
39450 cat >>conftest.$ac_ext <<_ACEOF
39451 /* end confdefs.h. */
39452 #include <netdb.h>
39453 int
39454 main ()
39455 {
39456
39457 char *name = "www.gnu.org";
39458 struct hostent ret;
39459 struct hostent_data data;
39460 (void)gethostbyname_r(name, &ret, &data) /* ; */
39461
39462 ;
39463 return 0;
39464 }
39465 _ACEOF
39466 rm -f conftest.$ac_objext
39467 if { (ac_try="$ac_compile"
39468 case "(($ac_try" in
39469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39470 *) ac_try_echo=$ac_try;;
39471 esac
39472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39473 (eval "$ac_compile") 2>conftest.er1
39474 ac_status=$?
39475 grep -v '^ *+' conftest.er1 >conftest.err
39476 rm -f conftest.er1
39477 cat conftest.err >&5
39478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39479 (exit $ac_status); } && {
39480 test -z "$ac_c_werror_flag" ||
39481 test ! -s conftest.err
39482 } && test -s conftest.$ac_objext; then
39483 ac_cv_func_which_gethostbyname_r=three
39484 else
39485 echo "$as_me: failed program was:" >&5
39486 sed 's/^/| /' conftest.$ac_ext >&5
39487
39488
39489 fi
39490
39491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39492
39493 fi
39494
39495
39496
39497 fi
39498
39499 case "$ac_cv_func_which_gethostbyname_r" in
39500 three)
39501 { echo "$as_me:$LINENO: result: three" >&5
39502 echo "${ECHO_T}three" >&6; }
39503 cat >>confdefs.h <<\_ACEOF
39504 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39505 _ACEOF
39506
39507 ;;
39508
39509 five)
39510 { echo "$as_me:$LINENO: result: five" >&5
39511 echo "${ECHO_T}five" >&6; }
39512 cat >>confdefs.h <<\_ACEOF
39513 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39514 _ACEOF
39515
39516 ;;
39517
39518 six)
39519 { echo "$as_me:$LINENO: result: six" >&5
39520 echo "${ECHO_T}six" >&6; }
39521 cat >>confdefs.h <<\_ACEOF
39522 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39523 _ACEOF
39524
39525 ;;
39526
39527 no)
39528 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39529 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39530 ;;
39531
39532 unknown)
39533 { echo "$as_me:$LINENO: result: can't tell" >&5
39534 echo "${ECHO_T}can't tell" >&6; }
39535 ;;
39536
39537 *)
39538 { { echo "$as_me:$LINENO: error: internal error" >&5
39539 echo "$as_me: error: internal error" >&2;}
39540 { (exit 1); exit 1; }; }
39541 ;;
39542 esac
39543
39544 ac_ext=c
39545 ac_cpp='$CPP $CPPFLAGS'
39546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39549
39550
39551
39552 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39553 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39554 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39555 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39556 if test "${ac_cv_func_gethostbyname+set}" = set; then
39557 echo $ECHO_N "(cached) $ECHO_C" >&6
39558 else
39559 cat >conftest.$ac_ext <<_ACEOF
39560 /* confdefs.h. */
39561 _ACEOF
39562 cat confdefs.h >>conftest.$ac_ext
39563 cat >>conftest.$ac_ext <<_ACEOF
39564 /* end confdefs.h. */
39565 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39567 #define gethostbyname innocuous_gethostbyname
39568
39569 /* System header to define __stub macros and hopefully few prototypes,
39570 which can conflict with char gethostbyname (); below.
39571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39572 <limits.h> exists even on freestanding compilers. */
39573
39574 #ifdef __STDC__
39575 # include <limits.h>
39576 #else
39577 # include <assert.h>
39578 #endif
39579
39580 #undef gethostbyname
39581
39582 /* Override any GCC internal prototype to avoid an error.
39583 Use char because int might match the return type of a GCC
39584 builtin and then its argument prototype would still apply. */
39585 #ifdef __cplusplus
39586 extern "C"
39587 #endif
39588 char gethostbyname ();
39589 /* The GNU C library defines this for functions which it implements
39590 to always fail with ENOSYS. Some functions are actually named
39591 something starting with __ and the normal name is an alias. */
39592 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39593 choke me
39594 #endif
39595
39596 int
39597 main ()
39598 {
39599 return gethostbyname ();
39600 ;
39601 return 0;
39602 }
39603 _ACEOF
39604 rm -f conftest.$ac_objext conftest$ac_exeext
39605 if { (ac_try="$ac_link"
39606 case "(($ac_try" in
39607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39608 *) ac_try_echo=$ac_try;;
39609 esac
39610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39611 (eval "$ac_link") 2>conftest.er1
39612 ac_status=$?
39613 grep -v '^ *+' conftest.er1 >conftest.err
39614 rm -f conftest.er1
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } && {
39618 test -z "$ac_c_werror_flag" ||
39619 test ! -s conftest.err
39620 } && test -s conftest$ac_exeext &&
39621 $as_test_x conftest$ac_exeext; then
39622 ac_cv_func_gethostbyname=yes
39623 else
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.$ac_ext >&5
39626
39627 ac_cv_func_gethostbyname=no
39628 fi
39629
39630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39631 conftest$ac_exeext conftest.$ac_ext
39632 fi
39633 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39634 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39635 if test $ac_cv_func_gethostbyname = yes; then
39636 cat >>confdefs.h <<\_ACEOF
39637 #define HAVE_GETHOSTBYNAME 1
39638 _ACEOF
39639
39640 fi
39641
39642 fi
39643 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39644 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39645 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39646 echo $ECHO_N "(cached) $ECHO_C" >&6
39647 else
39648
39649 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39650 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39651 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39652 echo $ECHO_N "(cached) $ECHO_C" >&6
39653 else
39654 cat >conftest.$ac_ext <<_ACEOF
39655 /* confdefs.h. */
39656 _ACEOF
39657 cat confdefs.h >>conftest.$ac_ext
39658 cat >>conftest.$ac_ext <<_ACEOF
39659 /* end confdefs.h. */
39660 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39662 #define getservbyname_r innocuous_getservbyname_r
39663
39664 /* System header to define __stub macros and hopefully few prototypes,
39665 which can conflict with char getservbyname_r (); below.
39666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39667 <limits.h> exists even on freestanding compilers. */
39668
39669 #ifdef __STDC__
39670 # include <limits.h>
39671 #else
39672 # include <assert.h>
39673 #endif
39674
39675 #undef getservbyname_r
39676
39677 /* Override any GCC internal prototype to avoid an error.
39678 Use char because int might match the return type of a GCC
39679 builtin and then its argument prototype would still apply. */
39680 #ifdef __cplusplus
39681 extern "C"
39682 #endif
39683 char getservbyname_r ();
39684 /* The GNU C library defines this for functions which it implements
39685 to always fail with ENOSYS. Some functions are actually named
39686 something starting with __ and the normal name is an alias. */
39687 #if defined __stub_getservbyname_r || defined __stub___getservbyname_r
39688 choke me
39689 #endif
39690
39691 int
39692 main ()
39693 {
39694 return getservbyname_r ();
39695 ;
39696 return 0;
39697 }
39698 _ACEOF
39699 rm -f conftest.$ac_objext conftest$ac_exeext
39700 if { (ac_try="$ac_link"
39701 case "(($ac_try" in
39702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39703 *) ac_try_echo=$ac_try;;
39704 esac
39705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39706 (eval "$ac_link") 2>conftest.er1
39707 ac_status=$?
39708 grep -v '^ *+' conftest.er1 >conftest.err
39709 rm -f conftest.er1
39710 cat conftest.err >&5
39711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39712 (exit $ac_status); } && {
39713 test -z "$ac_c_werror_flag" ||
39714 test ! -s conftest.err
39715 } && test -s conftest$ac_exeext &&
39716 $as_test_x conftest$ac_exeext; then
39717 ac_cv_func_getservbyname_r=yes
39718 else
39719 echo "$as_me: failed program was:" >&5
39720 sed 's/^/| /' conftest.$ac_ext >&5
39721
39722 ac_cv_func_getservbyname_r=no
39723 fi
39724
39725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39726 conftest$ac_exeext conftest.$ac_ext
39727 fi
39728 { echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39729 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6; }
39730 if test $ac_cv_func_getservbyname_r = yes; then
39731
39732 cat >conftest.$ac_ext <<_ACEOF
39733 /* confdefs.h. */
39734 _ACEOF
39735 cat confdefs.h >>conftest.$ac_ext
39736 cat >>conftest.$ac_ext <<_ACEOF
39737 /* end confdefs.h. */
39738
39739 # include <netdb.h>
39740
39741 int
39742 main ()
39743 {
39744
39745
39746 char *name;
39747 char *proto;
39748 struct servent *se;
39749 struct servent_data data;
39750 (void) getservbyname_r(name, proto, se, &data);
39751
39752
39753 ;
39754 return 0;
39755 }
39756 _ACEOF
39757 rm -f conftest.$ac_objext
39758 if { (ac_try="$ac_compile"
39759 case "(($ac_try" in
39760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39761 *) ac_try_echo=$ac_try;;
39762 esac
39763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39764 (eval "$ac_compile") 2>conftest.er1
39765 ac_status=$?
39766 grep -v '^ *+' conftest.er1 >conftest.err
39767 rm -f conftest.er1
39768 cat conftest.err >&5
39769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39770 (exit $ac_status); } && {
39771 test -z "$ac_c_werror_flag" ||
39772 test ! -s conftest.err
39773 } && test -s conftest.$ac_objext; then
39774 ac_cv_func_which_getservbyname_r=four
39775 else
39776 echo "$as_me: failed program was:" >&5
39777 sed 's/^/| /' conftest.$ac_ext >&5
39778
39779
39780 cat >conftest.$ac_ext <<_ACEOF
39781 /* confdefs.h. */
39782 _ACEOF
39783 cat confdefs.h >>conftest.$ac_ext
39784 cat >>conftest.$ac_ext <<_ACEOF
39785 /* end confdefs.h. */
39786
39787 # include <netdb.h>
39788
39789 int
39790 main ()
39791 {
39792
39793 char *name;
39794 char *proto;
39795 struct servent *se, *res;
39796 char buffer[2048];
39797 int buflen = 2048;
39798 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39799
39800 ;
39801 return 0;
39802 }
39803 _ACEOF
39804 rm -f conftest.$ac_objext
39805 if { (ac_try="$ac_compile"
39806 case "(($ac_try" in
39807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39808 *) ac_try_echo=$ac_try;;
39809 esac
39810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39811 (eval "$ac_compile") 2>conftest.er1
39812 ac_status=$?
39813 grep -v '^ *+' conftest.er1 >conftest.err
39814 rm -f conftest.er1
39815 cat conftest.err >&5
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); } && {
39818 test -z "$ac_c_werror_flag" ||
39819 test ! -s conftest.err
39820 } && test -s conftest.$ac_objext; then
39821 ac_cv_func_which_getservbyname_r=six
39822 else
39823 echo "$as_me: failed program was:" >&5
39824 sed 's/^/| /' conftest.$ac_ext >&5
39825
39826
39827 cat >conftest.$ac_ext <<_ACEOF
39828 /* confdefs.h. */
39829 _ACEOF
39830 cat confdefs.h >>conftest.$ac_ext
39831 cat >>conftest.$ac_ext <<_ACEOF
39832 /* end confdefs.h. */
39833
39834 # include <netdb.h>
39835
39836 int
39837 main ()
39838 {
39839
39840 char *name;
39841 char *proto;
39842 struct servent *se;
39843 char buffer[2048];
39844 int buflen = 2048;
39845 (void) getservbyname_r(name, proto, se, buffer, buflen)
39846
39847 ;
39848 return 0;
39849 }
39850 _ACEOF
39851 rm -f conftest.$ac_objext
39852 if { (ac_try="$ac_compile"
39853 case "(($ac_try" in
39854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39855 *) ac_try_echo=$ac_try;;
39856 esac
39857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39858 (eval "$ac_compile") 2>conftest.er1
39859 ac_status=$?
39860 grep -v '^ *+' conftest.er1 >conftest.err
39861 rm -f conftest.er1
39862 cat conftest.err >&5
39863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39864 (exit $ac_status); } && {
39865 test -z "$ac_c_werror_flag" ||
39866 test ! -s conftest.err
39867 } && test -s conftest.$ac_objext; then
39868 ac_cv_func_which_getservbyname_r=five
39869 else
39870 echo "$as_me: failed program was:" >&5
39871 sed 's/^/| /' conftest.$ac_ext >&5
39872
39873 ac_cv_func_which_getservbyname_r=no
39874 fi
39875
39876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39877
39878
39879
39880
39881 fi
39882
39883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39884
39885
39886 fi
39887
39888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39889
39890 else
39891 ac_cv_func_which_getservbyname_r=no
39892 fi
39893
39894 fi
39895 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39896 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39897
39898 if test $ac_cv_func_which_getservbyname_r = six; then
39899 cat >>confdefs.h <<\_ACEOF
39900 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39901 _ACEOF
39902
39903 elif test $ac_cv_func_which_getservbyname_r = five; then
39904 cat >>confdefs.h <<\_ACEOF
39905 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39906 _ACEOF
39907
39908 elif test $ac_cv_func_which_getservbyname_r = four; then
39909 cat >>confdefs.h <<\_ACEOF
39910 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39911 _ACEOF
39912
39913
39914 fi
39915
39916
39917 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39918 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39919
39920 for ac_func in getservbyname
39921 do
39922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39926 echo $ECHO_N "(cached) $ECHO_C" >&6
39927 else
39928 cat >conftest.$ac_ext <<_ACEOF
39929 /* confdefs.h. */
39930 _ACEOF
39931 cat confdefs.h >>conftest.$ac_ext
39932 cat >>conftest.$ac_ext <<_ACEOF
39933 /* end confdefs.h. */
39934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39936 #define $ac_func innocuous_$ac_func
39937
39938 /* System header to define __stub macros and hopefully few prototypes,
39939 which can conflict with char $ac_func (); below.
39940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39941 <limits.h> exists even on freestanding compilers. */
39942
39943 #ifdef __STDC__
39944 # include <limits.h>
39945 #else
39946 # include <assert.h>
39947 #endif
39948
39949 #undef $ac_func
39950
39951 /* Override any GCC internal prototype to avoid an error.
39952 Use char because int might match the return type of a GCC
39953 builtin and then its argument prototype would still apply. */
39954 #ifdef __cplusplus
39955 extern "C"
39956 #endif
39957 char $ac_func ();
39958 /* The GNU C library defines this for functions which it implements
39959 to always fail with ENOSYS. Some functions are actually named
39960 something starting with __ and the normal name is an alias. */
39961 #if defined __stub_$ac_func || defined __stub___$ac_func
39962 choke me
39963 #endif
39964
39965 int
39966 main ()
39967 {
39968 return $ac_func ();
39969 ;
39970 return 0;
39971 }
39972 _ACEOF
39973 rm -f conftest.$ac_objext conftest$ac_exeext
39974 if { (ac_try="$ac_link"
39975 case "(($ac_try" in
39976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39977 *) ac_try_echo=$ac_try;;
39978 esac
39979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39980 (eval "$ac_link") 2>conftest.er1
39981 ac_status=$?
39982 grep -v '^ *+' conftest.er1 >conftest.err
39983 rm -f conftest.er1
39984 cat conftest.err >&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } && {
39987 test -z "$ac_c_werror_flag" ||
39988 test ! -s conftest.err
39989 } && test -s conftest$ac_exeext &&
39990 $as_test_x conftest$ac_exeext; then
39991 eval "$as_ac_var=yes"
39992 else
39993 echo "$as_me: failed program was:" >&5
39994 sed 's/^/| /' conftest.$ac_ext >&5
39995
39996 eval "$as_ac_var=no"
39997 fi
39998
39999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40000 conftest$ac_exeext conftest.$ac_ext
40001 fi
40002 ac_res=`eval echo '${'$as_ac_var'}'`
40003 { echo "$as_me:$LINENO: result: $ac_res" >&5
40004 echo "${ECHO_T}$ac_res" >&6; }
40005 if test `eval echo '${'$as_ac_var'}'` = yes; then
40006 cat >>confdefs.h <<_ACEOF
40007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40008 _ACEOF
40009 cat >>confdefs.h <<\_ACEOF
40010 #define HAVE_GETSERVBYNAME 1
40011 _ACEOF
40012
40013 fi
40014 done
40015
40016 fi
40017
40018 if test "$wxUSE_THREADS" = "yes"; then
40019 cat >>confdefs.h <<\_ACEOF
40020 #define wxUSE_THREADS 1
40021 _ACEOF
40022
40023
40024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40025 else
40026 if test "$wx_cv_func_strtok_r" = "yes"; then
40027 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40028 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40029 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40030 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40031 { echo "$as_me:$LINENO: result: yes" >&5
40032 echo "${ECHO_T}yes" >&6; }
40033 else
40034 { echo "$as_me:$LINENO: result: no" >&5
40035 echo "${ECHO_T}no" >&6; }
40036 fi
40037 fi
40038 fi
40039
40040 if test "$WXGTK20" = 1 ; then
40041 cat >>confdefs.h <<_ACEOF
40042 #define __WXGTK20__ $WXGTK20
40043 _ACEOF
40044
40045 WXGTK12=1
40046 fi
40047
40048 if test "$WXGTK12" = 1 ; then
40049 cat >>confdefs.h <<_ACEOF
40050 #define __WXGTK12__ $WXGTK12
40051 _ACEOF
40052
40053 fi
40054
40055 if test "$WXGTK127" = 1 ; then
40056 cat >>confdefs.h <<_ACEOF
40057 #define __WXGTK127__ $WXGTK127
40058 _ACEOF
40059
40060 fi
40061
40062 if test "$WXGPE" = 1 ; then
40063 cat >>confdefs.h <<_ACEOF
40064 #define __WXGPE__ $WXGPE
40065 _ACEOF
40066
40067 fi
40068
40069 DEBUG_CFLAGS=
40070 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40071 DEBUG_CFLAGS="-g"
40072 wxUSE_OPTIMISE=no
40073 fi
40074
40075 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40076 wxUSE_DEBUG_INFO=yes
40077 if test "$GCC" = yes; then
40078 DEBUG_CFLAGS="-ggdb"
40079 fi
40080 fi
40081
40082 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40083 cat >>confdefs.h <<\_ACEOF
40084 #define WXDEBUG 1
40085 _ACEOF
40086
40087 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40088 else
40089 if test "$wxUSE_GTK" = 1 ; then
40090 if test "x$wxGTK_VERSION" = "x1" ; then
40091 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40092 fi
40093 fi
40094 fi
40095
40096 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40097 cat >>confdefs.h <<\_ACEOF
40098 #define wxUSE_MEMORY_TRACING 1
40099 _ACEOF
40100
40101 cat >>confdefs.h <<\_ACEOF
40102 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40103 _ACEOF
40104
40105 cat >>confdefs.h <<\_ACEOF
40106 #define wxUSE_DEBUG_NEW_ALWAYS 1
40107 _ACEOF
40108
40109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40110 fi
40111
40112 if test "$wxUSE_DMALLOC" = "yes" ; then
40113 DMALLOC_LIBS="-ldmallocthcxx"
40114 fi
40115
40116 PROFILE_FLAGS=
40117 if test "$wxUSE_PROFILE" = "yes" ; then
40118 PROFILE_FLAGS=" -pg"
40119 fi
40120
40121 if test "$GCC" = "yes" ; then
40122 if test "$wxUSE_NO_RTTI" = "yes" ; then
40123 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40124 fi
40125 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40126 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40127 fi
40128 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40129 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40130 fi
40131
40132 case "${host}" in
40133 powerpc*-*-aix* )
40134 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40135 ;;
40136 *-hppa* )
40137 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40138 ;;
40139 esac
40140 fi
40141
40142 OPTIMISE_CFLAGS=
40143 if test "$wxUSE_OPTIMISE" = "no" ; then
40144 if test "$GCC" = yes ; then
40145 OPTIMISE_CFLAGS="-O0"
40146 fi
40147 else
40148 if test "$GCC" = yes ; then
40149 case "${host}" in
40150 *-pc-os2_emx | *-pc-os2-emx )
40151 OPTIMISE_CFLAGS="-O2"
40152 ;;
40153 *)
40154 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40155 ;;
40156 esac
40157 else
40158 OPTIMISE_CFLAGS="-O"
40159 fi
40160 fi
40161
40162
40163 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40164 cat >>confdefs.h <<\_ACEOF
40165 #define WXWIN_COMPATIBILITY_2_6 1
40166 _ACEOF
40167
40168
40169 WXWIN_COMPATIBILITY_2_8="yes"
40170 fi
40171
40172 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40173 cat >>confdefs.h <<\_ACEOF
40174 #define WXWIN_COMPATIBILITY_2_8 1
40175 _ACEOF
40176
40177 fi
40178
40179
40180 if test "$wxUSE_GUI" = "yes"; then
40181 cat >>confdefs.h <<\_ACEOF
40182 #define wxUSE_GUI 1
40183 _ACEOF
40184
40185
40186 fi
40187
40188
40189 if test "$wxUSE_UNIX" = "yes"; then
40190 cat >>confdefs.h <<\_ACEOF
40191 #define wxUSE_UNIX 1
40192 _ACEOF
40193
40194 fi
40195
40196
40197 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40198
40199 HAVE_DL_FUNCS=0
40200 HAVE_SHL_FUNCS=0
40201 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40202 if test "$USE_DARWIN" = 1; then
40203 HAVE_DL_FUNCS=1
40204 elif test "$USE_DOS" = 1; then
40205 HAVE_DL_FUNCS=0
40206 else
40207
40208 for ac_func in dlopen
40209 do
40210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40211 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40213 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40214 echo $ECHO_N "(cached) $ECHO_C" >&6
40215 else
40216 cat >conftest.$ac_ext <<_ACEOF
40217 /* confdefs.h. */
40218 _ACEOF
40219 cat confdefs.h >>conftest.$ac_ext
40220 cat >>conftest.$ac_ext <<_ACEOF
40221 /* end confdefs.h. */
40222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40224 #define $ac_func innocuous_$ac_func
40225
40226 /* System header to define __stub macros and hopefully few prototypes,
40227 which can conflict with char $ac_func (); below.
40228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40229 <limits.h> exists even on freestanding compilers. */
40230
40231 #ifdef __STDC__
40232 # include <limits.h>
40233 #else
40234 # include <assert.h>
40235 #endif
40236
40237 #undef $ac_func
40238
40239 /* Override any GCC internal prototype to avoid an error.
40240 Use char because int might match the return type of a GCC
40241 builtin and then its argument prototype would still apply. */
40242 #ifdef __cplusplus
40243 extern "C"
40244 #endif
40245 char $ac_func ();
40246 /* The GNU C library defines this for functions which it implements
40247 to always fail with ENOSYS. Some functions are actually named
40248 something starting with __ and the normal name is an alias. */
40249 #if defined __stub_$ac_func || defined __stub___$ac_func
40250 choke me
40251 #endif
40252
40253 int
40254 main ()
40255 {
40256 return $ac_func ();
40257 ;
40258 return 0;
40259 }
40260 _ACEOF
40261 rm -f conftest.$ac_objext conftest$ac_exeext
40262 if { (ac_try="$ac_link"
40263 case "(($ac_try" in
40264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40265 *) ac_try_echo=$ac_try;;
40266 esac
40267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40268 (eval "$ac_link") 2>conftest.er1
40269 ac_status=$?
40270 grep -v '^ *+' conftest.er1 >conftest.err
40271 rm -f conftest.er1
40272 cat conftest.err >&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); } && {
40275 test -z "$ac_c_werror_flag" ||
40276 test ! -s conftest.err
40277 } && test -s conftest$ac_exeext &&
40278 $as_test_x conftest$ac_exeext; then
40279 eval "$as_ac_var=yes"
40280 else
40281 echo "$as_me: failed program was:" >&5
40282 sed 's/^/| /' conftest.$ac_ext >&5
40283
40284 eval "$as_ac_var=no"
40285 fi
40286
40287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40288 conftest$ac_exeext conftest.$ac_ext
40289 fi
40290 ac_res=`eval echo '${'$as_ac_var'}'`
40291 { echo "$as_me:$LINENO: result: $ac_res" >&5
40292 echo "${ECHO_T}$ac_res" >&6; }
40293 if test `eval echo '${'$as_ac_var'}'` = yes; then
40294 cat >>confdefs.h <<_ACEOF
40295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40296 _ACEOF
40297
40298 cat >>confdefs.h <<\_ACEOF
40299 #define HAVE_DLOPEN 1
40300 _ACEOF
40301
40302 HAVE_DL_FUNCS=1
40303
40304 else
40305
40306 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40307 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40308 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40309 echo $ECHO_N "(cached) $ECHO_C" >&6
40310 else
40311 ac_check_lib_save_LIBS=$LIBS
40312 LIBS="-ldl $LIBS"
40313 cat >conftest.$ac_ext <<_ACEOF
40314 /* confdefs.h. */
40315 _ACEOF
40316 cat confdefs.h >>conftest.$ac_ext
40317 cat >>conftest.$ac_ext <<_ACEOF
40318 /* end confdefs.h. */
40319
40320 /* Override any GCC internal prototype to avoid an error.
40321 Use char because int might match the return type of a GCC
40322 builtin and then its argument prototype would still apply. */
40323 #ifdef __cplusplus
40324 extern "C"
40325 #endif
40326 char dlopen ();
40327 int
40328 main ()
40329 {
40330 return dlopen ();
40331 ;
40332 return 0;
40333 }
40334 _ACEOF
40335 rm -f conftest.$ac_objext conftest$ac_exeext
40336 if { (ac_try="$ac_link"
40337 case "(($ac_try" in
40338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40339 *) ac_try_echo=$ac_try;;
40340 esac
40341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40342 (eval "$ac_link") 2>conftest.er1
40343 ac_status=$?
40344 grep -v '^ *+' conftest.er1 >conftest.err
40345 rm -f conftest.er1
40346 cat conftest.err >&5
40347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348 (exit $ac_status); } && {
40349 test -z "$ac_c_werror_flag" ||
40350 test ! -s conftest.err
40351 } && test -s conftest$ac_exeext &&
40352 $as_test_x conftest$ac_exeext; then
40353 ac_cv_lib_dl_dlopen=yes
40354 else
40355 echo "$as_me: failed program was:" >&5
40356 sed 's/^/| /' conftest.$ac_ext >&5
40357
40358 ac_cv_lib_dl_dlopen=no
40359 fi
40360
40361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40362 conftest$ac_exeext conftest.$ac_ext
40363 LIBS=$ac_check_lib_save_LIBS
40364 fi
40365 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40366 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40367 if test $ac_cv_lib_dl_dlopen = yes; then
40368
40369 cat >>confdefs.h <<\_ACEOF
40370 #define HAVE_DLOPEN 1
40371 _ACEOF
40372
40373 HAVE_DL_FUNCS=1
40374 DL_LINK=" -ldl$DL_LINK"
40375
40376 else
40377
40378
40379 for ac_func in shl_load
40380 do
40381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40382 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40384 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40385 echo $ECHO_N "(cached) $ECHO_C" >&6
40386 else
40387 cat >conftest.$ac_ext <<_ACEOF
40388 /* confdefs.h. */
40389 _ACEOF
40390 cat confdefs.h >>conftest.$ac_ext
40391 cat >>conftest.$ac_ext <<_ACEOF
40392 /* end confdefs.h. */
40393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40395 #define $ac_func innocuous_$ac_func
40396
40397 /* System header to define __stub macros and hopefully few prototypes,
40398 which can conflict with char $ac_func (); below.
40399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40400 <limits.h> exists even on freestanding compilers. */
40401
40402 #ifdef __STDC__
40403 # include <limits.h>
40404 #else
40405 # include <assert.h>
40406 #endif
40407
40408 #undef $ac_func
40409
40410 /* Override any GCC internal prototype to avoid an error.
40411 Use char because int might match the return type of a GCC
40412 builtin and then its argument prototype would still apply. */
40413 #ifdef __cplusplus
40414 extern "C"
40415 #endif
40416 char $ac_func ();
40417 /* The GNU C library defines this for functions which it implements
40418 to always fail with ENOSYS. Some functions are actually named
40419 something starting with __ and the normal name is an alias. */
40420 #if defined __stub_$ac_func || defined __stub___$ac_func
40421 choke me
40422 #endif
40423
40424 int
40425 main ()
40426 {
40427 return $ac_func ();
40428 ;
40429 return 0;
40430 }
40431 _ACEOF
40432 rm -f conftest.$ac_objext conftest$ac_exeext
40433 if { (ac_try="$ac_link"
40434 case "(($ac_try" in
40435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40436 *) ac_try_echo=$ac_try;;
40437 esac
40438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40439 (eval "$ac_link") 2>conftest.er1
40440 ac_status=$?
40441 grep -v '^ *+' conftest.er1 >conftest.err
40442 rm -f conftest.er1
40443 cat conftest.err >&5
40444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40445 (exit $ac_status); } && {
40446 test -z "$ac_c_werror_flag" ||
40447 test ! -s conftest.err
40448 } && test -s conftest$ac_exeext &&
40449 $as_test_x conftest$ac_exeext; then
40450 eval "$as_ac_var=yes"
40451 else
40452 echo "$as_me: failed program was:" >&5
40453 sed 's/^/| /' conftest.$ac_ext >&5
40454
40455 eval "$as_ac_var=no"
40456 fi
40457
40458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40459 conftest$ac_exeext conftest.$ac_ext
40460 fi
40461 ac_res=`eval echo '${'$as_ac_var'}'`
40462 { echo "$as_me:$LINENO: result: $ac_res" >&5
40463 echo "${ECHO_T}$ac_res" >&6; }
40464 if test `eval echo '${'$as_ac_var'}'` = yes; then
40465 cat >>confdefs.h <<_ACEOF
40466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40467 _ACEOF
40468
40469 cat >>confdefs.h <<\_ACEOF
40470 #define HAVE_SHL_LOAD 1
40471 _ACEOF
40472
40473 HAVE_SHL_FUNCS=1
40474
40475 else
40476
40477 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40478 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40479 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40480 echo $ECHO_N "(cached) $ECHO_C" >&6
40481 else
40482 ac_check_lib_save_LIBS=$LIBS
40483 LIBS="-lshl_load $LIBS"
40484 cat >conftest.$ac_ext <<_ACEOF
40485 /* confdefs.h. */
40486 _ACEOF
40487 cat confdefs.h >>conftest.$ac_ext
40488 cat >>conftest.$ac_ext <<_ACEOF
40489 /* end confdefs.h. */
40490
40491 /* Override any GCC internal prototype to avoid an error.
40492 Use char because int might match the return type of a GCC
40493 builtin and then its argument prototype would still apply. */
40494 #ifdef __cplusplus
40495 extern "C"
40496 #endif
40497 char dld ();
40498 int
40499 main ()
40500 {
40501 return dld ();
40502 ;
40503 return 0;
40504 }
40505 _ACEOF
40506 rm -f conftest.$ac_objext conftest$ac_exeext
40507 if { (ac_try="$ac_link"
40508 case "(($ac_try" in
40509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40510 *) ac_try_echo=$ac_try;;
40511 esac
40512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40513 (eval "$ac_link") 2>conftest.er1
40514 ac_status=$?
40515 grep -v '^ *+' conftest.er1 >conftest.err
40516 rm -f conftest.er1
40517 cat conftest.err >&5
40518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40519 (exit $ac_status); } && {
40520 test -z "$ac_c_werror_flag" ||
40521 test ! -s conftest.err
40522 } && test -s conftest$ac_exeext &&
40523 $as_test_x conftest$ac_exeext; then
40524 ac_cv_lib_shl_load_dld=yes
40525 else
40526 echo "$as_me: failed program was:" >&5
40527 sed 's/^/| /' conftest.$ac_ext >&5
40528
40529 ac_cv_lib_shl_load_dld=no
40530 fi
40531
40532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40533 conftest$ac_exeext conftest.$ac_ext
40534 LIBS=$ac_check_lib_save_LIBS
40535 fi
40536 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40537 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40538 if test $ac_cv_lib_shl_load_dld = yes; then
40539
40540 HAVE_SHL_FUNCS=1
40541 DL_LINK=" -ldld$DL_LINK"
40542
40543 fi
40544
40545
40546 fi
40547 done
40548
40549
40550 fi
40551
40552
40553 fi
40554 done
40555
40556
40557 if test "$HAVE_DL_FUNCS" = 1; then
40558
40559 for ac_func in dlerror
40560 do
40561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40564 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40565 echo $ECHO_N "(cached) $ECHO_C" >&6
40566 else
40567 cat >conftest.$ac_ext <<_ACEOF
40568 /* confdefs.h. */
40569 _ACEOF
40570 cat confdefs.h >>conftest.$ac_ext
40571 cat >>conftest.$ac_ext <<_ACEOF
40572 /* end confdefs.h. */
40573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40575 #define $ac_func innocuous_$ac_func
40576
40577 /* System header to define __stub macros and hopefully few prototypes,
40578 which can conflict with char $ac_func (); below.
40579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40580 <limits.h> exists even on freestanding compilers. */
40581
40582 #ifdef __STDC__
40583 # include <limits.h>
40584 #else
40585 # include <assert.h>
40586 #endif
40587
40588 #undef $ac_func
40589
40590 /* Override any GCC internal prototype to avoid an error.
40591 Use char because int might match the return type of a GCC
40592 builtin and then its argument prototype would still apply. */
40593 #ifdef __cplusplus
40594 extern "C"
40595 #endif
40596 char $ac_func ();
40597 /* The GNU C library defines this for functions which it implements
40598 to always fail with ENOSYS. Some functions are actually named
40599 something starting with __ and the normal name is an alias. */
40600 #if defined __stub_$ac_func || defined __stub___$ac_func
40601 choke me
40602 #endif
40603
40604 int
40605 main ()
40606 {
40607 return $ac_func ();
40608 ;
40609 return 0;
40610 }
40611 _ACEOF
40612 rm -f conftest.$ac_objext conftest$ac_exeext
40613 if { (ac_try="$ac_link"
40614 case "(($ac_try" in
40615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40616 *) ac_try_echo=$ac_try;;
40617 esac
40618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40619 (eval "$ac_link") 2>conftest.er1
40620 ac_status=$?
40621 grep -v '^ *+' conftest.er1 >conftest.err
40622 rm -f conftest.er1
40623 cat conftest.err >&5
40624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40625 (exit $ac_status); } && {
40626 test -z "$ac_c_werror_flag" ||
40627 test ! -s conftest.err
40628 } && test -s conftest$ac_exeext &&
40629 $as_test_x conftest$ac_exeext; then
40630 eval "$as_ac_var=yes"
40631 else
40632 echo "$as_me: failed program was:" >&5
40633 sed 's/^/| /' conftest.$ac_ext >&5
40634
40635 eval "$as_ac_var=no"
40636 fi
40637
40638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40639 conftest$ac_exeext conftest.$ac_ext
40640 fi
40641 ac_res=`eval echo '${'$as_ac_var'}'`
40642 { echo "$as_me:$LINENO: result: $ac_res" >&5
40643 echo "${ECHO_T}$ac_res" >&6; }
40644 if test `eval echo '${'$as_ac_var'}'` = yes; then
40645 cat >>confdefs.h <<_ACEOF
40646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40647 _ACEOF
40648 cat >>confdefs.h <<\_ACEOF
40649 #define HAVE_DLERROR 1
40650 _ACEOF
40651
40652 else
40653
40654 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40655 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40656 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40658 else
40659 ac_check_lib_save_LIBS=$LIBS
40660 LIBS="-ldl $LIBS"
40661 cat >conftest.$ac_ext <<_ACEOF
40662 /* confdefs.h. */
40663 _ACEOF
40664 cat confdefs.h >>conftest.$ac_ext
40665 cat >>conftest.$ac_ext <<_ACEOF
40666 /* end confdefs.h. */
40667
40668 /* Override any GCC internal prototype to avoid an error.
40669 Use char because int might match the return type of a GCC
40670 builtin and then its argument prototype would still apply. */
40671 #ifdef __cplusplus
40672 extern "C"
40673 #endif
40674 char dlerror ();
40675 int
40676 main ()
40677 {
40678 return dlerror ();
40679 ;
40680 return 0;
40681 }
40682 _ACEOF
40683 rm -f conftest.$ac_objext conftest$ac_exeext
40684 if { (ac_try="$ac_link"
40685 case "(($ac_try" in
40686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40687 *) ac_try_echo=$ac_try;;
40688 esac
40689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40690 (eval "$ac_link") 2>conftest.er1
40691 ac_status=$?
40692 grep -v '^ *+' conftest.er1 >conftest.err
40693 rm -f conftest.er1
40694 cat conftest.err >&5
40695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696 (exit $ac_status); } && {
40697 test -z "$ac_c_werror_flag" ||
40698 test ! -s conftest.err
40699 } && test -s conftest$ac_exeext &&
40700 $as_test_x conftest$ac_exeext; then
40701 ac_cv_lib_dl_dlerror=yes
40702 else
40703 echo "$as_me: failed program was:" >&5
40704 sed 's/^/| /' conftest.$ac_ext >&5
40705
40706 ac_cv_lib_dl_dlerror=no
40707 fi
40708
40709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40710 conftest$ac_exeext conftest.$ac_ext
40711 LIBS=$ac_check_lib_save_LIBS
40712 fi
40713 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40714 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40715 if test $ac_cv_lib_dl_dlerror = yes; then
40716 cat >>confdefs.h <<\_ACEOF
40717 #define HAVE_DLERROR 1
40718 _ACEOF
40719
40720 fi
40721
40722
40723
40724 fi
40725 done
40726
40727 fi
40728 fi
40729
40730 if test "$HAVE_DL_FUNCS" = 0; then
40731 if test "$HAVE_SHL_FUNCS" = 0; then
40732 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40733 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40734 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40735 wxUSE_DYNAMIC_LOADER=no
40736 wxUSE_DYNLIB_CLASS=no
40737 else
40738 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40739 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40740 fi
40741 fi
40742 fi
40743 fi
40744 fi
40745
40746 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40747 cat >>confdefs.h <<\_ACEOF
40748 #define wxUSE_DYNAMIC_LOADER 1
40749 _ACEOF
40750
40751 fi
40752 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40753 cat >>confdefs.h <<\_ACEOF
40754 #define wxUSE_DYNLIB_CLASS 1
40755 _ACEOF
40756
40757 fi
40758
40759
40760
40761 if test "$wxUSE_PLUGINS" = "yes" ; then
40762 if test "$wxUSE_SHARED" = "no" ; then
40763 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40764 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40765 wxUSE_PLUGINS=no
40766 fi
40767 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40768 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40769 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40770 wxUSE_PLUGINS=no
40771 fi
40772 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40773 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40774 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40775 wxUSE_PLUGINS=no
40776 fi
40777 if test "$wxUSE_PLUGINS" = "yes" ; then
40778 cat >>confdefs.h <<\_ACEOF
40779 #define wxUSE_PLUGINS 1
40780 _ACEOF
40781
40782 fi
40783 fi
40784
40785
40786 if test "$wxUSE_STL" = "yes"; then
40787 cat >>confdefs.h <<\_ACEOF
40788 #define wxUSE_STL 1
40789 _ACEOF
40790
40791 fi
40792
40793 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40794 cat >>confdefs.h <<\_ACEOF
40795 #define wxUSE_APPLE_IEEE 1
40796 _ACEOF
40797
40798 fi
40799
40800 if test "$wxUSE_TIMER" = "yes"; then
40801 cat >>confdefs.h <<\_ACEOF
40802 #define wxUSE_TIMER 1
40803 _ACEOF
40804
40805 fi
40806
40807 if test "$USE_UNIX" = "1" ; then
40808 if test "$wxUSE_MGL" != 1; then
40809 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40810 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40811 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40812 echo $ECHO_N "(cached) $ECHO_C" >&6
40813 else
40814
40815 cat >conftest.$ac_ext <<_ACEOF
40816 /* confdefs.h. */
40817 _ACEOF
40818 cat confdefs.h >>conftest.$ac_ext
40819 cat >>conftest.$ac_ext <<_ACEOF
40820 /* end confdefs.h. */
40821
40822 #include <sys/ioctl.h>
40823 #include <sys/soundcard.h>
40824
40825 int
40826 main ()
40827 {
40828
40829 ioctl(0, SNDCTL_DSP_SPEED, 0);
40830
40831 ;
40832 return 0;
40833 }
40834 _ACEOF
40835 rm -f conftest.$ac_objext conftest$ac_exeext
40836 if { (ac_try="$ac_link"
40837 case "(($ac_try" in
40838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40839 *) ac_try_echo=$ac_try;;
40840 esac
40841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40842 (eval "$ac_link") 2>conftest.er1
40843 ac_status=$?
40844 grep -v '^ *+' conftest.er1 >conftest.err
40845 rm -f conftest.er1
40846 cat conftest.err >&5
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); } && {
40849 test -z "$ac_c_werror_flag" ||
40850 test ! -s conftest.err
40851 } && test -s conftest$ac_exeext &&
40852 $as_test_x conftest$ac_exeext; then
40853 ac_cv_header_sys_soundcard=yes
40854 else
40855 echo "$as_me: failed program was:" >&5
40856 sed 's/^/| /' conftest.$ac_ext >&5
40857
40858
40859 saveLibs="$LIBS"
40860 LIBS="$saveLibs -lossaudio"
40861 cat >conftest.$ac_ext <<_ACEOF
40862 /* confdefs.h. */
40863 _ACEOF
40864 cat confdefs.h >>conftest.$ac_ext
40865 cat >>conftest.$ac_ext <<_ACEOF
40866 /* end confdefs.h. */
40867
40868 #include <sys/ioctl.h>
40869 #include <sys/soundcard.h>
40870
40871 int
40872 main ()
40873 {
40874
40875 ioctl(0, SNDCTL_DSP_SPEED, 0);
40876
40877 ;
40878 return 0;
40879 }
40880 _ACEOF
40881 rm -f conftest.$ac_objext conftest$ac_exeext
40882 if { (ac_try="$ac_link"
40883 case "(($ac_try" in
40884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40885 *) ac_try_echo=$ac_try;;
40886 esac
40887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40888 (eval "$ac_link") 2>conftest.er1
40889 ac_status=$?
40890 grep -v '^ *+' conftest.er1 >conftest.err
40891 rm -f conftest.er1
40892 cat conftest.err >&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } && {
40895 test -z "$ac_c_werror_flag" ||
40896 test ! -s conftest.err
40897 } && test -s conftest$ac_exeext &&
40898 $as_test_x conftest$ac_exeext; then
40899 ac_cv_header_sys_soundcard=yes
40900 else
40901 echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.$ac_ext >&5
40903
40904
40905 LIBS="$saveLibs"
40906 ac_cv_header_sys_soundcard=no
40907
40908
40909 fi
40910
40911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40912 conftest$ac_exeext conftest.$ac_ext
40913
40914
40915 fi
40916
40917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40918 conftest$ac_exeext conftest.$ac_ext
40919
40920 fi
40921 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40922 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
40923 fi
40924
40925 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40926 cat >>confdefs.h <<\_ACEOF
40927 #define HAVE_SYS_SOUNDCARD_H 1
40928 _ACEOF
40929
40930 fi
40931 fi
40932
40933 WITH_PLUGIN_SDL=0
40934 if test "$wxUSE_SOUND" = "yes"; then
40935 if test "$USE_UNIX" = "1" ; then
40936 if test "$wxUSE_LIBSDL" != "no"; then
40937
40938 # Check whether --with-sdl-prefix was given.
40939 if test "${with_sdl_prefix+set}" = set; then
40940 withval=$with_sdl_prefix; sdl_prefix="$withval"
40941 else
40942 sdl_prefix=""
40943 fi
40944
40945
40946 # Check whether --with-sdl-exec-prefix was given.
40947 if test "${with_sdl_exec_prefix+set}" = set; then
40948 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
40949 else
40950 sdl_exec_prefix=""
40951 fi
40952
40953 # Check whether --enable-sdltest was given.
40954 if test "${enable_sdltest+set}" = set; then
40955 enableval=$enable_sdltest;
40956 else
40957 enable_sdltest=yes
40958 fi
40959
40960
40961 if test x$sdl_exec_prefix != x ; then
40962 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40963 if test x${SDL_CONFIG+set} != xset ; then
40964 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40965 fi
40966 fi
40967 if test x$sdl_prefix != x ; then
40968 sdl_args="$sdl_args --prefix=$sdl_prefix"
40969 if test x${SDL_CONFIG+set} != xset ; then
40970 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40971 fi
40972 fi
40973
40974 if test "x$prefix" != xNONE; then
40975 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40976 fi
40977 # Extract the first word of "sdl-config", so it can be a program name with args.
40978 set dummy sdl-config; ac_word=$2
40979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
40980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
40981 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40982 echo $ECHO_N "(cached) $ECHO_C" >&6
40983 else
40984 case $SDL_CONFIG in
40985 [\\/]* | ?:[\\/]*)
40986 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40987 ;;
40988 *)
40989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40990 for as_dir in $PATH
40991 do
40992 IFS=$as_save_IFS
40993 test -z "$as_dir" && as_dir=.
40994 for ac_exec_ext in '' $ac_executable_extensions; do
40995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40996 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40998 break 2
40999 fi
41000 done
41001 done
41002 IFS=$as_save_IFS
41003
41004 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41005 ;;
41006 esac
41007 fi
41008 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41009 if test -n "$SDL_CONFIG"; then
41010 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41011 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41012 else
41013 { echo "$as_me:$LINENO: result: no" >&5
41014 echo "${ECHO_T}no" >&6; }
41015 fi
41016
41017
41018 min_sdl_version=1.2.0
41019 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41020 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41021 no_sdl=""
41022 if test "$SDL_CONFIG" = "no" ; then
41023 no_sdl=yes
41024 else
41025 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41026 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41027
41028 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41030 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41032 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41034 if test "x$enable_sdltest" = "xyes" ; then
41035 ac_save_CFLAGS="$CFLAGS"
41036 ac_save_CXXFLAGS="$CXXFLAGS"
41037 ac_save_LIBS="$LIBS"
41038 CFLAGS="$CFLAGS $SDL_CFLAGS"
41039 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41040 LIBS="$LIBS $SDL_LIBS"
41041 rm -f conf.sdltest
41042 if test "$cross_compiling" = yes; then
41043 echo $ac_n "cross compiling; assumed OK... $ac_c"
41044 else
41045 cat >conftest.$ac_ext <<_ACEOF
41046 /* confdefs.h. */
41047 _ACEOF
41048 cat confdefs.h >>conftest.$ac_ext
41049 cat >>conftest.$ac_ext <<_ACEOF
41050 /* end confdefs.h. */
41051
41052 #include <stdio.h>
41053 #include <stdlib.h>
41054 #include <string.h>
41055 #include "SDL.h"
41056
41057 char*
41058 my_strdup (char *str)
41059 {
41060 char *new_str;
41061
41062 if (str)
41063 {
41064 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41065 strcpy (new_str, str);
41066 }
41067 else
41068 new_str = NULL;
41069
41070 return new_str;
41071 }
41072
41073 int main (int argc, char *argv[])
41074 {
41075 int major, minor, micro;
41076 char *tmp_version;
41077
41078 /* This hangs on some systems (?)
41079 system ("touch conf.sdltest");
41080 */
41081 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41082
41083 /* HP/UX 9 (%@#!) writes to sscanf strings */
41084 tmp_version = my_strdup("$min_sdl_version");
41085 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41086 printf("%s, bad version string\n", "$min_sdl_version");
41087 exit(1);
41088 }
41089
41090 if (($sdl_major_version > major) ||
41091 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41092 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41093 {
41094 return 0;
41095 }
41096 else
41097 {
41098 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41099 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41100 printf("*** best to upgrade to the required version.\n");
41101 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41102 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41103 printf("*** config.cache before re-running configure\n");
41104 return 1;
41105 }
41106 }
41107
41108
41109 _ACEOF
41110 rm -f conftest$ac_exeext
41111 if { (ac_try="$ac_link"
41112 case "(($ac_try" in
41113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41114 *) ac_try_echo=$ac_try;;
41115 esac
41116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41117 (eval "$ac_link") 2>&5
41118 ac_status=$?
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41121 { (case "(($ac_try" in
41122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41123 *) ac_try_echo=$ac_try;;
41124 esac
41125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41126 (eval "$ac_try") 2>&5
41127 ac_status=$?
41128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129 (exit $ac_status); }; }; then
41130 :
41131 else
41132 echo "$as_me: program exited with status $ac_status" >&5
41133 echo "$as_me: failed program was:" >&5
41134 sed 's/^/| /' conftest.$ac_ext >&5
41135
41136 ( exit $ac_status )
41137 no_sdl=yes
41138 fi
41139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41140 fi
41141
41142
41143 CFLAGS="$ac_save_CFLAGS"
41144 CXXFLAGS="$ac_save_CXXFLAGS"
41145 LIBS="$ac_save_LIBS"
41146 fi
41147 fi
41148 if test "x$no_sdl" = x ; then
41149 { echo "$as_me:$LINENO: result: yes" >&5
41150 echo "${ECHO_T}yes" >&6; }
41151
41152 EXTRALIBS_SDL="$SDL_LIBS"
41153 CFLAGS="$SDL_CFLAGS $CFLAGS"
41154 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41155 cat >>confdefs.h <<\_ACEOF
41156 #define wxUSE_LIBSDL 1
41157 _ACEOF
41158
41159
41160 else
41161 { echo "$as_me:$LINENO: result: no" >&5
41162 echo "${ECHO_T}no" >&6; }
41163 if test "$SDL_CONFIG" = "no" ; then
41164 echo "*** The sdl-config script installed by SDL could not be found"
41165 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41166 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41167 echo "*** full path to sdl-config."
41168 else
41169 if test -f conf.sdltest ; then
41170 :
41171 else
41172 echo "*** Could not run SDL test program, checking why..."
41173 CFLAGS="$CFLAGS $SDL_CFLAGS"
41174 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41175 LIBS="$LIBS $SDL_LIBS"
41176 cat >conftest.$ac_ext <<_ACEOF
41177 /* confdefs.h. */
41178 _ACEOF
41179 cat confdefs.h >>conftest.$ac_ext
41180 cat >>conftest.$ac_ext <<_ACEOF
41181 /* end confdefs.h. */
41182
41183 #include <stdio.h>
41184 #include "SDL.h"
41185
41186 int main(int argc, char *argv[])
41187 { return 0; }
41188 #undef main
41189 #define main K_and_R_C_main
41190
41191 int
41192 main ()
41193 {
41194 return 0;
41195 ;
41196 return 0;
41197 }
41198 _ACEOF
41199 rm -f conftest.$ac_objext conftest$ac_exeext
41200 if { (ac_try="$ac_link"
41201 case "(($ac_try" in
41202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41203 *) ac_try_echo=$ac_try;;
41204 esac
41205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41206 (eval "$ac_link") 2>conftest.er1
41207 ac_status=$?
41208 grep -v '^ *+' conftest.er1 >conftest.err
41209 rm -f conftest.er1
41210 cat conftest.err >&5
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); } && {
41213 test -z "$ac_c_werror_flag" ||
41214 test ! -s conftest.err
41215 } && test -s conftest$ac_exeext &&
41216 $as_test_x conftest$ac_exeext; then
41217 echo "*** The test program compiled, but did not run. This usually means"
41218 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41219 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41220 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41221 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41222 echo "*** is required on your system"
41223 echo "***"
41224 echo "*** If you have an old version installed, it is best to remove it, although"
41225 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41226 else
41227 echo "$as_me: failed program was:" >&5
41228 sed 's/^/| /' conftest.$ac_ext >&5
41229
41230 echo "*** The test program failed to compile or link. See the file config.log for the"
41231 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41232 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41233 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41234 fi
41235
41236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41237 conftest$ac_exeext conftest.$ac_ext
41238 CFLAGS="$ac_save_CFLAGS"
41239 CXXFLAGS="$ac_save_CXXFLAGS"
41240 LIBS="$ac_save_LIBS"
41241 fi
41242 fi
41243 SDL_CFLAGS=""
41244 SDL_LIBS=""
41245 wxUSE_LIBSDL="no"
41246 fi
41247
41248
41249 rm -f conf.sdltest
41250
41251 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41252 WITH_PLUGIN_SDL=1
41253 fi
41254 fi
41255 else
41256 if test "$wxUSE_MGL" = 1; then
41257 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41258 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41259 wxUSE_SOUND="no"
41260 fi
41261 fi
41262 fi
41263
41264 if test "$wxUSE_SOUND" = "yes"; then
41265 cat >>confdefs.h <<\_ACEOF
41266 #define wxUSE_SOUND 1
41267 _ACEOF
41268
41269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41270 fi
41271
41272 if test "$WXGTK20" = 1; then
41273
41274
41275 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41276 if test -n "$ac_tool_prefix"; then
41277 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41278 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41281 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41282 echo $ECHO_N "(cached) $ECHO_C" >&6
41283 else
41284 case $PKG_CONFIG in
41285 [\\/]* | ?:[\\/]*)
41286 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41287 ;;
41288 *)
41289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41290 for as_dir in $PATH
41291 do
41292 IFS=$as_save_IFS
41293 test -z "$as_dir" && as_dir=.
41294 for ac_exec_ext in '' $ac_executable_extensions; do
41295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41296 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41298 break 2
41299 fi
41300 done
41301 done
41302 IFS=$as_save_IFS
41303
41304 ;;
41305 esac
41306 fi
41307 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41308 if test -n "$PKG_CONFIG"; then
41309 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41310 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41311 else
41312 { echo "$as_me:$LINENO: result: no" >&5
41313 echo "${ECHO_T}no" >&6; }
41314 fi
41315
41316
41317 fi
41318 if test -z "$ac_cv_path_PKG_CONFIG"; then
41319 ac_pt_PKG_CONFIG=$PKG_CONFIG
41320 # Extract the first word of "pkg-config", so it can be a program name with args.
41321 set dummy pkg-config; ac_word=$2
41322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41324 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41325 echo $ECHO_N "(cached) $ECHO_C" >&6
41326 else
41327 case $ac_pt_PKG_CONFIG in
41328 [\\/]* | ?:[\\/]*)
41329 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41330 ;;
41331 *)
41332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41333 for as_dir in $PATH
41334 do
41335 IFS=$as_save_IFS
41336 test -z "$as_dir" && as_dir=.
41337 for ac_exec_ext in '' $ac_executable_extensions; do
41338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41339 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41341 break 2
41342 fi
41343 done
41344 done
41345 IFS=$as_save_IFS
41346
41347 ;;
41348 esac
41349 fi
41350 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41351 if test -n "$ac_pt_PKG_CONFIG"; then
41352 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41353 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41354 else
41355 { echo "$as_me:$LINENO: result: no" >&5
41356 echo "${ECHO_T}no" >&6; }
41357 fi
41358
41359 if test "x$ac_pt_PKG_CONFIG" = x; then
41360 PKG_CONFIG=""
41361 else
41362 case $cross_compiling:$ac_tool_warned in
41363 yes:)
41364 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41365 whose name does not start with the host triplet. If you think this
41366 configuration is useful to you, please write to autoconf@gnu.org." >&5
41367 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41368 whose name does not start with the host triplet. If you think this
41369 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41370 ac_tool_warned=yes ;;
41371 esac
41372 PKG_CONFIG=$ac_pt_PKG_CONFIG
41373 fi
41374 else
41375 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41376 fi
41377
41378 fi
41379 if test -n "$PKG_CONFIG"; then
41380 _pkg_min_version=0.9.0
41381 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41382 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41383 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41384 { echo "$as_me:$LINENO: result: yes" >&5
41385 echo "${ECHO_T}yes" >&6; }
41386 else
41387 { echo "$as_me:$LINENO: result: no" >&5
41388 echo "${ECHO_T}no" >&6; }
41389 PKG_CONFIG=""
41390 fi
41391
41392 fi
41393
41394 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41395 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41396
41397
41398 pkg_failed=no
41399 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41400 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41401
41402 if test -n "$PKG_CONFIG"; then
41403 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41404 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41405 else
41406 if test -n "$PKG_CONFIG" && \
41407 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41408 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41409 ac_status=$?
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); }; then
41412 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41413 else
41414 pkg_failed=yes
41415 fi
41416 fi
41417 else
41418 pkg_failed=untried
41419 fi
41420 if test -n "$PKG_CONFIG"; then
41421 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41422 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41423 else
41424 if test -n "$PKG_CONFIG" && \
41425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41426 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41427 ac_status=$?
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); }; then
41430 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41431 else
41432 pkg_failed=yes
41433 fi
41434 fi
41435 else
41436 pkg_failed=untried
41437 fi
41438
41439
41440
41441 if test $pkg_failed = yes; then
41442
41443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41444 _pkg_short_errors_supported=yes
41445 else
41446 _pkg_short_errors_supported=no
41447 fi
41448 if test $_pkg_short_errors_supported = yes; then
41449 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41450 else
41451 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41452 fi
41453 # Put the nasty error message in config.log where it belongs
41454 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41455
41456
41457 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41458 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41459 wxUSE_LIBGNOMEPRINT="no"
41460
41461
41462 elif test $pkg_failed = untried; then
41463
41464 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41465 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41466 wxUSE_LIBGNOMEPRINT="no"
41467
41468
41469 else
41470 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41471 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41472 { echo "$as_me:$LINENO: result: yes" >&5
41473 echo "${ECHO_T}yes" >&6; }
41474
41475 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41476 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41477 cat >>confdefs.h <<\_ACEOF
41478 #define wxUSE_LIBGNOMEPRINT 1
41479 _ACEOF
41480
41481
41482 fi
41483 fi
41484 fi
41485
41486 if test "$wxUSE_MIMETYPE" = "yes" ; then
41487 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41488
41489
41490 pkg_failed=no
41491 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41492 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41493
41494 if test -n "$PKG_CONFIG"; then
41495 if test -n "$GNOMEVFS_CFLAGS"; then
41496 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41497 else
41498 if test -n "$PKG_CONFIG" && \
41499 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41500 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41501 ac_status=$?
41502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41503 (exit $ac_status); }; then
41504 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41505 else
41506 pkg_failed=yes
41507 fi
41508 fi
41509 else
41510 pkg_failed=untried
41511 fi
41512 if test -n "$PKG_CONFIG"; then
41513 if test -n "$GNOMEVFS_LIBS"; then
41514 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41515 else
41516 if test -n "$PKG_CONFIG" && \
41517 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41518 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41519 ac_status=$?
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); }; then
41522 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41523 else
41524 pkg_failed=yes
41525 fi
41526 fi
41527 else
41528 pkg_failed=untried
41529 fi
41530
41531
41532
41533 if test $pkg_failed = yes; then
41534
41535 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41536 _pkg_short_errors_supported=yes
41537 else
41538 _pkg_short_errors_supported=no
41539 fi
41540 if test $_pkg_short_errors_supported = yes; then
41541 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41542 else
41543 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41544 fi
41545 # Put the nasty error message in config.log where it belongs
41546 echo "$GNOMEVFS_PKG_ERRORS" >&5
41547
41548
41549 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41550 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41551 wxUSE_LIBGNOMEVFS="no"
41552
41553
41554 elif test $pkg_failed = untried; then
41555
41556 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41557 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41558 wxUSE_LIBGNOMEVFS="no"
41559
41560
41561 else
41562 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41563 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41564 { echo "$as_me:$LINENO: result: yes" >&5
41565 echo "${ECHO_T}yes" >&6; }
41566
41567 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41568 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41569 cat >>confdefs.h <<\_ACEOF
41570 #define wxUSE_LIBGNOMEVFS 1
41571 _ACEOF
41572
41573
41574 fi
41575 fi
41576 fi
41577
41578 if test "$wxUSE_LIBHILDON" = "yes" ; then
41579
41580 pkg_failed=no
41581 { echo "$as_me:$LINENO: checking for HILDON" >&5
41582 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41583
41584 if test -n "$PKG_CONFIG"; then
41585 if test -n "$HILDON_CFLAGS"; then
41586 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41587 else
41588 if test -n "$PKG_CONFIG" && \
41589 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41590 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41591 ac_status=$?
41592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41593 (exit $ac_status); }; then
41594 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41595 else
41596 pkg_failed=yes
41597 fi
41598 fi
41599 else
41600 pkg_failed=untried
41601 fi
41602 if test -n "$PKG_CONFIG"; then
41603 if test -n "$HILDON_LIBS"; then
41604 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41605 else
41606 if test -n "$PKG_CONFIG" && \
41607 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41608 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41609 ac_status=$?
41610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41611 (exit $ac_status); }; then
41612 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41613 else
41614 pkg_failed=yes
41615 fi
41616 fi
41617 else
41618 pkg_failed=untried
41619 fi
41620
41621
41622
41623 if test $pkg_failed = yes; then
41624
41625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41626 _pkg_short_errors_supported=yes
41627 else
41628 _pkg_short_errors_supported=no
41629 fi
41630 if test $_pkg_short_errors_supported = yes; then
41631 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41632 else
41633 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41634 fi
41635 # Put the nasty error message in config.log where it belongs
41636 echo "$HILDON_PKG_ERRORS" >&5
41637
41638
41639 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41640 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41641 wxUSE_LIBHILDON="no"
41642
41643
41644 elif test $pkg_failed = untried; then
41645
41646 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41647 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41648 wxUSE_LIBHILDON="no"
41649
41650
41651 else
41652 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41653 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41654 { echo "$as_me:$LINENO: result: yes" >&5
41655 echo "${ECHO_T}yes" >&6; }
41656
41657 EXTRALIBS_HILDON="$HILDON_LIBS"
41658 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41659 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41660 cat >>confdefs.h <<\_ACEOF
41661 #define wxUSE_LIBHILDON 1
41662 _ACEOF
41663
41664
41665 fi
41666 fi
41667 fi
41668
41669 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41670 cat >>confdefs.h <<\_ACEOF
41671 #define wxUSE_CMDLINE_PARSER 1
41672 _ACEOF
41673
41674 fi
41675
41676 if test "$wxUSE_STOPWATCH" = "yes"; then
41677 cat >>confdefs.h <<\_ACEOF
41678 #define wxUSE_STOPWATCH 1
41679 _ACEOF
41680
41681 fi
41682
41683 if test "$wxUSE_DATETIME" = "yes"; then
41684 cat >>confdefs.h <<\_ACEOF
41685 #define wxUSE_DATETIME 1
41686 _ACEOF
41687
41688 fi
41689
41690 if test "$wxUSE_FILE" = "yes"; then
41691 cat >>confdefs.h <<\_ACEOF
41692 #define wxUSE_FILE 1
41693 _ACEOF
41694
41695 fi
41696
41697 if test "$wxUSE_FFILE" = "yes"; then
41698 cat >>confdefs.h <<\_ACEOF
41699 #define wxUSE_FFILE 1
41700 _ACEOF
41701
41702 fi
41703
41704 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41705 if test "$wxUSE_STREAMS" != yes; then
41706 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41707 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41708 wxUSE_ARCHIVE_STREAMS=no
41709 else
41710 cat >>confdefs.h <<\_ACEOF
41711 #define wxUSE_ARCHIVE_STREAMS 1
41712 _ACEOF
41713
41714 fi
41715 fi
41716
41717 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41718 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41719 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41720 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41721 elif test "$wxUSE_ZLIB" = "no"; then
41722 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41723 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41724 else
41725 cat >>confdefs.h <<\_ACEOF
41726 #define wxUSE_ZIPSTREAM 1
41727 _ACEOF
41728
41729 fi
41730 fi
41731
41732 if test "$wxUSE_TARSTREAM" = "yes"; then
41733 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41734 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41735 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41736 else
41737 cat >>confdefs.h <<\_ACEOF
41738 #define wxUSE_TARSTREAM 1
41739 _ACEOF
41740
41741 fi
41742 fi
41743
41744 if test "$wxUSE_FILESYSTEM" = "yes"; then
41745 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41746 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41747 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41748 wxUSE_FILESYSTEM=no
41749 else
41750 cat >>confdefs.h <<\_ACEOF
41751 #define wxUSE_FILESYSTEM 1
41752 _ACEOF
41753
41754 fi
41755 fi
41756
41757 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41758 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41759 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41760 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41761 else
41762 cat >>confdefs.h <<\_ACEOF
41763 #define wxUSE_FS_ARCHIVE 1
41764 _ACEOF
41765
41766 fi
41767 fi
41768
41769 if test "$wxUSE_FS_ZIP" = "yes"; then
41770 if test "$wxUSE_FS_ARCHIVE" != yes; then
41771 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41772 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41773 else
41774 cat >>confdefs.h <<\_ACEOF
41775 #define wxUSE_FS_ZIP 1
41776 _ACEOF
41777
41778 fi
41779 fi
41780
41781 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41782 if test "$USE_UNIX" != 1; then
41783 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41784 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41785 wxUSE_ON_FATAL_EXCEPTION=no
41786 else
41787 cat >>confdefs.h <<\_ACEOF
41788 #define wxUSE_ON_FATAL_EXCEPTION 1
41789 _ACEOF
41790
41791 fi
41792 fi
41793
41794 if test "$wxUSE_STACKWALKER" = "yes"; then
41795 cat >>confdefs.h <<\_ACEOF
41796 #define wxUSE_STACKWALKER 1
41797 _ACEOF
41798
41799 fi
41800
41801 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41802 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41803 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41804 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41805 wxUSE_DEBUGREPORT=no
41806 else
41807 cat >>confdefs.h <<\_ACEOF
41808 #define wxUSE_DEBUGREPORT 1
41809 _ACEOF
41810
41811 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41813 fi
41814 fi
41815 fi
41816
41817 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41818 cat >>confdefs.h <<\_ACEOF
41819 #define wxUSE_SNGLINST_CHECKER 1
41820 _ACEOF
41821
41822 fi
41823
41824 if test "$wxUSE_BUSYINFO" = "yes"; then
41825 cat >>confdefs.h <<\_ACEOF
41826 #define wxUSE_BUSYINFO 1
41827 _ACEOF
41828
41829 fi
41830
41831 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41832 cat >>confdefs.h <<\_ACEOF
41833 #define wxUSE_STD_IOSTREAM 1
41834 _ACEOF
41835
41836 fi
41837
41838 if test "$wxUSE_STD_STRING" = "yes"; then
41839 cat >>confdefs.h <<\_ACEOF
41840 #define wxUSE_STD_STRING 1
41841 _ACEOF
41842
41843 fi
41844
41845 if test "$wxUSE_STDPATHS" = "yes"; then
41846 cat >>confdefs.h <<\_ACEOF
41847 #define wxUSE_STDPATHS 1
41848 _ACEOF
41849
41850 fi
41851
41852 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41853 cat >>confdefs.h <<\_ACEOF
41854 #define wxUSE_TEXTBUFFER 1
41855 _ACEOF
41856
41857 fi
41858
41859 if test "$wxUSE_TEXTFILE" = "yes"; then
41860 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41861 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41862 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41863 else
41864 cat >>confdefs.h <<\_ACEOF
41865 #define wxUSE_TEXTFILE 1
41866 _ACEOF
41867
41868 fi
41869 fi
41870
41871 if test "$wxUSE_CONFIG" = "yes" ; then
41872 if test "$wxUSE_TEXTFILE" != "yes"; then
41873 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41874 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41875 else
41876 cat >>confdefs.h <<\_ACEOF
41877 #define wxUSE_CONFIG 1
41878 _ACEOF
41879
41880 cat >>confdefs.h <<\_ACEOF
41881 #define wxUSE_CONFIG_NATIVE 1
41882 _ACEOF
41883
41884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41885 fi
41886 fi
41887
41888 if test "$wxUSE_INTL" = "yes" ; then
41889 if test "$wxUSE_FILE" != "yes"; then
41890 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41891 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41892 else
41893 cat >>confdefs.h <<\_ACEOF
41894 #define wxUSE_INTL 1
41895 _ACEOF
41896
41897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41898 GUIDIST="$GUIDIST INTL_DIST"
41899 fi
41900 fi
41901
41902 if test "$wxUSE_LOG" = "yes"; then
41903 cat >>confdefs.h <<\_ACEOF
41904 #define wxUSE_LOG 1
41905 _ACEOF
41906
41907
41908 if test "$wxUSE_LOGGUI" = "yes"; then
41909 cat >>confdefs.h <<\_ACEOF
41910 #define wxUSE_LOGGUI 1
41911 _ACEOF
41912
41913 fi
41914
41915 if test "$wxUSE_LOGWINDOW" = "yes"; then
41916 cat >>confdefs.h <<\_ACEOF
41917 #define wxUSE_LOGWINDOW 1
41918 _ACEOF
41919
41920 fi
41921
41922 if test "$wxUSE_LOGDIALOG" = "yes"; then
41923 cat >>confdefs.h <<\_ACEOF
41924 #define wxUSE_LOG_DIALOG 1
41925 _ACEOF
41926
41927 fi
41928
41929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41930 fi
41931
41932 if test "$wxUSE_LONGLONG" = "yes"; then
41933 cat >>confdefs.h <<\_ACEOF
41934 #define wxUSE_LONGLONG 1
41935 _ACEOF
41936
41937 fi
41938
41939 if test "$wxUSE_GEOMETRY" = "yes"; then
41940 cat >>confdefs.h <<\_ACEOF
41941 #define wxUSE_GEOMETRY 1
41942 _ACEOF
41943
41944 fi
41945
41946 if test "$wxUSE_STREAMS" = "yes" ; then
41947 cat >>confdefs.h <<\_ACEOF
41948 #define wxUSE_STREAMS 1
41949 _ACEOF
41950
41951 fi
41952
41953 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41954 cat >>confdefs.h <<\_ACEOF
41955 #define wxUSE_PRINTF_POS_PARAMS 1
41956 _ACEOF
41957
41958 fi
41959
41960
41961
41962 if test "$wxUSE_DATETIME" = "yes"; then
41963
41964 for ac_func in strptime
41965 do
41966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41967 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41969 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41970 echo $ECHO_N "(cached) $ECHO_C" >&6
41971 else
41972 cat >conftest.$ac_ext <<_ACEOF
41973 /* confdefs.h. */
41974 _ACEOF
41975 cat confdefs.h >>conftest.$ac_ext
41976 cat >>conftest.$ac_ext <<_ACEOF
41977 /* end confdefs.h. */
41978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41980 #define $ac_func innocuous_$ac_func
41981
41982 /* System header to define __stub macros and hopefully few prototypes,
41983 which can conflict with char $ac_func (); below.
41984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41985 <limits.h> exists even on freestanding compilers. */
41986
41987 #ifdef __STDC__
41988 # include <limits.h>
41989 #else
41990 # include <assert.h>
41991 #endif
41992
41993 #undef $ac_func
41994
41995 /* Override any GCC internal prototype to avoid an error.
41996 Use char because int might match the return type of a GCC
41997 builtin and then its argument prototype would still apply. */
41998 #ifdef __cplusplus
41999 extern "C"
42000 #endif
42001 char $ac_func ();
42002 /* The GNU C library defines this for functions which it implements
42003 to always fail with ENOSYS. Some functions are actually named
42004 something starting with __ and the normal name is an alias. */
42005 #if defined __stub_$ac_func || defined __stub___$ac_func
42006 choke me
42007 #endif
42008
42009 int
42010 main ()
42011 {
42012 return $ac_func ();
42013 ;
42014 return 0;
42015 }
42016 _ACEOF
42017 rm -f conftest.$ac_objext conftest$ac_exeext
42018 if { (ac_try="$ac_link"
42019 case "(($ac_try" in
42020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42021 *) ac_try_echo=$ac_try;;
42022 esac
42023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42024 (eval "$ac_link") 2>conftest.er1
42025 ac_status=$?
42026 grep -v '^ *+' conftest.er1 >conftest.err
42027 rm -f conftest.er1
42028 cat conftest.err >&5
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); } && {
42031 test -z "$ac_c_werror_flag" ||
42032 test ! -s conftest.err
42033 } && test -s conftest$ac_exeext &&
42034 $as_test_x conftest$ac_exeext; then
42035 eval "$as_ac_var=yes"
42036 else
42037 echo "$as_me: failed program was:" >&5
42038 sed 's/^/| /' conftest.$ac_ext >&5
42039
42040 eval "$as_ac_var=no"
42041 fi
42042
42043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42044 conftest$ac_exeext conftest.$ac_ext
42045 fi
42046 ac_res=`eval echo '${'$as_ac_var'}'`
42047 { echo "$as_me:$LINENO: result: $ac_res" >&5
42048 echo "${ECHO_T}$ac_res" >&6; }
42049 if test `eval echo '${'$as_ac_var'}'` = yes; then
42050 cat >>confdefs.h <<_ACEOF
42051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42052 _ACEOF
42053
42054 fi
42055 done
42056
42057 if test "$ac_cv_func_strptime" = "yes"; then
42058 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42059 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42060 if test "${wx_cv_func_strptime_decl+set}" = set; then
42061 echo $ECHO_N "(cached) $ECHO_C" >&6
42062 else
42063
42064 ac_ext=cpp
42065 ac_cpp='$CXXCPP $CPPFLAGS'
42066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42069
42070 cat >conftest.$ac_ext <<_ACEOF
42071 /* confdefs.h. */
42072 _ACEOF
42073 cat confdefs.h >>conftest.$ac_ext
42074 cat >>conftest.$ac_ext <<_ACEOF
42075 /* end confdefs.h. */
42076
42077 #include <time.h>
42078
42079 int
42080 main ()
42081 {
42082
42083 struct tm t;
42084 strptime("foo", "bar", &t);
42085
42086 ;
42087 return 0;
42088 }
42089 _ACEOF
42090 rm -f conftest.$ac_objext
42091 if { (ac_try="$ac_compile"
42092 case "(($ac_try" in
42093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42094 *) ac_try_echo=$ac_try;;
42095 esac
42096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42097 (eval "$ac_compile") 2>conftest.er1
42098 ac_status=$?
42099 grep -v '^ *+' conftest.er1 >conftest.err
42100 rm -f conftest.er1
42101 cat conftest.err >&5
42102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42103 (exit $ac_status); } && {
42104 test -z "$ac_cxx_werror_flag" ||
42105 test ! -s conftest.err
42106 } && test -s conftest.$ac_objext; then
42107 wx_cv_func_strptime_decl=yes
42108 else
42109 echo "$as_me: failed program was:" >&5
42110 sed 's/^/| /' conftest.$ac_ext >&5
42111
42112 wx_cv_func_strptime_decl=no
42113
42114 fi
42115
42116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42117 ac_ext=c
42118 ac_cpp='$CPP $CPPFLAGS'
42119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42122
42123
42124
42125 fi
42126 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42127 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42128 fi
42129 if test "$wx_cv_func_strptime_decl" = "yes"; then
42130 cat >>confdefs.h <<\_ACEOF
42131 #define HAVE_STRPTIME_DECL 1
42132 _ACEOF
42133
42134 fi
42135
42136 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42137 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42138 if test "${wx_cv_var_timezone+set}" = set; then
42139 echo $ECHO_N "(cached) $ECHO_C" >&6
42140 else
42141
42142 ac_ext=cpp
42143 ac_cpp='$CXXCPP $CPPFLAGS'
42144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42147
42148 cat >conftest.$ac_ext <<_ACEOF
42149 /* confdefs.h. */
42150 _ACEOF
42151 cat confdefs.h >>conftest.$ac_ext
42152 cat >>conftest.$ac_ext <<_ACEOF
42153 /* end confdefs.h. */
42154
42155 #include <time.h>
42156
42157 int
42158 main ()
42159 {
42160
42161 int tz;
42162 tz = timezone;
42163
42164 ;
42165 return 0;
42166 }
42167 _ACEOF
42168 rm -f conftest.$ac_objext
42169 if { (ac_try="$ac_compile"
42170 case "(($ac_try" in
42171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42172 *) ac_try_echo=$ac_try;;
42173 esac
42174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42175 (eval "$ac_compile") 2>conftest.er1
42176 ac_status=$?
42177 grep -v '^ *+' conftest.er1 >conftest.err
42178 rm -f conftest.er1
42179 cat conftest.err >&5
42180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42181 (exit $ac_status); } && {
42182 test -z "$ac_cxx_werror_flag" ||
42183 test ! -s conftest.err
42184 } && test -s conftest.$ac_objext; then
42185
42186 wx_cv_var_timezone=timezone
42187
42188 else
42189 echo "$as_me: failed program was:" >&5
42190 sed 's/^/| /' conftest.$ac_ext >&5
42191
42192
42193 cat >conftest.$ac_ext <<_ACEOF
42194 /* confdefs.h. */
42195 _ACEOF
42196 cat confdefs.h >>conftest.$ac_ext
42197 cat >>conftest.$ac_ext <<_ACEOF
42198 /* end confdefs.h. */
42199
42200 #include <time.h>
42201
42202 int
42203 main ()
42204 {
42205
42206 int tz;
42207 tz = _timezone;
42208
42209 ;
42210 return 0;
42211 }
42212 _ACEOF
42213 rm -f conftest.$ac_objext
42214 if { (ac_try="$ac_compile"
42215 case "(($ac_try" in
42216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42217 *) ac_try_echo=$ac_try;;
42218 esac
42219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42220 (eval "$ac_compile") 2>conftest.er1
42221 ac_status=$?
42222 grep -v '^ *+' conftest.er1 >conftest.err
42223 rm -f conftest.er1
42224 cat conftest.err >&5
42225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42226 (exit $ac_status); } && {
42227 test -z "$ac_cxx_werror_flag" ||
42228 test ! -s conftest.err
42229 } && test -s conftest.$ac_objext; then
42230
42231 wx_cv_var_timezone=_timezone
42232
42233 else
42234 echo "$as_me: failed program was:" >&5
42235 sed 's/^/| /' conftest.$ac_ext >&5
42236
42237
42238 cat >conftest.$ac_ext <<_ACEOF
42239 /* confdefs.h. */
42240 _ACEOF
42241 cat confdefs.h >>conftest.$ac_ext
42242 cat >>conftest.$ac_ext <<_ACEOF
42243 /* end confdefs.h. */
42244
42245 #include <time.h>
42246
42247 int
42248 main ()
42249 {
42250
42251 int tz;
42252 tz = __timezone;
42253
42254 ;
42255 return 0;
42256 }
42257 _ACEOF
42258 rm -f conftest.$ac_objext
42259 if { (ac_try="$ac_compile"
42260 case "(($ac_try" in
42261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42262 *) ac_try_echo=$ac_try;;
42263 esac
42264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42265 (eval "$ac_compile") 2>conftest.er1
42266 ac_status=$?
42267 grep -v '^ *+' conftest.er1 >conftest.err
42268 rm -f conftest.er1
42269 cat conftest.err >&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); } && {
42272 test -z "$ac_cxx_werror_flag" ||
42273 test ! -s conftest.err
42274 } && test -s conftest.$ac_objext; then
42275
42276 wx_cv_var_timezone=__timezone
42277
42278 else
42279 echo "$as_me: failed program was:" >&5
42280 sed 's/^/| /' conftest.$ac_ext >&5
42281
42282
42283 if test "$USE_DOS" = 0 ; then
42284 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42285 echo "$as_me: WARNING: no timezone variable" >&2;}
42286 fi
42287
42288
42289 fi
42290
42291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42292
42293
42294 fi
42295
42296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42297
42298
42299 fi
42300
42301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42302 ac_ext=c
42303 ac_cpp='$CPP $CPPFLAGS'
42304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42307
42308
42309
42310 fi
42311 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42312 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42313
42314 if test "x$wx_cv_var_timezone" != x ; then
42315 cat >>confdefs.h <<_ACEOF
42316 #define WX_TIMEZONE $wx_cv_var_timezone
42317 _ACEOF
42318
42319 fi
42320
42321
42322 for ac_func in localtime
42323 do
42324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42328 echo $ECHO_N "(cached) $ECHO_C" >&6
42329 else
42330 cat >conftest.$ac_ext <<_ACEOF
42331 /* confdefs.h. */
42332 _ACEOF
42333 cat confdefs.h >>conftest.$ac_ext
42334 cat >>conftest.$ac_ext <<_ACEOF
42335 /* end confdefs.h. */
42336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42338 #define $ac_func innocuous_$ac_func
42339
42340 /* System header to define __stub macros and hopefully few prototypes,
42341 which can conflict with char $ac_func (); below.
42342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42343 <limits.h> exists even on freestanding compilers. */
42344
42345 #ifdef __STDC__
42346 # include <limits.h>
42347 #else
42348 # include <assert.h>
42349 #endif
42350
42351 #undef $ac_func
42352
42353 /* Override any GCC internal prototype to avoid an error.
42354 Use char because int might match the return type of a GCC
42355 builtin and then its argument prototype would still apply. */
42356 #ifdef __cplusplus
42357 extern "C"
42358 #endif
42359 char $ac_func ();
42360 /* The GNU C library defines this for functions which it implements
42361 to always fail with ENOSYS. Some functions are actually named
42362 something starting with __ and the normal name is an alias. */
42363 #if defined __stub_$ac_func || defined __stub___$ac_func
42364 choke me
42365 #endif
42366
42367 int
42368 main ()
42369 {
42370 return $ac_func ();
42371 ;
42372 return 0;
42373 }
42374 _ACEOF
42375 rm -f conftest.$ac_objext conftest$ac_exeext
42376 if { (ac_try="$ac_link"
42377 case "(($ac_try" in
42378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42379 *) ac_try_echo=$ac_try;;
42380 esac
42381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42382 (eval "$ac_link") 2>conftest.er1
42383 ac_status=$?
42384 grep -v '^ *+' conftest.er1 >conftest.err
42385 rm -f conftest.er1
42386 cat conftest.err >&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); } && {
42389 test -z "$ac_c_werror_flag" ||
42390 test ! -s conftest.err
42391 } && test -s conftest$ac_exeext &&
42392 $as_test_x conftest$ac_exeext; then
42393 eval "$as_ac_var=yes"
42394 else
42395 echo "$as_me: failed program was:" >&5
42396 sed 's/^/| /' conftest.$ac_ext >&5
42397
42398 eval "$as_ac_var=no"
42399 fi
42400
42401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42402 conftest$ac_exeext conftest.$ac_ext
42403 fi
42404 ac_res=`eval echo '${'$as_ac_var'}'`
42405 { echo "$as_me:$LINENO: result: $ac_res" >&5
42406 echo "${ECHO_T}$ac_res" >&6; }
42407 if test `eval echo '${'$as_ac_var'}'` = yes; then
42408 cat >>confdefs.h <<_ACEOF
42409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42410 _ACEOF
42411
42412 fi
42413 done
42414
42415
42416 if test "$ac_cv_func_localtime" = "yes"; then
42417 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42418 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42419 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42420 echo $ECHO_N "(cached) $ECHO_C" >&6
42421 else
42422
42423 cat >conftest.$ac_ext <<_ACEOF
42424 /* confdefs.h. */
42425 _ACEOF
42426 cat confdefs.h >>conftest.$ac_ext
42427 cat >>conftest.$ac_ext <<_ACEOF
42428 /* end confdefs.h. */
42429
42430 #include <time.h>
42431
42432 int
42433 main ()
42434 {
42435
42436 struct tm tm;
42437 tm.tm_gmtoff++;
42438
42439 ;
42440 return 0;
42441 }
42442 _ACEOF
42443 rm -f conftest.$ac_objext
42444 if { (ac_try="$ac_compile"
42445 case "(($ac_try" in
42446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42447 *) ac_try_echo=$ac_try;;
42448 esac
42449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42450 (eval "$ac_compile") 2>conftest.er1
42451 ac_status=$?
42452 grep -v '^ *+' conftest.er1 >conftest.err
42453 rm -f conftest.er1
42454 cat conftest.err >&5
42455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456 (exit $ac_status); } && {
42457 test -z "$ac_c_werror_flag" ||
42458 test ! -s conftest.err
42459 } && test -s conftest.$ac_objext; then
42460
42461 wx_cv_struct_tm_has_gmtoff=yes
42462
42463 else
42464 echo "$as_me: failed program was:" >&5
42465 sed 's/^/| /' conftest.$ac_ext >&5
42466
42467 wx_cv_struct_tm_has_gmtoff=no
42468
42469 fi
42470
42471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42472
42473 fi
42474 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42475 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42476 fi
42477
42478 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42479 cat >>confdefs.h <<\_ACEOF
42480 #define WX_GMTOFF_IN_TM 1
42481 _ACEOF
42482
42483 fi
42484
42485
42486
42487 for ac_func in gettimeofday ftime
42488 do
42489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42490 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42492 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42493 echo $ECHO_N "(cached) $ECHO_C" >&6
42494 else
42495 cat >conftest.$ac_ext <<_ACEOF
42496 /* confdefs.h. */
42497 _ACEOF
42498 cat confdefs.h >>conftest.$ac_ext
42499 cat >>conftest.$ac_ext <<_ACEOF
42500 /* end confdefs.h. */
42501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42503 #define $ac_func innocuous_$ac_func
42504
42505 /* System header to define __stub macros and hopefully few prototypes,
42506 which can conflict with char $ac_func (); below.
42507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42508 <limits.h> exists even on freestanding compilers. */
42509
42510 #ifdef __STDC__
42511 # include <limits.h>
42512 #else
42513 # include <assert.h>
42514 #endif
42515
42516 #undef $ac_func
42517
42518 /* Override any GCC internal prototype to avoid an error.
42519 Use char because int might match the return type of a GCC
42520 builtin and then its argument prototype would still apply. */
42521 #ifdef __cplusplus
42522 extern "C"
42523 #endif
42524 char $ac_func ();
42525 /* The GNU C library defines this for functions which it implements
42526 to always fail with ENOSYS. Some functions are actually named
42527 something starting with __ and the normal name is an alias. */
42528 #if defined __stub_$ac_func || defined __stub___$ac_func
42529 choke me
42530 #endif
42531
42532 int
42533 main ()
42534 {
42535 return $ac_func ();
42536 ;
42537 return 0;
42538 }
42539 _ACEOF
42540 rm -f conftest.$ac_objext conftest$ac_exeext
42541 if { (ac_try="$ac_link"
42542 case "(($ac_try" in
42543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42544 *) ac_try_echo=$ac_try;;
42545 esac
42546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42547 (eval "$ac_link") 2>conftest.er1
42548 ac_status=$?
42549 grep -v '^ *+' conftest.er1 >conftest.err
42550 rm -f conftest.er1
42551 cat conftest.err >&5
42552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42553 (exit $ac_status); } && {
42554 test -z "$ac_c_werror_flag" ||
42555 test ! -s conftest.err
42556 } && test -s conftest$ac_exeext &&
42557 $as_test_x conftest$ac_exeext; then
42558 eval "$as_ac_var=yes"
42559 else
42560 echo "$as_me: failed program was:" >&5
42561 sed 's/^/| /' conftest.$ac_ext >&5
42562
42563 eval "$as_ac_var=no"
42564 fi
42565
42566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42567 conftest$ac_exeext conftest.$ac_ext
42568 fi
42569 ac_res=`eval echo '${'$as_ac_var'}'`
42570 { echo "$as_me:$LINENO: result: $ac_res" >&5
42571 echo "${ECHO_T}$ac_res" >&6; }
42572 if test `eval echo '${'$as_ac_var'}'` = yes; then
42573 cat >>confdefs.h <<_ACEOF
42574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42575 _ACEOF
42576 break
42577 fi
42578 done
42579
42580
42581 if test "$ac_cv_func_gettimeofday" = "yes"; then
42582 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42583 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42584 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42585 echo $ECHO_N "(cached) $ECHO_C" >&6
42586 else
42587
42588 cat >conftest.$ac_ext <<_ACEOF
42589 /* confdefs.h. */
42590 _ACEOF
42591 cat confdefs.h >>conftest.$ac_ext
42592 cat >>conftest.$ac_ext <<_ACEOF
42593 /* end confdefs.h. */
42594
42595 #include <sys/time.h>
42596 #include <unistd.h>
42597
42598 int
42599 main ()
42600 {
42601
42602 struct timeval tv;
42603 gettimeofday(&tv, NULL);
42604
42605 ;
42606 return 0;
42607 }
42608 _ACEOF
42609 rm -f conftest.$ac_objext
42610 if { (ac_try="$ac_compile"
42611 case "(($ac_try" in
42612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42613 *) ac_try_echo=$ac_try;;
42614 esac
42615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42616 (eval "$ac_compile") 2>conftest.er1
42617 ac_status=$?
42618 grep -v '^ *+' conftest.er1 >conftest.err
42619 rm -f conftest.er1
42620 cat conftest.err >&5
42621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42622 (exit $ac_status); } && {
42623 test -z "$ac_c_werror_flag" ||
42624 test ! -s conftest.err
42625 } && test -s conftest.$ac_objext; then
42626 wx_cv_func_gettimeofday_has_2_args=yes
42627 else
42628 echo "$as_me: failed program was:" >&5
42629 sed 's/^/| /' conftest.$ac_ext >&5
42630
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
42638 #include <sys/time.h>
42639 #include <unistd.h>
42640
42641 int
42642 main ()
42643 {
42644
42645 struct timeval tv;
42646 gettimeofday(&tv);
42647
42648 ;
42649 return 0;
42650 }
42651 _ACEOF
42652 rm -f conftest.$ac_objext
42653 if { (ac_try="$ac_compile"
42654 case "(($ac_try" in
42655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42656 *) ac_try_echo=$ac_try;;
42657 esac
42658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42659 (eval "$ac_compile") 2>conftest.er1
42660 ac_status=$?
42661 grep -v '^ *+' conftest.er1 >conftest.err
42662 rm -f conftest.er1
42663 cat conftest.err >&5
42664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42665 (exit $ac_status); } && {
42666 test -z "$ac_c_werror_flag" ||
42667 test ! -s conftest.err
42668 } && test -s conftest.$ac_objext; then
42669 wx_cv_func_gettimeofday_has_2_args=no
42670 else
42671 echo "$as_me: failed program was:" >&5
42672 sed 's/^/| /' conftest.$ac_ext >&5
42673
42674
42675 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42676 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42677 wx_cv_func_gettimeofday_has_2_args=unknown
42678
42679
42680 fi
42681
42682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42683
42684 fi
42685
42686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42687
42688 fi
42689 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42690 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42691
42692 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42693 cat >>confdefs.h <<\_ACEOF
42694 #define WX_GETTIMEOFDAY_NO_TZ 1
42695 _ACEOF
42696
42697 fi
42698 fi
42699
42700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42701 fi
42702
42703
42704 if test "$wxUSE_SOCKETS" = "yes"; then
42705 if test "$wxUSE_MGL" = "1"; then
42706 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42707 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42708 wxUSE_SOCKETS="no"
42709 fi
42710 fi
42711
42712 if test "$wxUSE_SOCKETS" = "yes"; then
42713 if test "$TOOLKIT" != "MSW"; then
42714 { echo "$as_me:$LINENO: checking for socket" >&5
42715 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42716 if test "${ac_cv_func_socket+set}" = set; then
42717 echo $ECHO_N "(cached) $ECHO_C" >&6
42718 else
42719 cat >conftest.$ac_ext <<_ACEOF
42720 /* confdefs.h. */
42721 _ACEOF
42722 cat confdefs.h >>conftest.$ac_ext
42723 cat >>conftest.$ac_ext <<_ACEOF
42724 /* end confdefs.h. */
42725 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42727 #define socket innocuous_socket
42728
42729 /* System header to define __stub macros and hopefully few prototypes,
42730 which can conflict with char socket (); below.
42731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42732 <limits.h> exists even on freestanding compilers. */
42733
42734 #ifdef __STDC__
42735 # include <limits.h>
42736 #else
42737 # include <assert.h>
42738 #endif
42739
42740 #undef socket
42741
42742 /* Override any GCC internal prototype to avoid an error.
42743 Use char because int might match the return type of a GCC
42744 builtin and then its argument prototype would still apply. */
42745 #ifdef __cplusplus
42746 extern "C"
42747 #endif
42748 char socket ();
42749 /* The GNU C library defines this for functions which it implements
42750 to always fail with ENOSYS. Some functions are actually named
42751 something starting with __ and the normal name is an alias. */
42752 #if defined __stub_socket || defined __stub___socket
42753 choke me
42754 #endif
42755
42756 int
42757 main ()
42758 {
42759 return socket ();
42760 ;
42761 return 0;
42762 }
42763 _ACEOF
42764 rm -f conftest.$ac_objext conftest$ac_exeext
42765 if { (ac_try="$ac_link"
42766 case "(($ac_try" in
42767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42768 *) ac_try_echo=$ac_try;;
42769 esac
42770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42771 (eval "$ac_link") 2>conftest.er1
42772 ac_status=$?
42773 grep -v '^ *+' conftest.er1 >conftest.err
42774 rm -f conftest.er1
42775 cat conftest.err >&5
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); } && {
42778 test -z "$ac_c_werror_flag" ||
42779 test ! -s conftest.err
42780 } && test -s conftest$ac_exeext &&
42781 $as_test_x conftest$ac_exeext; then
42782 ac_cv_func_socket=yes
42783 else
42784 echo "$as_me: failed program was:" >&5
42785 sed 's/^/| /' conftest.$ac_ext >&5
42786
42787 ac_cv_func_socket=no
42788 fi
42789
42790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42791 conftest$ac_exeext conftest.$ac_ext
42792 fi
42793 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42794 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42795 if test $ac_cv_func_socket = yes; then
42796 :
42797 else
42798
42799 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42800 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42801 if test "${ac_cv_lib_socket_socket+set}" = set; then
42802 echo $ECHO_N "(cached) $ECHO_C" >&6
42803 else
42804 ac_check_lib_save_LIBS=$LIBS
42805 LIBS="-lsocket $LIBS"
42806 cat >conftest.$ac_ext <<_ACEOF
42807 /* confdefs.h. */
42808 _ACEOF
42809 cat confdefs.h >>conftest.$ac_ext
42810 cat >>conftest.$ac_ext <<_ACEOF
42811 /* end confdefs.h. */
42812
42813 /* Override any GCC internal prototype to avoid an error.
42814 Use char because int might match the return type of a GCC
42815 builtin and then its argument prototype would still apply. */
42816 #ifdef __cplusplus
42817 extern "C"
42818 #endif
42819 char socket ();
42820 int
42821 main ()
42822 {
42823 return socket ();
42824 ;
42825 return 0;
42826 }
42827 _ACEOF
42828 rm -f conftest.$ac_objext conftest$ac_exeext
42829 if { (ac_try="$ac_link"
42830 case "(($ac_try" in
42831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42832 *) ac_try_echo=$ac_try;;
42833 esac
42834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42835 (eval "$ac_link") 2>conftest.er1
42836 ac_status=$?
42837 grep -v '^ *+' conftest.er1 >conftest.err
42838 rm -f conftest.er1
42839 cat conftest.err >&5
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); } && {
42842 test -z "$ac_c_werror_flag" ||
42843 test ! -s conftest.err
42844 } && test -s conftest$ac_exeext &&
42845 $as_test_x conftest$ac_exeext; then
42846 ac_cv_lib_socket_socket=yes
42847 else
42848 echo "$as_me: failed program was:" >&5
42849 sed 's/^/| /' conftest.$ac_ext >&5
42850
42851 ac_cv_lib_socket_socket=no
42852 fi
42853
42854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42855 conftest$ac_exeext conftest.$ac_ext
42856 LIBS=$ac_check_lib_save_LIBS
42857 fi
42858 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42859 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42860 if test $ac_cv_lib_socket_socket = yes; then
42861 if test "$INET_LINK" != " -lsocket"; then
42862 INET_LINK="$INET_LINK -lsocket"
42863 fi
42864 else
42865
42866 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42867 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42868 wxUSE_SOCKETS=no
42869
42870
42871 fi
42872
42873
42874
42875 fi
42876
42877 fi
42878 fi
42879
42880 if test "$wxUSE_SOCKETS" = "yes" ; then
42881 if test "$TOOLKIT" != "MSW"; then
42882 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42883 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42884 if test "${wx_cv_type_getsockname3+set}" = set; then
42885 echo $ECHO_N "(cached) $ECHO_C" >&6
42886 else
42887
42888 ac_ext=cpp
42889 ac_cpp='$CXXCPP $CPPFLAGS'
42890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42893
42894 cat >conftest.$ac_ext <<_ACEOF
42895 /* confdefs.h. */
42896 _ACEOF
42897 cat confdefs.h >>conftest.$ac_ext
42898 cat >>conftest.$ac_ext <<_ACEOF
42899 /* end confdefs.h. */
42900
42901 #include <sys/types.h>
42902 #include <sys/socket.h>
42903
42904 int
42905 main ()
42906 {
42907
42908 socklen_t len;
42909 getsockname(0, 0, &len);
42910
42911 ;
42912 return 0;
42913 }
42914 _ACEOF
42915 rm -f conftest.$ac_objext
42916 if { (ac_try="$ac_compile"
42917 case "(($ac_try" in
42918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42919 *) ac_try_echo=$ac_try;;
42920 esac
42921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42922 (eval "$ac_compile") 2>conftest.er1
42923 ac_status=$?
42924 grep -v '^ *+' conftest.er1 >conftest.err
42925 rm -f conftest.er1
42926 cat conftest.err >&5
42927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42928 (exit $ac_status); } && {
42929 test -z "$ac_cxx_werror_flag" ||
42930 test ! -s conftest.err
42931 } && test -s conftest.$ac_objext; then
42932 wx_cv_type_getsockname3=socklen_t
42933 else
42934 echo "$as_me: failed program was:" >&5
42935 sed 's/^/| /' conftest.$ac_ext >&5
42936
42937
42938 CFLAGS_OLD="$CFLAGS"
42939 if test "$GCC" = yes ; then
42940 CFLAGS="-Werror $CFLAGS"
42941 fi
42942
42943 cat >conftest.$ac_ext <<_ACEOF
42944 /* confdefs.h. */
42945 _ACEOF
42946 cat confdefs.h >>conftest.$ac_ext
42947 cat >>conftest.$ac_ext <<_ACEOF
42948 /* end confdefs.h. */
42949
42950 #include <sys/types.h>
42951 #include <sys/socket.h>
42952
42953 int
42954 main ()
42955 {
42956
42957 size_t len;
42958 getsockname(0, 0, &len);
42959
42960 ;
42961 return 0;
42962 }
42963 _ACEOF
42964 rm -f conftest.$ac_objext
42965 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
42979 test ! -s conftest.err
42980 } && test -s conftest.$ac_objext; then
42981 wx_cv_type_getsockname3=size_t
42982 else
42983 echo "$as_me: failed program was:" >&5
42984 sed 's/^/| /' conftest.$ac_ext >&5
42985
42986 cat >conftest.$ac_ext <<_ACEOF
42987 /* confdefs.h. */
42988 _ACEOF
42989 cat confdefs.h >>conftest.$ac_ext
42990 cat >>conftest.$ac_ext <<_ACEOF
42991 /* end confdefs.h. */
42992
42993 #include <sys/types.h>
42994 #include <sys/socket.h>
42995
42996 int
42997 main ()
42998 {
42999
43000 int len;
43001 getsockname(0, 0, &len);
43002
43003 ;
43004 return 0;
43005 }
43006 _ACEOF
43007 rm -f conftest.$ac_objext
43008 if { (ac_try="$ac_compile"
43009 case "(($ac_try" in
43010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43011 *) ac_try_echo=$ac_try;;
43012 esac
43013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43014 (eval "$ac_compile") 2>conftest.er1
43015 ac_status=$?
43016 grep -v '^ *+' conftest.er1 >conftest.err
43017 rm -f conftest.er1
43018 cat conftest.err >&5
43019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43020 (exit $ac_status); } && {
43021 test -z "$ac_cxx_werror_flag" ||
43022 test ! -s conftest.err
43023 } && test -s conftest.$ac_objext; then
43024 wx_cv_type_getsockname3=int
43025 else
43026 echo "$as_me: failed program was:" >&5
43027 sed 's/^/| /' conftest.$ac_ext >&5
43028
43029 wx_cv_type_getsockname3=unknown
43030
43031 fi
43032
43033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43034
43035 fi
43036
43037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43038
43039 CFLAGS="$CFLAGS_OLD"
43040
43041
43042 fi
43043
43044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43045 ac_ext=c
43046 ac_cpp='$CPP $CPPFLAGS'
43047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43050
43051
43052 fi
43053 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43054 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43055
43056 if test "$wx_cv_type_getsockname3" = "unknown"; then
43057 wxUSE_SOCKETS=no
43058 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43059 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43060 else
43061 cat >>confdefs.h <<_ACEOF
43062 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43063 _ACEOF
43064
43065 fi
43066 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43067 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43068 if test "${wx_cv_type_getsockopt5+set}" = set; then
43069 echo $ECHO_N "(cached) $ECHO_C" >&6
43070 else
43071
43072 ac_ext=cpp
43073 ac_cpp='$CXXCPP $CPPFLAGS'
43074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43077
43078 cat >conftest.$ac_ext <<_ACEOF
43079 /* confdefs.h. */
43080 _ACEOF
43081 cat confdefs.h >>conftest.$ac_ext
43082 cat >>conftest.$ac_ext <<_ACEOF
43083 /* end confdefs.h. */
43084
43085 #include <sys/types.h>
43086 #include <sys/socket.h>
43087
43088 int
43089 main ()
43090 {
43091
43092 socklen_t len;
43093 getsockopt(0, 0, 0, 0, &len);
43094
43095 ;
43096 return 0;
43097 }
43098 _ACEOF
43099 rm -f conftest.$ac_objext
43100 if { (ac_try="$ac_compile"
43101 case "(($ac_try" in
43102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43103 *) ac_try_echo=$ac_try;;
43104 esac
43105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43106 (eval "$ac_compile") 2>conftest.er1
43107 ac_status=$?
43108 grep -v '^ *+' conftest.er1 >conftest.err
43109 rm -f conftest.er1
43110 cat conftest.err >&5
43111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112 (exit $ac_status); } && {
43113 test -z "$ac_cxx_werror_flag" ||
43114 test ! -s conftest.err
43115 } && test -s conftest.$ac_objext; then
43116 wx_cv_type_getsockopt5=socklen_t
43117 else
43118 echo "$as_me: failed program was:" >&5
43119 sed 's/^/| /' conftest.$ac_ext >&5
43120
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 size_t len;
43137 getsockopt(0, 0, 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_getsockopt5=size_t
43161 else
43162 echo "$as_me: failed program was:" >&5
43163 sed 's/^/| /' conftest.$ac_ext >&5
43164
43165 cat >conftest.$ac_ext <<_ACEOF
43166 /* confdefs.h. */
43167 _ACEOF
43168 cat confdefs.h >>conftest.$ac_ext
43169 cat >>conftest.$ac_ext <<_ACEOF
43170 /* end confdefs.h. */
43171
43172 #include <sys/types.h>
43173 #include <sys/socket.h>
43174
43175 int
43176 main ()
43177 {
43178
43179 int len;
43180 getsockopt(0, 0, 0, 0, &len);
43181
43182 ;
43183 return 0;
43184 }
43185 _ACEOF
43186 rm -f conftest.$ac_objext
43187 if { (ac_try="$ac_compile"
43188 case "(($ac_try" in
43189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43190 *) ac_try_echo=$ac_try;;
43191 esac
43192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43193 (eval "$ac_compile") 2>conftest.er1
43194 ac_status=$?
43195 grep -v '^ *+' conftest.er1 >conftest.err
43196 rm -f conftest.er1
43197 cat conftest.err >&5
43198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43199 (exit $ac_status); } && {
43200 test -z "$ac_cxx_werror_flag" ||
43201 test ! -s conftest.err
43202 } && test -s conftest.$ac_objext; then
43203 wx_cv_type_getsockopt5=int
43204 else
43205 echo "$as_me: failed program was:" >&5
43206 sed 's/^/| /' conftest.$ac_ext >&5
43207
43208 wx_cv_type_getsockopt5=unknown
43209
43210 fi
43211
43212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43213
43214 fi
43215
43216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43217
43218
43219 fi
43220
43221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43222 ac_ext=c
43223 ac_cpp='$CPP $CPPFLAGS'
43224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43227
43228
43229 fi
43230 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43231 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43232
43233 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43234 wxUSE_SOCKETS=no
43235 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43236 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43237 else
43238 cat >>confdefs.h <<_ACEOF
43239 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43240 _ACEOF
43241
43242 fi
43243 fi
43244 fi
43245
43246 if test "$wxUSE_SOCKETS" = "yes" ; then
43247 cat >>confdefs.h <<\_ACEOF
43248 #define wxUSE_SOCKETS 1
43249 _ACEOF
43250
43251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43252 fi
43253
43254 if test "$wxUSE_PROTOCOL" = "yes"; then
43255 if test "$wxUSE_SOCKETS" != "yes"; then
43256 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43257 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43258 wxUSE_PROTOCOL=no
43259 fi
43260 fi
43261
43262 if test "$wxUSE_PROTOCOL" = "yes"; then
43263 cat >>confdefs.h <<\_ACEOF
43264 #define wxUSE_PROTOCOL 1
43265 _ACEOF
43266
43267
43268 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43269 cat >>confdefs.h <<\_ACEOF
43270 #define wxUSE_PROTOCOL_HTTP 1
43271 _ACEOF
43272
43273 fi
43274 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43275 cat >>confdefs.h <<\_ACEOF
43276 #define wxUSE_PROTOCOL_FTP 1
43277 _ACEOF
43278
43279 fi
43280 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_PROTOCOL_FILE 1
43283 _ACEOF
43284
43285 fi
43286 else
43287 if test "$wxUSE_FS_INET" = "yes"; then
43288 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43289 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43290 wxUSE_FS_INET="no"
43291 fi
43292 fi
43293
43294 if test "$wxUSE_URL" = "yes"; then
43295 if test "$wxUSE_PROTOCOL" != "yes"; then
43296 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43297 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43298 wxUSE_URL=no
43299 fi
43300 if test "$wxUSE_URL" = "yes"; then
43301 cat >>confdefs.h <<\_ACEOF
43302 #define wxUSE_URL 1
43303 _ACEOF
43304
43305 fi
43306 fi
43307
43308 if test "$wxUSE_VARIANT" = "yes"; then
43309 cat >>confdefs.h <<\_ACEOF
43310 #define wxUSE_VARIANT 1
43311 _ACEOF
43312
43313 fi
43314
43315 if test "$wxUSE_FS_INET" = "yes"; then
43316 cat >>confdefs.h <<\_ACEOF
43317 #define wxUSE_FS_INET 1
43318 _ACEOF
43319
43320 fi
43321
43322
43323 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43324 wxUSE_JOYSTICK=no
43325
43326 if test "$TOOLKIT" = "MSW"; then
43327 wxUSE_JOYSTICK=yes
43328
43329 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43330 if test "$USE_DARWIN" = 1; then
43331 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43332 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43333 ac_ext=cpp
43334 ac_cpp='$CXXCPP $CPPFLAGS'
43335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43338
43339 cat >conftest.$ac_ext <<_ACEOF
43340 /* confdefs.h. */
43341 _ACEOF
43342 cat confdefs.h >>conftest.$ac_ext
43343 cat >>conftest.$ac_ext <<_ACEOF
43344 /* end confdefs.h. */
43345 #include <IOKit/hid/IOHIDLib.h>
43346 int
43347 main ()
43348 {
43349 IOHIDQueueInterface *qi = NULL;
43350 IOHIDCallbackFunction cb = NULL;
43351 qi->setEventCallout(NULL, cb, NULL, NULL);
43352 ;
43353 return 0;
43354 }
43355 _ACEOF
43356 rm -f conftest.$ac_objext
43357 if { (ac_try="$ac_compile"
43358 case "(($ac_try" in
43359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43360 *) ac_try_echo=$ac_try;;
43361 esac
43362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43363 (eval "$ac_compile") 2>conftest.er1
43364 ac_status=$?
43365 grep -v '^ *+' conftest.er1 >conftest.err
43366 rm -f conftest.er1
43367 cat conftest.err >&5
43368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43369 (exit $ac_status); } && {
43370 test -z "$ac_cxx_werror_flag" ||
43371 test ! -s conftest.err
43372 } && test -s conftest.$ac_objext; then
43373 wxUSE_JOYSTICK=yes
43374
43375 else
43376 echo "$as_me: failed program was:" >&5
43377 sed 's/^/| /' conftest.$ac_ext >&5
43378
43379
43380 fi
43381
43382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43383 ac_ext=c
43384 ac_cpp='$CPP $CPPFLAGS'
43385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43388
43389 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43390 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43391 fi
43392
43393 else
43394 if test "$wxUSE_MGL" != "1"; then
43395 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43396 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43397 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43398 echo $ECHO_N "(cached) $ECHO_C" >&6
43399 else
43400 cat >conftest.$ac_ext <<_ACEOF
43401 /* confdefs.h. */
43402 _ACEOF
43403 cat confdefs.h >>conftest.$ac_ext
43404 cat >>conftest.$ac_ext <<_ACEOF
43405 /* end confdefs.h. */
43406 $ac_includes_default
43407
43408 #include <linux/joystick.h>
43409 _ACEOF
43410 rm -f conftest.$ac_objext
43411 if { (ac_try="$ac_compile"
43412 case "(($ac_try" in
43413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43414 *) ac_try_echo=$ac_try;;
43415 esac
43416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43417 (eval "$ac_compile") 2>conftest.er1
43418 ac_status=$?
43419 grep -v '^ *+' conftest.er1 >conftest.err
43420 rm -f conftest.er1
43421 cat conftest.err >&5
43422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423 (exit $ac_status); } && {
43424 test -z "$ac_c_werror_flag" ||
43425 test ! -s conftest.err
43426 } && test -s conftest.$ac_objext; then
43427 ac_cv_header_linux_joystick_h=yes
43428 else
43429 echo "$as_me: failed program was:" >&5
43430 sed 's/^/| /' conftest.$ac_ext >&5
43431
43432 ac_cv_header_linux_joystick_h=no
43433 fi
43434
43435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43436 fi
43437 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43438 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43439 if test $ac_cv_header_linux_joystick_h = yes; then
43440 wxUSE_JOYSTICK=yes
43441 fi
43442
43443
43444 fi
43445 fi
43446
43447 if test "$wxUSE_JOYSTICK" = "yes"; then
43448 cat >>confdefs.h <<\_ACEOF
43449 #define wxUSE_JOYSTICK 1
43450 _ACEOF
43451
43452 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43453 else
43454 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43455 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43456 fi
43457 fi
43458
43459
43460
43461 if test "$wxUSE_FONTMAP" = "yes" ; then
43462 cat >>confdefs.h <<\_ACEOF
43463 #define wxUSE_FONTMAP 1
43464 _ACEOF
43465
43466 fi
43467
43468 if test "$wxUSE_UNICODE" = "yes" ; then
43469 cat >>confdefs.h <<\_ACEOF
43470 #define wxUSE_UNICODE 1
43471 _ACEOF
43472
43473
43474 if test "$USE_WIN32" != 1; then
43475 wxUSE_UNICODE_MSLU=no
43476 fi
43477
43478 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43479 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43480 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43481 if test "${ac_cv_lib_unicows_main+set}" = set; then
43482 echo $ECHO_N "(cached) $ECHO_C" >&6
43483 else
43484 ac_check_lib_save_LIBS=$LIBS
43485 LIBS="-lunicows $LIBS"
43486 cat >conftest.$ac_ext <<_ACEOF
43487 /* confdefs.h. */
43488 _ACEOF
43489 cat confdefs.h >>conftest.$ac_ext
43490 cat >>conftest.$ac_ext <<_ACEOF
43491 /* end confdefs.h. */
43492
43493
43494 int
43495 main ()
43496 {
43497 return main ();
43498 ;
43499 return 0;
43500 }
43501 _ACEOF
43502 rm -f conftest.$ac_objext conftest$ac_exeext
43503 if { (ac_try="$ac_link"
43504 case "(($ac_try" in
43505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43506 *) ac_try_echo=$ac_try;;
43507 esac
43508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43509 (eval "$ac_link") 2>conftest.er1
43510 ac_status=$?
43511 grep -v '^ *+' conftest.er1 >conftest.err
43512 rm -f conftest.er1
43513 cat conftest.err >&5
43514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515 (exit $ac_status); } && {
43516 test -z "$ac_c_werror_flag" ||
43517 test ! -s conftest.err
43518 } && test -s conftest$ac_exeext &&
43519 $as_test_x conftest$ac_exeext; then
43520 ac_cv_lib_unicows_main=yes
43521 else
43522 echo "$as_me: failed program was:" >&5
43523 sed 's/^/| /' conftest.$ac_ext >&5
43524
43525 ac_cv_lib_unicows_main=no
43526 fi
43527
43528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43529 conftest$ac_exeext conftest.$ac_ext
43530 LIBS=$ac_check_lib_save_LIBS
43531 fi
43532 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43533 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43534 if test $ac_cv_lib_unicows_main = yes; then
43535
43536 cat >>confdefs.h <<\_ACEOF
43537 #define wxUSE_UNICODE_MSLU 1
43538 _ACEOF
43539
43540
43541 else
43542
43543 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43544 Applications will only run on Windows NT/2000/XP!" >&5
43545 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43546 Applications will only run on Windows NT/2000/XP!" >&2;}
43547 wxUSE_UNICODE_MSLU=no
43548
43549 fi
43550
43551 fi
43552 fi
43553
43554 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43555 cat >>confdefs.h <<\_ACEOF
43556 #define wxUSE_EXPERIMENTAL_PRINTF 1
43557 _ACEOF
43558
43559 fi
43560
43561
43562 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43563 cat >>confdefs.h <<\_ACEOF
43564 #define wxUSE_POSTSCRIPT 1
43565 _ACEOF
43566
43567 fi
43568
43569 cat >>confdefs.h <<\_ACEOF
43570 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43571 _ACEOF
43572
43573
43574 cat >>confdefs.h <<\_ACEOF
43575 #define wxUSE_NORMALIZED_PS_FONTS 1
43576 _ACEOF
43577
43578
43579
43580 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43581 cat >>confdefs.h <<\_ACEOF
43582 #define wxUSE_CONSTRAINTS 1
43583 _ACEOF
43584
43585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43586 fi
43587
43588 if test "$wxUSE_MDI" = "yes"; then
43589 cat >>confdefs.h <<\_ACEOF
43590 #define wxUSE_MDI 1
43591 _ACEOF
43592
43593
43594 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43595 cat >>confdefs.h <<\_ACEOF
43596 #define wxUSE_MDI_ARCHITECTURE 1
43597 _ACEOF
43598
43599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43600 fi
43601 fi
43602
43603 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43604 cat >>confdefs.h <<\_ACEOF
43605 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43606 _ACEOF
43607
43608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43609 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43611 fi
43612 fi
43613
43614 if test "$wxUSE_HELP" = "yes"; then
43615 cat >>confdefs.h <<\_ACEOF
43616 #define wxUSE_HELP 1
43617 _ACEOF
43618
43619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43620
43621 if test "$wxUSE_MSW" = 1; then
43622 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43623 cat >>confdefs.h <<\_ACEOF
43624 #define wxUSE_MS_HTML_HELP 1
43625 _ACEOF
43626
43627 fi
43628 fi
43629
43630 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43631 if test "$wxUSE_HTML" = "yes"; then
43632 cat >>confdefs.h <<\_ACEOF
43633 #define wxUSE_WXHTML_HELP 1
43634 _ACEOF
43635
43636 else
43637 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43638 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43639 wxUSE_WXHTML_HELP=no
43640 fi
43641 fi
43642 fi
43643
43644 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43645 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43646 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43647 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43648 else
43649 cat >>confdefs.h <<\_ACEOF
43650 #define wxUSE_PRINTING_ARCHITECTURE 1
43651 _ACEOF
43652
43653 fi
43654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43655 fi
43656
43657
43658
43659 if test "$wxUSE_METAFILE" = "yes"; then
43660 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43661 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43662 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43663 wxUSE_METAFILE=no
43664 fi
43665 fi
43666
43667
43668 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43669 -o "$wxUSE_CLIPBOARD" = "yes" \
43670 -o "$wxUSE_OLE" = "yes" \
43671 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43672 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43673 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43674 if test "${ac_cv_header_ole2_h+set}" = set; then
43675 echo $ECHO_N "(cached) $ECHO_C" >&6
43676 else
43677 cat >conftest.$ac_ext <<_ACEOF
43678 /* confdefs.h. */
43679 _ACEOF
43680 cat confdefs.h >>conftest.$ac_ext
43681 cat >>conftest.$ac_ext <<_ACEOF
43682 /* end confdefs.h. */
43683
43684
43685 #include <ole2.h>
43686 _ACEOF
43687 rm -f conftest.$ac_objext
43688 if { (ac_try="$ac_compile"
43689 case "(($ac_try" in
43690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43691 *) ac_try_echo=$ac_try;;
43692 esac
43693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43694 (eval "$ac_compile") 2>conftest.er1
43695 ac_status=$?
43696 grep -v '^ *+' conftest.er1 >conftest.err
43697 rm -f conftest.er1
43698 cat conftest.err >&5
43699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43700 (exit $ac_status); } && {
43701 test -z "$ac_c_werror_flag" ||
43702 test ! -s conftest.err
43703 } && test -s conftest.$ac_objext; then
43704 ac_cv_header_ole2_h=yes
43705 else
43706 echo "$as_me: failed program was:" >&5
43707 sed 's/^/| /' conftest.$ac_ext >&5
43708
43709 ac_cv_header_ole2_h=no
43710 fi
43711
43712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43713 fi
43714 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43715 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43716
43717
43718
43719 if test "$ac_cv_header_ole2_h" = "yes" ; then
43720 if test "$GCC" = yes ; then
43721 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43722 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43723 cat >conftest.$ac_ext <<_ACEOF
43724 /* confdefs.h. */
43725 _ACEOF
43726 cat confdefs.h >>conftest.$ac_ext
43727 cat >>conftest.$ac_ext <<_ACEOF
43728 /* end confdefs.h. */
43729 #include <windows.h>
43730 #include <ole2.h>
43731 int
43732 main ()
43733 {
43734
43735 ;
43736 return 0;
43737 }
43738 _ACEOF
43739 rm -f conftest.$ac_objext
43740 if { (ac_try="$ac_compile"
43741 case "(($ac_try" in
43742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43743 *) ac_try_echo=$ac_try;;
43744 esac
43745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43746 (eval "$ac_compile") 2>conftest.er1
43747 ac_status=$?
43748 grep -v '^ *+' conftest.er1 >conftest.err
43749 rm -f conftest.er1
43750 cat conftest.err >&5
43751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43752 (exit $ac_status); } && {
43753 test -z "$ac_c_werror_flag" ||
43754 test ! -s conftest.err
43755 } && test -s conftest.$ac_objext; then
43756 { echo "$as_me:$LINENO: result: no" >&5
43757 echo "${ECHO_T}no" >&6; }
43758 else
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.$ac_ext >&5
43761
43762 { echo "$as_me:$LINENO: result: yes" >&5
43763 echo "${ECHO_T}yes" >&6; }
43764 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43765 fi
43766
43767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43768 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43769 if test "$wxUSE_OLE" = "yes" ; then
43770 cat >>confdefs.h <<\_ACEOF
43771 #define wxUSE_OLE 1
43772 _ACEOF
43773
43774 cat >>confdefs.h <<\_ACEOF
43775 #define wxUSE_OLE_AUTOMATION 1
43776 _ACEOF
43777
43778 cat >>confdefs.h <<\_ACEOF
43779 #define wxUSE_ACTIVEX 1
43780 _ACEOF
43781
43782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43783 fi
43784 fi
43785
43786 if test "$wxUSE_DATAOBJ" = "yes" ; then
43787 cat >>confdefs.h <<\_ACEOF
43788 #define wxUSE_DATAOBJ 1
43789 _ACEOF
43790
43791 fi
43792 else
43793 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43794 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43795
43796 wxUSE_CLIPBOARD=no
43797 wxUSE_DRAG_AND_DROP=no
43798 wxUSE_DATAOBJ=no
43799 wxUSE_OLE=no
43800 fi
43801
43802 if test "$wxUSE_METAFILE" = "yes"; then
43803 cat >>confdefs.h <<\_ACEOF
43804 #define wxUSE_METAFILE 1
43805 _ACEOF
43806
43807
43808 cat >>confdefs.h <<\_ACEOF
43809 #define wxUSE_ENH_METAFILE 1
43810 _ACEOF
43811
43812 fi
43813 fi
43814
43815 if test "$wxUSE_IPC" = "yes"; then
43816 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43817 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43818 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43819 wxUSE_IPC=no
43820 fi
43821
43822 if test "$wxUSE_IPC" = "yes"; then
43823 cat >>confdefs.h <<\_ACEOF
43824 #define wxUSE_IPC 1
43825 _ACEOF
43826
43827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43828 fi
43829 fi
43830
43831 if test "$wxUSE_DATAOBJ" = "yes"; then
43832 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43833 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43834 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43835 wxUSE_DATAOBJ=no
43836 else
43837 cat >>confdefs.h <<\_ACEOF
43838 #define wxUSE_DATAOBJ 1
43839 _ACEOF
43840
43841 fi
43842 else
43843 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43844 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43845 wxUSE_CLIPBOARD=no
43846 wxUSE_DRAG_AND_DROP=no
43847 fi
43848
43849 if test "$wxUSE_CLIPBOARD" = "yes"; then
43850 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43851 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43852 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43853 wxUSE_CLIPBOARD=no
43854 fi
43855
43856 if test "$wxUSE_CLIPBOARD" = "yes"; then
43857 cat >>confdefs.h <<\_ACEOF
43858 #define wxUSE_CLIPBOARD 1
43859 _ACEOF
43860
43861 fi
43862 fi
43863
43864 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43865 if test "$wxUSE_GTK" = 1; then
43866 if test "$WXGTK12" != 1; then
43867 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43868 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43869 wxUSE_DRAG_AND_DROP=no
43870 fi
43871 fi
43872
43873 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43874 "$wxUSE_DFB" = 1; then
43875 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43876 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43877 wxUSE_DRAG_AND_DROP=no
43878 fi
43879
43880 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43881 cat >>confdefs.h <<\_ACEOF
43882 #define wxUSE_DRAG_AND_DROP 1
43883 _ACEOF
43884
43885 fi
43886
43887 fi
43888
43889 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43891 fi
43892
43893 if test "$wxUSE_SPLINES" = "yes" ; then
43894 cat >>confdefs.h <<\_ACEOF
43895 #define wxUSE_SPLINES 1
43896 _ACEOF
43897
43898 fi
43899
43900 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43901 cat >>confdefs.h <<\_ACEOF
43902 #define wxUSE_MOUSEWHEEL 1
43903 _ACEOF
43904
43905 fi
43906
43907
43908 USES_CONTROLS=0
43909 if test "$wxUSE_CONTROLS" = "yes"; then
43910 USES_CONTROLS=1
43911 fi
43912
43913 if test "$wxUSE_ACCEL" = "yes"; then
43914 cat >>confdefs.h <<\_ACEOF
43915 #define wxUSE_ACCEL 1
43916 _ACEOF
43917
43918 USES_CONTROLS=1
43919 fi
43920
43921 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43922 cat >>confdefs.h <<\_ACEOF
43923 #define wxUSE_ANIMATIONCTRL 1
43924 _ACEOF
43925
43926 USES_CONTROLS=1
43927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
43928 fi
43929
43930 if test "$wxUSE_BUTTON" = "yes"; then
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_BUTTON 1
43933 _ACEOF
43934
43935 USES_CONTROLS=1
43936 fi
43937
43938 if test "$wxUSE_BMPBUTTON" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_BMPBUTTON 1
43941 _ACEOF
43942
43943 USES_CONTROLS=1
43944 fi
43945
43946 if test "$wxUSE_CALCTRL" = "yes"; then
43947 cat >>confdefs.h <<\_ACEOF
43948 #define wxUSE_CALENDARCTRL 1
43949 _ACEOF
43950
43951 USES_CONTROLS=1
43952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43953 fi
43954
43955 if test "$wxUSE_CARET" = "yes"; then
43956 cat >>confdefs.h <<\_ACEOF
43957 #define wxUSE_CARET 1
43958 _ACEOF
43959
43960 USES_CONTROLS=1
43961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43962 fi
43963
43964 if test "$wxUSE_COLLPANE" = "yes"; then
43965 cat >>confdefs.h <<\_ACEOF
43966 #define wxUSE_COLLPANE 1
43967 _ACEOF
43968
43969 USES_CONTROLS=1
43970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
43971 fi
43972
43973 if test "$wxUSE_COMBOBOX" = "yes"; then
43974 cat >>confdefs.h <<\_ACEOF
43975 #define wxUSE_COMBOBOX 1
43976 _ACEOF
43977
43978 USES_CONTROLS=1
43979 fi
43980
43981 if test "$wxUSE_COMBOCTRL" = "yes"; then
43982 cat >>confdefs.h <<\_ACEOF
43983 #define wxUSE_COMBOCTRL 1
43984 _ACEOF
43985
43986 USES_CONTROLS=1
43987 fi
43988
43989 if test "$wxUSE_CHOICE" = "yes"; then
43990 cat >>confdefs.h <<\_ACEOF
43991 #define wxUSE_CHOICE 1
43992 _ACEOF
43993
43994 USES_CONTROLS=1
43995 fi
43996
43997 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43998 cat >>confdefs.h <<\_ACEOF
43999 #define wxUSE_CHOICEBOOK 1
44000 _ACEOF
44001
44002 USES_CONTROLS=1
44003 fi
44004
44005 if test "$wxUSE_CHECKBOX" = "yes"; then
44006 cat >>confdefs.h <<\_ACEOF
44007 #define wxUSE_CHECKBOX 1
44008 _ACEOF
44009
44010 USES_CONTROLS=1
44011 fi
44012
44013 if test "$wxUSE_CHECKLST" = "yes"; then
44014 cat >>confdefs.h <<\_ACEOF
44015 #define wxUSE_CHECKLISTBOX 1
44016 _ACEOF
44017
44018 USES_CONTROLS=1
44019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44020 fi
44021
44022 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44023 cat >>confdefs.h <<\_ACEOF
44024 #define wxUSE_COLOURPICKERCTRL 1
44025 _ACEOF
44026
44027 USES_CONTROLS=1
44028 fi
44029
44030 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44031 cat >>confdefs.h <<\_ACEOF
44032 #define wxUSE_DATEPICKCTRL 1
44033 _ACEOF
44034
44035 USES_CONTROLS=1
44036 fi
44037
44038 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44039 cat >>confdefs.h <<\_ACEOF
44040 #define wxUSE_DIRPICKERCTRL 1
44041 _ACEOF
44042
44043 USES_CONTROLS=1
44044 fi
44045
44046 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44047 cat >>confdefs.h <<\_ACEOF
44048 #define wxUSE_FILEPICKERCTRL 1
44049 _ACEOF
44050
44051 USES_CONTROLS=1
44052 fi
44053
44054 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44055 cat >>confdefs.h <<\_ACEOF
44056 #define wxUSE_FONTPICKERCTRL 1
44057 _ACEOF
44058
44059 USES_CONTROLS=1
44060 fi
44061
44062 if test "$wxUSE_DISPLAY" = "yes"; then
44063 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44064 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44065 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44066 wxUSE_DISPLAY=no
44067 else
44068 cat >>confdefs.h <<\_ACEOF
44069 #define wxUSE_DISPLAY 1
44070 _ACEOF
44071
44072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44073 fi
44074 fi
44075
44076 if test "$wxUSE_DETECT_SM" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_DETECT_SM 1
44079 _ACEOF
44080
44081 fi
44082
44083 if test "$wxUSE_GAUGE" = "yes"; then
44084 cat >>confdefs.h <<\_ACEOF
44085 #define wxUSE_GAUGE 1
44086 _ACEOF
44087
44088 USES_CONTROLS=1
44089 fi
44090
44091 if test "$wxUSE_GRID" = "yes"; then
44092 cat >>confdefs.h <<\_ACEOF
44093 #define wxUSE_GRID 1
44094 _ACEOF
44095
44096 USES_CONTROLS=1
44097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44098 fi
44099
44100 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44101 cat >>confdefs.h <<\_ACEOF
44102 #define wxUSE_HYPERLINKCTRL 1
44103 _ACEOF
44104
44105 USES_CONTROLS=1
44106 fi
44107
44108 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44109 cat >>confdefs.h <<\_ACEOF
44110 #define wxUSE_BITMAPCOMBOBOX 1
44111 _ACEOF
44112
44113 USES_CONTROLS=1
44114 fi
44115
44116 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44117 cat >>confdefs.h <<\_ACEOF
44118 #define wxUSE_DATAVIEWCTRL 1
44119 _ACEOF
44120
44121 USES_CONTROLS=1
44122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44123 fi
44124
44125 if test "$wxUSE_IMAGLIST" = "yes"; then
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_IMAGLIST 1
44128 _ACEOF
44129
44130 fi
44131
44132 if test "$wxUSE_LISTBOOK" = "yes"; then
44133 cat >>confdefs.h <<\_ACEOF
44134 #define wxUSE_LISTBOOK 1
44135 _ACEOF
44136
44137 USES_CONTROLS=1
44138 fi
44139
44140 if test "$wxUSE_LISTBOX" = "yes"; then
44141 cat >>confdefs.h <<\_ACEOF
44142 #define wxUSE_LISTBOX 1
44143 _ACEOF
44144
44145 USES_CONTROLS=1
44146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44147 fi
44148
44149 if test "$wxUSE_LISTCTRL" = "yes"; then
44150 if test "$wxUSE_IMAGLIST" = "yes"; then
44151 cat >>confdefs.h <<\_ACEOF
44152 #define wxUSE_LISTCTRL 1
44153 _ACEOF
44154
44155 USES_CONTROLS=1
44156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44157 else
44158 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44159 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44160 fi
44161 fi
44162
44163 if test "$wxUSE_NOTEBOOK" = "yes"; then
44164 cat >>confdefs.h <<\_ACEOF
44165 #define wxUSE_NOTEBOOK 1
44166 _ACEOF
44167
44168 USES_CONTROLS=1
44169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44170 fi
44171
44172 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44173 cat >>confdefs.h <<\_ACEOF
44174 #define wxUSE_ODCOMBOBOX 1
44175 _ACEOF
44176
44177 USES_CONTROLS=1
44178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44179 fi
44180
44181
44182 if test "$wxUSE_RADIOBOX" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_RADIOBOX 1
44185 _ACEOF
44186
44187 USES_CONTROLS=1
44188 fi
44189
44190 if test "$wxUSE_RADIOBTN" = "yes"; then
44191 cat >>confdefs.h <<\_ACEOF
44192 #define wxUSE_RADIOBTN 1
44193 _ACEOF
44194
44195 USES_CONTROLS=1
44196 fi
44197
44198 if test "$wxUSE_SASH" = "yes"; then
44199 cat >>confdefs.h <<\_ACEOF
44200 #define wxUSE_SASH 1
44201 _ACEOF
44202
44203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44204 fi
44205
44206 if test "$wxUSE_SCROLLBAR" = "yes"; then
44207 cat >>confdefs.h <<\_ACEOF
44208 #define wxUSE_SCROLLBAR 1
44209 _ACEOF
44210
44211 USES_CONTROLS=1
44212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44213 fi
44214
44215 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44216 cat >>confdefs.h <<\_ACEOF
44217 #define wxUSE_SEARCHCTRL 1
44218 _ACEOF
44219
44220 USES_CONTROLS=1
44221 fi
44222
44223 if test "$wxUSE_SLIDER" = "yes"; then
44224 cat >>confdefs.h <<\_ACEOF
44225 #define wxUSE_SLIDER 1
44226 _ACEOF
44227
44228 USES_CONTROLS=1
44229 fi
44230
44231 if test "$wxUSE_SPINBTN" = "yes"; then
44232 cat >>confdefs.h <<\_ACEOF
44233 #define wxUSE_SPINBTN 1
44234 _ACEOF
44235
44236 USES_CONTROLS=1
44237 fi
44238
44239 if test "$wxUSE_SPINCTRL" = "yes"; then
44240 cat >>confdefs.h <<\_ACEOF
44241 #define wxUSE_SPINCTRL 1
44242 _ACEOF
44243
44244 USES_CONTROLS=1
44245 fi
44246
44247 if test "$wxUSE_SPLITTER" = "yes"; then
44248 cat >>confdefs.h <<\_ACEOF
44249 #define wxUSE_SPLITTER 1
44250 _ACEOF
44251
44252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44253 fi
44254
44255 if test "$wxUSE_STATBMP" = "yes"; then
44256 cat >>confdefs.h <<\_ACEOF
44257 #define wxUSE_STATBMP 1
44258 _ACEOF
44259
44260 USES_CONTROLS=1
44261 fi
44262
44263 if test "$wxUSE_STATBOX" = "yes"; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_STATBOX 1
44266 _ACEOF
44267
44268 USES_CONTROLS=1
44269 fi
44270
44271 if test "$wxUSE_STATTEXT" = "yes"; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_STATTEXT 1
44274 _ACEOF
44275
44276 USES_CONTROLS=1
44277 fi
44278
44279 if test "$wxUSE_STATLINE" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_STATLINE 1
44282 _ACEOF
44283
44284 USES_CONTROLS=1
44285 fi
44286
44287 if test "$wxUSE_STATUSBAR" = "yes"; then
44288 cat >>confdefs.h <<\_ACEOF
44289 #define wxUSE_NATIVE_STATUSBAR 1
44290 _ACEOF
44291
44292 cat >>confdefs.h <<\_ACEOF
44293 #define wxUSE_STATUSBAR 1
44294 _ACEOF
44295
44296 USES_CONTROLS=1
44297
44298 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44299 fi
44300
44301 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44302 cat >>confdefs.h <<\_ACEOF
44303 #define wxUSE_TAB_DIALOG 1
44304 _ACEOF
44305
44306 fi
44307
44308 if test "$wxUSE_TEXTCTRL" = "yes"; then
44309 cat >>confdefs.h <<\_ACEOF
44310 #define wxUSE_TEXTCTRL 1
44311 _ACEOF
44312
44313 USES_CONTROLS=1
44314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44315 fi
44316
44317 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44318 if test "$wxUSE_COCOA" = 1 ; then
44319 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44320 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44321 wxUSE_TOGGLEBTN=no
44322 fi
44323
44324 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44325 cat >>confdefs.h <<\_ACEOF
44326 #define wxUSE_TOGGLEBTN 1
44327 _ACEOF
44328
44329 USES_CONTROLS=1
44330 fi
44331 fi
44332
44333 if test "$wxUSE_TOOLBAR" = "yes"; then
44334 cat >>confdefs.h <<\_ACEOF
44335 #define wxUSE_TOOLBAR 1
44336 _ACEOF
44337
44338 USES_CONTROLS=1
44339
44340 if test "$wxUSE_UNIVERSAL" = "yes"; then
44341 wxUSE_TOOLBAR_NATIVE="no"
44342 else
44343 wxUSE_TOOLBAR_NATIVE="yes"
44344 cat >>confdefs.h <<\_ACEOF
44345 #define wxUSE_TOOLBAR_NATIVE 1
44346 _ACEOF
44347
44348 fi
44349
44350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44351 fi
44352
44353 if test "$wxUSE_TOOLTIPS" = "yes"; then
44354 if test "$wxUSE_MOTIF" = 1; then
44355 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44356 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44357 else
44358 if test "$wxUSE_UNIVERSAL" = "yes"; then
44359 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44360 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44361 else
44362 cat >>confdefs.h <<\_ACEOF
44363 #define wxUSE_TOOLTIPS 1
44364 _ACEOF
44365
44366 fi
44367 fi
44368 fi
44369
44370 if test "$wxUSE_TREEBOOK" = "yes"; then
44371 cat >>confdefs.h <<\_ACEOF
44372 #define wxUSE_TREEBOOK 1
44373 _ACEOF
44374
44375 USES_CONTROLS=1
44376 fi
44377
44378 if test "$wxUSE_TOOLBOOK" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_TOOLBOOK 1
44381 _ACEOF
44382
44383 USES_CONTROLS=1
44384 fi
44385
44386 if test "$wxUSE_TREECTRL" = "yes"; then
44387 if test "$wxUSE_IMAGLIST" = "yes"; then
44388 cat >>confdefs.h <<\_ACEOF
44389 #define wxUSE_TREECTRL 1
44390 _ACEOF
44391
44392 USES_CONTROLS=1
44393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44394 else
44395 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44396 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44397 fi
44398 fi
44399
44400 if test "$wxUSE_POPUPWIN" = "yes"; then
44401 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44402 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44403 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44404 else
44405 if test "$wxUSE_PM" = 1; then
44406 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44407 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44408 else
44409 cat >>confdefs.h <<\_ACEOF
44410 #define wxUSE_POPUPWIN 1
44411 _ACEOF
44412
44413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44414
44415 USES_CONTROLS=1
44416 fi
44417 fi
44418 fi
44419
44420 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44421 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44422 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44423 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44424 else
44425 cat >>confdefs.h <<\_ACEOF
44426 #define wxUSE_DIALUP_MANAGER 1
44427 _ACEOF
44428
44429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44430 fi
44431 fi
44432
44433 if test "$wxUSE_TIPWINDOW" = "yes"; then
44434 if test "$wxUSE_PM" = 1; then
44435 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44436 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44437 else
44438 cat >>confdefs.h <<\_ACEOF
44439 #define wxUSE_TIPWINDOW 1
44440 _ACEOF
44441
44442 fi
44443 fi
44444
44445 if test "$USES_CONTROLS" = 1; then
44446 cat >>confdefs.h <<\_ACEOF
44447 #define wxUSE_CONTROLS 1
44448 _ACEOF
44449
44450 fi
44451
44452
44453 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44454 cat >>confdefs.h <<\_ACEOF
44455 #define wxUSE_ACCESSIBILITY 1
44456 _ACEOF
44457
44458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44459 fi
44460
44461 if test "$wxUSE_DC_CACHEING" = "yes"; then
44462 cat >>confdefs.h <<\_ACEOF
44463 #define wxUSE_DC_CACHEING 1
44464 _ACEOF
44465
44466 fi
44467
44468 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44469 cat >>confdefs.h <<\_ACEOF
44470 #define wxUSE_DRAGIMAGE 1
44471 _ACEOF
44472
44473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44474 fi
44475
44476 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44477 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44478 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44479 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44480 else
44481 cat >>confdefs.h <<\_ACEOF
44482 #define wxUSE_EXCEPTIONS 1
44483 _ACEOF
44484
44485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44486 fi
44487 fi
44488
44489 USE_HTML=0
44490 if test "$wxUSE_HTML" = "yes"; then
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_HTML 1
44493 _ACEOF
44494
44495 USE_HTML=1
44496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44497 if test "$wxUSE_MAC" = 1; then
44498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44499 fi
44500 fi
44501 if test "$wxUSE_WEBKIT" = "yes"; then
44502 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44503 old_CPPFLAGS="$CPPFLAGS"
44504 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44505 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44506 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44507 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44508 echo $ECHO_N "(cached) $ECHO_C" >&6
44509 else
44510 cat >conftest.$ac_ext <<_ACEOF
44511 /* confdefs.h. */
44512 _ACEOF
44513 cat confdefs.h >>conftest.$ac_ext
44514 cat >>conftest.$ac_ext <<_ACEOF
44515 /* end confdefs.h. */
44516
44517 #include <Carbon/Carbon.h>
44518 #include <WebKit/WebKit.h>
44519
44520
44521 #include <WebKit/HIWebView.h>
44522 _ACEOF
44523 rm -f conftest.$ac_objext
44524 if { (ac_try="$ac_compile"
44525 case "(($ac_try" in
44526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44527 *) ac_try_echo=$ac_try;;
44528 esac
44529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44530 (eval "$ac_compile") 2>conftest.er1
44531 ac_status=$?
44532 grep -v '^ *+' conftest.er1 >conftest.err
44533 rm -f conftest.er1
44534 cat conftest.err >&5
44535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536 (exit $ac_status); } && {
44537 test -z "$ac_c_werror_flag" ||
44538 test ! -s conftest.err
44539 } && test -s conftest.$ac_objext; then
44540 ac_cv_header_WebKit_HIWebView_h=yes
44541 else
44542 echo "$as_me: failed program was:" >&5
44543 sed 's/^/| /' conftest.$ac_ext >&5
44544
44545 ac_cv_header_WebKit_HIWebView_h=no
44546 fi
44547
44548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44549 fi
44550 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44551 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44552 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44553
44554 cat >>confdefs.h <<\_ACEOF
44555 #define wxUSE_WEBKIT 1
44556 _ACEOF
44557
44558 WEBKIT_LINK="-framework WebKit"
44559
44560 else
44561
44562 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44563 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44564 wxUSE_WEBKIT=no
44565
44566 fi
44567
44568
44569 CPPFLAGS="$old_CPPFLAGS"
44570 elif test "$wxUSE_COCOA" = 1; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_WEBKIT 1
44573 _ACEOF
44574
44575 else
44576 wxUSE_WEBKIT=no
44577 fi
44578 fi
44579
44580 USE_XRC=0
44581 if test "$wxUSE_XRC" = "yes"; then
44582 if test "$wxUSE_XML" != "yes"; then
44583 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44584 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44585 wxUSE_XRC=no
44586 else
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_XRC 1
44589 _ACEOF
44590
44591 USE_XRC=1
44592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44593 fi
44594 fi
44595
44596 USE_AUI=0
44597 if test "$wxUSE_AUI" = "yes"; then
44598 cat >>confdefs.h <<\_ACEOF
44599 #define wxUSE_AUI 1
44600 _ACEOF
44601
44602 USE_AUI=1
44603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44604 fi
44605
44606 USE_STC=0
44607 if test "$wxUSE_STC" = "yes"; then
44608 cat >>confdefs.h <<\_ACEOF
44609 #define wxUSE_STC 1
44610 _ACEOF
44611
44612 USE_STC=1
44613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44614 fi
44615
44616 if test "$wxUSE_MENUS" = "yes"; then
44617 cat >>confdefs.h <<\_ACEOF
44618 #define wxUSE_MENUS 1
44619 _ACEOF
44620
44621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44622 fi
44623
44624 if test "$wxUSE_METAFILE" = "yes"; then
44625 cat >>confdefs.h <<\_ACEOF
44626 #define wxUSE_METAFILE 1
44627 _ACEOF
44628
44629 fi
44630
44631 if test "$wxUSE_MIMETYPE" = "yes"; then
44632 cat >>confdefs.h <<\_ACEOF
44633 #define wxUSE_MIMETYPE 1
44634 _ACEOF
44635
44636 fi
44637
44638 if test "$wxUSE_MINIFRAME" = "yes"; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_MINIFRAME 1
44641 _ACEOF
44642
44643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44644 fi
44645
44646 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44647 cat >>confdefs.h <<\_ACEOF
44648 #define wxUSE_SYSTEM_OPTIONS 1
44649 _ACEOF
44650
44651 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44652 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44654 fi
44655 fi
44656
44657
44658 if test "$wxUSE_VALIDATORS" = "yes"; then
44659 cat >>confdefs.h <<\_ACEOF
44660 #define wxUSE_VALIDATORS 1
44661 _ACEOF
44662
44663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44664 fi
44665
44666 if test "$wxUSE_PALETTE" = "yes" ; then
44667 if test "$wxUSE_DFB" = 1; then
44668 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44669 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44670 wxUSE_PALETTE=no
44671 else
44672 cat >>confdefs.h <<\_ACEOF
44673 #define wxUSE_PALETTE 1
44674 _ACEOF
44675
44676 fi
44677 fi
44678
44679 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44680 LIBS=" -lunicows $LIBS"
44681 fi
44682
44683 USE_RICHTEXT=0
44684 if test "$wxUSE_RICHTEXT" = "yes"; then
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_RICHTEXT 1
44687 _ACEOF
44688
44689 USE_RICHTEXT=1
44690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44691 fi
44692
44693
44694 if test "$wxUSE_IMAGE" = "yes" ; then
44695 cat >>confdefs.h <<\_ACEOF
44696 #define wxUSE_IMAGE 1
44697 _ACEOF
44698
44699
44700 if test "$wxUSE_GIF" = "yes" ; then
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_GIF 1
44703 _ACEOF
44704
44705 fi
44706
44707 if test "$wxUSE_PCX" = "yes" ; then
44708 cat >>confdefs.h <<\_ACEOF
44709 #define wxUSE_PCX 1
44710 _ACEOF
44711
44712 fi
44713
44714 if test "$wxUSE_TGA" = "yes" ; then
44715 cat >>confdefs.h <<\_ACEOF
44716 #define wxUSE_TGA 1
44717 _ACEOF
44718
44719 fi
44720
44721 if test "$wxUSE_IFF" = "yes" ; then
44722 cat >>confdefs.h <<\_ACEOF
44723 #define wxUSE_IFF 1
44724 _ACEOF
44725
44726 fi
44727
44728 if test "$wxUSE_PNM" = "yes" ; then
44729 cat >>confdefs.h <<\_ACEOF
44730 #define wxUSE_PNM 1
44731 _ACEOF
44732
44733 fi
44734
44735 if test "$wxUSE_XPM" = "yes" ; then
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_XPM 1
44738 _ACEOF
44739
44740 fi
44741
44742 if test "$wxUSE_ICO_CUR" = "yes" ; then
44743 cat >>confdefs.h <<\_ACEOF
44744 #define wxUSE_ICO_CUR 1
44745 _ACEOF
44746
44747 fi
44748 fi
44749
44750
44751 if test "$wxUSE_ABOUTDLG" = "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define wxUSE_ABOUTDLG 1
44754 _ACEOF
44755
44756 fi
44757
44758 if test "$wxUSE_CHOICEDLG" = "yes"; then
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_CHOICEDLG 1
44761 _ACEOF
44762
44763 fi
44764
44765 if test "$wxUSE_COLOURDLG" = "yes"; then
44766 cat >>confdefs.h <<\_ACEOF
44767 #define wxUSE_COLOURDLG 1
44768 _ACEOF
44769
44770 fi
44771
44772 if test "$wxUSE_FILEDLG" = "yes"; then
44773 cat >>confdefs.h <<\_ACEOF
44774 #define wxUSE_FILEDLG 1
44775 _ACEOF
44776
44777 fi
44778
44779 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44780 cat >>confdefs.h <<\_ACEOF
44781 #define wxUSE_FINDREPLDLG 1
44782 _ACEOF
44783
44784 fi
44785
44786 if test "$wxUSE_FONTDLG" = "yes"; then
44787 cat >>confdefs.h <<\_ACEOF
44788 #define wxUSE_FONTDLG 1
44789 _ACEOF
44790
44791 fi
44792
44793 if test "$wxUSE_DIRDLG" = "yes"; then
44794 if test "$wxUSE_TREECTRL" != "yes"; then
44795 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44796 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44797 else
44798 cat >>confdefs.h <<\_ACEOF
44799 #define wxUSE_DIRDLG 1
44800 _ACEOF
44801
44802 fi
44803 fi
44804
44805 if test "$wxUSE_MSGDLG" = "yes"; then
44806 cat >>confdefs.h <<\_ACEOF
44807 #define wxUSE_MSGDLG 1
44808 _ACEOF
44809
44810 fi
44811
44812 if test "$wxUSE_NUMBERDLG" = "yes"; then
44813 cat >>confdefs.h <<\_ACEOF
44814 #define wxUSE_NUMBERDLG 1
44815 _ACEOF
44816
44817 fi
44818
44819 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44820 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44821 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44822 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44823 else
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_PROGRESSDLG 1
44826 _ACEOF
44827
44828 fi
44829 fi
44830
44831 if test "$wxUSE_SPLASH" = "yes"; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_SPLASH 1
44834 _ACEOF
44835
44836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44837 fi
44838
44839 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44840 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44841 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44842 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44843 else
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_STARTUP_TIPS 1
44846 _ACEOF
44847
44848 fi
44849 fi
44850
44851 if test "$wxUSE_TEXTDLG" = "yes"; then
44852 cat >>confdefs.h <<\_ACEOF
44853 #define wxUSE_TEXTDLG 1
44854 _ACEOF
44855
44856 fi
44857
44858 if test "$wxUSE_WIZARDDLG" = "yes"; then
44859 cat >>confdefs.h <<\_ACEOF
44860 #define wxUSE_WIZARDDLG 1
44861 _ACEOF
44862
44863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44864 fi
44865
44866
44867 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44868 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_GRAPHICS_CONTEXT 1
44871 _ACEOF
44872
44873 elif test "$wxUSE_GTK" != 1; then
44874 cat >>confdefs.h <<\_ACEOF
44875 #define wxUSE_GRAPHICS_CONTEXT 1
44876 _ACEOF
44877
44878 else
44879
44880 pkg_failed=no
44881 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44882 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44883
44884 if test -n "$PKG_CONFIG"; then
44885 if test -n "$CAIRO_CFLAGS"; then
44886 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44887 else
44888 if test -n "$PKG_CONFIG" && \
44889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44890 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44891 ac_status=$?
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); }; then
44894 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44895 else
44896 pkg_failed=yes
44897 fi
44898 fi
44899 else
44900 pkg_failed=untried
44901 fi
44902 if test -n "$PKG_CONFIG"; then
44903 if test -n "$CAIRO_LIBS"; then
44904 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
44905 else
44906 if test -n "$PKG_CONFIG" && \
44907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44908 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44909 ac_status=$?
44910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44911 (exit $ac_status); }; then
44912 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
44913 else
44914 pkg_failed=yes
44915 fi
44916 fi
44917 else
44918 pkg_failed=untried
44919 fi
44920
44921
44922
44923 if test $pkg_failed = yes; then
44924
44925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44926 _pkg_short_errors_supported=yes
44927 else
44928 _pkg_short_errors_supported=no
44929 fi
44930 if test $_pkg_short_errors_supported = yes; then
44931 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
44932 else
44933 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
44934 fi
44935 # Put the nasty error message in config.log where it belongs
44936 echo "$CAIRO_PKG_ERRORS" >&5
44937
44938 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44939 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44940
44941 elif test $pkg_failed = untried; then
44942 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44943 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44944
44945 else
44946 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
44947 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
44948 { echo "$as_me:$LINENO: result: yes" >&5
44949 echo "${ECHO_T}yes" >&6; }
44950 cat >>confdefs.h <<\_ACEOF
44951 #define wxUSE_GRAPHICS_CONTEXT 1
44952 _ACEOF
44953
44954 fi
44955 fi
44956 fi
44957
44958
44959 USE_MEDIA=0
44960
44961 if test "$wxUSE_MEDIACTRL" = "yes"; then
44962 USE_MEDIA=1
44963
44964 if test "$wxUSE_GTK" = 1; then
44965 wxUSE_GSTREAMER="no"
44966
44967 GST_VERSION_MAJOR=0
44968 GST_VERSION_MINOR=10
44969 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44970
44971 if test "$wxUSE_GSTREAMER8" = "no"; then
44972
44973 pkg_failed=no
44974 { echo "$as_me:$LINENO: checking for GST" >&5
44975 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44976
44977 if test -n "$PKG_CONFIG"; then
44978 if test -n "$GST_CFLAGS"; then
44979 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44980 else
44981 if test -n "$PKG_CONFIG" && \
44982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44983 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44984 ac_status=$?
44985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44986 (exit $ac_status); }; then
44987 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44988 else
44989 pkg_failed=yes
44990 fi
44991 fi
44992 else
44993 pkg_failed=untried
44994 fi
44995 if test -n "$PKG_CONFIG"; then
44996 if test -n "$GST_LIBS"; then
44997 pkg_cv_GST_LIBS="$GST_LIBS"
44998 else
44999 if test -n "$PKG_CONFIG" && \
45000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45001 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45002 ac_status=$?
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); }; then
45005 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45006 else
45007 pkg_failed=yes
45008 fi
45009 fi
45010 else
45011 pkg_failed=untried
45012 fi
45013
45014
45015
45016 if test $pkg_failed = yes; then
45017
45018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45019 _pkg_short_errors_supported=yes
45020 else
45021 _pkg_short_errors_supported=no
45022 fi
45023 if test $_pkg_short_errors_supported = yes; then
45024 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45025 else
45026 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45027 fi
45028 # Put the nasty error message in config.log where it belongs
45029 echo "$GST_PKG_ERRORS" >&5
45030
45031
45032 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45033 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45034 GST_VERSION_MINOR=8
45035
45036
45037 elif test $pkg_failed = untried; then
45038
45039 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45040 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45041 GST_VERSION_MINOR=8
45042
45043
45044 else
45045 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45046 GST_LIBS=$pkg_cv_GST_LIBS
45047 { echo "$as_me:$LINENO: result: yes" >&5
45048 echo "${ECHO_T}yes" >&6; }
45049
45050 wxUSE_GSTREAMER="yes"
45051 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45052
45053 fi
45054 else
45055 GST_VERSION_MINOR=8
45056 fi
45057
45058 if test $GST_VERSION_MINOR = "8"; then
45059 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45060
45061 pkg_failed=no
45062 { echo "$as_me:$LINENO: checking for GST" >&5
45063 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45064
45065 if test -n "$PKG_CONFIG"; then
45066 if test -n "$GST_CFLAGS"; then
45067 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45068 else
45069 if test -n "$PKG_CONFIG" && \
45070 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45071 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45072 ac_status=$?
45073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45074 (exit $ac_status); }; then
45075 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45076 else
45077 pkg_failed=yes
45078 fi
45079 fi
45080 else
45081 pkg_failed=untried
45082 fi
45083 if test -n "$PKG_CONFIG"; then
45084 if test -n "$GST_LIBS"; then
45085 pkg_cv_GST_LIBS="$GST_LIBS"
45086 else
45087 if test -n "$PKG_CONFIG" && \
45088 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45089 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45090 ac_status=$?
45091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45092 (exit $ac_status); }; then
45093 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45094 else
45095 pkg_failed=yes
45096 fi
45097 fi
45098 else
45099 pkg_failed=untried
45100 fi
45101
45102
45103
45104 if test $pkg_failed = yes; then
45105
45106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45107 _pkg_short_errors_supported=yes
45108 else
45109 _pkg_short_errors_supported=no
45110 fi
45111 if test $_pkg_short_errors_supported = yes; then
45112 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45113 else
45114 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45115 fi
45116 # Put the nasty error message in config.log where it belongs
45117 echo "$GST_PKG_ERRORS" >&5
45118
45119
45120 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45121 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45122
45123 elif test $pkg_failed = untried; then
45124
45125 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45126 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45127
45128 else
45129 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45130 GST_LIBS=$pkg_cv_GST_LIBS
45131 { echo "$as_me:$LINENO: result: yes" >&5
45132 echo "${ECHO_T}yes" >&6; }
45133 wxUSE_GSTREAMER="yes"
45134 fi
45135 fi
45136
45137
45138 if test "$wxUSE_GSTREAMER" = "yes"; then
45139 case "${host}" in
45140 *-*-solaris2* )
45141 if "$GCC" = yes; then
45142 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45143 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45144 fi
45145 esac
45146
45147 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45148 LIBS="$GST_LIBS $LIBS"
45149
45150 cat >>confdefs.h <<\_ACEOF
45151 #define wxUSE_GSTREAMER 1
45152 _ACEOF
45153
45154 else
45155 USE_MEDIA=0
45156 fi
45157 fi
45158
45159 if test $USE_MEDIA = 1; then
45160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45161 cat >>confdefs.h <<\_ACEOF
45162 #define wxUSE_MEDIACTRL 1
45163 _ACEOF
45164
45165 fi
45166 fi
45167
45168
45169 if test "$cross_compiling" = "yes"; then
45170 OSINFO="\"$host\""
45171 else
45172 OSINFO=`uname -s -r -m`
45173 OSINFO="\"$OSINFO\""
45174 fi
45175
45176 cat >>confdefs.h <<_ACEOF
45177 #define WXWIN_OS_DESCRIPTION $OSINFO
45178 _ACEOF
45179
45180
45181
45182 if test "x$prefix" != "xNONE"; then
45183 wxPREFIX=$prefix
45184 else
45185 wxPREFIX=$ac_default_prefix
45186 fi
45187
45188 cat >>confdefs.h <<_ACEOF
45189 #define wxINSTALL_PREFIX "$wxPREFIX"
45190 _ACEOF
45191
45192
45193
45194
45195 CORE_BASE_LIBS="net base"
45196 CORE_GUI_LIBS="adv core"
45197
45198 if test "$wxUSE_XML" = "yes" ; then
45199 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45200 fi
45201 if test "$wxUSE_ODBC" != "no" ; then
45202 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45203 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45204 fi
45205 if test "$wxUSE_HTML" = "yes" ; then
45206 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45207 fi
45208 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45209 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45210 fi
45211 if test "$wxUSE_XRC" = "yes" ; then
45212 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45213 fi
45214 if test "$wxUSE_AUI" = "yes" ; then
45215 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45216 fi
45217 if test "$wxUSE_STC" = "yes" ; then
45218 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45219 fi
45220
45221 if test "$wxUSE_GUI" != "yes"; then
45222 CORE_GUI_LIBS=""
45223 fi
45224
45225
45226
45227
45228
45229
45230 if test "$wxUSE_MAC" = 1 ; then
45231 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45232 if test "$USE_DARWIN" = 1; then
45233 LDFLAGS="$LDFLAGS -framework QuickTime"
45234 else
45235 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45236 fi
45237 fi
45238 if test "$USE_DARWIN" = 1; then
45239 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45240 else
45241 LDFLAGS="$LDFLAGS -lCarbonLib"
45242 fi
45243 fi
45244 if test "$wxUSE_COCOA" = 1 ; then
45245 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45246 if test "$wxUSE_MEDIACTRL" = "yes"; then
45247 LDFLAGS="$LDFLAGS -framework QuickTime"
45248 fi
45249 fi
45250 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45251 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45252 fi
45253
45254 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45255
45256 if test "$wxUSE_GUI" = "yes"; then
45257
45258
45259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45260 dynamic erase event exec font image minimal mobile \
45261 mobile/wxedit mobile/styles propsize render \
45262 rotate shaped svg taborder vscroll widgets"
45263
45264 if test "$wxUSE_MONOLITHIC" != "yes"; then
45265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45266 fi
45267 if test "$TOOLKIT" = "MSW"; then
45268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45269 if test "$wxUSE_UNIVERSAL" != "yes"; then
45270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45271 fi
45272 fi
45273 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45275 fi
45276 else
45277 SAMPLES_SUBDIRS="console"
45278 fi
45279
45280
45281 if test "x$INTELCC" = "xyes" ; then
45282 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45283 elif test "$GCC" = yes ; then
45284 CWARNINGS="-Wall -Wundef"
45285 fi
45286
45287 if test "x$INTELCXX" = "xyes" ; then
45288 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45289 elif test "$GXX" = yes ; then
45290 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45291 fi
45292
45293
45294 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45295 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45296
45297
45298 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45299 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45300 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45301 $CPPFLAGS `
45302
45303 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45304 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45305 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45306
45307 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45308
45309
45310 if test "x$MWCC" = "xyes"; then
45311
45312 CC="$CC -cwd source -I-"
45313 CXX="$CXX -cwd source -I-"
45314 fi
45315
45316
45317 LIBS=`echo $LIBS`
45318 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45319 EXTRALIBS_XML="$EXPAT_LINK"
45320 EXTRALIBS_HTML="$MSPACK_LINK"
45321 EXTRALIBS_ODBC="$ODBC_LINK"
45322 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45323 if test "$wxUSE_GUI" = "yes"; then
45324 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45325 fi
45326 if test "$wxUSE_OPENGL" = "yes"; then
45327 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45328 fi
45329
45330 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45331
45332 WXCONFIG_LIBS="$LIBS"
45333
45334 if test "$wxUSE_REGEX" = "builtin" ; then
45335 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45336 fi
45337 if test "$wxUSE_EXPAT" = "builtin" ; then
45338 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45339 fi
45340 if test "$wxUSE_ODBC" = "builtin" ; then
45341 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45342 fi
45343 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45344 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45345 fi
45346 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45347 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45348 fi
45349 if test "$wxUSE_LIBPNG" = "builtin" ; then
45350 wxconfig_3rdparty="png $wxconfig_3rdparty"
45351 fi
45352 if test "$wxUSE_ZLIB" = "builtin" ; then
45353 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45354 fi
45355
45356 for i in $wxconfig_3rdparty ; do
45357 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45358 done
45359
45360
45361 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45362 WXUNIV=1
45363
45364 case "$wxUNIV_THEMES" in
45365 ''|all)
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_ALL_THEMES 1
45368 _ACEOF
45369
45370 ;;
45371
45372 *)
45373 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45374 cat >>confdefs.h <<_ACEOF
45375 #define wxUSE_THEME_$t 1
45376 _ACEOF
45377
45378 done
45379 esac
45380 else
45381 WXUNIV=0
45382 fi
45383
45384
45385
45386
45387
45388
45389
45390
45391
45392 if test $wxUSE_MONOLITHIC = "yes" ; then
45393 MONOLITHIC=1
45394 else
45395 MONOLITHIC=0
45396 fi
45397
45398 if test $wxUSE_PLUGINS = "yes" ; then
45399 USE_PLUGINS=1
45400 else
45401 USE_PLUGINS=0
45402 fi
45403
45404 if test $wxUSE_ODBC != "no" ; then
45405 USE_ODBC=1
45406 else
45407 USE_ODBC=0
45408 fi
45409
45410 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45411 USE_QA=1
45412 else
45413 USE_QA=0
45414 fi
45415
45416 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45417 OFFICIAL_BUILD=1
45418 else
45419 OFFICIAL_BUILD=0
45420 fi
45421
45422
45423
45424
45425
45426
45427
45428
45429
45430
45431
45432
45433
45434
45435
45436
45437
45438
45439
45440
45441
45442
45443
45444
45445
45446 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45447
45448
45449
45450
45451
45452
45453
45454
45455 case "$TOOLKIT" in
45456 GTK)
45457 TOOLKIT_DESC="GTK+"
45458 if test "$WXGTK20" = 1; then
45459 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45460 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45461 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45462 fi
45463 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45464 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45465 fi
45466 if test "$wxUSE_LIBHILDON" = "yes"; then
45467 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45468 fi
45469
45470 if test "$TOOLKIT_EXTRA" != ""; then
45471 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45472 fi
45473 fi
45474 ;;
45475
45476 ?*)
45477 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45478 ;;
45479
45480 *)
45481 TOOLKIT_DESC="base only"
45482 ;;
45483 esac
45484
45485 if test "$wxUSE_WINE" = "yes"; then
45486 BAKEFILE_FORCE_PLATFORM=win32
45487 fi
45488
45489 if test "$wxUSE_MAC" = 1 ; then
45490 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45491 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45492 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45493 else
45494 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45495 fi
45496 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45497 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45498 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45499 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45500 bk_use_pch=no
45501 fi
45502 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45503 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45504 fi
45505
45506 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45507 then
45508 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45509 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45510 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45511 echo $ECHO_N "(cached) $ECHO_C" >&6
45512 else
45513
45514 echo '#include <stdio.h>
45515 const wchar_t test_var[] = L"awidetest";' > conftest.h
45516
45517 echo '#include "conftest.h"
45518 int main()
45519 {
45520 printf("%ls", test_var);
45521 return 0;
45522 }' > conftest.cpp
45523
45524 wx_cv_gcc_pch_bug="pch not supported"
45525
45526 if $CXX conftest.h >/dev/null 2>&1
45527 then
45528 wx_cv_gcc_pch_bug=
45529
45530 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45531 then
45532 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45533 grep awidetest >/dev/null
45534 then
45535 wx_cv_gcc_pch_bug=no
45536 else
45537 wx_cv_gcc_pch_bug=yes
45538 fi
45539 fi
45540 fi
45541
45542 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45543
45544 fi
45545 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45546 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45547
45548 if test "$wx_cv_gcc_pch_bug" = yes; then
45549 bk_use_pch=no
45550 fi
45551 fi
45552
45553
45554
45555
45556 if test "x$BAKEFILE_HOST" = "x"; then
45557 if test "x${host}" = "x" ; then
45558 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45559 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45560 { (exit 1); exit 1; }; }
45561 fi
45562
45563 BAKEFILE_HOST="${host}"
45564 fi
45565
45566 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45567
45568 if test -n "$ac_tool_prefix"; then
45569 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45570 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45573 if test "${ac_cv_prog_RANLIB+set}" = set; then
45574 echo $ECHO_N "(cached) $ECHO_C" >&6
45575 else
45576 if test -n "$RANLIB"; then
45577 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45578 else
45579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45580 for as_dir in $PATH
45581 do
45582 IFS=$as_save_IFS
45583 test -z "$as_dir" && as_dir=.
45584 for ac_exec_ext in '' $ac_executable_extensions; do
45585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45586 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45588 break 2
45589 fi
45590 done
45591 done
45592 IFS=$as_save_IFS
45593
45594 fi
45595 fi
45596 RANLIB=$ac_cv_prog_RANLIB
45597 if test -n "$RANLIB"; then
45598 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45599 echo "${ECHO_T}$RANLIB" >&6; }
45600 else
45601 { echo "$as_me:$LINENO: result: no" >&5
45602 echo "${ECHO_T}no" >&6; }
45603 fi
45604
45605
45606 fi
45607 if test -z "$ac_cv_prog_RANLIB"; then
45608 ac_ct_RANLIB=$RANLIB
45609 # Extract the first word of "ranlib", so it can be a program name with args.
45610 set dummy ranlib; ac_word=$2
45611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45613 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45614 echo $ECHO_N "(cached) $ECHO_C" >&6
45615 else
45616 if test -n "$ac_ct_RANLIB"; then
45617 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45618 else
45619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45620 for as_dir in $PATH
45621 do
45622 IFS=$as_save_IFS
45623 test -z "$as_dir" && as_dir=.
45624 for ac_exec_ext in '' $ac_executable_extensions; do
45625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45626 ac_cv_prog_ac_ct_RANLIB="ranlib"
45627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45628 break 2
45629 fi
45630 done
45631 done
45632 IFS=$as_save_IFS
45633
45634 fi
45635 fi
45636 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45637 if test -n "$ac_ct_RANLIB"; then
45638 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45639 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45640 else
45641 { echo "$as_me:$LINENO: result: no" >&5
45642 echo "${ECHO_T}no" >&6; }
45643 fi
45644
45645 if test "x$ac_ct_RANLIB" = x; then
45646 RANLIB=":"
45647 else
45648 case $cross_compiling:$ac_tool_warned in
45649 yes:)
45650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45651 whose name does not start with the host triplet. If you think this
45652 configuration is useful to you, please write to autoconf@gnu.org." >&5
45653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45654 whose name does not start with the host triplet. If you think this
45655 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45656 ac_tool_warned=yes ;;
45657 esac
45658 RANLIB=$ac_ct_RANLIB
45659 fi
45660 else
45661 RANLIB="$ac_cv_prog_RANLIB"
45662 fi
45663
45664 # Find a good install program. We prefer a C program (faster),
45665 # so one script is as good as another. But avoid the broken or
45666 # incompatible versions:
45667 # SysV /etc/install, /usr/sbin/install
45668 # SunOS /usr/etc/install
45669 # IRIX /sbin/install
45670 # AIX /bin/install
45671 # AmigaOS /C/install, which installs bootblocks on floppy discs
45672 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45673 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45674 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45675 # OS/2's system install, which has a completely different semantic
45676 # ./install, which can be erroneously created by make from ./install.sh.
45677 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45678 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45679 if test -z "$INSTALL"; then
45680 if test "${ac_cv_path_install+set}" = set; then
45681 echo $ECHO_N "(cached) $ECHO_C" >&6
45682 else
45683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45684 for as_dir in $PATH
45685 do
45686 IFS=$as_save_IFS
45687 test -z "$as_dir" && as_dir=.
45688 # Account for people who put trailing slashes in PATH elements.
45689 case $as_dir/ in
45690 ./ | .// | /cC/* | \
45691 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45692 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45693 /usr/ucb/* ) ;;
45694 *)
45695 # OSF1 and SCO ODT 3.0 have their own names for install.
45696 # Don't use installbsd from OSF since it installs stuff as root
45697 # by default.
45698 for ac_prog in ginstall scoinst install; do
45699 for ac_exec_ext in '' $ac_executable_extensions; do
45700 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45701 if test $ac_prog = install &&
45702 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45703 # AIX install. It has an incompatible calling convention.
45704 :
45705 elif test $ac_prog = install &&
45706 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45707 # program-specific install script used by HP pwplus--don't use.
45708 :
45709 else
45710 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45711 break 3
45712 fi
45713 fi
45714 done
45715 done
45716 ;;
45717 esac
45718 done
45719 IFS=$as_save_IFS
45720
45721
45722 fi
45723 if test "${ac_cv_path_install+set}" = set; then
45724 INSTALL=$ac_cv_path_install
45725 else
45726 # As a last resort, use the slow shell script. Don't cache a
45727 # value for INSTALL within a source directory, because that will
45728 # break other packages using the cache if that directory is
45729 # removed, or if the value is a relative name.
45730 INSTALL=$ac_install_sh
45731 fi
45732 fi
45733 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45734 echo "${ECHO_T}$INSTALL" >&6; }
45735
45736 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45737 # It thinks the first close brace ends the variable substitution.
45738 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45739
45740 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45741
45742 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45743
45744 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45745 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45746 LN_S=$as_ln_s
45747 if test "$LN_S" = "ln -s"; then
45748 { echo "$as_me:$LINENO: result: yes" >&5
45749 echo "${ECHO_T}yes" >&6; }
45750 else
45751 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45752 echo "${ECHO_T}no, using $LN_S" >&6; }
45753 fi
45754
45755
45756 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45757 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45758 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45759 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45760 echo $ECHO_N "(cached) $ECHO_C" >&6
45761 else
45762 cat >conftest.make <<\_ACEOF
45763 SHELL = /bin/sh
45764 all:
45765 @echo '@@@%%%=$(MAKE)=@@@%%%'
45766 _ACEOF
45767 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45768 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45769 *@@@%%%=?*=@@@%%%*)
45770 eval ac_cv_prog_make_${ac_make}_set=yes;;
45771 *)
45772 eval ac_cv_prog_make_${ac_make}_set=no;;
45773 esac
45774 rm -f conftest.make
45775 fi
45776 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45777 { echo "$as_me:$LINENO: result: yes" >&5
45778 echo "${ECHO_T}yes" >&6; }
45779 SET_MAKE=
45780 else
45781 { echo "$as_me:$LINENO: result: no" >&5
45782 echo "${ECHO_T}no" >&6; }
45783 SET_MAKE="MAKE=${MAKE-make}"
45784 fi
45785
45786
45787
45788 if test "x$SUNCXX" = "xyes"; then
45789 AR=$CXX
45790 AROPTIONS="-xar -o"
45791
45792 elif test "x$SGICC" = "xyes"; then
45793 AR=$CXX
45794 AROPTIONS="-ar -o"
45795
45796 else
45797 if test -n "$ac_tool_prefix"; then
45798 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45799 set dummy ${ac_tool_prefix}ar; ac_word=$2
45800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45802 if test "${ac_cv_prog_AR+set}" = set; then
45803 echo $ECHO_N "(cached) $ECHO_C" >&6
45804 else
45805 if test -n "$AR"; then
45806 ac_cv_prog_AR="$AR" # Let the user override the test.
45807 else
45808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45809 for as_dir in $PATH
45810 do
45811 IFS=$as_save_IFS
45812 test -z "$as_dir" && as_dir=.
45813 for ac_exec_ext in '' $ac_executable_extensions; do
45814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45815 ac_cv_prog_AR="${ac_tool_prefix}ar"
45816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45817 break 2
45818 fi
45819 done
45820 done
45821 IFS=$as_save_IFS
45822
45823 fi
45824 fi
45825 AR=$ac_cv_prog_AR
45826 if test -n "$AR"; then
45827 { echo "$as_me:$LINENO: result: $AR" >&5
45828 echo "${ECHO_T}$AR" >&6; }
45829 else
45830 { echo "$as_me:$LINENO: result: no" >&5
45831 echo "${ECHO_T}no" >&6; }
45832 fi
45833
45834
45835 fi
45836 if test -z "$ac_cv_prog_AR"; then
45837 ac_ct_AR=$AR
45838 # Extract the first word of "ar", so it can be a program name with args.
45839 set dummy ar; ac_word=$2
45840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45842 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45843 echo $ECHO_N "(cached) $ECHO_C" >&6
45844 else
45845 if test -n "$ac_ct_AR"; then
45846 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45847 else
45848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45849 for as_dir in $PATH
45850 do
45851 IFS=$as_save_IFS
45852 test -z "$as_dir" && as_dir=.
45853 for ac_exec_ext in '' $ac_executable_extensions; do
45854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45855 ac_cv_prog_ac_ct_AR="ar"
45856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45857 break 2
45858 fi
45859 done
45860 done
45861 IFS=$as_save_IFS
45862
45863 fi
45864 fi
45865 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45866 if test -n "$ac_ct_AR"; then
45867 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45868 echo "${ECHO_T}$ac_ct_AR" >&6; }
45869 else
45870 { echo "$as_me:$LINENO: result: no" >&5
45871 echo "${ECHO_T}no" >&6; }
45872 fi
45873
45874 if test "x$ac_ct_AR" = x; then
45875 AR="ar"
45876 else
45877 case $cross_compiling:$ac_tool_warned in
45878 yes:)
45879 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45880 whose name does not start with the host triplet. If you think this
45881 configuration is useful to you, please write to autoconf@gnu.org." >&5
45882 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45883 whose name does not start with the host triplet. If you think this
45884 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45885 ac_tool_warned=yes ;;
45886 esac
45887 AR=$ac_ct_AR
45888 fi
45889 else
45890 AR="$ac_cv_prog_AR"
45891 fi
45892
45893 AROPTIONS=rcu
45894 fi
45895
45896
45897 if test -n "$ac_tool_prefix"; then
45898 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45899 set dummy ${ac_tool_prefix}strip; ac_word=$2
45900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45902 if test "${ac_cv_prog_STRIP+set}" = set; then
45903 echo $ECHO_N "(cached) $ECHO_C" >&6
45904 else
45905 if test -n "$STRIP"; then
45906 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45907 else
45908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45909 for as_dir in $PATH
45910 do
45911 IFS=$as_save_IFS
45912 test -z "$as_dir" && as_dir=.
45913 for ac_exec_ext in '' $ac_executable_extensions; do
45914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45915 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45917 break 2
45918 fi
45919 done
45920 done
45921 IFS=$as_save_IFS
45922
45923 fi
45924 fi
45925 STRIP=$ac_cv_prog_STRIP
45926 if test -n "$STRIP"; then
45927 { echo "$as_me:$LINENO: result: $STRIP" >&5
45928 echo "${ECHO_T}$STRIP" >&6; }
45929 else
45930 { echo "$as_me:$LINENO: result: no" >&5
45931 echo "${ECHO_T}no" >&6; }
45932 fi
45933
45934
45935 fi
45936 if test -z "$ac_cv_prog_STRIP"; then
45937 ac_ct_STRIP=$STRIP
45938 # Extract the first word of "strip", so it can be a program name with args.
45939 set dummy strip; ac_word=$2
45940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45942 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45943 echo $ECHO_N "(cached) $ECHO_C" >&6
45944 else
45945 if test -n "$ac_ct_STRIP"; then
45946 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45947 else
45948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45949 for as_dir in $PATH
45950 do
45951 IFS=$as_save_IFS
45952 test -z "$as_dir" && as_dir=.
45953 for ac_exec_ext in '' $ac_executable_extensions; do
45954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45955 ac_cv_prog_ac_ct_STRIP="strip"
45956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45957 break 2
45958 fi
45959 done
45960 done
45961 IFS=$as_save_IFS
45962
45963 fi
45964 fi
45965 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45966 if test -n "$ac_ct_STRIP"; then
45967 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45968 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
45969 else
45970 { echo "$as_me:$LINENO: result: no" >&5
45971 echo "${ECHO_T}no" >&6; }
45972 fi
45973
45974 if test "x$ac_ct_STRIP" = x; then
45975 STRIP=":"
45976 else
45977 case $cross_compiling:$ac_tool_warned in
45978 yes:)
45979 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45980 whose name does not start with the host triplet. If you think this
45981 configuration is useful to you, please write to autoconf@gnu.org." >&5
45982 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45983 whose name does not start with the host triplet. If you think this
45984 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45985 ac_tool_warned=yes ;;
45986 esac
45987 STRIP=$ac_ct_STRIP
45988 fi
45989 else
45990 STRIP="$ac_cv_prog_STRIP"
45991 fi
45992
45993 if test -n "$ac_tool_prefix"; then
45994 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45995 set dummy ${ac_tool_prefix}nm; ac_word=$2
45996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45998 if test "${ac_cv_prog_NM+set}" = set; then
45999 echo $ECHO_N "(cached) $ECHO_C" >&6
46000 else
46001 if test -n "$NM"; then
46002 ac_cv_prog_NM="$NM" # Let the user override the test.
46003 else
46004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46005 for as_dir in $PATH
46006 do
46007 IFS=$as_save_IFS
46008 test -z "$as_dir" && as_dir=.
46009 for ac_exec_ext in '' $ac_executable_extensions; do
46010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46011 ac_cv_prog_NM="${ac_tool_prefix}nm"
46012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46013 break 2
46014 fi
46015 done
46016 done
46017 IFS=$as_save_IFS
46018
46019 fi
46020 fi
46021 NM=$ac_cv_prog_NM
46022 if test -n "$NM"; then
46023 { echo "$as_me:$LINENO: result: $NM" >&5
46024 echo "${ECHO_T}$NM" >&6; }
46025 else
46026 { echo "$as_me:$LINENO: result: no" >&5
46027 echo "${ECHO_T}no" >&6; }
46028 fi
46029
46030
46031 fi
46032 if test -z "$ac_cv_prog_NM"; then
46033 ac_ct_NM=$NM
46034 # Extract the first word of "nm", so it can be a program name with args.
46035 set dummy nm; ac_word=$2
46036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46038 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46039 echo $ECHO_N "(cached) $ECHO_C" >&6
46040 else
46041 if test -n "$ac_ct_NM"; then
46042 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46043 else
46044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46045 for as_dir in $PATH
46046 do
46047 IFS=$as_save_IFS
46048 test -z "$as_dir" && as_dir=.
46049 for ac_exec_ext in '' $ac_executable_extensions; do
46050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46051 ac_cv_prog_ac_ct_NM="nm"
46052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46053 break 2
46054 fi
46055 done
46056 done
46057 IFS=$as_save_IFS
46058
46059 fi
46060 fi
46061 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46062 if test -n "$ac_ct_NM"; then
46063 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46064 echo "${ECHO_T}$ac_ct_NM" >&6; }
46065 else
46066 { echo "$as_me:$LINENO: result: no" >&5
46067 echo "${ECHO_T}no" >&6; }
46068 fi
46069
46070 if test "x$ac_ct_NM" = x; then
46071 NM=":"
46072 else
46073 case $cross_compiling:$ac_tool_warned in
46074 yes:)
46075 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46076 whose name does not start with the host triplet. If you think this
46077 configuration is useful to you, please write to autoconf@gnu.org." >&5
46078 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46079 whose name does not start with the host triplet. If you think this
46080 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46081 ac_tool_warned=yes ;;
46082 esac
46083 NM=$ac_ct_NM
46084 fi
46085 else
46086 NM="$ac_cv_prog_NM"
46087 fi
46088
46089
46090 case ${BAKEFILE_HOST} in
46091 *-hp-hpux* )
46092 INSTALL_DIR="mkdir -p"
46093 ;;
46094 * )
46095 INSTALL_DIR='$(INSTALL) -d'
46096 ;;
46097 esac
46098
46099
46100 LDFLAGS_GUI=
46101 case ${BAKEFILE_HOST} in
46102 *-*-cygwin* | *-*-mingw32* )
46103 LDFLAGS_GUI="-mwindows"
46104 esac
46105
46106
46107 fi
46108
46109 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46110 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46111 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46112 echo $ECHO_N "(cached) $ECHO_C" >&6
46113 else
46114
46115 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46116 egrep -s GNU > /dev/null); then
46117 bakefile_cv_prog_makeisgnu="yes"
46118 else
46119 bakefile_cv_prog_makeisgnu="no"
46120 fi
46121
46122 fi
46123 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46124 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46125
46126 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46127 IF_GNU_MAKE=""
46128 else
46129 IF_GNU_MAKE="#"
46130 fi
46131
46132
46133
46134 PLATFORM_UNIX=0
46135 PLATFORM_WIN32=0
46136 PLATFORM_MSDOS=0
46137 PLATFORM_MAC=0
46138 PLATFORM_MACOS=0
46139 PLATFORM_MACOSX=0
46140 PLATFORM_OS2=0
46141 PLATFORM_BEOS=0
46142
46143 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46144 case "${BAKEFILE_HOST}" in
46145 *-*-mingw32* )
46146 PLATFORM_WIN32=1
46147 ;;
46148 *-pc-msdosdjgpp )
46149 PLATFORM_MSDOS=1
46150 ;;
46151 *-pc-os2_emx | *-pc-os2-emx )
46152 PLATFORM_OS2=1
46153 ;;
46154 *-*-darwin* )
46155 PLATFORM_MAC=1
46156 PLATFORM_MACOSX=1
46157 ;;
46158 *-*-beos* )
46159 PLATFORM_BEOS=1
46160 ;;
46161 powerpc-apple-macos* )
46162 PLATFORM_MAC=1
46163 PLATFORM_MACOS=1
46164 ;;
46165 * )
46166 PLATFORM_UNIX=1
46167 ;;
46168 esac
46169 else
46170 case "$BAKEFILE_FORCE_PLATFORM" in
46171 win32 )
46172 PLATFORM_WIN32=1
46173 ;;
46174 msdos )
46175 PLATFORM_MSDOS=1
46176 ;;
46177 os2 )
46178 PLATFORM_OS2=1
46179 ;;
46180 darwin )
46181 PLATFORM_MAC=1
46182 PLATFORM_MACOSX=1
46183 ;;
46184 unix )
46185 PLATFORM_UNIX=1
46186 ;;
46187 beos )
46188 PLATFORM_BEOS=1
46189 ;;
46190 * )
46191 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46192 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46193 { (exit 1); exit 1; }; }
46194 ;;
46195 esac
46196 fi
46197
46198
46199
46200
46201
46202
46203
46204
46205
46206
46207
46208 # Check whether --enable-omf was given.
46209 if test "${enable_omf+set}" = set; then
46210 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46211 fi
46212
46213
46214 case "${BAKEFILE_HOST}" in
46215 *-*-darwin* )
46216 if test "x$GCC" = "xyes"; then
46217 CFLAGS="$CFLAGS -fno-common"
46218 CXXFLAGS="$CXXFLAGS -fno-common"
46219 fi
46220 if test "x$XLCC" = "xyes"; then
46221 CFLAGS="$CFLAGS -qnocommon"
46222 CXXFLAGS="$CXXFLAGS -qnocommon"
46223 fi
46224 ;;
46225
46226 *-pc-os2_emx | *-pc-os2-emx )
46227 if test "x$bk_os2_use_omf" = "xyes" ; then
46228 AR=emxomfar
46229 RANLIB=:
46230 LDFLAGS="-Zomf $LDFLAGS"
46231 CFLAGS="-Zomf $CFLAGS"
46232 CXXFLAGS="-Zomf $CXXFLAGS"
46233 OS2_LIBEXT="lib"
46234 else
46235 OS2_LIBEXT="a"
46236 fi
46237 ;;
46238
46239 i*86-*-beos* )
46240 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46241 ;;
46242 esac
46243
46244
46245 SO_SUFFIX="so"
46246 SO_SUFFIX_MODULE="so"
46247 EXEEXT=""
46248 LIBPREFIX="lib"
46249 LIBEXT=".a"
46250 DLLPREFIX="lib"
46251 DLLPREFIX_MODULE=""
46252 DLLIMP_SUFFIX=""
46253 dlldir="$libdir"
46254
46255 case "${BAKEFILE_HOST}" in
46256 *-hp-hpux* )
46257 SO_SUFFIX="sl"
46258 SO_SUFFIX_MODULE="sl"
46259 ;;
46260 *-*-aix* )
46261 SO_SUFFIX="a"
46262 SO_SUFFIX_MODULE="a"
46263 ;;
46264 *-*-cygwin* )
46265 SO_SUFFIX="dll"
46266 SO_SUFFIX_MODULE="dll"
46267 DLLIMP_SUFFIX="dll.a"
46268 EXEEXT=".exe"
46269 DLLPREFIX="cyg"
46270 dlldir="$bindir"
46271 ;;
46272 *-*-mingw32* )
46273 SO_SUFFIX="dll"
46274 SO_SUFFIX_MODULE="dll"
46275 DLLIMP_SUFFIX="dll.a"
46276 EXEEXT=".exe"
46277 DLLPREFIX=""
46278 dlldir="$bindir"
46279 ;;
46280 *-pc-msdosdjgpp )
46281 EXEEXT=".exe"
46282 DLLPREFIX=""
46283 dlldir="$bindir"
46284 ;;
46285 *-pc-os2_emx | *-pc-os2-emx )
46286 SO_SUFFIX="dll"
46287 SO_SUFFIX_MODULE="dll"
46288 DLLIMP_SUFFIX=$OS2_LIBEXT
46289 EXEEXT=".exe"
46290 DLLPREFIX=""
46291 LIBPREFIX=""
46292 LIBEXT=".$OS2_LIBEXT"
46293 dlldir="$bindir"
46294 ;;
46295 *-*-darwin* )
46296 SO_SUFFIX="dylib"
46297 SO_SUFFIX_MODULE="bundle"
46298 ;;
46299 esac
46300
46301 if test "x$DLLIMP_SUFFIX" = "x" ; then
46302 DLLIMP_SUFFIX="$SO_SUFFIX"
46303 fi
46304
46305
46306
46307
46308
46309
46310
46311
46312
46313
46314
46315
46316 PIC_FLAG=""
46317 if test "x$GCC" = "xyes"; then
46318 PIC_FLAG="-fPIC"
46319 fi
46320
46321 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46322 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46323 WINDOWS_IMPLIB=0
46324
46325 case "${BAKEFILE_HOST}" in
46326 *-hp-hpux* )
46327 if test "x$GCC" != "xyes"; then
46328 LDFLAGS="$LDFLAGS -L/usr/lib"
46329
46330 SHARED_LD_CC="${CC} -b -o"
46331 SHARED_LD_CXX="${CXX} -b -o"
46332 PIC_FLAG="+Z"
46333 fi
46334 ;;
46335
46336 *-*-linux* )
46337 if test "x$GCC" != "xyes"; then
46338 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46339 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46340 if test "${bakefile_cv_prog_icc+set}" = set; then
46341 echo $ECHO_N "(cached) $ECHO_C" >&6
46342 else
46343
46344 cat >conftest.$ac_ext <<_ACEOF
46345 /* confdefs.h. */
46346 _ACEOF
46347 cat confdefs.h >>conftest.$ac_ext
46348 cat >>conftest.$ac_ext <<_ACEOF
46349 /* end confdefs.h. */
46350
46351 int
46352 main ()
46353 {
46354
46355 #ifndef __INTEL_COMPILER
46356 This is not ICC
46357 #endif
46358
46359 ;
46360 return 0;
46361 }
46362 _ACEOF
46363 rm -f conftest.$ac_objext
46364 if { (ac_try="$ac_compile"
46365 case "(($ac_try" in
46366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46367 *) ac_try_echo=$ac_try;;
46368 esac
46369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46370 (eval "$ac_compile") 2>conftest.er1
46371 ac_status=$?
46372 grep -v '^ *+' conftest.er1 >conftest.err
46373 rm -f conftest.er1
46374 cat conftest.err >&5
46375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46376 (exit $ac_status); } && {
46377 test -z "$ac_c_werror_flag" ||
46378 test ! -s conftest.err
46379 } && test -s conftest.$ac_objext; then
46380 bakefile_cv_prog_icc=yes
46381 else
46382 echo "$as_me: failed program was:" >&5
46383 sed 's/^/| /' conftest.$ac_ext >&5
46384
46385 bakefile_cv_prog_icc=no
46386
46387 fi
46388
46389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46390
46391 fi
46392 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46393 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46394 if test "$bakefile_cv_prog_icc" = "yes"; then
46395 PIC_FLAG="-KPIC"
46396 fi
46397 fi
46398 ;;
46399
46400 *-*-solaris2* )
46401 if test "x$GCC" != xyes ; then
46402 SHARED_LD_CC="${CC} -G -o"
46403 SHARED_LD_CXX="${CXX} -G -o"
46404 PIC_FLAG="-KPIC"
46405 fi
46406 ;;
46407
46408 *-*-darwin* )
46409
46410 D='$'
46411 cat <<EOF >shared-ld-sh
46412 #!/bin/sh
46413 #-----------------------------------------------------------------------------
46414 #-- Name: distrib/mac/shared-ld-sh
46415 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46416 #-- Author: Gilles Depeyrot
46417 #-- Copyright: (c) 2002 Gilles Depeyrot
46418 #-- Licence: any use permitted
46419 #-----------------------------------------------------------------------------
46420
46421 verbose=0
46422 args=""
46423 objects=""
46424 linking_flag="-dynamiclib"
46425 ldargs="-r -keep_private_externs -nostdlib"
46426
46427 while test ${D}# -gt 0; do
46428 case ${D}1 in
46429
46430 -v)
46431 verbose=1
46432 ;;
46433
46434 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46435 # collect these options and values
46436 args="${D}{args} ${D}1 ${D}2"
46437 shift
46438 ;;
46439
46440 -s|-Wl,*)
46441 # collect these load args
46442 ldargs="${D}{ldargs} ${D}1"
46443 ;;
46444
46445 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46446 # collect these options
46447 args="${D}{args} ${D}1"
46448 ;;
46449
46450 -dynamiclib|-bundle)
46451 linking_flag="${D}1"
46452 ;;
46453
46454 -*)
46455 echo "shared-ld: unhandled option '${D}1'"
46456 exit 1
46457 ;;
46458
46459 *.o | *.a | *.dylib)
46460 # collect object files
46461 objects="${D}{objects} ${D}1"
46462 ;;
46463
46464 *)
46465 echo "shared-ld: unhandled argument '${D}1'"
46466 exit 1
46467 ;;
46468
46469 esac
46470 shift
46471 done
46472
46473 status=0
46474
46475 #
46476 # Link one module containing all the others
46477 #
46478 if test ${D}{verbose} = 1; then
46479 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46480 fi
46481 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46482 status=${D}?
46483
46484 #
46485 # Link the shared library from the single module created, but only if the
46486 # previous command didn't fail:
46487 #
46488 if test ${D}{status} = 0; then
46489 if test ${D}{verbose} = 1; then
46490 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46491 fi
46492 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46493 status=${D}?
46494 fi
46495
46496 #
46497 # Remove intermediate module
46498 #
46499 rm -f master.${D}${D}.o
46500
46501 exit ${D}status
46502 EOF
46503
46504 chmod +x shared-ld-sh
46505
46506 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46507 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46508
46509
46510 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46511 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46512 if test "${bakefile_cv_gcc31+set}" = set; then
46513 echo $ECHO_N "(cached) $ECHO_C" >&6
46514 else
46515
46516 cat >conftest.$ac_ext <<_ACEOF
46517 /* confdefs.h. */
46518 _ACEOF
46519 cat confdefs.h >>conftest.$ac_ext
46520 cat >>conftest.$ac_ext <<_ACEOF
46521 /* end confdefs.h. */
46522
46523 int
46524 main ()
46525 {
46526
46527 #if (__GNUC__ < 3) || \
46528 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46529 This is old gcc
46530 #endif
46531
46532 ;
46533 return 0;
46534 }
46535 _ACEOF
46536 rm -f conftest.$ac_objext
46537 if { (ac_try="$ac_compile"
46538 case "(($ac_try" in
46539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46540 *) ac_try_echo=$ac_try;;
46541 esac
46542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46543 (eval "$ac_compile") 2>conftest.er1
46544 ac_status=$?
46545 grep -v '^ *+' conftest.er1 >conftest.err
46546 rm -f conftest.er1
46547 cat conftest.err >&5
46548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46549 (exit $ac_status); } && {
46550 test -z "$ac_c_werror_flag" ||
46551 test ! -s conftest.err
46552 } && test -s conftest.$ac_objext; then
46553
46554 bakefile_cv_gcc31=yes
46555
46556 else
46557 echo "$as_me: failed program was:" >&5
46558 sed 's/^/| /' conftest.$ac_ext >&5
46559
46560
46561 bakefile_cv_gcc31=no
46562
46563
46564 fi
46565
46566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46567
46568 fi
46569 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46570 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46571 if test "$bakefile_cv_gcc31" = "no"; then
46572 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46573 SHARED_LD_CXX="$SHARED_LD_CC"
46574 else
46575 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46576 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46577 fi
46578
46579 if test "x$GCC" == "xyes"; then
46580 PIC_FLAG="-dynamic -fPIC"
46581 fi
46582 if test "x$XLCC" = "xyes"; then
46583 PIC_FLAG="-dynamic -DPIC"
46584 fi
46585 ;;
46586
46587 *-*-aix* )
46588 if test "x$GCC" = "xyes"; then
46589 PIC_FLAG=""
46590
46591 case "${BAKEFILE_HOST}" in
46592 *-*-aix5* )
46593 LD_EXPFULL="-Wl,-bexpfull"
46594 ;;
46595 esac
46596
46597 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46598 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46599 else
46600 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46601 set dummy makeC++SharedLib; ac_word=$2
46602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46604 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46605 echo $ECHO_N "(cached) $ECHO_C" >&6
46606 else
46607 if test -n "$AIX_CXX_LD"; then
46608 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46609 else
46610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46611 for as_dir in $PATH
46612 do
46613 IFS=$as_save_IFS
46614 test -z "$as_dir" && as_dir=.
46615 for ac_exec_ext in '' $ac_executable_extensions; do
46616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46617 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46619 break 2
46620 fi
46621 done
46622 done
46623 IFS=$as_save_IFS
46624
46625 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46626 fi
46627 fi
46628 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46629 if test -n "$AIX_CXX_LD"; then
46630 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46631 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46632 else
46633 { echo "$as_me:$LINENO: result: no" >&5
46634 echo "${ECHO_T}no" >&6; }
46635 fi
46636
46637
46638 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46639 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46640 fi
46641 ;;
46642
46643 *-*-beos* )
46644 SHARED_LD_CC="${LD} -nostart -o"
46645 SHARED_LD_CXX="${LD} -nostart -o"
46646 ;;
46647
46648 *-*-irix* )
46649 if test "x$GCC" != "xyes"; then
46650 PIC_FLAG="-KPIC"
46651 fi
46652 ;;
46653
46654 *-*-cygwin* | *-*-mingw32* )
46655 PIC_FLAG=""
46656 SHARED_LD_CC="\$(CC) -shared -o"
46657 SHARED_LD_CXX="\$(CXX) -shared -o"
46658 WINDOWS_IMPLIB=1
46659 ;;
46660
46661 *-pc-os2_emx | *-pc-os2-emx )
46662 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46663 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46664 PIC_FLAG=""
46665
46666 D='$'
46667 cat <<EOF >dllar.sh
46668 #!/bin/sh
46669 #
46670 # dllar - a tool to build both a .dll and an .a file
46671 # from a set of object (.o) files for EMX/OS2.
46672 #
46673 # Written by Andrew Zabolotny, bit@freya.etu.ru
46674 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46675 #
46676 # This script will accept a set of files on the command line.
46677 # All the public symbols from the .o files will be exported into
46678 # a .DEF file, then linker will be run (through gcc) against them to
46679 # build a shared library consisting of all given .o files. All libraries
46680 # (.a) will be first decompressed into component .o files then act as
46681 # described above. You can optionally give a description (-d "description")
46682 # which will be put into .DLL. To see the list of accepted options (as well
46683 # as command-line format) simply run this program without options. The .DLL
46684 # is built to be imported by name (there is no guarantee that new versions
46685 # of the library you build will have same ordinals for same symbols).
46686 #
46687 # dllar is free software; you can redistribute it and/or modify
46688 # it under the terms of the GNU General Public License as published by
46689 # the Free Software Foundation; either version 2, or (at your option)
46690 # any later version.
46691 #
46692 # dllar is distributed in the hope that it will be useful,
46693 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46694 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46695 # GNU General Public License for more details.
46696 #
46697 # You should have received a copy of the GNU General Public License
46698 # along with dllar; see the file COPYING. If not, write to the Free
46699 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46700 # 02111-1307, USA.
46701
46702 # To successfuly run this program you will need:
46703 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46704 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46705 # - gcc
46706 # (used to build the .dll)
46707 # - emxexp
46708 # (used to create .def file from .o files)
46709 # - emximp
46710 # (used to create .a file from .def file)
46711 # - GNU text utilites (cat, sort, uniq)
46712 # used to process emxexp output
46713 # - GNU file utilities (mv, rm)
46714 # - GNU sed
46715 # - lxlite (optional, see flag below)
46716 # (used for general .dll cleanup)
46717 #
46718
46719 flag_USE_LXLITE=1;
46720
46721 #
46722 # helper functions
46723 # basnam, variant of basename, which does _not_ remove the path, _iff_
46724 # second argument (suffix to remove) is given
46725 basnam(){
46726 case ${D}# in
46727 1)
46728 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46729 ;;
46730 2)
46731 echo ${D}1 | sed 's/'${D}2'${D}//'
46732 ;;
46733 *)
46734 echo "error in basnam ${D}*"
46735 exit 8
46736 ;;
46737 esac
46738 }
46739
46740 # Cleanup temporary files and output
46741 CleanUp() {
46742 cd ${D}curDir
46743 for i in ${D}inputFiles ; do
46744 case ${D}i in
46745 *!)
46746 rm -rf \`basnam ${D}i !\`
46747 ;;
46748 *)
46749 ;;
46750 esac
46751 done
46752
46753 # Kill result in case of failure as there is just to many stupid make/nmake
46754 # things out there which doesn't do this.
46755 if [ ${D}# -eq 0 ]; then
46756 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46757 fi
46758 }
46759
46760 # Print usage and exit script with rc=1.
46761 PrintHelp() {
46762 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46763 echo ' [-name-mangler-script script.sh]'
46764 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46765 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46766 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46767 echo ' [*.o] [*.a]'
46768 echo '*> "output_file" should have no extension.'
46769 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46770 echo ' The import library name is derived from this and is set to "name".a,'
46771 echo ' unless overridden by -import'
46772 echo '*> "importlib_name" should have no extension.'
46773 echo ' If it has the .o, or .a extension, it is automatically removed.'
46774 echo ' This name is used as the import library name and may be longer and'
46775 echo ' more descriptive than the DLL name which has to follow the old '
46776 echo ' 8.3 convention of FAT.'
46777 echo '*> "script.sh may be given to override the output_file name by a'
46778 echo ' different name. It is mainly useful if the regular make process'
46779 echo ' of some package does not take into account OS/2 restriction of'
46780 echo ' DLL name lengths. It takes the importlib name as input and is'
46781 echo ' supposed to procude a shorter name as output. The script should'
46782 echo ' expect to get importlib_name without extension and should produce'
46783 echo ' a (max.) 8 letter name without extension.'
46784 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46785 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46786 echo ' These flags will be put at the start of GCC command line.'
46787 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46788 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46789 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46790 echo ' If the last character of a symbol is "*", all symbols beginning'
46791 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46792 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46793 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46794 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46795 echo ' C runtime DLLs.'
46796 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46797 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46798 echo ' unchanged to GCC at the end of command line.'
46799 echo '*> If you create a DLL from a library and you do not specify -o,'
46800 echo ' the basename for DLL and import library will be set to library name,'
46801 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46802 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46803 echo ' library will be renamed into gcc_s.a.'
46804 echo '--------'
46805 echo 'Example:'
46806 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46807 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46808 CleanUp
46809 exit 1
46810 }
46811
46812 # Execute a command.
46813 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46814 # @Uses Whatever CleanUp() uses.
46815 doCommand() {
46816 echo "${D}*"
46817 eval ${D}*
46818 rcCmd=${D}?
46819
46820 if [ ${D}rcCmd -ne 0 ]; then
46821 echo "command failed, exit code="${D}rcCmd
46822 CleanUp
46823 exit ${D}rcCmd
46824 fi
46825 }
46826
46827 # main routine
46828 # setup globals
46829 cmdLine=${D}*
46830 outFile=""
46831 outimpFile=""
46832 inputFiles=""
46833 renameScript=""
46834 description=""
46835 CC=gcc.exe
46836 CFLAGS="-s -Zcrtdll"
46837 EXTRA_CFLAGS=""
46838 EXPORT_BY_ORDINALS=0
46839 exclude_symbols=""
46840 library_flags=""
46841 curDir=\`pwd\`
46842 curDirS=curDir
46843 case ${D}curDirS in
46844 */)
46845 ;;
46846 *)
46847 curDirS=${D}{curDirS}"/"
46848 ;;
46849 esac
46850 # Parse commandline
46851 libsToLink=0
46852 omfLinking=0
46853 while [ ${D}1 ]; do
46854 case ${D}1 in
46855 -ord*)
46856 EXPORT_BY_ORDINALS=1;
46857 ;;
46858 -o*)
46859 shift
46860 outFile=${D}1
46861 ;;
46862 -i*)
46863 shift
46864 outimpFile=${D}1
46865 ;;
46866 -name-mangler-script)
46867 shift
46868 renameScript=${D}1
46869 ;;
46870 -d*)
46871 shift
46872 description=${D}1
46873 ;;
46874 -f*)
46875 shift
46876 CFLAGS=${D}1
46877 ;;
46878 -c*)
46879 shift
46880 CC=${D}1
46881 ;;
46882 -h*)
46883 PrintHelp
46884 ;;
46885 -ex*)
46886 shift
46887 exclude_symbols=${D}{exclude_symbols}${D}1" "
46888 ;;
46889 -libf*)
46890 shift
46891 library_flags=${D}{library_flags}${D}1" "
46892 ;;
46893 -nocrt*)
46894 CFLAGS="-s"
46895 ;;
46896 -nolxl*)
46897 flag_USE_LXLITE=0
46898 ;;
46899 -* | /*)
46900 case ${D}1 in
46901 -L* | -l*)
46902 libsToLink=1
46903 ;;
46904 -Zomf)
46905 omfLinking=1
46906 ;;
46907 *)
46908 ;;
46909 esac
46910 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46911 ;;
46912 *.dll)
46913 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46914 if [ ${D}omfLinking -eq 1 ]; then
46915 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46916 else
46917 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46918 fi
46919 ;;
46920 *)
46921 found=0;
46922 if [ ${D}libsToLink -ne 0 ]; then
46923 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46924 else
46925 for file in ${D}1 ; do
46926 if [ -f ${D}file ]; then
46927 inputFiles="${D}{inputFiles} ${D}file"
46928 found=1
46929 fi
46930 done
46931 if [ ${D}found -eq 0 ]; then
46932 echo "ERROR: No file(s) found: "${D}1
46933 exit 8
46934 fi
46935 fi
46936 ;;
46937 esac
46938 shift
46939 done # iterate cmdline words
46940
46941 #
46942 if [ -z "${D}inputFiles" ]; then
46943 echo "dllar: no input files"
46944 PrintHelp
46945 fi
46946
46947 # Now extract all .o files from .a files
46948 newInputFiles=""
46949 for file in ${D}inputFiles ; do
46950 case ${D}file in
46951 *.a | *.lib)
46952 case ${D}file in
46953 *.a)
46954 suffix=".a"
46955 AR="ar"
46956 ;;
46957 *.lib)
46958 suffix=".lib"
46959 AR="emxomfar"
46960 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46961 ;;
46962 *)
46963 ;;
46964 esac
46965 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46966 mkdir ${D}dirname
46967 if [ ${D}? -ne 0 ]; then
46968 echo "Failed to create subdirectory ./${D}dirname"
46969 CleanUp
46970 exit 8;
46971 fi
46972 # Append '!' to indicate archive
46973 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46974 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46975 cd ${D}curDir
46976 found=0;
46977 for subfile in ${D}dirname/*.o* ; do
46978 if [ -f ${D}subfile ]; then
46979 found=1
46980 if [ -s ${D}subfile ]; then
46981 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46982 newInputFiles="${D}newInputFiles ${D}subfile"
46983 fi
46984 fi
46985 done
46986 if [ ${D}found -eq 0 ]; then
46987 echo "WARNING: there are no files in archive \\'${D}file\\'"
46988 fi
46989 ;;
46990 *)
46991 newInputFiles="${D}{newInputFiles} ${D}file"
46992 ;;
46993 esac
46994 done
46995 inputFiles="${D}newInputFiles"
46996
46997 # Output filename(s).
46998 do_backup=0;
46999 if [ -z ${D}outFile ]; then
47000 do_backup=1;
47001 set outFile ${D}inputFiles; outFile=${D}2
47002 fi
47003
47004 # If it is an archive, remove the '!' and the '_%' suffixes
47005 case ${D}outFile in
47006 *_%!)
47007 outFile=\`basnam ${D}outFile _%!\`
47008 ;;
47009 *)
47010 ;;
47011 esac
47012 case ${D}outFile in
47013 *.dll)
47014 outFile=\`basnam ${D}outFile .dll\`
47015 ;;
47016 *.DLL)
47017 outFile=\`basnam ${D}outFile .DLL\`
47018 ;;
47019 *.o)
47020 outFile=\`basnam ${D}outFile .o\`
47021 ;;
47022 *.obj)
47023 outFile=\`basnam ${D}outFile .obj\`
47024 ;;
47025 *.a)
47026 outFile=\`basnam ${D}outFile .a\`
47027 ;;
47028 *.lib)
47029 outFile=\`basnam ${D}outFile .lib\`
47030 ;;
47031 *)
47032 ;;
47033 esac
47034 case ${D}outimpFile in
47035 *.a)
47036 outimpFile=\`basnam ${D}outimpFile .a\`
47037 ;;
47038 *.lib)
47039 outimpFile=\`basnam ${D}outimpFile .lib\`
47040 ;;
47041 *)
47042 ;;
47043 esac
47044 if [ -z ${D}outimpFile ]; then
47045 outimpFile=${D}outFile
47046 fi
47047 defFile="${D}{outFile}.def"
47048 arcFile="${D}{outimpFile}.a"
47049 arcFile2="${D}{outimpFile}.lib"
47050
47051 #create ${D}dllFile as something matching 8.3 restrictions,
47052 if [ -z ${D}renameScript ] ; then
47053 dllFile="${D}outFile"
47054 else
47055 dllFile=\`${D}renameScript ${D}outimpFile\`
47056 fi
47057
47058 if [ ${D}do_backup -ne 0 ] ; then
47059 if [ -f ${D}arcFile ] ; then
47060 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47061 fi
47062 if [ -f ${D}arcFile2 ] ; then
47063 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47064 fi
47065 fi
47066
47067 # Extract public symbols from all the object files.
47068 tmpdefFile=${D}{defFile}_%
47069 rm -f ${D}tmpdefFile
47070 for file in ${D}inputFiles ; do
47071 case ${D}file in
47072 *!)
47073 ;;
47074 *)
47075 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47076 ;;
47077 esac
47078 done
47079
47080 # Create the def file.
47081 rm -f ${D}defFile
47082 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47083 dllFile="${D}{dllFile}.dll"
47084 if [ ! -z ${D}description ]; then
47085 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47086 fi
47087 echo "EXPORTS" >> ${D}defFile
47088
47089 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47090 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47091
47092 # Checks if the export is ok or not.
47093 for word in ${D}exclude_symbols; do
47094 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47095 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47096 done
47097
47098
47099 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47100 sed "=" < ${D}tmpdefFile | \\
47101 sed '
47102 N
47103 : loop
47104 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47105 t loop
47106 ' > ${D}{tmpdefFile}%
47107 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47108 else
47109 rm -f ${D}{tmpdefFile}%
47110 fi
47111 cat ${D}tmpdefFile >> ${D}defFile
47112 rm -f ${D}tmpdefFile
47113
47114 # Do linking, create implib, and apply lxlite.
47115 gccCmdl="";
47116 for file in ${D}inputFiles ; do
47117 case ${D}file in
47118 *!)
47119 ;;
47120 *)
47121 gccCmdl="${D}gccCmdl ${D}file"
47122 ;;
47123 esac
47124 done
47125 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47126 touch "${D}{outFile}.dll"
47127
47128 doCommand "emximp -o ${D}arcFile ${D}defFile"
47129 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47130 add_flags="";
47131 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47132 add_flags="-ynd"
47133 fi
47134 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47135 fi
47136 doCommand "emxomf -s -l ${D}arcFile"
47137
47138 # Successful exit.
47139 CleanUp 1
47140 exit 0
47141 EOF
47142
47143 chmod +x dllar.sh
47144 ;;
47145
47146 powerpc-apple-macos* | \
47147 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47148 *-*-mirbsd* | \
47149 *-*-sunos4* | \
47150 *-*-osf* | \
47151 *-*-dgux5* | \
47152 *-*-sysv5* | \
47153 *-pc-msdosdjgpp )
47154 ;;
47155
47156 *)
47157 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47158 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47159 { (exit 1); exit 1; }; }
47160 esac
47161
47162 if test "x$PIC_FLAG" != "x" ; then
47163 PIC_FLAG="$PIC_FLAG -DPIC"
47164 fi
47165
47166 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47167 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47168 fi
47169 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47170 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47171 fi
47172
47173
47174
47175
47176
47177
47178
47179
47180
47181 USE_SOVERSION=0
47182 USE_SOVERLINUX=0
47183 USE_SOVERSOLARIS=0
47184 USE_SOVERCYGWIN=0
47185 USE_SOSYMLINKS=0
47186 USE_MACVERSION=0
47187 SONAME_FLAG=
47188
47189 case "${BAKEFILE_HOST}" in
47190 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47191 SONAME_FLAG="-Wl,-soname,"
47192 USE_SOVERSION=1
47193 USE_SOVERLINUX=1
47194 USE_SOSYMLINKS=1
47195 ;;
47196
47197 *-*-solaris2* )
47198 SONAME_FLAG="-h "
47199 USE_SOVERSION=1
47200 USE_SOVERSOLARIS=1
47201 USE_SOSYMLINKS=1
47202 ;;
47203
47204 *-*-darwin* )
47205 USE_MACVERSION=1
47206 USE_SOVERSION=1
47207 USE_SOSYMLINKS=1
47208 ;;
47209
47210 *-*-cygwin* )
47211 USE_SOVERSION=1
47212 USE_SOVERCYGWIN=1
47213 ;;
47214 esac
47215
47216
47217
47218
47219
47220
47221
47222
47223
47224
47225 # Check whether --enable-dependency-tracking was given.
47226 if test "${enable_dependency_tracking+set}" = set; then
47227 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47228 fi
47229
47230
47231 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47232 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47233
47234 BK_DEPS=""
47235 if test "x$bk_use_trackdeps" = "xno" ; then
47236 DEPS_TRACKING=0
47237 { echo "$as_me:$LINENO: result: disabled" >&5
47238 echo "${ECHO_T}disabled" >&6; }
47239 else
47240 DEPS_TRACKING=1
47241
47242 if test "x$GCC" = "xyes"; then
47243 DEPSMODE=gcc
47244 case "${BAKEFILE_HOST}" in
47245 *-*-darwin* )
47246 DEPSFLAG="-no-cpp-precomp -MMD"
47247 ;;
47248 * )
47249 DEPSFLAG="-MMD"
47250 ;;
47251 esac
47252 { echo "$as_me:$LINENO: result: gcc" >&5
47253 echo "${ECHO_T}gcc" >&6; }
47254 elif test "x$MWCC" = "xyes"; then
47255 DEPSMODE=mwcc
47256 DEPSFLAG="-MM"
47257 { echo "$as_me:$LINENO: result: mwcc" >&5
47258 echo "${ECHO_T}mwcc" >&6; }
47259 elif test "x$SUNCC" = "xyes"; then
47260 DEPSMODE=unixcc
47261 DEPSFLAG="-xM1"
47262 { echo "$as_me:$LINENO: result: Sun cc" >&5
47263 echo "${ECHO_T}Sun cc" >&6; }
47264 elif test "x$SGICC" = "xyes"; then
47265 DEPSMODE=unixcc
47266 DEPSFLAG="-M"
47267 { echo "$as_me:$LINENO: result: SGI cc" >&5
47268 echo "${ECHO_T}SGI cc" >&6; }
47269 elif test "x$HPCC" = "xyes"; then
47270 DEPSMODE=unixcc
47271 DEPSFLAG="+make"
47272 { echo "$as_me:$LINENO: result: HP cc" >&5
47273 echo "${ECHO_T}HP cc" >&6; }
47274 elif test "x$COMPAQCC" = "xyes"; then
47275 DEPSMODE=gcc
47276 DEPSFLAG="-MD"
47277 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47278 echo "${ECHO_T}Compaq cc" >&6; }
47279 else
47280 DEPS_TRACKING=0
47281 { echo "$as_me:$LINENO: result: none" >&5
47282 echo "${ECHO_T}none" >&6; }
47283 fi
47284
47285 if test $DEPS_TRACKING = 1 ; then
47286
47287 D='$'
47288 cat <<EOF >bk-deps
47289 #!/bin/sh
47290
47291 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47292 # script. It is used to track C/C++ files dependencies in portable way.
47293 #
47294 # Permission is given to use this file in any way.
47295
47296 DEPSMODE=${DEPSMODE}
47297 DEPSDIR=.deps
47298 DEPSFLAG="${DEPSFLAG}"
47299
47300 mkdir -p ${D}DEPSDIR
47301
47302 if test ${D}DEPSMODE = gcc ; then
47303 ${D}* ${D}{DEPSFLAG}
47304 status=${D}?
47305 if test ${D}{status} != 0 ; then
47306 exit ${D}{status}
47307 fi
47308 # move created file to the location we want it in:
47309 while test ${D}# -gt 0; do
47310 case "${D}1" in
47311 -o )
47312 shift
47313 objfile=${D}1
47314 ;;
47315 -* )
47316 ;;
47317 * )
47318 srcfile=${D}1
47319 ;;
47320 esac
47321 shift
47322 done
47323 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47324 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47325 if test -f ${D}depfile ; then
47326 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47327 rm -f ${D}depfile
47328 else
47329 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47330 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47331 if test ! -f ${D}depfile ; then
47332 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47333 depfile="${D}objfile.d"
47334 fi
47335 if test -f ${D}depfile ; then
47336 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47337 rm -f ${D}depfile
47338 fi
47339 fi
47340 exit 0
47341 elif test ${D}DEPSMODE = mwcc ; then
47342 ${D}* || exit ${D}?
47343 # Run mwcc again with -MM and redirect into the dep file we want
47344 # NOTE: We can't use shift here because we need ${D}* to be valid
47345 prevarg=
47346 for arg in ${D}* ; do
47347 if test "${D}prevarg" = "-o"; then
47348 objfile=${D}arg
47349 else
47350 case "${D}arg" in
47351 -* )
47352 ;;
47353 * )
47354 srcfile=${D}arg
47355 ;;
47356 esac
47357 fi
47358 prevarg="${D}arg"
47359 done
47360 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47361 exit 0
47362 elif test ${D}DEPSMODE = unixcc; then
47363 ${D}* || exit ${D}?
47364 # Run compiler again with deps flag and redirect into the dep file.
47365 # It doesn't work if the '-o FILE' option is used, but without it the
47366 # dependency file will contain the wrong name for the object. So it is
47367 # removed from the command line, and the dep file is fixed with sed.
47368 cmd=""
47369 while test ${D}# -gt 0; do
47370 case "${D}1" in
47371 -o )
47372 shift
47373 objfile=${D}1
47374 ;;
47375 * )
47376 eval arg${D}#=\\${D}1
47377 cmd="${D}cmd \\${D}arg${D}#"
47378 ;;
47379 esac
47380 shift
47381 done
47382 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47383 exit 0
47384 else
47385 ${D}*
47386 exit ${D}?
47387 fi
47388 EOF
47389
47390 chmod +x bk-deps
47391 BK_DEPS="`pwd`/bk-deps"
47392 fi
47393 fi
47394
47395
47396
47397
47398
47399 case ${BAKEFILE_HOST} in
47400 *-*-cygwin* | *-*-mingw32* )
47401 if test -n "$ac_tool_prefix"; then
47402 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47403 set dummy ${ac_tool_prefix}windres; ac_word=$2
47404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47406 if test "${ac_cv_prog_WINDRES+set}" = set; then
47407 echo $ECHO_N "(cached) $ECHO_C" >&6
47408 else
47409 if test -n "$WINDRES"; then
47410 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47411 else
47412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47413 for as_dir in $PATH
47414 do
47415 IFS=$as_save_IFS
47416 test -z "$as_dir" && as_dir=.
47417 for ac_exec_ext in '' $ac_executable_extensions; do
47418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47419 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47421 break 2
47422 fi
47423 done
47424 done
47425 IFS=$as_save_IFS
47426
47427 fi
47428 fi
47429 WINDRES=$ac_cv_prog_WINDRES
47430 if test -n "$WINDRES"; then
47431 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47432 echo "${ECHO_T}$WINDRES" >&6; }
47433 else
47434 { echo "$as_me:$LINENO: result: no" >&5
47435 echo "${ECHO_T}no" >&6; }
47436 fi
47437
47438
47439 fi
47440 if test -z "$ac_cv_prog_WINDRES"; then
47441 ac_ct_WINDRES=$WINDRES
47442 # Extract the first word of "windres", so it can be a program name with args.
47443 set dummy windres; ac_word=$2
47444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47446 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47447 echo $ECHO_N "(cached) $ECHO_C" >&6
47448 else
47449 if test -n "$ac_ct_WINDRES"; then
47450 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47451 else
47452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47453 for as_dir in $PATH
47454 do
47455 IFS=$as_save_IFS
47456 test -z "$as_dir" && as_dir=.
47457 for ac_exec_ext in '' $ac_executable_extensions; do
47458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47459 ac_cv_prog_ac_ct_WINDRES="windres"
47460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47461 break 2
47462 fi
47463 done
47464 done
47465 IFS=$as_save_IFS
47466
47467 fi
47468 fi
47469 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47470 if test -n "$ac_ct_WINDRES"; then
47471 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47472 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47473 else
47474 { echo "$as_me:$LINENO: result: no" >&5
47475 echo "${ECHO_T}no" >&6; }
47476 fi
47477
47478 if test "x$ac_ct_WINDRES" = x; then
47479 WINDRES=""
47480 else
47481 case $cross_compiling:$ac_tool_warned in
47482 yes:)
47483 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47484 whose name does not start with the host triplet. If you think this
47485 configuration is useful to you, please write to autoconf@gnu.org." >&5
47486 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47487 whose name does not start with the host triplet. If you think this
47488 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47489 ac_tool_warned=yes ;;
47490 esac
47491 WINDRES=$ac_ct_WINDRES
47492 fi
47493 else
47494 WINDRES="$ac_cv_prog_WINDRES"
47495 fi
47496
47497 ;;
47498
47499 *-*-darwin* | powerpc-apple-macos* )
47500 # Extract the first word of "Rez", so it can be a program name with args.
47501 set dummy Rez; ac_word=$2
47502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47504 if test "${ac_cv_prog_REZ+set}" = set; then
47505 echo $ECHO_N "(cached) $ECHO_C" >&6
47506 else
47507 if test -n "$REZ"; then
47508 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47509 else
47510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47511 for as_dir in $PATH
47512 do
47513 IFS=$as_save_IFS
47514 test -z "$as_dir" && as_dir=.
47515 for ac_exec_ext in '' $ac_executable_extensions; do
47516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47517 ac_cv_prog_REZ="Rez"
47518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47519 break 2
47520 fi
47521 done
47522 done
47523 IFS=$as_save_IFS
47524
47525 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47526 fi
47527 fi
47528 REZ=$ac_cv_prog_REZ
47529 if test -n "$REZ"; then
47530 { echo "$as_me:$LINENO: result: $REZ" >&5
47531 echo "${ECHO_T}$REZ" >&6; }
47532 else
47533 { echo "$as_me:$LINENO: result: no" >&5
47534 echo "${ECHO_T}no" >&6; }
47535 fi
47536
47537
47538 # Extract the first word of "SetFile", so it can be a program name with args.
47539 set dummy SetFile; ac_word=$2
47540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47542 if test "${ac_cv_prog_SETFILE+set}" = set; then
47543 echo $ECHO_N "(cached) $ECHO_C" >&6
47544 else
47545 if test -n "$SETFILE"; then
47546 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47547 else
47548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47549 for as_dir in $PATH
47550 do
47551 IFS=$as_save_IFS
47552 test -z "$as_dir" && as_dir=.
47553 for ac_exec_ext in '' $ac_executable_extensions; do
47554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47555 ac_cv_prog_SETFILE="SetFile"
47556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47557 break 2
47558 fi
47559 done
47560 done
47561 IFS=$as_save_IFS
47562
47563 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47564 fi
47565 fi
47566 SETFILE=$ac_cv_prog_SETFILE
47567 if test -n "$SETFILE"; then
47568 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47569 echo "${ECHO_T}$SETFILE" >&6; }
47570 else
47571 { echo "$as_me:$LINENO: result: no" >&5
47572 echo "${ECHO_T}no" >&6; }
47573 fi
47574
47575
47576 ;;
47577 esac
47578
47579
47580
47581
47582
47583
47584 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47585
47586
47587 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47588
47589
47590
47591 # Check whether --enable-precomp-headers was given.
47592 if test "${enable_precomp_headers+set}" = set; then
47593 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47594 fi
47595
47596
47597 GCC_PCH=0
47598 ICC_PCH=0
47599 USE_PCH=0
47600 BK_MAKE_PCH=""
47601
47602 case ${BAKEFILE_HOST} in
47603 *-*-cygwin* )
47604 bk_use_pch="no"
47605 ;;
47606 esac
47607
47608 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47609 if test "x$GCC" = "xyes"; then
47610 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47611 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47612 cat >conftest.$ac_ext <<_ACEOF
47613 /* confdefs.h. */
47614 _ACEOF
47615 cat confdefs.h >>conftest.$ac_ext
47616 cat >>conftest.$ac_ext <<_ACEOF
47617 /* end confdefs.h. */
47618
47619 int
47620 main ()
47621 {
47622
47623 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47624 There is no PCH support
47625 #endif
47626 #if (__GNUC__ < 3)
47627 There is no PCH support
47628 #endif
47629 #if (__GNUC__ == 3) && \
47630 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47631 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47632 ( defined(__INTEL_COMPILER) )
47633 There is no PCH support
47634 #endif
47635
47636 ;
47637 return 0;
47638 }
47639 _ACEOF
47640 rm -f conftest.$ac_objext
47641 if { (ac_try="$ac_compile"
47642 case "(($ac_try" in
47643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47644 *) ac_try_echo=$ac_try;;
47645 esac
47646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47647 (eval "$ac_compile") 2>conftest.er1
47648 ac_status=$?
47649 grep -v '^ *+' conftest.er1 >conftest.err
47650 rm -f conftest.er1
47651 cat conftest.err >&5
47652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47653 (exit $ac_status); } && {
47654 test -z "$ac_c_werror_flag" ||
47655 test ! -s conftest.err
47656 } && test -s conftest.$ac_objext; then
47657
47658 { echo "$as_me:$LINENO: result: yes" >&5
47659 echo "${ECHO_T}yes" >&6; }
47660 GCC_PCH=1
47661
47662 else
47663 echo "$as_me: failed program was:" >&5
47664 sed 's/^/| /' conftest.$ac_ext >&5
47665
47666
47667 cat >conftest.$ac_ext <<_ACEOF
47668 /* confdefs.h. */
47669 _ACEOF
47670 cat confdefs.h >>conftest.$ac_ext
47671 cat >>conftest.$ac_ext <<_ACEOF
47672 /* end confdefs.h. */
47673
47674 int
47675 main ()
47676 {
47677
47678 #if !defined(__INTEL_COMPILER) || \
47679 (__INTEL_COMPILER < 800)
47680 There is no PCH support
47681 #endif
47682
47683 ;
47684 return 0;
47685 }
47686 _ACEOF
47687 rm -f conftest.$ac_objext
47688 if { (ac_try="$ac_compile"
47689 case "(($ac_try" in
47690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47691 *) ac_try_echo=$ac_try;;
47692 esac
47693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47694 (eval "$ac_compile") 2>conftest.er1
47695 ac_status=$?
47696 grep -v '^ *+' conftest.er1 >conftest.err
47697 rm -f conftest.er1
47698 cat conftest.err >&5
47699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47700 (exit $ac_status); } && {
47701 test -z "$ac_c_werror_flag" ||
47702 test ! -s conftest.err
47703 } && test -s conftest.$ac_objext; then
47704
47705 { echo "$as_me:$LINENO: result: yes" >&5
47706 echo "${ECHO_T}yes" >&6; }
47707 ICC_PCH=1
47708
47709 else
47710 echo "$as_me: failed program was:" >&5
47711 sed 's/^/| /' conftest.$ac_ext >&5
47712
47713
47714 { echo "$as_me:$LINENO: result: no" >&5
47715 echo "${ECHO_T}no" >&6; }
47716
47717 fi
47718
47719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47720
47721 fi
47722
47723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47724 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47725 USE_PCH=1
47726
47727 D='$'
47728 cat <<EOF >bk-make-pch
47729 #!/bin/sh
47730
47731 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47732 # script. It is used to generated precompiled headers.
47733 #
47734 # Permission is given to use this file in any way.
47735
47736 outfile="${D}{1}"
47737 header="${D}{2}"
47738 shift
47739 shift
47740
47741 compiler=""
47742 headerfile=""
47743
47744 while test ${D}{#} -gt 0; do
47745 add_to_cmdline=1
47746 case "${D}{1}" in
47747 -I* )
47748 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47749 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47750 headerfile="${D}{incdir}/${D}{header}"
47751 fi
47752 ;;
47753 -use-pch|-use_pch )
47754 shift
47755 add_to_cmdline=0
47756 ;;
47757 esac
47758 if test ${D}add_to_cmdline = 1 ; then
47759 compiler="${D}{compiler} ${D}{1}"
47760 fi
47761 shift
47762 done
47763
47764 if test "x${D}{headerfile}" = "x" ; then
47765 echo "error: can't find header ${D}{header} in include paths" >&2
47766 else
47767 if test -f ${D}{outfile} ; then
47768 rm -f ${D}{outfile}
47769 else
47770 mkdir -p \`dirname ${D}{outfile}\`
47771 fi
47772 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47773 mkdir -p .deps
47774 if test "x${GCC_PCH}" = "x1" ; then
47775 # can do this because gcc is >= 3.4:
47776 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47777 elif test "x${ICC_PCH}" = "x1" ; then
47778 filename=pch_gen-${D}${D}
47779 file=${D}{filename}.c
47780 dfile=${D}{filename}.d
47781 cat > ${D}file <<EOT
47782 #include "${D}header"
47783 EOT
47784 # using -MF icc complains about differing command lines in creation/use
47785 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47786 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47787 rm -f ${D}file ${D}dfile ${D}{filename}.o
47788 fi
47789 exit ${D}{?}
47790 fi
47791 EOF
47792
47793 chmod +x bk-make-pch
47794 BK_MAKE_PCH="`pwd`/bk-make-pch"
47795 fi
47796 fi
47797 fi
47798
47799
47800
47801
47802
47803 COND_BUILD_DEBUG="#"
47804 if test "x$BUILD" = "xdebug" ; then
47805 COND_BUILD_DEBUG=""
47806 fi
47807
47808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47809 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47810 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47811 fi
47812
47813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47814 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47816 fi
47817
47818 COND_BUILD_DEBUG_UNICODE_0="#"
47819 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47820 COND_BUILD_DEBUG_UNICODE_0=""
47821 fi
47822
47823 COND_BUILD_DEBUG_UNICODE_1="#"
47824 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47825 COND_BUILD_DEBUG_UNICODE_1=""
47826 fi
47827
47828 COND_BUILD_RELEASE="#"
47829 if test "x$BUILD" = "xrelease" ; then
47830 COND_BUILD_RELEASE=""
47831 fi
47832
47833 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47834 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47835 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47836 fi
47837
47838 COND_BUILD_RELEASE_UNICODE_0="#"
47839 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47840 COND_BUILD_RELEASE_UNICODE_0=""
47841 fi
47842
47843 COND_BUILD_RELEASE_UNICODE_1="#"
47844 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47845 COND_BUILD_RELEASE_UNICODE_1=""
47846 fi
47847
47848 COND_DEBUG_FLAG_1="#"
47849 if test "x$DEBUG_FLAG" = "x1" ; then
47850 COND_DEBUG_FLAG_1=""
47851 fi
47852
47853 COND_DEBUG_INFO_0="#"
47854 if test "x$DEBUG_INFO" = "x0" ; then
47855 COND_DEBUG_INFO_0=""
47856 fi
47857
47858 COND_DEBUG_INFO_1="#"
47859 if test "x$DEBUG_INFO" = "x1" ; then
47860 COND_DEBUG_INFO_1=""
47861 fi
47862
47863 COND_DEPS_TRACKING_0="#"
47864 if test "x$DEPS_TRACKING" = "x0" ; then
47865 COND_DEPS_TRACKING_0=""
47866 fi
47867
47868 COND_DEPS_TRACKING_1="#"
47869 if test "x$DEPS_TRACKING" = "x1" ; then
47870 COND_DEPS_TRACKING_1=""
47871 fi
47872
47873 COND_GCC_PCH_1="#"
47874 if test "x$GCC_PCH" = "x1" ; then
47875 COND_GCC_PCH_1=""
47876 fi
47877
47878 COND_ICC_PCH_1="#"
47879 if test "x$ICC_PCH" = "x1" ; then
47880 COND_ICC_PCH_1=""
47881 fi
47882
47883 COND_MONOLITHIC_0="#"
47884 if test "x$MONOLITHIC" = "x0" ; then
47885 COND_MONOLITHIC_0=""
47886 fi
47887
47888 COND_MONOLITHIC_0_SHARED_0="#"
47889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47890 COND_MONOLITHIC_0_SHARED_0=""
47891 fi
47892
47893 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47895 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47896 fi
47897
47898 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47900 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47901 fi
47902
47903 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47905 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47906 fi
47907
47908 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47910 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47911 fi
47912
47913 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47915 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47916 fi
47917
47918 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47920 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47921 fi
47922
47923 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47925 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47926 fi
47927
47928 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47930 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47931 fi
47932
47933 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
47934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47935 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
47936 fi
47937
47938 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47940 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47941 fi
47942
47943 COND_MONOLITHIC_0_SHARED_1="#"
47944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47945 COND_MONOLITHIC_0_SHARED_1=""
47946 fi
47947
47948 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47950 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47951 fi
47952
47953 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47955 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47956 fi
47957
47958 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47961 fi
47962
47963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47966 fi
47967
47968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47970 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47971 fi
47972
47973 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47975 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47976 fi
47977
47978 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47980 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47981 fi
47982
47983 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47985 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
47986 fi
47987
47988 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
47989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
47990 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
47991 fi
47992
47993 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47995 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47996 fi
47997
47998 COND_MONOLITHIC_0_USE_AUI_1="#"
47999 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48000 COND_MONOLITHIC_0_USE_AUI_1=""
48001 fi
48002
48003 COND_MONOLITHIC_0_USE_GUI_1="#"
48004 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48005 COND_MONOLITHIC_0_USE_GUI_1=""
48006 fi
48007
48008 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48009 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48010 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48011 fi
48012
48013 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48014 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48015 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48016 fi
48017
48018 COND_MONOLITHIC_0_USE_HTML_1="#"
48019 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48020 COND_MONOLITHIC_0_USE_HTML_1=""
48021 fi
48022
48023 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48024 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48025 COND_MONOLITHIC_0_USE_MEDIA_1=""
48026 fi
48027
48028 COND_MONOLITHIC_0_USE_ODBC_1="#"
48029 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48030 COND_MONOLITHIC_0_USE_ODBC_1=""
48031 fi
48032
48033 COND_MONOLITHIC_0_USE_QA_1="#"
48034 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48035 COND_MONOLITHIC_0_USE_QA_1=""
48036 fi
48037
48038 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48039 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48040 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48041 fi
48042
48043 COND_MONOLITHIC_0_USE_STC_1="#"
48044 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48045 COND_MONOLITHIC_0_USE_STC_1=""
48046 fi
48047
48048 COND_MONOLITHIC_0_USE_XRC_1="#"
48049 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48050 COND_MONOLITHIC_0_USE_XRC_1=""
48051 fi
48052
48053 COND_MONOLITHIC_1="#"
48054 if test "x$MONOLITHIC" = "x1" ; then
48055 COND_MONOLITHIC_1=""
48056 fi
48057
48058 COND_MONOLITHIC_1_SHARED_0="#"
48059 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48060 COND_MONOLITHIC_1_SHARED_0=""
48061 fi
48062
48063 COND_MONOLITHIC_1_SHARED_1="#"
48064 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48065 COND_MONOLITHIC_1_SHARED_1=""
48066 fi
48067
48068 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48069 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48070 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48071 fi
48072
48073 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48074 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48075 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48076 fi
48077
48078 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48079 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48080 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48081 fi
48082
48083 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48084 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48085 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48086 fi
48087
48088 COND_PLATFORM_MACOSX_1="#"
48089 if test "x$PLATFORM_MACOSX" = "x1" ; then
48090 COND_PLATFORM_MACOSX_1=""
48091 fi
48092
48093 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48094 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48095 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48096 fi
48097
48098 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48099 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48100 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48101 fi
48102
48103 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48104 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48105 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48106 fi
48107
48108 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48109 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48110 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48111 fi
48112
48113 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48114 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48115 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48116 fi
48117
48118 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48119 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48120 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48121 fi
48122
48123 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48124 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48125 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48126 fi
48127
48128 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48129 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48130 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48131 fi
48132
48133 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48134 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48135 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48136 fi
48137
48138 COND_PLATFORM_MACOS_1="#"
48139 if test "x$PLATFORM_MACOS" = "x1" ; then
48140 COND_PLATFORM_MACOS_1=""
48141 fi
48142
48143 COND_PLATFORM_MAC_1="#"
48144 if test "x$PLATFORM_MAC" = "x1" ; then
48145 COND_PLATFORM_MAC_1=""
48146 fi
48147
48148 COND_PLATFORM_MSDOS_0="#"
48149 if test "x$PLATFORM_MSDOS" = "x0" ; then
48150 COND_PLATFORM_MSDOS_0=""
48151 fi
48152
48153 COND_PLATFORM_MSDOS_1="#"
48154 if test "x$PLATFORM_MSDOS" = "x1" ; then
48155 COND_PLATFORM_MSDOS_1=""
48156 fi
48157
48158 COND_PLATFORM_OS2_1="#"
48159 if test "x$PLATFORM_OS2" = "x1" ; then
48160 COND_PLATFORM_OS2_1=""
48161 fi
48162
48163 COND_PLATFORM_UNIX_0="#"
48164 if test "x$PLATFORM_UNIX" = "x0" ; then
48165 COND_PLATFORM_UNIX_0=""
48166 fi
48167
48168 COND_PLATFORM_UNIX_1="#"
48169 if test "x$PLATFORM_UNIX" = "x1" ; then
48170 COND_PLATFORM_UNIX_1=""
48171 fi
48172
48173 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48174 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48175 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48176 fi
48177
48178 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48179 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48180 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48181 fi
48182
48183 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48184 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48185 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48186 fi
48187
48188 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48189 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48190 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48191 fi
48192
48193 COND_PLATFORM_WIN32_0="#"
48194 if test "x$PLATFORM_WIN32" = "x0" ; then
48195 COND_PLATFORM_WIN32_0=""
48196 fi
48197
48198 COND_PLATFORM_WIN32_1="#"
48199 if test "x$PLATFORM_WIN32" = "x1" ; then
48200 COND_PLATFORM_WIN32_1=""
48201 fi
48202
48203 COND_SHARED_0="#"
48204 if test "x$SHARED" = "x0" ; then
48205 COND_SHARED_0=""
48206 fi
48207
48208 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48209 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48210 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48211 fi
48212
48213 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48214 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48215 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48216 fi
48217
48218 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48219 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48220 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48221 fi
48222
48223 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48224 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48225 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48226 fi
48227
48228 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48229 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48230 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48231 fi
48232
48233 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48234 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48235 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48236 fi
48237
48238 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48239 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48240 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48241 fi
48242
48243 COND_SHARED_0_USE_STC_1="#"
48244 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48245 COND_SHARED_0_USE_STC_1=""
48246 fi
48247
48248 COND_SHARED_0_USE_XRC_1="#"
48249 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48250 COND_SHARED_0_USE_XRC_1=""
48251 fi
48252
48253 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48254 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48255 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48256 fi
48257
48258 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48259 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48260 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48261 fi
48262
48263 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48264 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48265 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48266 fi
48267
48268 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48269 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48270 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48271 fi
48272
48273 COND_SHARED_1="#"
48274 if test "x$SHARED" = "x1" ; then
48275 COND_SHARED_1=""
48276 fi
48277
48278 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48279 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48280 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48281 fi
48282
48283 COND_SHARED_1_USE_XRC_1="#"
48284 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48285 COND_SHARED_1_USE_XRC_1=""
48286 fi
48287
48288 COND_TOOLKIT_="#"
48289 if test "x$TOOLKIT" = "x" ; then
48290 COND_TOOLKIT_=""
48291 fi
48292
48293 COND_TOOLKIT_COCOA="#"
48294 if test "x$TOOLKIT" = "xCOCOA" ; then
48295 COND_TOOLKIT_COCOA=""
48296 fi
48297
48298 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48299 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48300 COND_TOOLKIT_COCOA_USE_GUI_1=""
48301 fi
48302
48303 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48304 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48305 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48306 fi
48307
48308 COND_TOOLKIT_DFB="#"
48309 if test "x$TOOLKIT" = "xDFB" ; then
48310 COND_TOOLKIT_DFB=""
48311 fi
48312
48313 COND_TOOLKIT_DFB_USE_GUI_1="#"
48314 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48315 COND_TOOLKIT_DFB_USE_GUI_1=""
48316 fi
48317
48318 COND_TOOLKIT_GTK="#"
48319 if test "x$TOOLKIT" = "xGTK" ; then
48320 COND_TOOLKIT_GTK=""
48321 fi
48322
48323 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48324 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48325 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48326 fi
48327
48328 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48329 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48330 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48331 fi
48332
48333 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48334 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48335 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48336 fi
48337
48338 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48339 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48340 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48341 fi
48342
48343 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48344 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48345 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48346 fi
48347
48348 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48349 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48350 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48351 fi
48352
48353 COND_TOOLKIT_GTK_USE_GUI_1="#"
48354 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48355 COND_TOOLKIT_GTK_USE_GUI_1=""
48356 fi
48357
48358 COND_TOOLKIT_MAC="#"
48359 if test "x$TOOLKIT" = "xMAC" ; then
48360 COND_TOOLKIT_MAC=""
48361 fi
48362
48363 COND_TOOLKIT_MAC_USE_GUI_1="#"
48364 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48365 COND_TOOLKIT_MAC_USE_GUI_1=""
48366 fi
48367
48368 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48369 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48370 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48371 fi
48372
48373 COND_TOOLKIT_MGL="#"
48374 if test "x$TOOLKIT" = "xMGL" ; then
48375 COND_TOOLKIT_MGL=""
48376 fi
48377
48378 COND_TOOLKIT_MGL_USE_GUI_1="#"
48379 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48380 COND_TOOLKIT_MGL_USE_GUI_1=""
48381 fi
48382
48383 COND_TOOLKIT_MOTIF="#"
48384 if test "x$TOOLKIT" = "xMOTIF" ; then
48385 COND_TOOLKIT_MOTIF=""
48386 fi
48387
48388 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48389 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48390 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48391 fi
48392
48393 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48394 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48395 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48396 fi
48397
48398 COND_TOOLKIT_MSW="#"
48399 if test "x$TOOLKIT" = "xMSW" ; then
48400 COND_TOOLKIT_MSW=""
48401 fi
48402
48403 COND_TOOLKIT_MSW_USE_GUI_1="#"
48404 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48405 COND_TOOLKIT_MSW_USE_GUI_1=""
48406 fi
48407
48408 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48409 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48410 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48411 fi
48412
48413 COND_TOOLKIT_MSW_WXUNIV_0="#"
48414 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48415 COND_TOOLKIT_MSW_WXUNIV_0=""
48416 fi
48417
48418 COND_TOOLKIT_PM="#"
48419 if test "x$TOOLKIT" = "xPM" ; then
48420 COND_TOOLKIT_PM=""
48421 fi
48422
48423 COND_TOOLKIT_PM_USE_GUI_1="#"
48424 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48425 COND_TOOLKIT_PM_USE_GUI_1=""
48426 fi
48427
48428 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48429 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48430 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48431 fi
48432
48433 COND_TOOLKIT_WINCE="#"
48434 if test "x$TOOLKIT" = "xWINCE" ; then
48435 COND_TOOLKIT_WINCE=""
48436 fi
48437
48438 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48439 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48440 COND_TOOLKIT_WINCE_USE_GUI_1=""
48441 fi
48442
48443 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48444 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48445 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48446 fi
48447
48448 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48449 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48450 COND_TOOLKIT_WINCE_WXUNIV_0=""
48451 fi
48452
48453 COND_TOOLKIT_X11="#"
48454 if test "x$TOOLKIT" = "xX11" ; then
48455 COND_TOOLKIT_X11=""
48456 fi
48457
48458 COND_TOOLKIT_X11_USE_GUI_1="#"
48459 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48460 COND_TOOLKIT_X11_USE_GUI_1=""
48461 fi
48462
48463 COND_UNICODE_1="#"
48464 if test "x$UNICODE" = "x1" ; then
48465 COND_UNICODE_1=""
48466 fi
48467
48468 COND_USE_EXCEPTIONS_0="#"
48469 if test "x$USE_EXCEPTIONS" = "x0" ; then
48470 COND_USE_EXCEPTIONS_0=""
48471 fi
48472
48473 COND_USE_EXCEPTIONS_1="#"
48474 if test "x$USE_EXCEPTIONS" = "x1" ; then
48475 COND_USE_EXCEPTIONS_1=""
48476 fi
48477
48478 COND_USE_GUI_0="#"
48479 if test "x$USE_GUI" = "x0" ; then
48480 COND_USE_GUI_0=""
48481 fi
48482
48483 COND_USE_GUI_1="#"
48484 if test "x$USE_GUI" = "x1" ; then
48485 COND_USE_GUI_1=""
48486 fi
48487
48488 COND_USE_GUI_1_WXUNIV_0="#"
48489 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48490 COND_USE_GUI_1_WXUNIV_0=""
48491 fi
48492
48493 COND_USE_GUI_1_WXUNIV_1="#"
48494 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48495 COND_USE_GUI_1_WXUNIV_1=""
48496 fi
48497
48498 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48499 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48500 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48501 fi
48502
48503 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48504 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48505 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48506 fi
48507
48508 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48509 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48510 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48511 fi
48512
48513 COND_USE_ODBC_1="#"
48514 if test "x$USE_ODBC" = "x1" ; then
48515 COND_USE_ODBC_1=""
48516 fi
48517
48518 COND_USE_OPENGL_1="#"
48519 if test "x$USE_OPENGL" = "x1" ; then
48520 COND_USE_OPENGL_1=""
48521 fi
48522
48523 COND_USE_PCH_1="#"
48524 if test "x$USE_PCH" = "x1" ; then
48525 COND_USE_PCH_1=""
48526 fi
48527
48528 COND_USE_PLUGINS_0="#"
48529 if test "x$USE_PLUGINS" = "x0" ; then
48530 COND_USE_PLUGINS_0=""
48531 fi
48532
48533 COND_USE_RTTI_0="#"
48534 if test "x$USE_RTTI" = "x0" ; then
48535 COND_USE_RTTI_0=""
48536 fi
48537
48538 COND_USE_RTTI_1="#"
48539 if test "x$USE_RTTI" = "x1" ; then
48540 COND_USE_RTTI_1=""
48541 fi
48542
48543 COND_USE_SOSYMLINKS_1="#"
48544 if test "x$USE_SOSYMLINKS" = "x1" ; then
48545 COND_USE_SOSYMLINKS_1=""
48546 fi
48547
48548 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48549 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48550 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48551 fi
48552
48553 COND_USE_SOVERLINUX_1="#"
48554 if test "x$USE_SOVERLINUX" = "x1" ; then
48555 COND_USE_SOVERLINUX_1=""
48556 fi
48557
48558 COND_USE_SOVERSION_0="#"
48559 if test "x$USE_SOVERSION" = "x0" ; then
48560 COND_USE_SOVERSION_0=""
48561 fi
48562
48563 COND_USE_SOVERSOLARIS_1="#"
48564 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48565 COND_USE_SOVERSOLARIS_1=""
48566 fi
48567
48568 COND_USE_STC_1="#"
48569 if test "x$USE_STC" = "x1" ; then
48570 COND_USE_STC_1=""
48571 fi
48572
48573 COND_USE_THREADS_0="#"
48574 if test "x$USE_THREADS" = "x0" ; then
48575 COND_USE_THREADS_0=""
48576 fi
48577
48578 COND_USE_THREADS_1="#"
48579 if test "x$USE_THREADS" = "x1" ; then
48580 COND_USE_THREADS_1=""
48581 fi
48582
48583 COND_USE_XRC_1="#"
48584 if test "x$USE_XRC" = "x1" ; then
48585 COND_USE_XRC_1=""
48586 fi
48587
48588 COND_WINDOWS_IMPLIB_1="#"
48589 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48590 COND_WINDOWS_IMPLIB_1=""
48591 fi
48592
48593 COND_WITH_PLUGIN_SDL_1="#"
48594 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48595 COND_WITH_PLUGIN_SDL_1=""
48596 fi
48597
48598 COND_WXUNIV_0="#"
48599 if test "x$WXUNIV" = "x0" ; then
48600 COND_WXUNIV_0=""
48601 fi
48602
48603 COND_WXUNIV_1="#"
48604 if test "x$WXUNIV" = "x1" ; then
48605 COND_WXUNIV_1=""
48606 fi
48607
48608 COND_WXUSE_EXPAT_BUILTIN="#"
48609 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48610 COND_WXUSE_EXPAT_BUILTIN=""
48611 fi
48612
48613 COND_WXUSE_LIBJPEG_BUILTIN="#"
48614 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48615 COND_WXUSE_LIBJPEG_BUILTIN=""
48616 fi
48617
48618 COND_WXUSE_LIBPNG_BUILTIN="#"
48619 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48620 COND_WXUSE_LIBPNG_BUILTIN=""
48621 fi
48622
48623 COND_WXUSE_LIBTIFF_BUILTIN="#"
48624 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48625 COND_WXUSE_LIBTIFF_BUILTIN=""
48626 fi
48627
48628 COND_WXUSE_ODBC_BUILTIN="#"
48629 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48630 COND_WXUSE_ODBC_BUILTIN=""
48631 fi
48632
48633 COND_WXUSE_REGEX_BUILTIN="#"
48634 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48635 COND_WXUSE_REGEX_BUILTIN=""
48636 fi
48637
48638 COND_WXUSE_ZLIB_BUILTIN="#"
48639 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48640 COND_WXUSE_ZLIB_BUILTIN=""
48641 fi
48642
48643
48644
48645 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48646 { { 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
48647 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;}
48648 { (exit 1); exit 1; }; }
48649 fi
48650
48651 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48652 { { 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
48653 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;}
48654 { (exit 1); exit 1; }; }
48655 fi
48656
48657
48658 if test $GCC_PCH = 1
48659 then
48660 if test "$wx_cv_gcc_pch_bug" = yes; then
48661 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48662 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48663 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48664 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48665 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48666 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48667 fi
48668
48669 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48670 fi
48671
48672
48673 if test "$wxUSE_MAC" = 1 ; then
48674 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48675 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48676 mv temp bk-deps
48677 chmod +x bk-deps
48678 fi
48679 fi
48680
48681 if test "$wxUSE_SHARED" = "yes"; then
48682
48683 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48684 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48685
48686 case "${host}" in
48687 *-pc-os2_emx | *-pc-os2-emx )
48688 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48689 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48690 cp -p ${srcdir}/src/os2/dllnames.sh .
48691 cp -p ${srcdir}/src/os2/dllar.sh .
48692 ;;
48693 esac
48694 else
48695
48696 EXE_LINKER="$CXX -o"
48697
48698 fi
48699 if test "$wxUSE_OMF" = "yes"; then
48700 case "${host}" in
48701 *-pc-os2_emx | *-pc-os2-emx )
48702 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48703 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48704 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48705 ;;
48706 esac
48707 fi
48708
48709 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48710
48711 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48712
48713
48714
48715
48716
48717
48718
48719
48720
48721
48722
48723
48724
48725
48726
48727
48728
48729
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758
48759
48760
48761
48762
48763
48764
48765
48766
48767
48768
48769
48770
48771
48772
48773 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48774 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48775 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48776 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48777 echo $ECHO_N "(cached) $ECHO_C" >&6
48778 else
48779 cat >conftest.make <<\_ACEOF
48780 SHELL = /bin/sh
48781 all:
48782 @echo '@@@%%%=$(MAKE)=@@@%%%'
48783 _ACEOF
48784 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48785 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48786 *@@@%%%=?*=@@@%%%*)
48787 eval ac_cv_prog_make_${ac_make}_set=yes;;
48788 *)
48789 eval ac_cv_prog_make_${ac_make}_set=no;;
48790 esac
48791 rm -f conftest.make
48792 fi
48793 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48794 { echo "$as_me:$LINENO: result: yes" >&5
48795 echo "${ECHO_T}yes" >&6; }
48796 SET_MAKE=
48797 else
48798 { echo "$as_me:$LINENO: result: no" >&5
48799 echo "${ECHO_T}no" >&6; }
48800 SET_MAKE="MAKE=${MAKE-make}"
48801 fi
48802
48803
48804
48805 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48806
48807
48808 if test "$USE_WIN32" = 1; then
48809 ac_config_commands="$ac_config_commands
48810 rcdefs.h
48811 "
48812
48813 fi
48814
48815 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48816
48817
48818 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48819
48820
48821 if test "$wx_cv_version_script" = "yes"; then
48822 ac_config_files="$ac_config_files version-script"
48823
48824 fi
48825 ac_config_files="$ac_config_files Makefile"
48826
48827
48828 ac_config_commands="$ac_config_commands wx-config"
48829
48830
48831
48832 if test "$wxWITH_SUBDIRS" != "no"; then
48833 if test "$wxUSE_GUI" = "yes"; then
48834 SUBDIRS="samples demos utils"
48835 else SUBDIRS="samples utils"
48836 fi
48837
48838
48839
48840 # Check whether --with-cppunit-prefix was given.
48841 if test "${with_cppunit_prefix+set}" = set; then
48842 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48843 else
48844 cppunit_config_prefix=""
48845 fi
48846
48847
48848 # Check whether --with-cppunit-exec-prefix was given.
48849 if test "${with_cppunit_exec_prefix+set}" = set; then
48850 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48851 else
48852 cppunit_config_exec_prefix=""
48853 fi
48854
48855
48856 if test x$cppunit_config_exec_prefix != x ; then
48857 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48858 if test x${CPPUNIT_CONFIG+set} != xset ; then
48859 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48860 fi
48861 fi
48862 if test x$cppunit_config_prefix != x ; then
48863 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48864 if test x${CPPUNIT_CONFIG+set} != xset ; then
48865 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48866 fi
48867 fi
48868
48869 # Extract the first word of "cppunit-config", so it can be a program name with args.
48870 set dummy cppunit-config; ac_word=$2
48871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48873 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48874 echo $ECHO_N "(cached) $ECHO_C" >&6
48875 else
48876 case $CPPUNIT_CONFIG in
48877 [\\/]* | ?:[\\/]*)
48878 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48879 ;;
48880 *)
48881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48882 for as_dir in $PATH
48883 do
48884 IFS=$as_save_IFS
48885 test -z "$as_dir" && as_dir=.
48886 for ac_exec_ext in '' $ac_executable_extensions; do
48887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48888 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48890 break 2
48891 fi
48892 done
48893 done
48894 IFS=$as_save_IFS
48895
48896 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48897 ;;
48898 esac
48899 fi
48900 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48901 if test -n "$CPPUNIT_CONFIG"; then
48902 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48903 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
48904 else
48905 { echo "$as_me:$LINENO: result: no" >&5
48906 echo "${ECHO_T}no" >&6; }
48907 fi
48908
48909
48910 cppunit_version_min=1.8.0
48911
48912 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48913 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
48914 no_cppunit=""
48915 if test "$CPPUNIT_CONFIG" = "no" ; then
48916 { echo "$as_me:$LINENO: result: no" >&5
48917 echo "${ECHO_T}no" >&6; }
48918 no_cppunit=yes
48919 else
48920 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48921 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48922 cppunit_version=`$CPPUNIT_CONFIG --version`
48923
48924 cppunit_major_version=`echo $cppunit_version | \
48925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48926 cppunit_minor_version=`echo $cppunit_version | \
48927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48928 cppunit_micro_version=`echo $cppunit_version | \
48929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48930
48931 cppunit_major_min=`echo $cppunit_version_min | \
48932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48933 if test "x${cppunit_major_min}" = "x" ; then
48934 cppunit_major_min=0
48935 fi
48936
48937 cppunit_minor_min=`echo $cppunit_version_min | \
48938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48939 if test "x${cppunit_minor_min}" = "x" ; then
48940 cppunit_minor_min=0
48941 fi
48942
48943 cppunit_micro_min=`echo $cppunit_version_min | \
48944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48945 if test "x${cppunit_micro_min}" = "x" ; then
48946 cppunit_micro_min=0
48947 fi
48948
48949 cppunit_version_proper=`expr \
48950 $cppunit_major_version \> $cppunit_major_min \| \
48951 $cppunit_major_version \= $cppunit_major_min \& \
48952 $cppunit_minor_version \> $cppunit_minor_min \| \
48953 $cppunit_major_version \= $cppunit_major_min \& \
48954 $cppunit_minor_version \= $cppunit_minor_min \& \
48955 $cppunit_micro_version \>= $cppunit_micro_min `
48956
48957 if test "$cppunit_version_proper" = "1" ; then
48958 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48959 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
48960 else
48961 { echo "$as_me:$LINENO: result: no" >&5
48962 echo "${ECHO_T}no" >&6; }
48963 no_cppunit=yes
48964 fi
48965 fi
48966
48967 if test "x$no_cppunit" = x ; then
48968 SUBDIRS="$SUBDIRS tests"
48969 else
48970 CPPUNIT_CFLAGS=""
48971 CPPUNIT_LIBS=""
48972 :
48973 fi
48974
48975
48976
48977
48978
48979 for subdir in `echo $SUBDIRS`; do
48980 if test -d ${srcdir}/${subdir} ; then
48981 if test "$wxUSE_GUI" = "yes"; then
48982 if test ${subdir} = "samples"; then
48983 makefiles="samples/Makefile.in $makefiles"
48984 for sample in `echo $SAMPLES_SUBDIRS`; do
48985 if test -d $srcdir/samples/$sample; then
48986 makefiles="samples/$sample/Makefile.in $makefiles"
48987 fi
48988 done
48989 else
48990 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48991 eval "disabled=\$$disabled_var"
48992 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48993 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
48994 fi
48995 else if test ${subdir} = "samples"; then
48996 makefiles="samples/Makefile.in samples/console/Makefile.in"
48997 elif test ${subdir} = "utils"; then
48998 makefiles=""
48999 for util in HelpGen tex2rtf ; do
49000 if test -d $srcdir/utils/$util ; then
49001 makefiles="utils/$util/Makefile.in \
49002 utils/$util/src/Makefile.in \
49003 $makefiles"
49004 fi
49005 done
49006 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49007 fi
49008 fi
49009
49010 for mkin in $makefiles ; do
49011 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49012 ac_config_files="$ac_config_files $mk"
49013
49014 done
49015 fi
49016 done
49017 fi
49018 cat >confcache <<\_ACEOF
49019 # This file is a shell script that caches the results of configure
49020 # tests run on this system so they can be shared between configure
49021 # scripts and configure runs, see configure's option --config-cache.
49022 # It is not useful on other systems. If it contains results you don't
49023 # want to keep, you may remove or edit it.
49024 #
49025 # config.status only pays attention to the cache file if you give it
49026 # the --recheck option to rerun configure.
49027 #
49028 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49029 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49030 # following values.
49031
49032 _ACEOF
49033
49034 # The following way of writing the cache mishandles newlines in values,
49035 # but we know of no workaround that is simple, portable, and efficient.
49036 # So, we kill variables containing newlines.
49037 # Ultrix sh set writes to stderr and can't be redirected directly,
49038 # and sets the high bit in the cache file unless we assign to the vars.
49039 (
49040 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49041 eval ac_val=\$$ac_var
49042 case $ac_val in #(
49043 *${as_nl}*)
49044 case $ac_var in #(
49045 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49046 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49047 esac
49048 case $ac_var in #(
49049 _ | IFS | as_nl) ;; #(
49050 *) $as_unset $ac_var ;;
49051 esac ;;
49052 esac
49053 done
49054
49055 (set) 2>&1 |
49056 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49057 *${as_nl}ac_space=\ *)
49058 # `set' does not quote correctly, so add quotes (double-quote
49059 # substitution turns \\\\ into \\, and sed turns \\ into \).
49060 sed -n \
49061 "s/'/'\\\\''/g;
49062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49063 ;; #(
49064 *)
49065 # `set' quotes correctly as required by POSIX, so do not add quotes.
49066 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49067 ;;
49068 esac |
49069 sort
49070 ) |
49071 sed '
49072 /^ac_cv_env_/b end
49073 t clear
49074 :clear
49075 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49076 t end
49077 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49078 :end' >>confcache
49079 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49080 if test -w "$cache_file"; then
49081 test "x$cache_file" != "x/dev/null" &&
49082 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49083 echo "$as_me: updating cache $cache_file" >&6;}
49084 cat confcache >$cache_file
49085 else
49086 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49087 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49088 fi
49089 fi
49090 rm -f confcache
49091
49092 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49093 # Let make expand exec_prefix.
49094 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49095
49096 DEFS=-DHAVE_CONFIG_H
49097
49098 ac_libobjs=
49099 ac_ltlibobjs=
49100 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49101 # 1. Remove the extension, and $U if already installed.
49102 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49103 ac_i=`echo "$ac_i" | sed "$ac_script"`
49104 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49105 # will be set to the directory where LIBOBJS objects are built.
49106 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49107 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49108 done
49109 LIBOBJS=$ac_libobjs
49110
49111 LTLIBOBJS=$ac_ltlibobjs
49112
49113
49114
49115 : ${CONFIG_STATUS=./config.status}
49116 ac_clean_files_save=$ac_clean_files
49117 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49118 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49119 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49120 cat >$CONFIG_STATUS <<_ACEOF
49121 #! $SHELL
49122 # Generated by $as_me.
49123 # Run this file to recreate the current configuration.
49124 # Compiler output produced by configure, useful for debugging
49125 # configure, is in config.log if it exists.
49126
49127 debug=false
49128 ac_cs_recheck=false
49129 ac_cs_silent=false
49130 SHELL=\${CONFIG_SHELL-$SHELL}
49131 _ACEOF
49132
49133 cat >>$CONFIG_STATUS <<\_ACEOF
49134 ## --------------------- ##
49135 ## M4sh Initialization. ##
49136 ## --------------------- ##
49137
49138 # Be more Bourne compatible
49139 DUALCASE=1; export DUALCASE # for MKS sh
49140 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49141 emulate sh
49142 NULLCMD=:
49143 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49144 # is contrary to our usage. Disable this feature.
49145 alias -g '${1+"$@"}'='"$@"'
49146 setopt NO_GLOB_SUBST
49147 else
49148 case `(set -o) 2>/dev/null` in
49149 *posix*) set -o posix ;;
49150 esac
49151
49152 fi
49153
49154
49155
49156
49157 # PATH needs CR
49158 # Avoid depending upon Character Ranges.
49159 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49160 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49161 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49162 as_cr_digits='0123456789'
49163 as_cr_alnum=$as_cr_Letters$as_cr_digits
49164
49165 # The user is always right.
49166 if test "${PATH_SEPARATOR+set}" != set; then
49167 echo "#! /bin/sh" >conf$$.sh
49168 echo "exit 0" >>conf$$.sh
49169 chmod +x conf$$.sh
49170 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49171 PATH_SEPARATOR=';'
49172 else
49173 PATH_SEPARATOR=:
49174 fi
49175 rm -f conf$$.sh
49176 fi
49177
49178 # Support unset when possible.
49179 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49180 as_unset=unset
49181 else
49182 as_unset=false
49183 fi
49184
49185
49186 # IFS
49187 # We need space, tab and new line, in precisely that order. Quoting is
49188 # there to prevent editors from complaining about space-tab.
49189 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49190 # splitting by setting IFS to empty value.)
49191 as_nl='
49192 '
49193 IFS=" "" $as_nl"
49194
49195 # Find who we are. Look in the path if we contain no directory separator.
49196 case $0 in
49197 *[\\/]* ) as_myself=$0 ;;
49198 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49199 for as_dir in $PATH
49200 do
49201 IFS=$as_save_IFS
49202 test -z "$as_dir" && as_dir=.
49203 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49204 done
49205 IFS=$as_save_IFS
49206
49207 ;;
49208 esac
49209 # We did not find ourselves, most probably we were run as `sh COMMAND'
49210 # in which case we are not to be found in the path.
49211 if test "x$as_myself" = x; then
49212 as_myself=$0
49213 fi
49214 if test ! -f "$as_myself"; then
49215 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49216 { (exit 1); exit 1; }
49217 fi
49218
49219 # Work around bugs in pre-3.0 UWIN ksh.
49220 for as_var in ENV MAIL MAILPATH
49221 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49222 done
49223 PS1='$ '
49224 PS2='> '
49225 PS4='+ '
49226
49227 # NLS nuisances.
49228 for as_var in \
49229 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49230 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49231 LC_TELEPHONE LC_TIME
49232 do
49233 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49234 eval $as_var=C; export $as_var
49235 else
49236 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49237 fi
49238 done
49239
49240 # Required to use basename.
49241 if expr a : '\(a\)' >/dev/null 2>&1 &&
49242 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49243 as_expr=expr
49244 else
49245 as_expr=false
49246 fi
49247
49248 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49249 as_basename=basename
49250 else
49251 as_basename=false
49252 fi
49253
49254
49255 # Name of the executable.
49256 as_me=`$as_basename -- "$0" ||
49257 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49258 X"$0" : 'X\(//\)$' \| \
49259 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49260 echo X/"$0" |
49261 sed '/^.*\/\([^/][^/]*\)\/*$/{
49262 s//\1/
49263 q
49264 }
49265 /^X\/\(\/\/\)$/{
49266 s//\1/
49267 q
49268 }
49269 /^X\/\(\/\).*/{
49270 s//\1/
49271 q
49272 }
49273 s/.*/./; q'`
49274
49275 # CDPATH.
49276 $as_unset CDPATH
49277
49278
49279
49280 as_lineno_1=$LINENO
49281 as_lineno_2=$LINENO
49282 test "x$as_lineno_1" != "x$as_lineno_2" &&
49283 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49284
49285 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49286 # uniformly replaced by the line number. The first 'sed' inserts a
49287 # line-number line after each line using $LINENO; the second 'sed'
49288 # does the real work. The second script uses 'N' to pair each
49289 # line-number line with the line containing $LINENO, and appends
49290 # trailing '-' during substitution so that $LINENO is not a special
49291 # case at line end.
49292 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49293 # scripts with optimization help from Paolo Bonzini. Blame Lee
49294 # E. McMahon (1931-1989) for sed's syntax. :-)
49295 sed -n '
49296 p
49297 /[$]LINENO/=
49298 ' <$as_myself |
49299 sed '
49300 s/[$]LINENO.*/&-/
49301 t lineno
49302 b
49303 :lineno
49304 N
49305 :loop
49306 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49307 t loop
49308 s/-\n.*//
49309 ' >$as_me.lineno &&
49310 chmod +x "$as_me.lineno" ||
49311 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49312 { (exit 1); exit 1; }; }
49313
49314 # Don't try to exec as it changes $[0], causing all sort of problems
49315 # (the dirname of $[0] is not the place where we might find the
49316 # original and so on. Autoconf is especially sensitive to this).
49317 . "./$as_me.lineno"
49318 # Exit status is that of the last command.
49319 exit
49320 }
49321
49322
49323 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49324 as_dirname=dirname
49325 else
49326 as_dirname=false
49327 fi
49328
49329 ECHO_C= ECHO_N= ECHO_T=
49330 case `echo -n x` in
49331 -n*)
49332 case `echo 'x\c'` in
49333 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49334 *) ECHO_C='\c';;
49335 esac;;
49336 *)
49337 ECHO_N='-n';;
49338 esac
49339
49340 if expr a : '\(a\)' >/dev/null 2>&1 &&
49341 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49342 as_expr=expr
49343 else
49344 as_expr=false
49345 fi
49346
49347 rm -f conf$$ conf$$.exe conf$$.file
49348 if test -d conf$$.dir; then
49349 rm -f conf$$.dir/conf$$.file
49350 else
49351 rm -f conf$$.dir
49352 mkdir conf$$.dir
49353 fi
49354 echo >conf$$.file
49355 if ln -s conf$$.file conf$$ 2>/dev/null; then
49356 as_ln_s='ln -s'
49357 # ... but there are two gotchas:
49358 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49359 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49360 # In both cases, we have to default to `cp -p'.
49361 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49362 as_ln_s='cp -p'
49363 elif ln conf$$.file conf$$ 2>/dev/null; then
49364 as_ln_s=ln
49365 else
49366 as_ln_s='cp -p'
49367 fi
49368 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49369 rmdir conf$$.dir 2>/dev/null
49370
49371 if mkdir -p . 2>/dev/null; then
49372 as_mkdir_p=:
49373 else
49374 test -d ./-p && rmdir ./-p
49375 as_mkdir_p=false
49376 fi
49377
49378 if test -x / >/dev/null 2>&1; then
49379 as_test_x='test -x'
49380 else
49381 if ls -dL / >/dev/null 2>&1; then
49382 as_ls_L_option=L
49383 else
49384 as_ls_L_option=
49385 fi
49386 as_test_x='
49387 eval sh -c '\''
49388 if test -d "$1"; then
49389 test -d "$1/.";
49390 else
49391 case $1 in
49392 -*)set "./$1";;
49393 esac;
49394 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49395 ???[sx]*):;;*)false;;esac;fi
49396 '\'' sh
49397 '
49398 fi
49399 as_executable_p=$as_test_x
49400
49401 # Sed expression to map a string onto a valid CPP name.
49402 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49403
49404 # Sed expression to map a string onto a valid variable name.
49405 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49406
49407
49408 exec 6>&1
49409
49410 # Save the log message, to keep $[0] and so on meaningful, and to
49411 # report actual input values of CONFIG_FILES etc. instead of their
49412 # values after options handling.
49413 ac_log="
49414 This file was extended by wxWidgets $as_me 2.9.0, which was
49415 generated by GNU Autoconf 2.61. Invocation command line was
49416
49417 CONFIG_FILES = $CONFIG_FILES
49418 CONFIG_HEADERS = $CONFIG_HEADERS
49419 CONFIG_LINKS = $CONFIG_LINKS
49420 CONFIG_COMMANDS = $CONFIG_COMMANDS
49421 $ $0 $@
49422
49423 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49424 "
49425
49426 _ACEOF
49427
49428 cat >>$CONFIG_STATUS <<_ACEOF
49429 # Files that config.status was made for.
49430 config_files="$ac_config_files"
49431 config_headers="$ac_config_headers"
49432 config_commands="$ac_config_commands"
49433
49434 _ACEOF
49435
49436 cat >>$CONFIG_STATUS <<\_ACEOF
49437 ac_cs_usage="\
49438 \`$as_me' instantiates files from templates according to the
49439 current configuration.
49440
49441 Usage: $0 [OPTIONS] [FILE]...
49442
49443 -h, --help print this help, then exit
49444 -V, --version print version number and configuration settings, then exit
49445 -q, --quiet do not print progress messages
49446 -d, --debug don't remove temporary files
49447 --recheck update $as_me by reconfiguring in the same conditions
49448 --file=FILE[:TEMPLATE]
49449 instantiate the configuration file FILE
49450 --header=FILE[:TEMPLATE]
49451 instantiate the configuration header FILE
49452
49453 Configuration files:
49454 $config_files
49455
49456 Configuration headers:
49457 $config_headers
49458
49459 Configuration commands:
49460 $config_commands
49461
49462 Report bugs to <bug-autoconf@gnu.org>."
49463
49464 _ACEOF
49465 cat >>$CONFIG_STATUS <<_ACEOF
49466 ac_cs_version="\\
49467 wxWidgets config.status 2.9.0
49468 configured by $0, generated by GNU Autoconf 2.61,
49469 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49470
49471 Copyright (C) 2006 Free Software Foundation, Inc.
49472 This config.status script is free software; the Free Software Foundation
49473 gives unlimited permission to copy, distribute and modify it."
49474
49475 ac_pwd='$ac_pwd'
49476 srcdir='$srcdir'
49477 INSTALL='$INSTALL'
49478 _ACEOF
49479
49480 cat >>$CONFIG_STATUS <<\_ACEOF
49481 # If no file are specified by the user, then we need to provide default
49482 # value. By we need to know if files were specified by the user.
49483 ac_need_defaults=:
49484 while test $# != 0
49485 do
49486 case $1 in
49487 --*=*)
49488 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49489 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49490 ac_shift=:
49491 ;;
49492 *)
49493 ac_option=$1
49494 ac_optarg=$2
49495 ac_shift=shift
49496 ;;
49497 esac
49498
49499 case $ac_option in
49500 # Handling of the options.
49501 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49502 ac_cs_recheck=: ;;
49503 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49504 echo "$ac_cs_version"; exit ;;
49505 --debug | --debu | --deb | --de | --d | -d )
49506 debug=: ;;
49507 --file | --fil | --fi | --f )
49508 $ac_shift
49509 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49510 ac_need_defaults=false;;
49511 --header | --heade | --head | --hea )
49512 $ac_shift
49513 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49514 ac_need_defaults=false;;
49515 --he | --h)
49516 # Conflict between --help and --header
49517 { echo "$as_me: error: ambiguous option: $1
49518 Try \`$0 --help' for more information." >&2
49519 { (exit 1); exit 1; }; };;
49520 --help | --hel | -h )
49521 echo "$ac_cs_usage"; exit ;;
49522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49523 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49524 ac_cs_silent=: ;;
49525
49526 # This is an error.
49527 -*) { echo "$as_me: error: unrecognized option: $1
49528 Try \`$0 --help' for more information." >&2
49529 { (exit 1); exit 1; }; } ;;
49530
49531 *) ac_config_targets="$ac_config_targets $1"
49532 ac_need_defaults=false ;;
49533
49534 esac
49535 shift
49536 done
49537
49538 ac_configure_extra_args=
49539
49540 if $ac_cs_silent; then
49541 exec 6>/dev/null
49542 ac_configure_extra_args="$ac_configure_extra_args --silent"
49543 fi
49544
49545 _ACEOF
49546 cat >>$CONFIG_STATUS <<_ACEOF
49547 if \$ac_cs_recheck; then
49548 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49549 CONFIG_SHELL=$SHELL
49550 export CONFIG_SHELL
49551 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49552 fi
49553
49554 _ACEOF
49555 cat >>$CONFIG_STATUS <<\_ACEOF
49556 exec 5>>config.log
49557 {
49558 echo
49559 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49560 ## Running $as_me. ##
49561 _ASBOX
49562 echo "$ac_log"
49563 } >&5
49564
49565 _ACEOF
49566 cat >>$CONFIG_STATUS <<_ACEOF
49567 #
49568 # INIT-COMMANDS
49569 #
49570
49571 CPP="$CPP"
49572 infile="$srcdir/include/wx/msw/genrcdefs.h"
49573 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49574
49575
49576 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49577 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49578 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49579 LN_S="${LN_S}"
49580
49581
49582 _ACEOF
49583
49584 cat >>$CONFIG_STATUS <<\_ACEOF
49585
49586 # Handling of arguments.
49587 for ac_config_target in $ac_config_targets
49588 do
49589 case $ac_config_target in
49590 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49591 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49592 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49593 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49594 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49595 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49596 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49597 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49598
49599 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49600 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49601 { (exit 1); exit 1; }; };;
49602 esac
49603 done
49604
49605
49606 # If the user did not use the arguments to specify the items to instantiate,
49607 # then the envvar interface is used. Set only those that are not.
49608 # We use the long form for the default assignment because of an extremely
49609 # bizarre bug on SunOS 4.1.3.
49610 if $ac_need_defaults; then
49611 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49612 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49613 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49614 fi
49615
49616 # Have a temporary directory for convenience. Make it in the build tree
49617 # simply because there is no reason against having it here, and in addition,
49618 # creating and moving files from /tmp can sometimes cause problems.
49619 # Hook for its removal unless debugging.
49620 # Note that there is a small window in which the directory will not be cleaned:
49621 # after its creation but before its name has been assigned to `$tmp'.
49622 $debug ||
49623 {
49624 tmp=
49625 trap 'exit_status=$?
49626 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49627 ' 0
49628 trap '{ (exit 1); exit 1; }' 1 2 13 15
49629 }
49630 # Create a (secure) tmp directory for tmp files.
49631
49632 {
49633 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49634 test -n "$tmp" && test -d "$tmp"
49635 } ||
49636 {
49637 tmp=./conf$$-$RANDOM
49638 (umask 077 && mkdir "$tmp")
49639 } ||
49640 {
49641 echo "$me: cannot create a temporary directory in ." >&2
49642 { (exit 1); exit 1; }
49643 }
49644
49645 #
49646 # Set up the sed scripts for CONFIG_FILES section.
49647 #
49648
49649 # No need to generate the scripts if there are no CONFIG_FILES.
49650 # This happens for instance when ./config.status config.h
49651 if test -n "$CONFIG_FILES"; then
49652
49653 _ACEOF
49654
49655
49656
49657 ac_delim='%!_!# '
49658 for ac_last_try in false false false false false :; do
49659 cat >conf$$subs.sed <<_ACEOF
49660 SHELL!$SHELL$ac_delim
49661 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49662 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49663 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49664 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49665 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49666 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49667 exec_prefix!$exec_prefix$ac_delim
49668 prefix!$prefix$ac_delim
49669 program_transform_name!$program_transform_name$ac_delim
49670 bindir!$bindir$ac_delim
49671 sbindir!$sbindir$ac_delim
49672 libexecdir!$libexecdir$ac_delim
49673 datarootdir!$datarootdir$ac_delim
49674 datadir!$datadir$ac_delim
49675 sysconfdir!$sysconfdir$ac_delim
49676 sharedstatedir!$sharedstatedir$ac_delim
49677 localstatedir!$localstatedir$ac_delim
49678 includedir!$includedir$ac_delim
49679 oldincludedir!$oldincludedir$ac_delim
49680 docdir!$docdir$ac_delim
49681 infodir!$infodir$ac_delim
49682 htmldir!$htmldir$ac_delim
49683 dvidir!$dvidir$ac_delim
49684 pdfdir!$pdfdir$ac_delim
49685 psdir!$psdir$ac_delim
49686 libdir!$libdir$ac_delim
49687 localedir!$localedir$ac_delim
49688 mandir!$mandir$ac_delim
49689 DEFS!$DEFS$ac_delim
49690 ECHO_C!$ECHO_C$ac_delim
49691 ECHO_N!$ECHO_N$ac_delim
49692 ECHO_T!$ECHO_T$ac_delim
49693 LIBS!$LIBS$ac_delim
49694 build_alias!$build_alias$ac_delim
49695 host_alias!$host_alias$ac_delim
49696 target_alias!$target_alias$ac_delim
49697 build!$build$ac_delim
49698 build_cpu!$build_cpu$ac_delim
49699 build_vendor!$build_vendor$ac_delim
49700 build_os!$build_os$ac_delim
49701 host!$host$ac_delim
49702 host_cpu!$host_cpu$ac_delim
49703 host_vendor!$host_vendor$ac_delim
49704 host_os!$host_os$ac_delim
49705 target!$target$ac_delim
49706 target_cpu!$target_cpu$ac_delim
49707 target_vendor!$target_vendor$ac_delim
49708 target_os!$target_os$ac_delim
49709 wx_top_builddir!$wx_top_builddir$ac_delim
49710 CC!$CC$ac_delim
49711 CFLAGS!$CFLAGS$ac_delim
49712 LDFLAGS!$LDFLAGS$ac_delim
49713 CPPFLAGS!$CPPFLAGS$ac_delim
49714 ac_ct_CC!$ac_ct_CC$ac_delim
49715 EXEEXT!$EXEEXT$ac_delim
49716 OBJEXT!$OBJEXT$ac_delim
49717 CPP!$CPP$ac_delim
49718 GREP!$GREP$ac_delim
49719 EGREP!$EGREP$ac_delim
49720 CXX!$CXX$ac_delim
49721 CXXFLAGS!$CXXFLAGS$ac_delim
49722 ac_ct_CXX!$ac_ct_CXX$ac_delim
49723 RANLIB!$RANLIB$ac_delim
49724 AR!$AR$ac_delim
49725 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49726 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49727 INSTALL_DATA!$INSTALL_DATA$ac_delim
49728 STRIP!$STRIP$ac_delim
49729 WINDRES!$WINDRES$ac_delim
49730 DLLTOOL!$DLLTOOL$ac_delim
49731 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49732 LN_S!$LN_S$ac_delim
49733 subdirs!$subdirs$ac_delim
49734 PKG_CONFIG!$PKG_CONFIG$ac_delim
49735 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49736 GTK_LIBS!$GTK_LIBS$ac_delim
49737 GTK_CONFIG!$GTK_CONFIG$ac_delim
49738 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49739 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49740 XMKMF!$XMKMF$ac_delim
49741 X_CFLAGS!$X_CFLAGS$ac_delim
49742 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49743 X_LIBS!$X_LIBS$ac_delim
49744 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49745 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49746 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49747 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49748 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49749 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49750 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49751 REZ!$REZ$ac_delim
49752 DEREZ!$DEREZ$ac_delim
49753 SETFILE!$SETFILE$ac_delim
49754 LIBICONV!$LIBICONV$ac_delim
49755 SDL_CONFIG!$SDL_CONFIG$ac_delim
49756 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49757 _ACEOF
49758
49759 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49760 break
49761 elif $ac_last_try; then
49762 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49763 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49764 { (exit 1); exit 1; }; }
49765 else
49766 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49767 fi
49768 done
49769
49770 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49771 if test -n "$ac_eof"; then
49772 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49773 ac_eof=`expr $ac_eof + 1`
49774 fi
49775
49776 cat >>$CONFIG_STATUS <<_ACEOF
49777 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49778 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49779 _ACEOF
49780 sed '
49781 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49782 s/^/s,@/; s/!/@,|#_!!_#|/
49783 :n
49784 t n
49785 s/'"$ac_delim"'$/,g/; t
49786 s/$/\\/; p
49787 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49788 ' >>$CONFIG_STATUS <conf$$subs.sed
49789 rm -f conf$$subs.sed
49790 cat >>$CONFIG_STATUS <<_ACEOF
49791 CEOF$ac_eof
49792 _ACEOF
49793
49794
49795 ac_delim='%!_!# '
49796 for ac_last_try in false false false false false :; do
49797 cat >conf$$subs.sed <<_ACEOF
49798 SDL_LIBS!$SDL_LIBS$ac_delim
49799 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49800 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49801 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49802 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49803 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49804 HILDON_LIBS!$HILDON_LIBS$ac_delim
49805 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49806 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49807 GST_CFLAGS!$GST_CFLAGS$ac_delim
49808 GST_LIBS!$GST_LIBS$ac_delim
49809 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49810 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49811 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49812 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49813 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49814 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49815 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49816 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49817 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49818 VENDOR!$VENDOR$ac_delim
49819 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49820 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49821 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49822 WXUNIV!$WXUNIV$ac_delim
49823 MONOLITHIC!$MONOLITHIC$ac_delim
49824 USE_PLUGINS!$USE_PLUGINS$ac_delim
49825 EXTRALIBS!$EXTRALIBS$ac_delim
49826 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49827 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49828 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49829 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49830 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49831 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49832 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49833 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49834 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49835 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49836 UNICODE!$UNICODE$ac_delim
49837 BUILD!$BUILD$ac_delim
49838 DEBUG_INFO!$DEBUG_INFO$ac_delim
49839 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49840 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49841 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49842 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49843 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49844 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49845 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49846 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49847 SET_MAKE!$SET_MAKE$ac_delim
49848 MAKE_SET!$MAKE_SET$ac_delim
49849 AROPTIONS!$AROPTIONS$ac_delim
49850 NM!$NM$ac_delim
49851 INSTALL_DIR!$INSTALL_DIR$ac_delim
49852 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49853 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49854 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49855 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49856 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49857 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49858 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49859 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49860 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49861 SO_SUFFIX!$SO_SUFFIX$ac_delim
49862 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49863 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49864 LIBPREFIX!$LIBPREFIX$ac_delim
49865 LIBEXT!$LIBEXT$ac_delim
49866 DLLPREFIX!$DLLPREFIX$ac_delim
49867 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49868 dlldir!$dlldir$ac_delim
49869 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49870 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49871 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49872 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49873 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49874 PIC_FLAG!$PIC_FLAG$ac_delim
49875 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49876 USE_SOVERSION!$USE_SOVERSION$ac_delim
49877 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49878 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49879 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49880 USE_MACVERSION!$USE_MACVERSION$ac_delim
49881 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49882 SONAME_FLAG!$SONAME_FLAG$ac_delim
49883 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49884 BK_DEPS!$BK_DEPS$ac_delim
49885 GCC_PCH!$GCC_PCH$ac_delim
49886 ICC_PCH!$ICC_PCH$ac_delim
49887 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49888 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49889 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49890 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49891 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49892 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49893 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49894 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
49895 _ACEOF
49896
49897 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49898 break
49899 elif $ac_last_try; then
49900 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49901 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49902 { (exit 1); exit 1; }; }
49903 else
49904 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49905 fi
49906 done
49907
49908 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49909 if test -n "$ac_eof"; then
49910 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49911 ac_eof=`expr $ac_eof + 1`
49912 fi
49913
49914 cat >>$CONFIG_STATUS <<_ACEOF
49915 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
49916 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49917 _ACEOF
49918 sed '
49919 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49920 s/^/s,@/; s/!/@,|#_!!_#|/
49921 :n
49922 t n
49923 s/'"$ac_delim"'$/,g/; t
49924 s/$/\\/; p
49925 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49926 ' >>$CONFIG_STATUS <conf$$subs.sed
49927 rm -f conf$$subs.sed
49928 cat >>$CONFIG_STATUS <<_ACEOF
49929 CEOF$ac_eof
49930 _ACEOF
49931
49932
49933 ac_delim='%!_!# '
49934 for ac_last_try in false false false false false :; do
49935 cat >conf$$subs.sed <<_ACEOF
49936 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
49937 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
49938 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
49939 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
49940 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
49941 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
49942 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
49943 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
49944 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
49945 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
49946 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
49947 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
49948 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
49949 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
49950 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49951 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
49952 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
49953 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
49954 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
49955 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
49956 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
49957 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
49958 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
49959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
49960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
49961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
49962 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
49963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
49964 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
49965 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
49966 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
49967 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
49968 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
49969 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
49970 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49971 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
49972 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
49973 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
49974 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
49975 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
49976 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
49977 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
49978 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
49979 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
49980 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
49981 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
49982 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
49983 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
49984 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
49985 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
49986 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
49987 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
49988 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
49989 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
49990 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
49991 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
49992 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
49993 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
49994 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
49995 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
49996 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
49997 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
49998 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
49999 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50000 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50001 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50002 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50003 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50004 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50005 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50006 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50007 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50008 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50009 COND_SHARED_0!$COND_SHARED_0$ac_delim
50010 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50011 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50012 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50013 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50014 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50015 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50016 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50017 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50018 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50019 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50020 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50021 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50022 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50023 COND_SHARED_1!$COND_SHARED_1$ac_delim
50024 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50025 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50026 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50027 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50028 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50029 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50030 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50031 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50032 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50033 _ACEOF
50034
50035 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50036 break
50037 elif $ac_last_try; then
50038 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50039 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50040 { (exit 1); exit 1; }; }
50041 else
50042 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50043 fi
50044 done
50045
50046 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50047 if test -n "$ac_eof"; then
50048 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50049 ac_eof=`expr $ac_eof + 1`
50050 fi
50051
50052 cat >>$CONFIG_STATUS <<_ACEOF
50053 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50054 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50055 _ACEOF
50056 sed '
50057 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50058 s/^/s,@/; s/!/@,|#_!!_#|/
50059 :n
50060 t n
50061 s/'"$ac_delim"'$/,g/; t
50062 s/$/\\/; p
50063 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50064 ' >>$CONFIG_STATUS <conf$$subs.sed
50065 rm -f conf$$subs.sed
50066 cat >>$CONFIG_STATUS <<_ACEOF
50067 CEOF$ac_eof
50068 _ACEOF
50069
50070
50071 ac_delim='%!_!# '
50072 for ac_last_try in false false false false false :; do
50073 cat >conf$$subs.sed <<_ACEOF
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 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50086 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50087 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50088 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50089 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50090 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50091 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50092 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50093 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50094 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50095 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50096 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50097 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50098 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50099 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50100 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50101 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50102 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50103 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50104 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50105 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50106 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50107 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50108 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50109 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50110 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50111 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50112 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50113 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50114 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50115 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50116 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50117 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50118 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50119 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50120 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50121 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50122 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50123 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50124 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50125 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50126 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50127 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50128 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50129 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50130 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50131 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50132 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50133 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50134 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50135 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50136 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50137 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50138 SHARED!$SHARED$ac_delim
50139 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50140 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50141 USE_GUI!$USE_GUI$ac_delim
50142 AFMINSTALL!$AFMINSTALL$ac_delim
50143 WIN32INSTALL!$WIN32INSTALL$ac_delim
50144 TOOLKIT!$TOOLKIT$ac_delim
50145 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50146 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50147 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50148 cross_compiling!$cross_compiling$ac_delim
50149 WIDGET_SET!$WIDGET_SET$ac_delim
50150 WX_RELEASE!$WX_RELEASE$ac_delim
50151 WX_VERSION!$WX_VERSION$ac_delim
50152 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50153 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50154 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50155 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50156 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50157 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50158 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50159 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50160 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50161 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50162 EXE_LINKER!$EXE_LINKER$ac_delim
50163 GUIDIST!$GUIDIST$ac_delim
50164 DISTDIR!$DISTDIR$ac_delim
50165 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50166 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50167 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50168 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50169 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50170 RESCOMP!$RESCOMP$ac_delim
50171 _ACEOF
50172
50173 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50174 break
50175 elif $ac_last_try; then
50176 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50177 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50178 { (exit 1); exit 1; }; }
50179 else
50180 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50181 fi
50182 done
50183
50184 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50185 if test -n "$ac_eof"; then
50186 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50187 ac_eof=`expr $ac_eof + 1`
50188 fi
50189
50190 cat >>$CONFIG_STATUS <<_ACEOF
50191 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50192 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50193 _ACEOF
50194 sed '
50195 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50196 s/^/s,@/; s/!/@,|#_!!_#|/
50197 :n
50198 t n
50199 s/'"$ac_delim"'$/,g/; t
50200 s/$/\\/; p
50201 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50202 ' >>$CONFIG_STATUS <conf$$subs.sed
50203 rm -f conf$$subs.sed
50204 cat >>$CONFIG_STATUS <<_ACEOF
50205 CEOF$ac_eof
50206 _ACEOF
50207
50208
50209 ac_delim='%!_!# '
50210 for ac_last_try in false false false false false :; do
50211 cat >conf$$subs.sed <<_ACEOF
50212 RESFLAGS!$RESFLAGS$ac_delim
50213 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50214 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50215 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50216 LIBWXMACRES!$LIBWXMACRES$ac_delim
50217 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50218 MACSETFILE!$MACSETFILE$ac_delim
50219 GCC!$GCC$ac_delim
50220 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50221 LIBOBJS!$LIBOBJS$ac_delim
50222 LTLIBOBJS!$LTLIBOBJS$ac_delim
50223 _ACEOF
50224
50225 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then
50226 break
50227 elif $ac_last_try; then
50228 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50229 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50230 { (exit 1); exit 1; }; }
50231 else
50232 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50233 fi
50234 done
50235
50236 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50237 if test -n "$ac_eof"; then
50238 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50239 ac_eof=`expr $ac_eof + 1`
50240 fi
50241
50242 cat >>$CONFIG_STATUS <<_ACEOF
50243 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50245 _ACEOF
50246 sed '
50247 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50248 s/^/s,@/; s/!/@,|#_!!_#|/
50249 :n
50250 t n
50251 s/'"$ac_delim"'$/,g/; t
50252 s/$/\\/; p
50253 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50254 ' >>$CONFIG_STATUS <conf$$subs.sed
50255 rm -f conf$$subs.sed
50256 cat >>$CONFIG_STATUS <<_ACEOF
50257 :end
50258 s/|#_!!_#|//g
50259 CEOF$ac_eof
50260 _ACEOF
50261
50262
50263 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50264 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50265 # trailing colons and then remove the whole line if VPATH becomes empty
50266 # (actually we leave an empty line to preserve line numbers).
50267 if test "x$srcdir" = x.; then
50268 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50269 s/:*\$(srcdir):*/:/
50270 s/:*\${srcdir}:*/:/
50271 s/:*@srcdir@:*/:/
50272 s/^\([^=]*=[ ]*\):*/\1/
50273 s/:*$//
50274 s/^[^=]*=[ ]*$//
50275 }'
50276 fi
50277
50278 cat >>$CONFIG_STATUS <<\_ACEOF
50279 fi # test -n "$CONFIG_FILES"
50280
50281
50282 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50283 do
50284 case $ac_tag in
50285 :[FHLC]) ac_mode=$ac_tag; continue;;
50286 esac
50287 case $ac_mode$ac_tag in
50288 :[FHL]*:*);;
50289 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50290 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50291 { (exit 1); exit 1; }; };;
50292 :[FH]-) ac_tag=-:-;;
50293 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50294 esac
50295 ac_save_IFS=$IFS
50296 IFS=:
50297 set x $ac_tag
50298 IFS=$ac_save_IFS
50299 shift
50300 ac_file=$1
50301 shift
50302
50303 case $ac_mode in
50304 :L) ac_source=$1;;
50305 :[FH])
50306 ac_file_inputs=
50307 for ac_f
50308 do
50309 case $ac_f in
50310 -) ac_f="$tmp/stdin";;
50311 *) # Look for the file first in the build tree, then in the source tree
50312 # (if the path is not absolute). The absolute path cannot be DOS-style,
50313 # because $ac_f cannot contain `:'.
50314 test -f "$ac_f" ||
50315 case $ac_f in
50316 [\\/$]*) false;;
50317 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50318 esac ||
50319 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50320 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50321 { (exit 1); exit 1; }; };;
50322 esac
50323 ac_file_inputs="$ac_file_inputs $ac_f"
50324 done
50325
50326 # Let's still pretend it is `configure' which instantiates (i.e., don't
50327 # use $as_me), people would be surprised to read:
50328 # /* config.h. Generated by config.status. */
50329 configure_input="Generated from "`IFS=:
50330 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50331 if test x"$ac_file" != x-; then
50332 configure_input="$ac_file. $configure_input"
50333 { echo "$as_me:$LINENO: creating $ac_file" >&5
50334 echo "$as_me: creating $ac_file" >&6;}
50335 fi
50336
50337 case $ac_tag in
50338 *:-:* | *:-) cat >"$tmp/stdin";;
50339 esac
50340 ;;
50341 esac
50342
50343 ac_dir=`$as_dirname -- "$ac_file" ||
50344 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50345 X"$ac_file" : 'X\(//\)[^/]' \| \
50346 X"$ac_file" : 'X\(//\)$' \| \
50347 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50348 echo X"$ac_file" |
50349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50350 s//\1/
50351 q
50352 }
50353 /^X\(\/\/\)[^/].*/{
50354 s//\1/
50355 q
50356 }
50357 /^X\(\/\/\)$/{
50358 s//\1/
50359 q
50360 }
50361 /^X\(\/\).*/{
50362 s//\1/
50363 q
50364 }
50365 s/.*/./; q'`
50366 { as_dir="$ac_dir"
50367 case $as_dir in #(
50368 -*) as_dir=./$as_dir;;
50369 esac
50370 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50371 as_dirs=
50372 while :; do
50373 case $as_dir in #(
50374 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50375 *) as_qdir=$as_dir;;
50376 esac
50377 as_dirs="'$as_qdir' $as_dirs"
50378 as_dir=`$as_dirname -- "$as_dir" ||
50379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50380 X"$as_dir" : 'X\(//\)[^/]' \| \
50381 X"$as_dir" : 'X\(//\)$' \| \
50382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50383 echo X"$as_dir" |
50384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50385 s//\1/
50386 q
50387 }
50388 /^X\(\/\/\)[^/].*/{
50389 s//\1/
50390 q
50391 }
50392 /^X\(\/\/\)$/{
50393 s//\1/
50394 q
50395 }
50396 /^X\(\/\).*/{
50397 s//\1/
50398 q
50399 }
50400 s/.*/./; q'`
50401 test -d "$as_dir" && break
50402 done
50403 test -z "$as_dirs" || eval "mkdir $as_dirs"
50404 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50405 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50406 { (exit 1); exit 1; }; }; }
50407 ac_builddir=.
50408
50409 case "$ac_dir" in
50410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50411 *)
50412 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50413 # A ".." for each directory in $ac_dir_suffix.
50414 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50415 case $ac_top_builddir_sub in
50416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50418 esac ;;
50419 esac
50420 ac_abs_top_builddir=$ac_pwd
50421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50422 # for backward compatibility:
50423 ac_top_builddir=$ac_top_build_prefix
50424
50425 case $srcdir in
50426 .) # We are building in place.
50427 ac_srcdir=.
50428 ac_top_srcdir=$ac_top_builddir_sub
50429 ac_abs_top_srcdir=$ac_pwd ;;
50430 [\\/]* | ?:[\\/]* ) # Absolute name.
50431 ac_srcdir=$srcdir$ac_dir_suffix;
50432 ac_top_srcdir=$srcdir
50433 ac_abs_top_srcdir=$srcdir ;;
50434 *) # Relative name.
50435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50436 ac_top_srcdir=$ac_top_build_prefix$srcdir
50437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50438 esac
50439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50440
50441
50442 case $ac_mode in
50443 :F)
50444 #
50445 # CONFIG_FILE
50446 #
50447
50448 case $INSTALL in
50449 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50450 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50451 esac
50452 _ACEOF
50453
50454 cat >>$CONFIG_STATUS <<\_ACEOF
50455 # If the template does not know about datarootdir, expand it.
50456 # FIXME: This hack should be removed a few years after 2.60.
50457 ac_datarootdir_hack=; ac_datarootdir_seen=
50458
50459 case `sed -n '/datarootdir/ {
50460 p
50461 q
50462 }
50463 /@datadir@/p
50464 /@docdir@/p
50465 /@infodir@/p
50466 /@localedir@/p
50467 /@mandir@/p
50468 ' $ac_file_inputs` in
50469 *datarootdir*) ac_datarootdir_seen=yes;;
50470 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50471 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50472 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50473 _ACEOF
50474 cat >>$CONFIG_STATUS <<_ACEOF
50475 ac_datarootdir_hack='
50476 s&@datadir@&$datadir&g
50477 s&@docdir@&$docdir&g
50478 s&@infodir@&$infodir&g
50479 s&@localedir@&$localedir&g
50480 s&@mandir@&$mandir&g
50481 s&\\\${datarootdir}&$datarootdir&g' ;;
50482 esac
50483 _ACEOF
50484
50485 # Neutralize VPATH when `$srcdir' = `.'.
50486 # Shell code in configure.ac might set extrasub.
50487 # FIXME: do we really want to maintain this feature?
50488 cat >>$CONFIG_STATUS <<_ACEOF
50489 sed "$ac_vpsub
50490 $extrasub
50491 _ACEOF
50492 cat >>$CONFIG_STATUS <<\_ACEOF
50493 :t
50494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50495 s&@configure_input@&$configure_input&;t t
50496 s&@top_builddir@&$ac_top_builddir_sub&;t t
50497 s&@srcdir@&$ac_srcdir&;t t
50498 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50499 s&@top_srcdir@&$ac_top_srcdir&;t t
50500 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50501 s&@builddir@&$ac_builddir&;t t
50502 s&@abs_builddir@&$ac_abs_builddir&;t t
50503 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50504 s&@INSTALL@&$ac_INSTALL&;t t
50505 $ac_datarootdir_hack
50506 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" | sed -f "$tmp/subs-5.sed" >$tmp/out
50507
50508 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50509 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50510 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50511 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50512 which seems to be undefined. Please make sure it is defined." >&5
50513 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50514 which seems to be undefined. Please make sure it is defined." >&2;}
50515
50516 rm -f "$tmp/stdin"
50517 case $ac_file in
50518 -) cat "$tmp/out"; rm -f "$tmp/out";;
50519 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50520 esac
50521 ;;
50522 :H)
50523 #
50524 # CONFIG_HEADER
50525 #
50526 _ACEOF
50527
50528 # Transform confdefs.h into a sed script `conftest.defines', that
50529 # substitutes the proper values into config.h.in to produce config.h.
50530 rm -f conftest.defines conftest.tail
50531 # First, append a space to every undef/define line, to ease matching.
50532 echo 's/$/ /' >conftest.defines
50533 # Then, protect against being on the right side of a sed subst, or in
50534 # an unquoted here document, in config.status. If some macros were
50535 # called several times there might be several #defines for the same
50536 # symbol, which is useless. But do not sort them, since the last
50537 # AC_DEFINE must be honored.
50538 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50539 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50540 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50541 # PARAMS is the parameter list in the macro definition--in most cases, it's
50542 # just an empty string.
50543 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50544 ac_dB='\\)[ (].*,\\1define\\2'
50545 ac_dC=' '
50546 ac_dD=' ,'
50547
50548 uniq confdefs.h |
50549 sed -n '
50550 t rset
50551 :rset
50552 s/^[ ]*#[ ]*define[ ][ ]*//
50553 t ok
50554 d
50555 :ok
50556 s/[\\&,]/\\&/g
50557 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50558 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50559 ' >>conftest.defines
50560
50561 # Remove the space that was appended to ease matching.
50562 # Then replace #undef with comments. This is necessary, for
50563 # example, in the case of _POSIX_SOURCE, which is predefined and required
50564 # on some systems where configure will not decide to define it.
50565 # (The regexp can be short, since the line contains either #define or #undef.)
50566 echo 's/ $//
50567 s,^[ #]*u.*,/* & */,' >>conftest.defines
50568
50569 # Break up conftest.defines:
50570 ac_max_sed_lines=50
50571
50572 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50573 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50574 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50575 # et cetera.
50576 ac_in='$ac_file_inputs'
50577 ac_out='"$tmp/out1"'
50578 ac_nxt='"$tmp/out2"'
50579
50580 while :
50581 do
50582 # Write a here document:
50583 cat >>$CONFIG_STATUS <<_ACEOF
50584 # First, check the format of the line:
50585 cat >"\$tmp/defines.sed" <<\\CEOF
50586 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50587 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50588 b
50589 :def
50590 _ACEOF
50591 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50592 echo 'CEOF
50593 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50594 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50595 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50596 grep . conftest.tail >/dev/null || break
50597 rm -f conftest.defines
50598 mv conftest.tail conftest.defines
50599 done
50600 rm -f conftest.defines conftest.tail
50601
50602 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50603 cat >>$CONFIG_STATUS <<\_ACEOF
50604 if test x"$ac_file" != x-; then
50605 echo "/* $configure_input */" >"$tmp/config.h"
50606 cat "$ac_result" >>"$tmp/config.h"
50607 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50608 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50609 echo "$as_me: $ac_file is unchanged" >&6;}
50610 else
50611 rm -f $ac_file
50612 mv "$tmp/config.h" $ac_file
50613 fi
50614 else
50615 echo "/* $configure_input */"
50616 cat "$ac_result"
50617 fi
50618 rm -f "$tmp/out12"
50619 ;;
50620
50621 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50622 echo "$as_me: executing $ac_file commands" >&6;}
50623 ;;
50624 esac
50625
50626
50627 case $ac_file$ac_mode in
50628 "rcdefs.h":C)
50629 mkdir -p $outdir &&
50630 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50631 ;;
50632 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50633 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50634 "wx-config":C) rm -f wx-config
50635 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50636 ;;
50637
50638 esac
50639 done # for ac_tag
50640
50641
50642 { (exit 0); exit 0; }
50643 _ACEOF
50644 chmod +x $CONFIG_STATUS
50645 ac_clean_files=$ac_clean_files_save
50646
50647
50648 # configure is writing to config.log, and then calls config.status.
50649 # config.status does its own redirection, appending to config.log.
50650 # Unfortunately, on DOS this fails, as config.log is still kept open
50651 # by configure, so config.status won't be able to write to it; its
50652 # output is simply discarded. So we exec the FD to /dev/null,
50653 # effectively closing config.log, so it can be properly (re)opened and
50654 # appended to by config.status. When coming back to configure, we
50655 # need to make the FD available again.
50656 if test "$no_create" != yes; then
50657 ac_cs_success=:
50658 ac_config_status_args=
50659 test "$silent" = yes &&
50660 ac_config_status_args="$ac_config_status_args --quiet"
50661 exec 5>/dev/null
50662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50663 exec 5>>config.log
50664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50665 # would make configure fail if this is the last instruction.
50666 $ac_cs_success || { (exit 1); exit 1; }
50667 fi
50668
50669 #
50670 # CONFIG_SUBDIRS section.
50671 #
50672 if test "$no_recursion" != yes; then
50673
50674 # Remove --cache-file and --srcdir arguments so they do not pile up.
50675 ac_sub_configure_args=
50676 ac_prev=
50677 eval "set x $ac_configure_args"
50678 shift
50679 for ac_arg
50680 do
50681 if test -n "$ac_prev"; then
50682 ac_prev=
50683 continue
50684 fi
50685 case $ac_arg in
50686 -cache-file | --cache-file | --cache-fil | --cache-fi \
50687 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50688 ac_prev=cache_file ;;
50689 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50690 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50691 | --c=*)
50692 ;;
50693 --config-cache | -C)
50694 ;;
50695 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50696 ac_prev=srcdir ;;
50697 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50698 ;;
50699 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50700 ac_prev=prefix ;;
50701 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50702 ;;
50703 *)
50704 case $ac_arg in
50705 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50706 esac
50707 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50708 esac
50709 done
50710
50711 # Always prepend --prefix to ensure using the same prefix
50712 # in subdir configurations.
50713 ac_arg="--prefix=$prefix"
50714 case $ac_arg in
50715 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50716 esac
50717 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50718
50719 # Pass --silent
50720 if test "$silent" = yes; then
50721 ac_sub_configure_args="--silent $ac_sub_configure_args"
50722 fi
50723
50724 ac_popdir=`pwd`
50725 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50726
50727 # Do not complain, so a configure script can configure whichever
50728 # parts of a large source tree are present.
50729 test -d "$srcdir/$ac_dir" || continue
50730
50731 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50732 echo "$as_me:$LINENO: $ac_msg" >&5
50733 echo "$ac_msg" >&6
50734 { as_dir="$ac_dir"
50735 case $as_dir in #(
50736 -*) as_dir=./$as_dir;;
50737 esac
50738 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50739 as_dirs=
50740 while :; do
50741 case $as_dir in #(
50742 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50743 *) as_qdir=$as_dir;;
50744 esac
50745 as_dirs="'$as_qdir' $as_dirs"
50746 as_dir=`$as_dirname -- "$as_dir" ||
50747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50748 X"$as_dir" : 'X\(//\)[^/]' \| \
50749 X"$as_dir" : 'X\(//\)$' \| \
50750 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50751 echo X"$as_dir" |
50752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50753 s//\1/
50754 q
50755 }
50756 /^X\(\/\/\)[^/].*/{
50757 s//\1/
50758 q
50759 }
50760 /^X\(\/\/\)$/{
50761 s//\1/
50762 q
50763 }
50764 /^X\(\/\).*/{
50765 s//\1/
50766 q
50767 }
50768 s/.*/./; q'`
50769 test -d "$as_dir" && break
50770 done
50771 test -z "$as_dirs" || eval "mkdir $as_dirs"
50772 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50773 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50774 { (exit 1); exit 1; }; }; }
50775 ac_builddir=.
50776
50777 case "$ac_dir" in
50778 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50779 *)
50780 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50781 # A ".." for each directory in $ac_dir_suffix.
50782 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50783 case $ac_top_builddir_sub in
50784 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50785 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50786 esac ;;
50787 esac
50788 ac_abs_top_builddir=$ac_pwd
50789 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50790 # for backward compatibility:
50791 ac_top_builddir=$ac_top_build_prefix
50792
50793 case $srcdir in
50794 .) # We are building in place.
50795 ac_srcdir=.
50796 ac_top_srcdir=$ac_top_builddir_sub
50797 ac_abs_top_srcdir=$ac_pwd ;;
50798 [\\/]* | ?:[\\/]* ) # Absolute name.
50799 ac_srcdir=$srcdir$ac_dir_suffix;
50800 ac_top_srcdir=$srcdir
50801 ac_abs_top_srcdir=$srcdir ;;
50802 *) # Relative name.
50803 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50804 ac_top_srcdir=$ac_top_build_prefix$srcdir
50805 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50806 esac
50807 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50808
50809
50810 cd "$ac_dir"
50811
50812 # Check for guested configure; otherwise get Cygnus style configure.
50813 if test -f "$ac_srcdir/configure.gnu"; then
50814 ac_sub_configure=$ac_srcdir/configure.gnu
50815 elif test -f "$ac_srcdir/configure"; then
50816 ac_sub_configure=$ac_srcdir/configure
50817 elif test -f "$ac_srcdir/configure.in"; then
50818 # This should be Cygnus configure.
50819 ac_sub_configure=$ac_aux_dir/configure
50820 else
50821 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50822 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50823 ac_sub_configure=
50824 fi
50825
50826 # The recursion is here.
50827 if test -n "$ac_sub_configure"; then
50828 # Make the cache file name correct relative to the subdirectory.
50829 case $cache_file in
50830 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50831 *) # Relative name.
50832 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50833 esac
50834
50835 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50836 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50837 # The eval makes quoting arguments work.
50838 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50839 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50840 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50841 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50842 { (exit 1); exit 1; }; }
50843 fi
50844
50845 cd "$ac_popdir"
50846 done
50847 fi
50848
50849
50850 echo
50851 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50852 echo ""
50853 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50854 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50855
50856 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50857 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50858 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50859
50860 echo " What level of wxWidgets compatibility should be enabled?"
50861 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50862 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50863
50864 echo " Which libraries should wxWidgets use?"
50865 echo " jpeg ${wxUSE_LIBJPEG-none}"
50866 echo " png ${wxUSE_LIBPNG-none}"
50867 echo " regex ${wxUSE_REGEX}"
50868 echo " tiff ${wxUSE_LIBTIFF-none}"
50869 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50870 echo " xpm ${wxUSE_LIBXPM-none}"
50871 fi
50872 echo " zlib ${wxUSE_ZLIB}"
50873 echo " odbc ${wxUSE_ODBC}"
50874 echo " expat ${wxUSE_EXPAT}"
50875 echo " libmspack ${wxUSE_LIBMSPACK}"
50876 echo " sdl ${wxUSE_LIBSDL}"
50877
50878 echo ""
50879