2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.68 for wxWidgets 2.9.5.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE
=1; export DUALCASE
# for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print
-rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
58 as_echo_n='/usr
/ucb
/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh
-c $as_echo_n_body as_echo
'
74 as_echo='sh
-c $as_echo_body as_echo
'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x
; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var
in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\
${$as_var+set} = xset \
125 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
138 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
140 if test "x$CONFIG_SHELL" = x
; then
141 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 case \`(set -o) 2>/dev/null\` in #(
157 as_required
="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171 exitcode=1; echo positional parameters were not saved.
173 test x\$exitcode = x0 || exit 1"
174 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test \$(( 1 + 1 )) = 2 || exit 1"
179 if (eval "$as_required") 2>/dev
/null
; then :
184 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
189 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
192 test -z "$as_dir" && as_dir
=.
196 for as_base
in sh bash ksh sh5
; do
197 # Try only shells that exist, to save several forks.
198 as_shell
=$as_dir/$as_base
199 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
201 CONFIG_SHELL
=$as_shell as_have_required
=yes
202 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
210 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
212 CONFIG_SHELL
=$SHELL as_have_required
=yes
217 if test "x$CONFIG_SHELL" != x
; then :
218 # We cannot yet assume a decent shell, so we have to provide a
219 # neutralization value for shells without unset; and this also
220 # works around shells that cannot unset nonexistent variables.
221 # Preserve -v and -x to the replacement shell.
224 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
232 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
235 if test x
$as_have_required = xno
; then :
236 $as_echo "$0: This script requires a shell more modern than all"
237 $as_echo "$0: the shells that I found on your system."
238 if test x
${ZSH_VERSION+set} = xset
; then
239 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
240 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
242 $as_echo "$0: Please tell bug-autoconf@gnu.org and
243 $0: wx-dev@lists.wxwidgets.org about your system, including
244 $0: any error possibly output before this message. Then
245 $0: install a modern shell, or manually run the script
246 $0: under such a shell if you do have one."
252 SHELL
=${CONFIG_SHELL-/bin/sh}
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE
= GREP_OPTIONS
=
256 unset CLICOLOR_FORCE GREP_OPTIONS
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
263 # Portably unset VAR.
266 { eval $1=; unset $1;}
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
290 # Create "$as_dir" as a directory, including parents if necessary.
295 -*) as_dir
=.
/$as_dir;;
297 test -d "$as_dir" || eval $as_mkdir_p || {
301 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
304 as_dirs
="'$as_qdir' $as_dirs"
305 as_dir
=`$as_dirname -- "$as_dir" ||
306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307 X"$as_dir" : 'X\(//\)[^/]' \| \
308 X"$as_dir" : 'X\(//\)$' \| \
309 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310 $as_echo X"$as_dir" |
311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
328 test -d "$as_dir" && break
330 test -z "$as_dirs" || eval "mkdir $as_dirs"
331 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
335 # as_fn_append VAR VALUE
336 # ----------------------
337 # Append the text in VALUE to the end of the definition contained in VAR. Take
338 # advantage of any shell optimizations that allow amortized linear growth over
339 # repeated appends, instead of the typical quadratic growth present in naive
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
342 eval 'as_fn_append ()
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
366 as_val
=`expr "$@" || test $? -eq 1`
371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
372 # ----------------------------------------
373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375 # script with STATUS, using 1 if that was 0.
378 as_status
=$1; test $as_status -eq 0 && as_status
=1
380 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
381 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
383 $as_echo "$as_me: error: $2" >&2
384 as_fn_exit
$as_status
387 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
388 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
394 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
406 as_me
=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408 X"$0" : 'X\(//\)$' \| \
409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411 sed '/^.*\/\([^/][^/]*\)\/*$/{
425 # Avoid depending upon Character Ranges.
426 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits
='0123456789'
430 as_cr_alnum
=$as_cr_Letters$as_cr_digits
433 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
434 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
435 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
456 # Don't try to exec as it changes $[0], causing all sort of problems
457 # (the dirname of $[0] is not the place where we might find the
458 # original and so on. Autoconf is especially sensitive to this).
460 # Exit status is that of the last command.
464 ECHO_C
= ECHO_N
= ECHO_T
=
465 case `echo -n x` in #(((((
467 case `echo 'xy\c'` in
468 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
470 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
477 rm -f conf$$ conf$$.exe conf$$.
file
478 if test -d conf$$.dir
; then
479 rm -f conf$$.dir
/conf$$.
file
482 mkdir conf$$.dir
2>/dev
/null
484 if (echo >conf$$.
file) 2>/dev
/null
; then
485 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
487 # ... but there are two gotchas:
488 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490 # In both cases, we have to default to `cp -p'.
491 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
493 elif ln conf$$.
file conf$$
2>/dev
/null
; then
501 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
502 rmdir conf$$.dir
2>/dev
/null
504 if mkdir -p .
2>/dev
/null
; then
505 as_mkdir_p
='mkdir -p "$as_dir"'
507 test -d .
/-p && rmdir .
/-p
511 if test -x / >/dev
/null
2>&1; then
514 if ls -dL / >/dev
/null
2>&1; then
521 if test -d "$1"; then
527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 ???[sx]*):;;*)false;;esac;fi
532 as_executable_p
=$as_test_x
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 test -n "$DJDIR" || exec 7<&0 </dev
/null
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
552 ac_default_prefix
=/usr
/local
554 ac_config_libobj_dir
=.
561 # Identity of this package.
562 PACKAGE_NAME
='wxWidgets'
563 PACKAGE_TARNAME
='wxwidgets'
564 PACKAGE_VERSION
='2.9.5'
565 PACKAGE_STRING
='wxWidgets 2.9.5'
566 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
569 ac_unique_file
="wx-config.in"
570 # Factoring default headers for most tests.
571 ac_includes_default
="\
573 #ifdef HAVE_SYS_TYPES_H
574 # include <sys/types.h>
576 #ifdef HAVE_SYS_STAT_H
577 # include <sys/stat.h>
583 # ifdef HAVE_STDLIB_H
588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
593 #ifdef HAVE_STRINGS_H
594 # include <strings.h>
596 #ifdef HAVE_INTTYPES_H
597 # include <inttypes.h>
606 enable_option_checking
=no
607 ac_subst_vars
='LTLIBOBJS
615 WX_RESOURCES_MACOSX_DATA
616 WX_RESOURCES_MACOSX_ASCII
648 WX_LIBRARY_BASENAME_GUI
649 WX_LIBRARY_BASENAME_NOGUI
652 COND_wxUSE_ZLIB_builtin
653 COND_wxUSE_REGEX_builtin
654 COND_wxUSE_LIBTIFF_builtin
655 COND_wxUSE_LIBPNG_builtin
656 COND_wxUSE_LIBJPEG_builtin
657 COND_wxUSE_EXPAT_builtin
658 COND_WXUSE_ZLIB_BUILTIN
659 COND_WXUSE_REGEX_BUILTIN
660 COND_WXUSE_LIBTIFF_BUILTIN
661 COND_WXUSE_LIBPNG_BUILTIN
662 COND_WXUSE_LIBJPEG_BUILTIN
663 COND_WXUSE_EXPAT_BUILTIN
666 COND_WITH_PLUGIN_SDL_1
667 COND_WINDOWS_IMPLIB_1
672 COND_USE_SOVERSOLARIS_1
673 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
675 COND_USE_SOVERLINUX_1
676 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
677 COND_USE_SOTWOSYMLINKS_1
683 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
684 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
685 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
686 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
687 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
688 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
689 COND_USE_GUI_1_WXUNIV_1
690 COND_USE_GUI_1_WXUNIV_0
691 COND_USE_GUI_1_USE_OPENGL_1
694 COND_USE_EXCEPTIONS_1
695 COND_USE_EXCEPTIONS_0
698 COND_TOOLKIT_X11_USE_GUI_1
700 COND_TOOLKIT_WINCE_WXUNIV_0
701 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
702 COND_TOOLKIT_WINCE_USE_GUI_1
704 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
705 COND_TOOLKIT_PM_USE_GUI_1
707 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
708 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
709 COND_TOOLKIT_OSX_IPHONE
710 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
711 COND_TOOLKIT_OSX_COCOA
712 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
713 COND_TOOLKIT_OSX_CARBON
714 COND_TOOLKIT_MSW_WXUNIV_0
715 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_MSW_USE_GUI_1
718 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
719 COND_TOOLKIT_MOTIF_USE_GUI_1
722 COND_TOOLKIT_GTK_USE_GUI_1
723 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
724 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
726 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
727 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
728 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
729 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
730 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
731 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
735 COND_TOOLKIT_DFB_USE_GUI_1
737 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
738 COND_TOOLKIT_COCOA_USE_GUI_1
741 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
743 COND_SHARED_0_wxUSE_ZLIB_builtin
744 COND_SHARED_0_wxUSE_REGEX_builtin
745 COND_SHARED_0_wxUSE_EXPAT_builtin
746 COND_SHARED_0_USE_STC_1
747 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
748 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
749 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
750 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
751 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
752 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
753 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
755 COND_PLATFORM_WIN32_1_SHARED_0
756 COND_PLATFORM_WIN32_1
757 COND_PLATFORM_WIN32_0
758 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
759 COND_PLATFORM_UNIX_1_USE_GUI_1
760 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
761 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
762 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
763 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
767 COND_PLATFORM_MSDOS_1
768 COND_PLATFORM_MSDOS_0
771 COND_PLATFORM_MACOS_1
772 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
773 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
774 COND_PLATFORM_MACOSX_1_USE_GUI_1
775 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
776 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
777 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
778 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
779 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
780 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
781 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
782 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
783 COND_PLATFORM_MACOSX_1
784 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
785 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
786 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
787 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
788 COND_MONOLITHIC_1_SHARED_1
789 COND_MONOLITHIC_1_SHARED_0
791 COND_MONOLITHIC_0_USE_XRC_1
792 COND_MONOLITHIC_0_USE_WEBVIEW_1
793 COND_MONOLITHIC_0_USE_STC_1
794 COND_MONOLITHIC_0_USE_RICHTEXT_1
795 COND_MONOLITHIC_0_USE_RIBBON_1
796 COND_MONOLITHIC_0_USE_QA_1
797 COND_MONOLITHIC_0_USE_PROPGRID_1
798 COND_MONOLITHIC_0_USE_MEDIA_1
799 COND_MONOLITHIC_0_USE_HTML_1
800 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
801 COND_MONOLITHIC_0_USE_GUI_1
802 COND_MONOLITHIC_0_USE_AUI_1
803 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
804 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
805 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
806 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
807 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
808 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
809 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
810 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
811 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
812 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
813 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
814 COND_MONOLITHIC_0_SHARED_1
815 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
816 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
817 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
818 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
819 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
820 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
821 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
823 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
824 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0
836 COND_BUILD_release_UNICODE_1
837 COND_BUILD_release_UNICODE_0
838 COND_BUILD_release_DEBUG_INFO_default
840 COND_BUILD_debug_UNICODE_1
841 COND_BUILD_debug_UNICODE_0
842 COND_BUILD_debug_DEBUG_INFO_default
843 COND_BUILD_debug_DEBUG_FLAG_default
845 COND_BUILD_RELEASE_UNICODE_1
846 COND_BUILD_RELEASE_UNICODE_0
847 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
849 COND_BUILD_DEBUG_UNICODE_1
850 COND_BUILD_DEBUG_UNICODE_0
851 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
852 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
856 ICC_PCH_CREATE_SWITCH
966 LIBGNOMEPRINTUI_CFLAGS
1057 program_transform_name
1070 enable_option_checking
1076 enable_official_build
1117 with_macosx_version_min
1126 enable_std_containers
1127 enable_std_iostreams
1129 enable_std_string_conv_in_wxstring
1134 enable_extended_rtti
1139 enable_no_exceptions
1142 enable_vararg_macros
1143 enable_universal_binary
1148 enable_objc_uniquifying
1177 enable_dynamicloader
1193 enable_printfposparam
1208 enable_protocol_http
1210 enable_protocol_file
1261 enable_commandlinkbutton
1288 enable_rearrangectrl
1337 enable_accessibility
1340 enable_webviewwebkit
1360 with_gtk_exec_prefix
1362 with_libiconv_prefix
1364 with_sdl_exec_prefix
1366 enable_dependency_tracking
1367 enable_precomp_headers
1369 with_cppunit_exec_prefix
1371 ac_precious_vars
='build_alias
1408 LIBGNOMEPRINTUI_CFLAGS
1409 LIBGNOMEPRINTUI_LIBS
1422 ac_subdirs_all
='src/tiff
1425 # Initialize some variables set by options.
1427 ac_init_version
=false
1428 ac_unrecognized_opts
=
1429 ac_unrecognized_sep
=
1430 # The variables have the same names as the options, with
1431 # dashes changed to underlines.
1432 cache_file
=/dev
/null
1439 program_transform_name
=s
,x
,x
,
1447 # Installation directory options.
1448 # These are left unexpanded so users can "make install exec_prefix=/foo"
1449 # and all the variables that are supposed to be based on exec_prefix
1450 # by default will actually change.
1451 # Use braces instead of parens because sh, perl, etc. also accept them.
1452 # (The list follows the same order as the GNU Coding Standards.)
1453 bindir
='${exec_prefix}/bin'
1454 sbindir
='${exec_prefix}/sbin'
1455 libexecdir
='${exec_prefix}/libexec'
1456 datarootdir
='${prefix}/share'
1457 datadir
='${datarootdir}'
1458 sysconfdir
='${prefix}/etc'
1459 sharedstatedir
='${prefix}/com'
1460 localstatedir
='${prefix}/var'
1461 includedir
='${prefix}/include'
1462 oldincludedir
='/usr/include'
1463 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1464 infodir
='${datarootdir}/info'
1469 libdir
='${exec_prefix}/lib'
1470 localedir
='${datarootdir}/locale'
1471 mandir
='${datarootdir}/man'
1477 # If the previous option needs an argument, assign it.
1478 if test -n "$ac_prev"; then
1479 eval $ac_prev=\
$ac_option
1485 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1490 # Accept the important Cygnus configure options, so we can diagnose typos.
1492 case $ac_dashdash$ac_option in
1496 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1498 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1499 bindir
=$ac_optarg ;;
1501 -build | --build | --buil | --bui | --bu)
1502 ac_prev
=build_alias
;;
1503 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1504 build_alias
=$ac_optarg ;;
1506 -cache-file | --cache-file | --cache-fil | --cache-fi \
1507 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1508 ac_prev
=cache_file
;;
1509 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1510 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1511 cache_file
=$ac_optarg ;;
1513 --config-cache | -C)
1514 cache_file
=config.cache
;;
1516 -datadir | --datadir | --datadi | --datad)
1518 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1519 datadir
=$ac_optarg ;;
1521 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1522 | --dataroo | --dataro | --datar)
1523 ac_prev
=datarootdir
;;
1524 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1525 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1526 datarootdir
=$ac_optarg ;;
1528 -disable-* | --disable-*)
1529 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1530 # Reject names that are not valid shell variable names.
1531 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1532 as_fn_error $?
"invalid feature name: $ac_useropt"
1533 ac_useropt_orig
=$ac_useropt
1534 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1535 case $ac_user_opts in
1537 "enable_
$ac_useropt"
1539 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1540 ac_unrecognized_sep
=', ';;
1542 eval enable_
$ac_useropt=no
;;
1544 -docdir | --docdir | --docdi | --doc | --do)
1546 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1547 docdir
=$ac_optarg ;;
1549 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1551 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1552 dvidir
=$ac_optarg ;;
1554 -enable-* | --enable-*)
1555 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1556 # Reject names that are not valid shell variable names.
1557 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1558 as_fn_error $?
"invalid feature name: $ac_useropt"
1559 ac_useropt_orig
=$ac_useropt
1560 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1561 case $ac_user_opts in
1563 "enable_
$ac_useropt"
1565 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1566 ac_unrecognized_sep
=', ';;
1568 eval enable_
$ac_useropt=\
$ac_optarg ;;
1570 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1571 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1572 | --exec | --exe | --ex)
1573 ac_prev
=exec_prefix
;;
1574 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1575 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1576 | --exec=* | --exe=* | --ex=*)
1577 exec_prefix
=$ac_optarg ;;
1579 -gas | --gas | --ga | --g)
1580 # Obsolete; use --with-gas.
1583 -help | --help | --hel | --he | -h)
1584 ac_init_help
=long
;;
1585 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1586 ac_init_help
=recursive
;;
1587 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1588 ac_init_help
=short
;;
1590 -host | --host | --hos | --ho)
1591 ac_prev
=host_alias
;;
1592 -host=* | --host=* | --hos=* | --ho=*)
1593 host_alias
=$ac_optarg ;;
1595 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1597 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1599 htmldir
=$ac_optarg ;;
1601 -includedir | --includedir | --includedi | --included | --include \
1602 | --includ | --inclu | --incl | --inc)
1603 ac_prev
=includedir
;;
1604 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1605 | --includ=* | --inclu=* | --incl=* | --inc=*)
1606 includedir
=$ac_optarg ;;
1608 -infodir | --infodir | --infodi | --infod | --info | --inf)
1610 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1611 infodir
=$ac_optarg ;;
1613 -libdir | --libdir | --libdi | --libd)
1615 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1616 libdir
=$ac_optarg ;;
1618 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1619 | --libexe | --libex | --libe)
1620 ac_prev
=libexecdir
;;
1621 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1622 | --libexe=* | --libex=* | --libe=*)
1623 libexecdir
=$ac_optarg ;;
1625 -localedir | --localedir | --localedi | --localed | --locale)
1626 ac_prev
=localedir
;;
1627 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1628 localedir
=$ac_optarg ;;
1630 -localstatedir | --localstatedir | --localstatedi | --localstated \
1631 | --localstate | --localstat | --localsta | --localst | --locals)
1632 ac_prev
=localstatedir
;;
1633 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1634 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1635 localstatedir
=$ac_optarg ;;
1637 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1639 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1640 mandir
=$ac_optarg ;;
1642 -nfp | --nfp | --nf)
1643 # Obsolete; use --without-fp.
1646 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1647 | --no-cr | --no-c | -n)
1650 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1651 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1654 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1655 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1656 | --oldin | --oldi | --old | --ol | --o)
1657 ac_prev
=oldincludedir
;;
1658 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1659 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1660 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1661 oldincludedir
=$ac_optarg ;;
1663 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1665 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1666 prefix
=$ac_optarg ;;
1668 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1669 | --program-pre | --program-pr | --program-p)
1670 ac_prev
=program_prefix
;;
1671 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1672 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1673 program_prefix
=$ac_optarg ;;
1675 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1676 | --program-suf | --program-su | --program-s)
1677 ac_prev
=program_suffix
;;
1678 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1679 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1680 program_suffix
=$ac_optarg ;;
1682 -program-transform-name | --program-transform-name \
1683 | --program-transform-nam | --program-transform-na \
1684 | --program-transform-n | --program-transform- \
1685 | --program-transform | --program-transfor \
1686 | --program-transfo | --program-transf \
1687 | --program-trans | --program-tran \
1688 | --progr-tra | --program-tr | --program-t)
1689 ac_prev
=program_transform_name
;;
1690 -program-transform-name=* | --program-transform-name=* \
1691 | --program-transform-nam=* | --program-transform-na=* \
1692 | --program-transform-n=* | --program-transform-=* \
1693 | --program-transform=* | --program-transfor=* \
1694 | --program-transfo=* | --program-transf=* \
1695 | --program-trans=* | --program-tran=* \
1696 | --progr-tra=* | --program-tr=* | --program-t=*)
1697 program_transform_name
=$ac_optarg ;;
1699 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1701 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1702 pdfdir
=$ac_optarg ;;
1704 -psdir | --psdir | --psdi | --psd | --ps)
1706 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1709 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1710 | -silent | --silent | --silen | --sile | --sil)
1713 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1715 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1717 sbindir
=$ac_optarg ;;
1719 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1720 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1721 | --sharedst | --shareds | --shared | --share | --shar \
1723 ac_prev
=sharedstatedir
;;
1724 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1725 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1726 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1728 sharedstatedir
=$ac_optarg ;;
1730 -site | --site | --sit)
1732 -site=* | --site=* | --sit=*)
1735 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1737 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1738 srcdir
=$ac_optarg ;;
1740 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1741 | --syscon | --sysco | --sysc | --sys | --sy)
1742 ac_prev
=sysconfdir
;;
1743 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1744 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1745 sysconfdir
=$ac_optarg ;;
1747 -target | --target | --targe | --targ | --tar | --ta | --t)
1748 ac_prev
=target_alias
;;
1749 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1750 target_alias
=$ac_optarg ;;
1752 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1755 -version | --version | --versio | --versi | --vers | -V)
1756 ac_init_version
=: ;;
1759 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1760 # Reject names that are not valid shell variable names.
1761 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1762 as_fn_error $?
"invalid package name: $ac_useropt"
1763 ac_useropt_orig
=$ac_useropt
1764 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1765 case $ac_user_opts in
1769 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1770 ac_unrecognized_sep
=', ';;
1772 eval with_
$ac_useropt=\
$ac_optarg ;;
1774 -without-* | --without-*)
1775 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1776 # Reject names that are not valid shell variable names.
1777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1778 as_fn_error $?
"invalid package name: $ac_useropt"
1779 ac_useropt_orig
=$ac_useropt
1780 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1781 case $ac_user_opts in
1785 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1786 ac_unrecognized_sep
=', ';;
1788 eval with_
$ac_useropt=no
;;
1791 # Obsolete; use --with-x.
1794 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1795 | --x-incl | --x-inc | --x-in | --x-i)
1796 ac_prev
=x_includes
;;
1797 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1798 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1799 x_includes
=$ac_optarg ;;
1801 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1802 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1803 ac_prev
=x_libraries
;;
1804 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1805 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1806 x_libraries
=$ac_optarg ;;
1808 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1809 Try \`$0 --help' for more information"
1813 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1814 # Reject names that are not valid shell variable names.
1815 case $ac_envvar in #(
1816 '' | [0-9]* | *[!_$as_cr_alnum]* )
1817 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1819 eval $ac_envvar=\
$ac_optarg
1820 export $ac_envvar ;;
1823 # FIXME: should be removed in autoconf 3.0.
1824 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1825 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1826 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1827 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1833 if test -n "$ac_prev"; then
1834 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1835 as_fn_error $?
"missing argument to $ac_option"
1838 if test -n "$ac_unrecognized_opts"; then
1839 case $enable_option_checking in
1841 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1842 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1846 # Check all directory arguments for consistency.
1847 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1848 datadir sysconfdir sharedstatedir localstatedir includedir \
1849 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1850 libdir localedir mandir
1852 eval ac_val
=\$
$ac_var
1853 # Remove trailing slashes.
1856 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1857 eval $ac_var=\
$ac_val;;
1859 # Be sure to have absolute directory names.
1861 [\\/$
]* | ?
:[\\/]* ) continue;;
1862 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1864 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1867 # There might be people who depend on the old broken behavior: `$host'
1868 # used to hold the argument of --host etc.
1869 # FIXME: To remove some day.
1872 target
=$target_alias
1874 # FIXME: To remove some day.
1875 if test "x$host_alias" != x
; then
1876 if test "x$build_alias" = x
; then
1877 cross_compiling
=maybe
1878 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1879 If a cross compiler is detected then cross compile mode will be used" >&2
1880 elif test "x$build_alias" != "x$host_alias"; then
1886 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1888 test "$silent" = yes && exec 6>/dev
/null
1891 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1892 ac_ls_di
=`ls -di .` &&
1893 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1894 as_fn_error $?
"working directory cannot be determined"
1895 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1896 as_fn_error $?
"pwd does not report name of working directory"
1899 # Find the source files, if location was not specified.
1900 if test -z "$srcdir"; then
1901 ac_srcdir_defaulted
=yes
1902 # Try the directory containing this script, then the parent directory.
1903 ac_confdir
=`$as_dirname -- "$as_myself" ||
1904 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1905 X"$as_myself" : 'X\(//\)[^/]' \| \
1906 X"$as_myself" : 'X\(//\)$' \| \
1907 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1908 $as_echo X"$as_myself" |
1909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1927 if test ! -r "$srcdir/$ac_unique_file"; then
1931 ac_srcdir_defaulted
=no
1933 if test ! -r "$srcdir/$ac_unique_file"; then
1934 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1935 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1937 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1939 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1941 # When building in place, set srcdir=.
1942 if test "$ac_abs_confdir" = "$ac_pwd"; then
1945 # Remove unnecessary trailing slashes from srcdir.
1946 # Double slashes in file names in object file debugging info
1947 # mess up M-x gdb in Emacs.
1949 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1951 for ac_var
in $ac_precious_vars; do
1952 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1953 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1954 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1955 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1959 # Report the --help message.
1961 if test "$ac_init_help" = "long"; then
1962 # Omit some internal or obsolete options to make the list less imposing.
1963 # This message is too long to be a string in the A/UX 3.1 sh.
1965 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1967 Usage: $0 [OPTION]... [VAR=VALUE]...
1969 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1970 VAR=VALUE. See below for descriptions of some of the useful variables.
1972 Defaults for the options are specified in brackets.
1975 -h, --help display this help and exit
1976 --help=short display options specific to this package
1977 --help=recursive display the short help of all the included packages
1978 -V, --version display version information and exit
1979 -q, --quiet, --silent do not print \`checking ...' messages
1980 --cache-file=FILE cache test results in FILE [disabled]
1981 -C, --config-cache alias for \`--cache-file=config.cache'
1982 -n, --no-create do not create output files
1983 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1985 Installation directories:
1986 --prefix=PREFIX install architecture-independent files in PREFIX
1987 [$ac_default_prefix]
1988 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1991 By default, \`make install' will install all the files in
1992 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1993 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1994 for instance \`--prefix=\$HOME'.
1996 For better control, use the options below.
1998 Fine tuning of the installation directories:
1999 --bindir=DIR user executables [EPREFIX/bin]
2000 --sbindir=DIR system admin executables [EPREFIX/sbin]
2001 --libexecdir=DIR program executables [EPREFIX/libexec]
2002 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2003 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2004 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2005 --libdir=DIR object code libraries [EPREFIX/lib]
2006 --includedir=DIR C header files [PREFIX/include]
2007 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2008 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2009 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2010 --infodir=DIR info documentation [DATAROOTDIR/info]
2011 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2012 --mandir=DIR man documentation [DATAROOTDIR/man]
2013 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2014 --htmldir=DIR html documentation [DOCDIR]
2015 --dvidir=DIR dvi documentation [DOCDIR]
2016 --pdfdir=DIR pdf documentation [DOCDIR]
2017 --psdir=DIR ps documentation [DOCDIR]
2023 --x-includes=DIR X include files are
in DIR
2024 --x-libraries=DIR X library files are
in DIR
2027 --build=BUILD configure
for building on BUILD
[guessed
]
2028 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2032 if test -n "$ac_init_help"; then
2033 case $ac_init_help in
2034 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2039 --disable-option-checking ignore unrecognized
--enable/--with options
2040 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2041 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2042 --disable-gui don
't build GUI parts of the library
2043 --enable-monolithic build wxWidgets as single library
2044 --enable-plugins build parts of wxWidgets as loadable components
2045 --enable-official_build official build of wxWidgets (win32 DLL only)
2046 --enable-vendor=VENDOR vendor name (win32 DLL only)
2047 --disable-all-features disable all optional features to build minimal library
2048 --enable-universal use wxWidgets GUI controls instead of native ones
2049 --enable-nanox use NanoX
2050 --enable-gpe use GNOME PDA Environment features if possible
2051 --enable-debug build library for debugging
2052 --disable-debug_flag disable all debugging support
2053 --enable-debug_info generate debug information
2054 --enable-debug_gdb create code with extra GDB debugging information
2055 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2056 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2057 --disable-shared create static library instead of shared
2058 --enable-stl use standard C++ classes for everything
2059 --enable-std_containers use standard C++ container classes
2060 --enable-std_iostreams use standard C++ stream classes
2061 --enable-std_string use standard C++ string classes
2062 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2063 --disable-unicode compile without Unicode support
2064 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2065 --enable-utf8 use UTF-8 representation for strings (Unix only)
2066 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2067 --enable-extended_rtti use extended RTTI (XTI)
2068 --enable-omf use OMF object format
2069 --disable-optimise compile without optimisations
2070 --enable-profile create code with profiling information
2071 --enable-no_rtti create code without RTTI information
2072 --enable-no_exceptions create code without C++ exceptions handling
2073 --enable-permissive compile code disregarding strict ANSI
2074 --enable-no_deps create code without dependency information
2075 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2076 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2077 --enable-macosx_arch=ARCH build
for just the specified architecture
2078 --enable-compat26 enable wxWidgets
2.6 compatibility
2079 --disable-compat28 disable wxWidgets
2.8 compatibility
2080 --disable-rpath disable use of rpath
for uninstalled builds
2081 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2082 --disable-visibility disable use of ELF symbols visibility even
if supported
2083 --disable-tls disable use of compiler TLS support
2084 --enable-intl use internationalization system
2085 --enable-xlocale use x
-locale support
(requires wxLocale
)
2086 --enable-config use wxConfig
(and derived
) classes
2087 --enable-protocols use wxProtocol and derived classes
2088 --enable-ftp use wxFTP
(requires wxProtocol
2089 --enable-http use wxHTTP
(requires wxProtocol
2090 --enable-fileproto use wxFileProto class
(requires wxProtocol
2091 --enable-sockets use socket
/network classes
2092 --enable-ipv6 enable IPv6 support
in wxSocket
2093 --enable-ole use OLE classes
(Win32 only
)
2094 --enable-dataobj use data object classes
2095 --enable-ipc use interprocess communication
(wxSocket etc.
)
2096 --enable-baseevtloop use event loop
in console programs too
2097 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2098 --enable-selectloop use wxSelectDispatcher class
2099 --enable-any use wxAny class
2100 --enable-apple_ieee use the Apple IEEE codec
2101 --enable-arcstream use wxArchive streams
2102 --enable-base64 use base64 encoding
/decoding functions
2103 --enable-backtrace use wxStackWalker class
for getting backtraces
2104 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2105 --enable-cmdline use wxCmdLineParser class
2106 --enable-datetime use wxDateTime class
2107 --enable-debugreport use wxDebugReport class
2108 --enable-dialupman use dialup network classes
2109 --enable-dynlib use wxLibrary class
for DLL loading
2110 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2111 --enable-exceptions build exception
-safe library
2112 --enable-ffile use wxFFile class
2113 --enable-file use wxFile class
2114 --enable-filehistory use wxFileHistory class
2115 --enable-filesystem use virtual
file systems classes
2116 --enable-fontenum use wxFontEnumerator class
2117 --enable-fontmap use font encodings conversion classes
2118 --enable-fs_archive use virtual archive filesystems
2119 --enable-fs_inet use virtual HTTP
/FTP filesystems
2120 --enable-fs_zip now replaced by fs_archive
2121 --enable-fswatcher use wxFileSystemWatcher class
2122 --enable-geometry use geometry class
2123 --enable-log use logging system
2124 --enable-longlong use wxLongLong class
2125 --enable-mimetype use wxMimeTypesManager
2126 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2127 --enable-snglinst use wxSingleInstanceChecker class
2128 --enable-sound use wxSound class
2129 --enable-stdpaths use wxStandardPaths class
2130 --enable-stopwatch use wxStopWatch class
2131 --enable-streams use wxStream etc classes
2132 --enable-sysoptions use wxSystemOptions
2133 --enable-tarstream use wxTar streams
2134 --enable-textbuf use wxTextBuffer class
2135 --enable-textfile use wxTextFile class
2136 --enable-timer use wxTimer class
2137 --enable-variant use wxVariant class
2138 --enable-zipstream use wxZip streams
2139 --enable-url use wxURL class
2140 --enable-protocol use wxProtocol class
2141 --enable-protocol-http HTTP support
in wxProtocol
2142 --enable-protocol-ftp FTP support
in wxProtocol
2143 --enable-protocol-file FILE support
in wxProtocol
2144 --enable-threads use threads
2145 --enable-iniconf use wxIniConfig
(Win32 only
)
2146 --enable-regkey use wxRegKey class
(Win32 only
)
2147 --enable-docview use document view architecture
2148 --enable-help use
help subsystem
2149 --enable-mshtmlhelp use MS HTML Help
(win32
)
2150 --enable-html use wxHTML sub
-library
2151 --enable-htmlhelp use wxHTML
-based help
2152 --enable-xrc use XRC resources sub
-library
2153 --enable-aui use AUI docking library
2154 --enable-propgrid use wxPropertyGrid library
2155 --enable-ribbon use wxRibbon library
2156 --enable-stc use wxStyledTextCtrl library
2157 --enable-constraints use layout
-constraints system
2158 --enable-loggui use standard GUI logger
2159 --enable-logwin use wxLogWindow
2160 --enable-logdialog use wxLogDialog
2161 --enable-mdi use multiple document interface architecture
2162 --enable-mdidoc use docview architecture with MDI
2163 --enable-mediactrl use wxMediaCtrl class
2164 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2165 --enable-richtext use wxRichTextCtrl
2166 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2167 --enable-printarch use printing architecture
2168 --enable-svg use wxSVGFileDC device context
2169 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2170 --enable-webview use wxWebView library
2171 --enable-graphics_ctx use graphics context
2D drawing API
2172 --enable-clipboard use wxClipboard class
2173 --enable-dnd use Drag
'n'Drop classes
2174 --disable-controls disable compilation of all standard controls
2175 --enable-markup support wxControl
::SetLabelMarkup
2176 --enable-accel use accelerators
2177 --enable-animatectrl use wxAnimationCtrl class
2178 --enable-bannerwindow use wxBannerWindow class
2179 --enable-artstd use standard XPM icons
in wxArtProvider
2180 --enable-arttango use Tango icons
in wxArtProvider
2181 --enable-bmpbutton use wxBitmapButton class
2182 --enable-bmpcombobox use wxBitmapComboBox class
2183 --enable-button use wxButton class
2184 --enable-calendar use wxCalendarCtrl class
2185 --enable-caret use wxCaret class
2186 --enable-checkbox use wxCheckBox class
2187 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2188 --enable-choice use wxChoice class
2189 --enable-choicebook use wxChoicebook class
2190 --enable-collpane use wxCollapsiblePane class
2191 --enable-colourpicker use wxColourPickerCtrl class
2192 --enable-combobox use wxComboBox class
2193 --enable-comboctrl use wxComboCtrl class
2194 --enable-commandlinkbutton use wxCommmandLinkButton class
2195 --enable-dataviewctrl use wxDataViewCtrl class
2196 --enable-datepick use wxDatePickerCtrl class
2197 --enable-detect_sm use code to detect X11 session manager
2198 --enable-dirpicker use wxDirPickerCtrl class
2199 --enable-display use wxDisplay class
2200 --enable-editablebox use wxEditableListBox class
2201 --enable-filectrl use wxFileCtrl class
2202 --enable-filepicker use wxFilePickerCtrl class
2203 --enable-fontpicker use wxFontPickerCtrl class
2204 --enable-gauge use wxGauge class
2205 --enable-grid use wxGrid class
2206 --enable-headerctrl use wxHeaderCtrl class
2207 --enable-hyperlink use wxHyperlinkCtrl class
2208 --enable-imaglist use wxImageList class
2209 --enable-infobar use wxInfoBar class
2210 --enable-listbook use wxListbook class
2211 --enable-listbox use wxListBox class
2212 --enable-listctrl use wxListCtrl class
2213 --enable-notebook use wxNotebook class
2214 --enable-notifmsg use wxNotificationMessage class
2215 --enable-odcombobox use wxOwnerDrawnComboBox class
2216 --enable-popupwin use wxPopUpWindow class
2217 --enable-radiobox use wxRadioBox class
2218 --enable-radiobtn use wxRadioButton class
2219 --enable-richmsgdlg use wxRichMessageDialog class
2220 --enable-richtooltip use wxRichToolTip class
2221 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2222 --enable-sash use wxSashWindow class
2223 --enable-scrollbar use wxScrollBar class and scrollable windows
2224 --enable-searchctrl use wxSearchCtrl class
2225 --enable-slider use wxSlider class
2226 --enable-spinbtn use wxSpinButton class
2227 --enable-spinctrl use wxSpinCtrl class
2228 --enable-splitter use wxSplitterWindow class
2229 --enable-statbmp use wxStaticBitmap class
2230 --enable-statbox use wxStaticBox class
2231 --enable-statline use wxStaticLine class
2232 --enable-stattext use wxStaticText class
2233 --enable-statusbar use wxStatusBar class
2234 --enable-taskbaricon use wxTaskBarIcon class
2235 --enable-tbarnative use native wxToolBar class
2236 --enable-textctrl use wxTextCtrl class
2237 --enable-timepick use wxTimePickerCtrl class
2238 --enable-tipwindow use wxTipWindow class
2239 --enable-togglebtn use wxToggleButton class
2240 --enable-toolbar use wxToolBar class
2241 --enable-toolbook use wxToolbook class
2242 --enable-treebook use wxTreebook class
2243 --enable-treectrl use wxTreeCtrl class
2244 --enable-treelist use wxTreeListCtrl class
2245 --enable-commondlg use all common dialogs
2246 --enable-aboutdlg use wxAboutBox
2247 --enable-choicedlg use wxChoiceDialog
2248 --enable-coldlg use wxColourDialog
2249 --enable-filedlg use wxFileDialog
2250 --enable-finddlg use wxFindReplaceDialog
2251 --enable-fontdlg use wxFontDialog
2252 --enable-dirdlg use wxDirDialog
2253 --enable-msgdlg use wxMessageDialog
2254 --enable-numberdlg use wxNumberEntryDialog
2255 --enable-splash use wxSplashScreen
2256 --enable-textdlg use wxTextDialog
2257 --enable-tipdlg use startup tips
2258 --enable-progressdlg use wxProgressDialog
2259 --enable-wizarddlg use wxWizard
2260 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2261 --enable-miniframe use wxMiniFrame class
2262 --enable-tooltips use wxToolTip class
2263 --enable-splines use spline drawing code
2264 --enable-mousewheel use mousewheel
2265 --enable-validators use wxValidator and derived classes
2266 --enable-busyinfo use wxBusyInfo
2267 --enable-hotkey use wxWindow
::RegisterHotKey
()
2268 --enable-joystick use wxJoystick
2269 --enable-metafiles use wxMetaFile
2270 --enable-dragimage use wxDragImage
2271 --enable-accessibility enable accessibility support
2272 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2273 --enable-dctransform use wxDC
::SetTransformMatrix and related
2274 --enable-webview-webkit use wxWebView WebKit backend
2275 --enable-palette use wxPalette class
2276 --enable-image use wxImage class
2277 --enable-gif use gif images
(GIF
file format
)
2278 --enable-pcx use pcx images
(PCX
file format
)
2279 --enable-tga use tga images
(TGA
file format
)
2280 --enable-iff use iff images
(IFF
file format
)
2281 --enable-pnm use pnm images
(PNM
file format
)
2282 --enable-xpm use xpm images
(XPM
file format
)
2283 --enable-ico_cur use Windows ICO and CUR formats
2284 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2285 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2286 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2287 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2288 --enable-wxdib use wxDIB class
(Win32 only
)
2289 --enable-webview-ie use wxWebView IE backend
(Win32 only
)
2290 --enable-autoidman use automatic ids management
2291 --disable-largefile omit support
for large files
2292 --disable-gtktest do not try to compile and run a
test GTK
+ program
2293 --disable-gtktest Do not try to compile and run a
test GTK program
2294 --disable-sdltest Do not try to compile and run a
test SDL program
2295 --enable-omf use OMF object format
(OS
/2)
2296 --disable-dependency-tracking
2297 don
't use dependency tracking even if the compiler
2299 --disable-precomp-headers
2300 don't use precompiled headers even
if compiler can
2303 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2304 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2305 --without-subdirs don
't generate makefiles for samples/demos/...
2306 --with-flavour=NAME specify a name to identify this build
2307 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2308 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2309 --with-motif use Motif/Lesstif
2310 --with-osx_carbon use Mac OS X (Carbon)
2311 --with-osx_cocoa use Mac OS X (Cocoa)
2312 --with-osx_iphone use iPhone OS X port
2313 --with-osx use Mac OS X (default port, currently Carbon)
2314 --with-carbon same as --with-osx_carbon
2315 --with-cocoa same as --with-osx_cocoa
2316 --with-iphone same as --with-osx_iphone
2317 --with-mac same as --with-osx
2318 --with-old_cocoa use old, deprecated, Cocoa port
2319 --with-wine use Wine
2320 --with-msw use MS-Windows
2321 --with-pm use OS/2 Presentation Manager
2322 --with-directfb use DirectFB
2323 --with-microwin use MicroWindows
2325 --with-libpng use libpng (PNG image format)
2326 --with-libjpeg use libjpeg (JPEG file format)
2327 --with-libtiff use libtiff (TIFF file format)
2328 --with-libxpm use libxpm (XPM file format)
2329 --with-libiconv use libiconv (character conversion)
2330 --with-libmspack use libmspack (CHM help files loading)
2331 --without-gtkprint don't use GTK printing support
2332 --without-gnomeprint don
't use GNOME printing libraries
2333 --with-gnomevfs use GNOME VFS for associating MIME types
2334 --with-hildon use Hildon framework for Nokia 770/800/810
2335 --with-opengl use OpenGL (or Mesa)
2336 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2337 --with-sdl use SDL for audio on Unix
2338 --with-regex enable support for wxRegEx class
2339 --with-zlib use zlib for LZW compression
2340 --with-expat enable XML support using expat parser
2341 --with-macosx-sdk=PATH use an OS X SDK at PATH
2342 --with-macosx-version-min=VER build binaries which require at least this OS X version
2343 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2344 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2345 --with-x use the X Window System
2346 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2347 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2348 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2349 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2350 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2352 Some influential environment variables:
2353 CC C compiler command
2354 CFLAGS C compiler flags
2355 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2356 nonstandard directory <lib dir>
2357 LIBS libraries to pass to the linker, e.g. -l<library>
2358 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2359 you have headers in a nonstandard directory <include dir>
2361 CXX C++ compiler command
2362 CXXFLAGS C++ compiler flags
2363 CXXCPP C++ preprocessor
2364 PKG_CONFIG path to pkg-config utility
2366 C compiler flags for DIRECTFB, overriding pkg-config
2368 linker flags for DIRECTFB, overriding pkg-config
2369 XMKMF Path to xmkmf, Makefile generator for X Window System
2371 C compiler flags for PANGOX, overriding pkg-config
2372 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2374 C compiler flags for PANGOFT2, overriding pkg-config
2376 linker flags for PANGOFT2, overriding pkg-config
2378 C compiler flags for PANGOXFT, overriding pkg-config
2380 linker flags for PANGOXFT, overriding pkg-config
2382 C compiler flags for Xinerama, overriding pkg-config
2384 linker flags for Xinerama, overriding pkg-config
2386 C compiler flags for Xxf86vm, overriding pkg-config
2388 linker flags for Xxf86vm, overriding pkg-config
2389 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2390 SM_LIBS linker flags for SM, overriding pkg-config
2391 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2392 GL_LIBS linker flags for GL, overriding pkg-config
2393 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2394 GLU_LIBS linker flags for GLU, overriding pkg-config
2396 C compiler flags for MesaGL, overriding pkg-config
2397 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2399 C compiler flags for GTKPRINT, overriding pkg-config
2401 linker flags for GTKPRINT, overriding pkg-config
2402 LIBGNOMEPRINTUI_CFLAGS
2403 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2404 LIBGNOMEPRINTUI_LIBS
2405 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2407 C compiler flags for GNOMEVFS, overriding pkg-config
2409 linker flags for GNOMEVFS, overriding pkg-config
2411 C compiler flags for HILDON, overriding pkg-config
2412 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2414 C compiler flags for HILDON2, overriding pkg-config
2416 linker flags for HILDON2, overriding pkg-config
2418 C compiler flags for WEBKIT, overriding pkg-config
2419 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2421 C compiler flags for CAIRO, overriding pkg-config
2422 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2423 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2424 GST_LIBS linker flags for GST, overriding pkg-config
2426 Use these variables to override the choices made by `configure' or to
help
2427 it to
find libraries and programs with nonstandard names
/locations.
2429 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2434 if test "$ac_init_help" = "recursive"; then
2435 # If there are subdirs, report their specific --help.
2436 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2437 test -d "$ac_dir" ||
2438 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2443 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2445 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2446 # A ".." for each directory in $ac_dir_suffix.
2447 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2448 case $ac_top_builddir_sub in
2449 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2450 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2453 ac_abs_top_builddir
=$ac_pwd
2454 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2455 # for backward compatibility:
2456 ac_top_builddir
=$ac_top_build_prefix
2459 .
) # We are building in place.
2461 ac_top_srcdir
=$ac_top_builddir_sub
2462 ac_abs_top_srcdir
=$ac_pwd ;;
2463 [\\/]* | ?
:[\\/]* ) # Absolute name.
2464 ac_srcdir
=$srcdir$ac_dir_suffix;
2465 ac_top_srcdir
=$srcdir
2466 ac_abs_top_srcdir
=$srcdir ;;
2468 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2469 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2470 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2472 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2474 cd "$ac_dir" || { ac_status
=$?
; continue; }
2475 # Check for guested configure.
2476 if test -f "$ac_srcdir/configure.gnu"; then
2478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2479 elif test -f "$ac_srcdir/configure"; then
2481 $SHELL "$ac_srcdir/configure" --help=recursive
2483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2485 cd "$ac_pwd" || { ac_status
=$?
; break; }
2489 test -n "$ac_init_help" && exit $ac_status
2490 if $ac_init_version; then
2492 wxWidgets configure
2.9.5
2493 generated by GNU Autoconf
2.68
2495 Copyright
(C
) 2010 Free Software Foundation
, Inc.
2496 This configure
script is free software
; the Free Software Foundation
2497 gives unlimited permission to copy
, distribute and modify it.
2502 ## ------------------------ ##
2503 ## Autoconf initialization. ##
2504 ## ------------------------ ##
2506 # ac_fn_c_try_compile LINENO
2507 # --------------------------
2508 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2509 ac_fn_c_try_compile
()
2511 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2512 rm -f conftest.
$ac_objext
2513 if { { ac_try
="$ac_compile"
2515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2519 $as_echo "$ac_try_echo"; } >&5
2520 (eval "$ac_compile") 2>conftest.err
2522 if test -s conftest.err; then
2523 grep -v '^ *+' conftest.err >conftest.er1
2524 cat conftest.er1 >&5
2525 mv -f conftest.er1 conftest.err
2527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2528 test $ac_status = 0; } && {
2529 test -z "$ac_c_werror_flag" ||
2530 test ! -s conftest.err
2531 } && test -s conftest.$ac_objext; then :
2534 $as_echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.$ac_ext >&5
2539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2540 as_fn_set_status $ac_retval
2542 } # ac_fn_c_try_compile
2544 # ac_fn_c_try_cpp LINENO
2545 # ----------------------
2546 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2550 if { { ac_try="$ac_cpp conftest.$ac_ext"
2552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2553 *) ac_try_echo
=$ac_try;;
2555 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2559 if test -s conftest.err
; then
2560 grep -v '^ *+' conftest.err
>conftest.er1
2561 cat conftest.er1
>&5
2562 mv -f conftest.er1 conftest.err
2564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2565 test $ac_status = 0; } > conftest.i
&& {
2566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2567 test ! -s conftest.err
2571 $as_echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.
$ac_ext >&5
2576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2577 as_fn_set_status
$ac_retval
2581 # ac_fn_cxx_try_compile LINENO
2582 # ----------------------------
2583 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2584 ac_fn_cxx_try_compile
()
2586 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2587 rm -f conftest.
$ac_objext
2588 if { { ac_try
="$ac_compile"
2590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594 $as_echo "$ac_try_echo"; } >&5
2595 (eval "$ac_compile") 2>conftest.err
2597 if test -s conftest.err; then
2598 grep -v '^ *+' conftest.err >conftest.er1
2599 cat conftest.er1 >&5
2600 mv -f conftest.er1 conftest.err
2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603 test $ac_status = 0; } && {
2604 test -z "$ac_cxx_werror_flag" ||
2605 test ! -s conftest.err
2606 } && test -s conftest.$ac_objext; then :
2609 $as_echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2615 as_fn_set_status $ac_retval
2617 } # ac_fn_cxx_try_compile
2619 # ac_fn_c_try_link LINENO
2620 # -----------------------
2621 # Try to link conftest.$ac_ext, and return whether this succeeded.
2624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2625 rm -f conftest.$ac_objext conftest$ac_exeext
2626 if { { ac_try="$ac_link"
2628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2629 *) ac_try_echo
=$ac_try;;
2631 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2632 $as_echo "$ac_try_echo"; } >&5
2633 (eval "$ac_link") 2>conftest.err
2635 if test -s conftest.err
; then
2636 grep -v '^ *+' conftest.err
>conftest.er1
2637 cat conftest.er1
>&5
2638 mv -f conftest.er1 conftest.err
2640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2641 test $ac_status = 0; } && {
2642 test -z "$ac_c_werror_flag" ||
2643 test ! -s conftest.err
2644 } && test -s conftest
$ac_exeext && {
2645 test "$cross_compiling" = yes ||
2646 $as_test_x conftest
$ac_exeext
2650 $as_echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.
$ac_ext >&5
2655 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2656 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2657 # interfere with the next link command; also delete a directory that is
2658 # left behind by Apple's compiler. We do this before executing the actions.
2659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2661 as_fn_set_status
$ac_retval
2663 } # ac_fn_c_try_link
2665 # ac_fn_cxx_try_link LINENO
2666 # -------------------------
2667 # Try to link conftest.$ac_ext, and return whether this succeeded.
2668 ac_fn_cxx_try_link
()
2670 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2671 rm -f conftest.
$ac_objext conftest
$ac_exeext
2672 if { { ac_try
="$ac_link"
2674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2678 $as_echo "$ac_try_echo"; } >&5
2679 (eval "$ac_link") 2>conftest.err
2681 if test -s conftest.err; then
2682 grep -v '^ *+' conftest.err >conftest.er1
2683 cat conftest.er1 >&5
2684 mv -f conftest.er1 conftest.err
2686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2687 test $ac_status = 0; } && {
2688 test -z "$ac_cxx_werror_flag" ||
2689 test ! -s conftest.err
2690 } && test -s conftest$ac_exeext && {
2691 test "$cross_compiling" = yes ||
2692 $as_test_x conftest$ac_exeext
2696 $as_echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.$ac_ext >&5
2701 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2702 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2703 # interfere with the next link command; also delete a directory that is
2704 # left behind by Apple's compiler. We do this before executing the actions.
2705 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707 as_fn_set_status $ac_retval
2709 } # ac_fn_cxx_try_link
2711 # ac_fn_c_try_run LINENO
2712 # ----------------------
2713 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2714 # that executables *can* be run.
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 if { { ac_try="$ac_link"
2720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2721 *) ac_try_echo
=$ac_try;;
2723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2724 $as_echo "$ac_try_echo"; } >&5
2725 (eval "$ac_link") 2>&5
2727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2728 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2729 { { case "(($ac_try" in
2730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 $as_echo "$ac_try_echo"; } >&5
2735 (eval "$ac_try") 2>&5
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; }; }; then :
2741 $as_echo "$as_me: program exited with status $ac_status" >&5
2742 $as_echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2745 ac_retval=$ac_status
2747 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 as_fn_set_status $ac_retval
2753 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2754 # -------------------------------------------------------
2755 # Tests whether HEADER exists and can be compiled using the include files in
2756 # INCLUDES, setting the cache variable VAR accordingly.
2757 ac_fn_c_check_header_compile ()
2759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2761 $as_echo_n "checking for $2... " >&6; }
2762 if eval \${$3+:} false; then :
2763 $as_echo_n "(cached) " >&6
2765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2770 if ac_fn_c_try_compile "$LINENO"; then :
2775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2779 $as_echo "$ac_res" >&6; }
2780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2782 } # ac_fn_c_check_header_compile
2784 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2785 # --------------------------------------------
2786 # Tries to find the compile-time value of EXPR in a program that includes
2787 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2789 ac_fn_c_compute_int ()
2791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792 if test "$cross_compiling" = yes; then
2793 # Depending upon the size, compute the lo and hi bounds.
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2800 static int test_array [1 - 2 * !(($2) >= 0)];
2807 if ac_fn_c_try_compile "$LINENO"; then :
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2816 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2823 if ac_fn_c_try_compile "$LINENO"; then :
2824 ac_hi=$ac_mid; break
2826 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2827 if test $ac_lo -le $ac_mid; then
2831 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2842 static int test_array [1 - 2 * !(($2) < 0)];
2849 if ac_fn_c_try_compile "$LINENO"; then :
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2858 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2865 if ac_fn_c_try_compile "$LINENO"; then :
2866 ac_lo=$ac_mid; break
2868 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2869 if test $ac_mid -le $ac_hi; then
2873 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 # Binary search between lo and hi bounds.
2884 while test "x$ac_lo" != "x$ac_hi"; do
2885 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2892 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2899 if ac_fn_c_try_compile "$LINENO"; then :
2902 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2907 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2914 static long int longval () { return $2; }
2915 static unsigned long int ulongval () { return $2; }
2922 FILE *f = fopen ("conftest.val", "w");
2927 long int i = longval ();
2930 fprintf (f, "%ld", i);
2934 unsigned long int i = ulongval ();
2937 fprintf (f, "%lu", i);
2939 /* Do not output a trailing newline, as this causes \r\n confusion
2940 on some platforms. */
2941 return ferror (f) || fclose (f) != 0;
2947 if ac_fn_c_try_run "$LINENO"; then :
2948 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2953 conftest.$ac_objext conftest.beam conftest.$ac_ext
2957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2958 as_fn_set_status $ac_retval
2960 } # ac_fn_c_compute_int
2962 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2963 # ---------------------------------------------------------
2964 # Tests whether HEADER exists and can be compiled using the include files in
2965 # INCLUDES, setting the cache variable VAR accordingly.
2966 ac_fn_cxx_check_header_compile ()
2968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2970 $as_echo_n "checking for $2... " >&6; }
2971 if eval \${$3+:} false; then :
2972 $as_echo_n "(cached) " >&6
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2979 if ac_fn_cxx_try_compile "$LINENO"; then :
2984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2988 $as_echo "$ac_res" >&6; }
2989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2991 } # ac_fn_cxx_check_header_compile
2993 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2994 # ---------------------------------------------
2995 # Tests whether TYPE exists after having included INCLUDES, setting cache
2996 # variable VAR accordingly.
2997 ac_fn_cxx_check_type ()
2999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3001 $as_echo_n "checking for $2... " >&6; }
3002 if eval \${$3+:} false; then :
3003 $as_echo_n "(cached) " >&6
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3018 if ac_fn_cxx_try_compile "$LINENO"; then :
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3031 if ac_fn_cxx_try_compile "$LINENO"; then :
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3042 $as_echo "$ac_res" >&6; }
3043 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3045 } # ac_fn_cxx_check_type
3047 # ac_fn_cxx_try_cpp LINENO
3048 # ------------------------
3049 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3050 ac_fn_cxx_try_cpp ()
3052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3053 if { { ac_try="$ac_cpp conftest.$ac_ext"
3055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3056 *) ac_try_echo
=$ac_try;;
3058 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3059 $as_echo "$ac_try_echo"; } >&5
3060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3062 if test -s conftest.err
; then
3063 grep -v '^ *+' conftest.err
>conftest.er1
3064 cat conftest.er1
>&5
3065 mv -f conftest.er1 conftest.err
3067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3068 test $ac_status = 0; } > conftest.i
&& {
3069 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3070 test ! -s conftest.err
3074 $as_echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.
$ac_ext >&5
3079 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3080 as_fn_set_status
$ac_retval
3082 } # ac_fn_cxx_try_cpp
3084 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3085 # ---------------------------------------------------------
3086 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3087 # the include files in INCLUDES and setting the cache variable VAR
3089 ac_fn_cxx_check_header_mongrel
()
3091 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3092 if eval \
${$3+:} false
; then :
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3094 $as_echo_n "checking for $2... " >&6; }
3095 if eval \
${$3+:} false
; then :
3096 $as_echo_n "(cached) " >&6
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3100 $as_echo "$ac_res" >&6; }
3102 # Is the header compilable?
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3104 $as_echo_n "checking $2 usability... " >&6; }
3105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3106 /* end confdefs.h. */
3110 if ac_fn_cxx_try_compile
"$LINENO"; then :
3111 ac_header_compiler
=yes
3113 ac_header_compiler
=no
3115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3117 $as_echo "$ac_header_compiler" >&6; }
3119 # Is the header present?
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3121 $as_echo_n "checking $2 presence... " >&6; }
3122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3126 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3127 ac_header_preproc
=yes
3129 ac_header_preproc
=no
3131 rm -f conftest.err conftest.i conftest.
$ac_ext
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3133 $as_echo "$ac_header_preproc" >&6; }
3135 # So? What about this header?
3136 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3139 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3145 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3147 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3149 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3151 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3153 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3154 ( $as_echo "## ----------------------------------------- ##
3155 ## Report this to wx-dev@lists.wxwidgets.org ##
3156 ## ----------------------------------------- ##"
3157 ) | sed "s/^/$as_me: WARNING: /" >&2
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3161 $as_echo_n "checking for $2... " >&6; }
3162 if eval \
${$3+:} false
; then :
3163 $as_echo_n "(cached) " >&6
3165 eval "$3=\$ac_header_compiler"
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3169 $as_echo "$ac_res" >&6; }
3171 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3173 } # ac_fn_cxx_check_header_mongrel
3175 # ac_fn_c_check_func LINENO FUNC VAR
3176 # ----------------------------------
3177 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3178 ac_fn_c_check_func
()
3180 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3182 $as_echo_n "checking for $2... " >&6; }
3183 if eval \
${$3+:} false
; then :
3184 $as_echo_n "(cached) " >&6
3186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3187 /* end confdefs.h. */
3188 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3190 #define $2 innocuous_$2
3192 /* System header to define __stub macros and hopefully few prototypes,
3193 which can conflict with char $2 (); below.
3194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3195 <limits.h> exists even on freestanding compilers. */
3198 # include <limits.h>
3200 # include <assert.h>
3205 /* Override any GCC internal prototype to avoid an error.
3206 Use char because int might match the return type of a GCC
3207 builtin and then its argument prototype would still apply. */
3212 /* The GNU C library defines this for functions which it implements
3213 to always fail with ENOSYS. Some functions are actually named
3214 something starting with __ and the normal name is an alias. */
3215 #if defined __stub_$2 || defined __stub___$2
3227 if ac_fn_c_try_link
"$LINENO"; then :
3232 rm -f core conftest.err conftest.
$ac_objext \
3233 conftest
$ac_exeext conftest.
$ac_ext
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3237 $as_echo "$ac_res" >&6; }
3238 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3240 } # ac_fn_c_check_func
3242 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3243 # -------------------------------------------
3244 # Tests whether TYPE exists after having included INCLUDES, setting cache
3245 # variable VAR accordingly.
3246 ac_fn_c_check_type
()
3248 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3250 $as_echo_n "checking for $2... " >&6; }
3251 if eval \
${$3+:} false
; then :
3252 $as_echo_n "(cached) " >&6
3255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3267 if ac_fn_c_try_compile
"$LINENO"; then :
3268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3280 if ac_fn_c_try_compile
"$LINENO"; then :
3285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3291 $as_echo "$ac_res" >&6; }
3292 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3294 } # ac_fn_c_check_type
3296 # ac_fn_cxx_try_run LINENO
3297 # ------------------------
3298 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3299 # that executables *can* be run.
3300 ac_fn_cxx_try_run
()
3302 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3303 if { { ac_try
="$ac_link"
3305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3306 *) ac_try_echo=$ac_try;;
3308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 $as_echo "$ac_try_echo"; } >&5
3310 (eval "$ac_link") 2>&5
3312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3313 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3314 { { case "(($ac_try" in
3315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3316 *) ac_try_echo
=$ac_try;;
3318 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3319 $as_echo "$ac_try_echo"; } >&5
3320 (eval "$ac_try") 2>&5
3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3323 test $ac_status = 0; }; }; then :
3326 $as_echo "$as_me: program exited with status $ac_status" >&5
3327 $as_echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.
$ac_ext >&5
3330 ac_retval
=$ac_status
3332 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3333 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3334 as_fn_set_status
$ac_retval
3336 } # ac_fn_cxx_try_run
3337 cat >config.log
<<_ACEOF
3338 This file contains any messages produced by compilers while
3339 running configure, to aid debugging if configure makes a mistake.
3341 It was created by wxWidgets $as_me 2.9.5, which was
3342 generated by GNU Autoconf 2.68. Invocation command line was
3354 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3355 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3356 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3357 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3358 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3360 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3361 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3363 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3364 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3365 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3366 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3367 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3368 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3369 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 $as_echo "PATH: $as_dir"
3394 # Keep a trace of the command line.
3395 # Strip out --no-create and --no-recursion so they do not pile up.
3396 # Strip out --silent because we don't want to record it for future runs.
3397 # Also quote any args containing shell meta-characters.
3398 # Make two passes to allow for proper duplicate-argument suppression.
3402 ac_must_keep_next
=false
3408 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3409 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3410 | -silent | --silent | --silen | --sile | --sil)
3413 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3416 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3418 as_fn_append ac_configure_args1
" '$ac_arg'"
3419 if test $ac_must_keep_next = true
; then
3420 ac_must_keep_next
=false
# Got value, back to normal.
3423 *=* | --config-cache | -C | -disable-* | --disable-* \
3424 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3425 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3426 | -with-* | --with-* | -without-* | --without-* | --x)
3427 case "$ac_configure_args0 " in
3428 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3431 -* ) ac_must_keep_next
=true
;;
3434 as_fn_append ac_configure_args
" '$ac_arg'"
3439 { ac_configure_args0
=; unset ac_configure_args0
;}
3440 { ac_configure_args1
=; unset ac_configure_args1
;}
3442 # When interrupted or exit'd, cleanup temporary files, and complete
3443 # config.log. We remove comments because anyway the quotes in there
3444 # would cause problems or look ugly.
3445 # WARNING: Use '\'' to represent an apostrophe within the trap.
3446 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3447 trap 'exit_status=$?
3448 # Save into config.log some information that might help in debugging.
3452 $as_echo "## ---------------- ##
3453 ## Cache variables. ##
3454 ## ---------------- ##"
3456 # The following way of writing the cache mishandles newlines in values,
3458 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3459 eval ac_val=\$$ac_var
3463 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3464 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3467 _ | IFS | as_nl) ;; #(
3468 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3469 *) { eval $ac_var=; unset $ac_var;} ;;
3474 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3475 *${as_nl}ac_space=\ *)
3477 "s/'\''/'\''\\\\'\'''\''/g;
3478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3488 $as_echo "## ----------------- ##
3489 ## Output variables. ##
3490 ## ----------------- ##"
3492 for ac_var in $ac_subst_vars
3494 eval ac_val=\$$ac_var
3496 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3498 $as_echo "$ac_var='\''$ac_val'\''"
3502 if test -n "$ac_subst_files"; then
3503 $as_echo "## ------------------- ##
3504 ## File substitutions. ##
3505 ## ------------------- ##"
3507 for ac_var
in $ac_subst_files
3509 eval ac_val
=\$
$ac_var
3511 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3513 $as_echo "$ac_var='\''$ac_val'\''"
3518 if test -s confdefs.h; then
3519 $as_echo "## ----------- ##
3526 test "$ac_signal" != 0 &&
3527 $as_echo "$as_me: caught signal $ac_signal"
3528 $as_echo "$as_me: exit $exit_status"
3530 rm -f core *.core core.conftest.* &&
3531 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3534 for ac_signal
in 1 2 13 15; do
3535 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3539 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3540 rm -f -r conftest
* confdefs.h
3542 $as_echo "/* confdefs.h */" > confdefs.h
3544 # Predefined preprocessor variables.
3546 cat >>confdefs.h
<<_ACEOF
3547 #define PACKAGE_NAME "$PACKAGE_NAME"
3550 cat >>confdefs.h
<<_ACEOF
3551 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3554 cat >>confdefs.h
<<_ACEOF
3555 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3558 cat >>confdefs.h
<<_ACEOF
3559 #define PACKAGE_STRING "$PACKAGE_STRING"
3562 cat >>confdefs.h
<<_ACEOF
3563 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3566 cat >>confdefs.h
<<_ACEOF
3567 #define PACKAGE_URL "$PACKAGE_URL"
3571 # Let the site file select an alternate cache file if it wants to.
3572 # Prefer an explicitly selected file to automatically selected ones.
3575 if test -n "$CONFIG_SITE"; then
3576 # We do not want a PATH search for config.site.
3577 case $CONFIG_SITE in #((
3578 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3579 */*) ac_site_file1
=$CONFIG_SITE;;
3580 *) ac_site_file1
=.
/$CONFIG_SITE;;
3582 elif test "x$prefix" != xNONE
; then
3583 ac_site_file1
=$prefix/share
/config.site
3584 ac_site_file2
=$prefix/etc
/config.site
3586 ac_site_file1
=$ac_default_prefix/share
/config.site
3587 ac_site_file2
=$ac_default_prefix/etc
/config.site
3589 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3591 test "x$ac_site_file" = xNONE
&& continue
3592 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3594 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3595 sed 's/^/| /' "$ac_site_file" >&5
3597 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3599 as_fn_error $?
"failed to load site script $ac_site_file
3600 See \`config.log' for more details" "$LINENO" 5; }
3604 if test -r "$cache_file"; then
3605 # Some versions of bash will fail to source /dev/null (special files
3606 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3607 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3609 $as_echo "$as_me: loading cache $cache_file" >&6;}
3611 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3612 *) .
"./$cache_file";;
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3617 $as_echo "$as_me: creating cache $cache_file" >&6;}
3621 # Check that the precious variables saved in the cache have kept the same
3623 ac_cache_corrupted
=false
3624 for ac_var
in $ac_precious_vars; do
3625 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3626 eval ac_new_set
=\
$ac_env_${ac_var}_set
3627 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3628 eval ac_new_val
=\
$ac_env_${ac_var}_value
3629 case $ac_old_set,$ac_new_set in
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3632 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3633 ac_cache_corrupted
=: ;;
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3636 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3637 ac_cache_corrupted
=: ;;
3640 if test "x$ac_old_val" != "x$ac_new_val"; then
3641 # differences in whitespace do not lead to failure.
3642 ac_old_val_w
=`echo x $ac_old_val`
3643 ac_new_val_w
=`echo x $ac_new_val`
3644 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3646 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3647 ac_cache_corrupted
=:
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3650 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3651 eval $ac_var=\
$ac_old_val
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3654 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3656 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3659 # Pass precious variables to config.status.
3660 if test "$ac_new_set" = set; then
3662 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3663 *) ac_arg
=$ac_var=$ac_new_val ;;
3665 case " $ac_configure_args " in
3666 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3667 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3671 if $ac_cache_corrupted; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3675 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3676 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3678 ## -------------------- ##
3679 ## Main body of script. ##
3680 ## -------------------- ##
3683 ac_cpp
='$CPP $CPPFLAGS'
3684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3693 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3694 if test -f "$ac_dir/install-sh"; then
3696 ac_install_sh
="$ac_aux_dir/install-sh -c"
3698 elif test -f "$ac_dir/install.sh"; then
3700 ac_install_sh
="$ac_aux_dir/install.sh -c"
3702 elif test -f "$ac_dir/shtool"; then
3704 ac_install_sh
="$ac_aux_dir/shtool install -c"
3708 if test -z "$ac_aux_dir"; then
3709 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3712 # These three variables are undocumented and unsupported,
3713 # and are intended to be withdrawn in a future Autoconf release.
3714 # They can cause serious problems if a builder's source tree is in a directory
3715 # whose full name contains unusual characters.
3716 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3717 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3718 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3721 # Make sure we can run config.sub.
3722 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3723 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3726 $as_echo_n "checking build system type... " >&6; }
3727 if ${ac_cv_build+:} false
; then :
3728 $as_echo_n "(cached) " >&6
3730 ac_build_alias
=$build_alias
3731 test "x$ac_build_alias" = x
&&
3732 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3733 test "x$ac_build_alias" = x
&&
3734 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3735 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3736 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3740 $as_echo "$ac_cv_build" >&6; }
3741 case $ac_cv_build in
3743 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3746 ac_save_IFS
=$IFS; IFS
='-'
3752 # Remember, the first character of IFS is used to create $*,
3753 # except with old shells:
3756 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3760 $as_echo_n "checking host system type... " >&6; }
3761 if ${ac_cv_host+:} false
; then :
3762 $as_echo_n "(cached) " >&6
3764 if test "x$host_alias" = x
; then
3765 ac_cv_host
=$ac_cv_build
3767 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3768 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3773 $as_echo "$ac_cv_host" >&6; }
3776 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3779 ac_save_IFS
=$IFS; IFS
='-'
3785 # Remember, the first character of IFS is used to create $*,
3786 # except with old shells:
3789 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3793 if test "$cross_compiling" != "no"; then
3794 HOST_PREFIX
="${host_alias}-"
3795 HOST_SUFFIX
="-$host_alias"
3802 wx_major_version_number
=2
3803 wx_minor_version_number
=9
3805 wx_subrelease_number
=0
3807 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3808 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3809 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3811 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3814 wx_top_builddir
="`pwd`"
3827 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3833 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3839 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3841 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3843 DEFAULT_wxUSE_OLD_COCOA
=0
3845 DEFAULT_wxUSE_OSX_CARBON
=0
3846 DEFAULT_wxUSE_OSX_COCOA
=0
3847 DEFAULT_wxUSE_OSX_IPHONE
=0
3848 DEFAULT_wxUSE_MICROWIN
=0
3849 DEFAULT_wxUSE_MOTIF
=0
3855 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3856 DEFAULT_DEFAULT_wxUSE_GTK
=0
3857 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3858 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3859 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3860 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3861 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3862 DEFAULT_DEFAULT_wxUSE_MSW
=0
3863 DEFAULT_DEFAULT_wxUSE_PM
=0
3864 DEFAULT_DEFAULT_wxUSE_X11
=0
3865 DEFAULT_DEFAULT_wxUSE_DFB
=0
3869 DYLIB_RPATH_INSTALL
=
3870 DYLIB_RPATH_POSTLINK
=
3872 DEFAULT_STD_FLAG
=yes
3877 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3878 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3879 $as_echo "#define __HPUX__ 1" >>confdefs.h
3882 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3886 $as_echo "#define __LINUX__ 1" >>confdefs.h
3889 if test "x$TMP" = "xalpha"; then
3891 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3894 DEFAULT_DEFAULT_wxUSE_GTK
=1
3896 *-*-gnu* | *-*-k*bsd
*-gnu )
3899 if test "x$TMP" = "xalpha"; then
3901 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3904 DEFAULT_DEFAULT_wxUSE_GTK
=1
3906 *-*-irix5* | *-*-irix6* )
3909 $as_echo "#define __SGI__ 1" >>confdefs.h
3911 $as_echo "#define __SVR4__ 1" >>confdefs.h
3913 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3917 $as_echo "#define __QNX__ 1" >>confdefs.h
3919 DEFAULT_DEFAULT_wxUSE_X11
=1
3925 $as_echo "#define __SUN__ 1" >>confdefs.h
3927 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3929 $as_echo "#define __SVR4__ 1" >>confdefs.h
3931 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3932 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3938 $as_echo "#define __SUN__ 1" >>confdefs.h
3940 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3942 $as_echo "#define __BSD__ 1" >>confdefs.h
3944 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3949 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3951 $as_echo "#define __BSD__ 1" >>confdefs.h
3953 DEFAULT_DEFAULT_wxUSE_GTK
=1
3955 *-*-openbsd*|*-*-mirbsd*)
3958 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3960 $as_echo "#define __BSD__ 1" >>confdefs.h
3962 DEFAULT_DEFAULT_wxUSE_GTK
=1
3967 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3969 $as_echo "#define __BSD__ 1" >>confdefs.h
3971 DEFAULT_DEFAULT_wxUSE_GTK
=1
3972 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3974 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3979 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3981 $as_echo "#define __OSF__ 1" >>confdefs.h
3983 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3984 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3989 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3991 $as_echo "#define __SVR4__ 1" >>confdefs.h
3993 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3998 $as_echo "#define __SYSV__ 1" >>confdefs.h
4000 $as_echo "#define __SVR4__ 1" >>confdefs.h
4002 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4008 $as_echo "#define __AIX__ 1" >>confdefs.h
4010 $as_echo "#define __SYSV__ 1" >>confdefs.h
4012 $as_echo "#define __SVR4__ 1" >>confdefs.h
4014 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4021 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4025 *-*-cygwin* | *-*-mingw32* )
4027 DEFAULT_DEFAULT_wxUSE_MSW
=1
4033 $as_echo "#define __DOS__ 1" >>confdefs.h
4038 *-pc-os2_emx | *-pc-os2-emx )
4039 $as_echo "#define __EMX__ 1" >>confdefs.h
4042 $as_echo "#define __OS2__ 1" >>confdefs.h
4045 DEFAULT_DEFAULT_wxUSE_PM
=1
4047 LDFLAGS
="$LDFLAGS -Zcrtdll"
4048 ac_executable_extensions
=".exe"
4049 export ac_executable_extensions
4053 for ac_dir
in $PATH; do
4055 if test -z "$ac_TEMP_PATH"; then
4056 ac_TEMP_PATH
="$ac_dir"
4058 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4061 export PATH
="$ac_TEMP_PATH"
4069 $as_echo "#define __BSD__ 1" >>confdefs.h
4071 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4073 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4079 $as_echo "#define __BSD__ 1" >>confdefs.h
4081 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4083 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4085 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
4090 $as_echo "#define __BEOS__ 1" >>confdefs.h
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4096 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4098 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4100 DEFAULT_DEFAULT_wxUSE_X11
=1
4101 DEFAULT_wxUSE_SHARED
=no
4106 DEFAULT_wxUSE_ALL_FEATURES
=yes
4108 DEFAULT_wxUSE_STD_CONTAINERS
=no
4109 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4110 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4112 DEFAULT_wxUSE_DMALLOC
=no
4113 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4114 DEFAULT_wxUSE_LIBHILDON
=no
4115 DEFAULT_wxUSE_LIBHILDON2
=no
4116 DEFAULT_wxUSE_LIBMSPACK
=no
4117 DEFAULT_wxUSE_LIBSDL
=no
4119 DEFAULT_wxUSE_ACCESSIBILITY
=no
4120 DEFAULT_wxUSE_IPV6
=no
4121 DEFAULT_wxUSE_GSTREAMER8
=no
4122 DEFAULT_wxUSE_UNICODE_UTF8
=no
4123 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4125 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4126 DEFAULT_wxUSE_OPENGL
=auto
4127 DEFAULT_wxUSE_MEDIACTRL
=auto
4128 DEFAULT_wxUSE_COMPILER_TLS
=auto
4129 DEFAULT_wxUSE_HOTKEY
=auto
4130 DEFAULT_wxUSE_METAFILE
=auto
4132 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4133 DEFAULT_wxUSE_MAC_ARCH
=no
4135 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4137 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4143 enablestring
=disable
4145 if test -z "$defaultval"; then
4146 if test x
"$enablestring" = xdisable
; then
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4154 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4155 # Check whether --enable-gui was given.
4156 if test "${enable_gui+set}" = set; then :
4157 enableval
=$enable_gui;
4158 if test "$enableval" = yes; then
4159 wx_cv_use_gui
='wxUSE_GUI=yes'
4161 wx_cv_use_gui
='wxUSE_GUI=no'
4166 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4171 eval "$wx_cv_use_gui"
4173 if test x"$enablestring" = xdisable; then
4174 if test $wxUSE_GUI = no; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4184 $as_echo "$result" >&6; }
4189 if test -z "$defaultval"; then
4190 if test x"$enablestring" = xdisable; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4198 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4199 # Check whether --enable-monolithic was given.
4200 if test "${enable_monolithic+set}" = set; then :
4201 enableval=$enable_monolithic;
4202 if test "$enableval" = yes; then
4203 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4205 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4210 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4215 eval "$wx_cv_use_monolithic"
4217 if test x"$enablestring" = xdisable; then
4218 if test $wxUSE_MONOLITHIC = no; then
4224 result=$wxUSE_MONOLITHIC
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4228 $as_echo "$result" >&6; }
4233 if test -z "$defaultval"; then
4234 if test x"$enablestring" = xdisable; then
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4242 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4243 # Check whether --enable-plugins was given.
4244 if test "${enable_plugins+set}" = set; then :
4245 enableval=$enable_plugins;
4246 if test "$enableval" = yes; then
4247 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4249 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4254 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4259 eval "$wx_cv_use_plugins"
4261 if test x
"$enablestring" = xdisable
; then
4262 if test $wxUSE_PLUGINS = no
; then
4268 result
=$wxUSE_PLUGINS
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4272 $as_echo "$result" >&6; }
4276 defaultval
=$wxUSE_ALL_FEATURES
4277 if test -z "$defaultval"; then
4278 if test x
"$withstring" = xwithout
; then
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4285 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4287 # Check whether --with-subdirs was given.
4288 if test "${with_subdirs+set}" = set; then :
4289 withval
=$with_subdirs;
4290 if test "$withval" = yes; then
4291 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4293 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4298 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4303 eval "$wx_cv_use_subdirs"
4305 if test x"$withstring" = xwithout; then
4306 if test $wxWITH_SUBDIRS = yes; then
4312 result=$wxWITH_SUBDIRS
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4316 $as_echo "$result" >&6; }
4319 # Check whether --with-flavour was given.
4320 if test "${with_flavour+set}" = set; then :
4321 withval=$with_flavour; WX_FLAVOUR="$withval"
4327 if test -z "$defaultval"; then
4328 if test x"$enablestring" = xdisable; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4336 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4337 # Check whether --enable-official_build was given.
4338 if test "${enable_official_build+set}" = set; then :
4339 enableval=$enable_official_build;
4340 if test "$enableval" = yes; then
4341 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4343 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4348 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4353 eval "$wx_cv_use_official_build"
4355 if test x"$enablestring" = xdisable; then
4356 if test $wxUSE_OFFICIAL_BUILD = no; then
4362 result=$wxUSE_OFFICIAL_BUILD
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4366 $as_echo "$result" >&6; }
4368 # Check whether --enable-vendor was given.
4369 if test "${enable_vendor+set}" = set; then :
4370 enableval=$enable_vendor; VENDOR="$enableval"
4373 if test "x
$VENDOR" = "x
"; then
4378 enablestring=disable
4380 if test -z "$defaultval"; then
4381 if test x"$enablestring" = xdisable; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4389 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4390 # Check whether --enable-all-features was given.
4391 if test "${enable_all_features+set}" = set; then :
4392 enableval=$enable_all_features;
4393 if test "$enableval" = yes; then
4394 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4396 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4401 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4406 eval "$wx_cv_use_all_features"
4408 if test x
"$enablestring" = xdisable
; then
4409 if test $wxUSE_ALL_FEATURES = no
; then
4415 result
=$wxUSE_ALL_FEATURES
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4419 $as_echo "$result" >&6; }
4422 if test "$wxUSE_ALL_FEATURES" = "no"; then
4423 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4424 DEFAULT_wxUSE_MEDIACTRL
=no
4428 if test "$wxUSE_GUI" = "yes"; then
4433 if test -z "$defaultval"; then
4434 if test x
"$enablestring" = xdisable
; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4442 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4443 # Check whether --enable-universal was given.
4444 if test "${enable_universal+set}" = set; then :
4445 enableval
=$enable_universal;
4446 if test "$enableval" = yes; then
4447 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4449 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4454 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4459 eval "$wx_cv_use_universal"
4461 if test x"$enablestring" = xdisable; then
4462 if test $wxUSE_UNIVERSAL = no; then
4468 result=$wxUSE_UNIVERSAL
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4472 $as_echo "$result" >&6; }
4474 if test "$wxUSE_UNIVERSAL" = "yes"; then
4476 # Check whether --with-themes was given.
4477 if test "${with_themes+set}" = set; then :
4478 withval=$with_themes; wxUNIV_THEMES="$withval"
4484 # Check whether --with-gtk was given.
4485 if test "${with_gtk+set}" = set; then :
4486 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4490 # Check whether --with-motif was given.
4491 if test "${with_motif+set}" = set; then :
4492 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4496 # Check whether --with-osx_carbon was given.
4497 if test "${with_osx_carbon+set}" = set; then :
4498 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4502 # Check whether --with-osx_cocoa was given.
4503 if test "${with_osx_cocoa+set}" = set; then :
4504 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4508 # Check whether --with-osx_iphone was given.
4509 if test "${with_osx_iphone+set}" = set; then :
4510 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4514 # Check whether --with-osx was given.
4515 if test "${with_osx+set}" = set; then :
4516 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4520 # Check whether --with-carbon was given.
4521 if test "${with_carbon+set}" = set; then :
4522 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4526 # Check whether --with-cocoa was given.
4527 if test "${with_cocoa+set}" = set; then :
4528 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4532 # Check whether --with-iphone was given.
4533 if test "${with_iphone+set}" = set; then :
4534 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4538 # Check whether --with-mac was given.
4539 if test "${with_mac+set}" = set; then :
4540 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4544 # Check whether --with-old_cocoa was given.
4545 if test "${with_old_cocoa+set}" = set; then :
4546 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4550 # Check whether --with-wine was given.
4551 if test "${with_wine+set}" = set; then :
4552 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4556 # Check whether --with-msw was given.
4557 if test "${with_msw+set}" = set; then :
4558 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4562 # Check whether --with-pm was given.
4563 if test "${with_pm+set}" = set; then :
4564 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4568 # Check whether --with-directfb was given.
4569 if test "${with_directfb+set}" = set; then :
4570 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4574 # Check whether --with-microwin was given.
4575 if test "${with_microwin+set}" = set; then :
4576 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4580 # Check whether --with-x11 was given.
4581 if test "${with_x11+set}" = set; then :
4582 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4588 if test -z "$defaultval"; then
4589 if test x"$enablestring" = xdisable; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4597 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4598 # Check whether --enable-nanox was given.
4599 if test "${enable_nanox+set}" = set; then :
4600 enableval=$enable_nanox;
4601 if test "$enableval" = yes; then
4602 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4604 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4609 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4614 eval "$wx_cv_use_nanox"
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_NANOX = no; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4627 $as_echo "$result" >&6; }
4632 if test -z "$defaultval"; then
4633 if test x"$enablestring" = xdisable; then
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4641 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4642 # Check whether --enable-gpe was given.
4643 if test "${enable_gpe+set}" = set; then :
4644 enableval=$enable_gpe;
4645 if test "$enableval" = yes; then
4646 wx_cv_use_gpe='wxUSE_GPE=yes'
4648 wx_cv_use_gpe='wxUSE_GPE=no'
4653 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4658 eval "$wx_cv_use_gpe"
4660 if test x
"$enablestring" = xdisable
; then
4661 if test $wxUSE_GPE = no
; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4671 $as_echo "$result" >&6; }
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4676 $as_echo_n "checking for toolkit... " >&6; }
4680 # In Wine, we need to default to MSW, not GTK or MOTIF
4681 if test "$wxUSE_WINE" = "yes"; then
4682 DEFAULT_DEFAULT_wxUSE_GTK
=0
4683 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4684 DEFAULT_DEFAULT_wxUSE_MSW
=1
4691 if test "$wxUSE_GUI" = "yes"; then
4693 if test "$USE_BEOS" = 1; then
4694 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4697 if test "$TOOLKIT_GIVEN" = 1; then
4698 for toolkit
in $ALL_TOOLKITS; do
4700 eval "value=\$${var}"
4701 if test "x$value" = "xno"; then
4703 elif test "x$value" != "x"; then
4707 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4708 eval "wx${toolkit}_VERSION=$value"
4712 for toolkit
in $ALL_TOOLKITS; do
4713 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4714 eval "wxUSE_$toolkit=\$${var}"
4718 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4719 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4720 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4723 *-pc-os2_emx | *-pc-os2-emx )
4724 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4727 case "$NUM_TOOLKITS" in
4731 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4734 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4737 for toolkit
in $ALL_TOOLKITS; do
4739 eval "value=\$${var}"
4740 if test "$value" = 1; then
4741 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4743 $as_echo "$toolkit_echo" >&6; }
4747 if test "x$host_alias" != "x"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4749 $as_echo "base ($host_alias hosted) only" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4752 $as_echo "base only" >&6; }
4757 if test "$wxUSE_OSX_CARBON" = 1 \
4758 -o "$wxUSE_OSX_COCOA" = 1 \
4759 -o "$wxUSE_OSX_IPHONE" = 1; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4766 $as_echo_n "checking for --with-libpng... " >&6; }
4768 # Check whether --with-libpng was given.
4769 if test "${with_libpng+set}" = set; then :
4770 withval
=$with_libpng;
4771 if test "$withval" = yes; then
4772 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4773 elif test "$withval" = no
; then
4774 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4775 elif test "$withval" = sys
; then
4776 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4777 elif test "$withval" = builtin; then
4778 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4780 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4785 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4790 eval "$wx_cv_use_libpng"
4792 if test "$wxUSE_LIBPNG" = yes; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4794 $as_echo "yes" >&6; }
4795 elif test "$wxUSE_LIBPNG" = no; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 $as_echo "no" >&6; }
4798 elif test "$wxUSE_LIBPNG" = sys; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4800 $as_echo "system version" >&6; }
4801 elif test "$wxUSE_LIBPNG" = builtin; then
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4803 $as_echo "builtin version" >&6; }
4805 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4810 $as_echo_n "checking for --with-libjpeg... " >&6; }
4812 # Check whether --with-libjpeg was given.
4813 if test "${with_libjpeg+set}" = set; then :
4814 withval=$with_libjpeg;
4815 if test "$withval" = yes; then
4816 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4817 elif test "$withval" = no; then
4818 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4819 elif test "$withval" = sys; then
4820 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4821 elif test "$withval" = builtin; then
4822 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4824 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4829 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4834 eval "$wx_cv_use_libjpeg"
4836 if test "$wxUSE_LIBJPEG" = yes; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4838 $as_echo "yes" >&6; }
4839 elif test "$wxUSE_LIBJPEG" = no; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4841 $as_echo "no
" >&6; }
4842 elif test "$wxUSE_LIBJPEG" = sys; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4844 $as_echo "system version
" >&6; }
4845 elif test "$wxUSE_LIBJPEG" = builtin; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4847 $as_echo "builtin version
" >&6; }
4849 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4854 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4856 # Check whether --with-libtiff was given.
4857 if test "${with_libtiff+set}" = set; then :
4858 withval=$with_libtiff;
4859 if test "$withval" = yes; then
4860 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4861 elif test "$withval" = no; then
4862 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4863 elif test "$withval" = sys; then
4864 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4865 elif test "$withval" = builtin; then
4866 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4868 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4873 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4878 eval "$wx_cv_use_libtiff"
4880 if test "$wxUSE_LIBTIFF" = yes; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4883 elif test "$wxUSE_LIBTIFF" = no
; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4886 elif test "$wxUSE_LIBTIFF" = sys
; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4888 $as_echo "system version" >&6; }
4889 elif test "$wxUSE_LIBTIFF" = builtin; then
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4891 $as_echo "builtin version" >&6; }
4893 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4898 $as_echo_n "checking for --with-libxpm... " >&6; }
4900 # Check whether --with-libxpm was given.
4901 if test "${with_libxpm+set}" = set; then :
4902 withval
=$with_libxpm;
4903 if test "$withval" = yes; then
4904 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
4905 elif test "$withval" = no
; then
4906 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
4907 elif test "$withval" = sys
; then
4908 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
4909 elif test "$withval" = builtin; then
4910 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
4912 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4917 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4922 eval "$wx_cv_use_libxpm"
4924 if test "$wxUSE_LIBXPM" = yes; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926 $as_echo "yes" >&6; }
4927 elif test "$wxUSE_LIBXPM" = no; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4930 elif test "$wxUSE_LIBXPM" = sys; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4932 $as_echo "system version" >&6; }
4933 elif test "$wxUSE_LIBXPM" = builtin; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4935 $as_echo "builtin version" >&6; }
4937 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4942 defaultval=$wxUSE_ALL_FEATURES
4943 if test -z "$defaultval"; then
4944 if test x"$withstring" = xwithout; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4951 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4953 # Check whether --with-libiconv was given.
4954 if test "${with_libiconv+set}" = set; then :
4955 withval=$with_libiconv;
4956 if test "$withval" = yes; then
4957 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
4959 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
4964 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4969 eval "$wx_cv_use_libiconv"
4971 if test x"$withstring" = xwithout; then
4972 if test $wxUSE_LIBICONV = yes; then
4978 result=$wxUSE_LIBICONV
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4982 $as_echo "$result" >&6; }
4986 defaultval=$wxUSE_ALL_FEATURES
4987 if test -z "$defaultval"; then
4988 if test x"$withstring" = xwithout; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libmspack" >&5
4995 $as_echo_n "checking
for --${withstring:-with}-libmspack...
" >&6; }
4997 # Check whether --with-libmspack was given.
4998 if test "${with_libmspack+set}" = set; then :
4999 withval=$with_libmspack;
5000 if test "$withval" = yes; then
5001 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5003 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5008 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5013 eval "$wx_cv_use_libmspack"
5015 if test x
"$withstring" = xwithout
; then
5016 if test $wxUSE_LIBMSPACK = yes; then
5022 result
=$wxUSE_LIBMSPACK
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5026 $as_echo "$result" >&6; }
5030 defaultval
=$wxUSE_ALL_FEATURES
5031 if test -z "$defaultval"; then
5032 if test x
"$withstring" = xwithout
; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5039 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5041 # Check whether --with-gtkprint was given.
5042 if test "${with_gtkprint+set}" = set; then :
5043 withval
=$with_gtkprint;
5044 if test "$withval" = yes; then
5045 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
5047 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
5052 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5057 eval "$wx_cv_use_gtkprint"
5059 if test x"$withstring" = xwithout; then
5060 if test $wxUSE_GTKPRINT = yes; then
5066 result=$wxUSE_GTKPRINT
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5070 $as_echo "$result" >&6; }
5074 defaultval=$wxUSE_ALL_FEATURES
5075 if test -z "$defaultval"; then
5076 if test x"$withstring" = xwithout; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5083 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5085 # Check whether --with-gnomeprint was given.
5086 if test "${with_gnomeprint+set}" = set; then :
5087 withval=$with_gnomeprint;
5088 if test "$withval" = yes; then
5089 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
5091 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
5096 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5101 eval "$wx_cv_use_gnomeprint"
5103 if test x"$withstring" = xwithout; then
5104 if test $wxUSE_LIBGNOMEPRINT = yes; then
5110 result=$wxUSE_LIBGNOMEPRINT
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5114 $as_echo "$result" >&6; }
5118 defaultval=$wxUSE_ALL_FEATURES
5119 if test -z "$defaultval"; then
5120 if test x"$withstring" = xwithout; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gnomevfs" >&5
5127 $as_echo_n "checking
for --${withstring:-with}-gnomevfs...
" >&6; }
5129 # Check whether --with-gnomevfs was given.
5130 if test "${with_gnomevfs+set}" = set; then :
5131 withval=$with_gnomevfs;
5132 if test "$withval" = yes; then
5133 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5135 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5140 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5145 eval "$wx_cv_use_gnomevfs"
5147 if test x
"$withstring" = xwithout
; then
5148 if test $wxUSE_LIBGNOMEVFS = yes; then
5154 result
=$wxUSE_LIBGNOMEVFS
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5158 $as_echo "$result" >&6; }
5162 defaultval
=$wxUSE_ALL_FEATURES
5163 if test -z "$defaultval"; then
5164 if test x
"$withstring" = xwithout
; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5171 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5173 # Check whether --with-hildon was given.
5174 if test "${with_hildon+set}" = set; then :
5175 withval
=$with_hildon;
5176 if test "$withval" = yes; then
5177 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
5179 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
5184 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5189 eval "$wx_cv_use_hildon"
5191 if test x"$withstring" = xwithout; then
5192 if test $wxUSE_LIBHILDON = yes; then
5198 result=$wxUSE_LIBHILDON
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5202 $as_echo "$result" >&6; }
5206 defaultval=$wxUSE_ALL_FEATURES
5207 if test -z "$defaultval"; then
5208 if test x"$withstring" = xwithout; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5215 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5217 # Check whether --with-opengl was given.
5218 if test "${with_opengl+set}" = set; then :
5219 withval=$with_opengl;
5220 if test "$withval" = yes; then
5221 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
5223 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
5228 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5233 eval "$wx_cv_use_opengl"
5235 if test x"$withstring" = xwithout; then
5236 if test $wxUSE_OPENGL = yes; then
5242 result=$wxUSE_OPENGL
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5246 $as_echo "$result" >&6; }
5253 defaultval=$wxUSE_ALL_FEATURES
5254 if test -z "$defaultval"; then
5255 if test x"$withstring" = xwithout; then
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-dmalloc" >&5
5262 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
5264 # Check whether --with-dmalloc was given.
5265 if test "${with_dmalloc+set}" = set; then :
5266 withval=$with_dmalloc;
5267 if test "$withval" = yes; then
5268 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5270 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5275 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5280 eval "$wx_cv_use_dmalloc"
5282 if test x
"$withstring" = xwithout
; then
5283 if test $wxUSE_DMALLOC = yes; then
5289 result
=$wxUSE_DMALLOC
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5293 $as_echo "$result" >&6; }
5297 defaultval
=$wxUSE_ALL_FEATURES
5298 if test -z "$defaultval"; then
5299 if test x
"$withstring" = xwithout
; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5306 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5308 # Check whether --with-sdl was given.
5309 if test "${with_sdl+set}" = set; then :
5311 if test "$withval" = yes; then
5312 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
5314 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
5319 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5324 eval "$wx_cv_use_sdl"
5326 if test x"$withstring" = xwithout; then
5327 if test $wxUSE_LIBSDL = yes; then
5333 result=$wxUSE_LIBSDL
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5337 $as_echo "$result" >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5341 $as_echo_n "checking for --with-regex... " >&6; }
5343 # Check whether --with-regex was given.
5344 if test "${with_regex+set}" = set; then :
5345 withval=$with_regex;
5346 if test "$withval" = yes; then
5347 wx_cv_use_regex='wxUSE_REGEX
=yes'
5348 elif test "$withval" = no; then
5349 wx_cv_use_regex='wxUSE_REGEX
=no
'
5350 elif test "$withval" = sys; then
5351 wx_cv_use_regex='wxUSE_REGEX
=sys
'
5352 elif test "$withval" = builtin; then
5353 wx_cv_use_regex='wxUSE_REGEX
=builtin'
5355 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5360 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5365 eval "$wx_cv_use_regex"
5367 if test "$wxUSE_REGEX" = yes; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5369 $as_echo "yes" >&6; }
5370 elif test "$wxUSE_REGEX" = no; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5372 $as_echo "no
" >&6; }
5373 elif test "$wxUSE_REGEX" = sys; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5375 $as_echo "system version
" >&6; }
5376 elif test "$wxUSE_REGEX" = builtin; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5378 $as_echo "builtin version
" >&6; }
5380 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-zlib" >&5
5385 $as_echo_n "checking
for --with-zlib...
" >&6; }
5387 # Check whether --with-zlib was given.
5388 if test "${with_zlib+set}" = set; then :
5390 if test "$withval" = yes; then
5391 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5392 elif test "$withval" = no; then
5393 wx_cv_use_zlib='wxUSE_ZLIB=no'
5394 elif test "$withval" = sys; then
5395 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5396 elif test "$withval" = builtin; then
5397 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5399 as_fn_error $? "Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5404 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5409 eval "$wx_cv_use_zlib"
5411 if test "$wxUSE_ZLIB" = yes; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5413 $as_echo "yes" >&6; }
5414 elif test "$wxUSE_ZLIB" = no
; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5417 elif test "$wxUSE_ZLIB" = sys
; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5419 $as_echo "system version" >&6; }
5420 elif test "$wxUSE_ZLIB" = builtin; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5422 $as_echo "builtin version" >&6; }
5424 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5429 $as_echo_n "checking for --with-expat... " >&6; }
5431 # Check whether --with-expat was given.
5432 if test "${with_expat+set}" = set; then :
5433 withval
=$with_expat;
5434 if test "$withval" = yes; then
5435 wx_cv_use_expat
='wxUSE_EXPAT=yes'
5436 elif test "$withval" = no
; then
5437 wx_cv_use_expat
='wxUSE_EXPAT=no'
5438 elif test "$withval" = sys
; then
5439 wx_cv_use_expat
='wxUSE_EXPAT=sys'
5440 elif test "$withval" = builtin; then
5441 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
5443 as_fn_error $?
"Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5448 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5453 eval "$wx_cv_use_expat"
5455 if test "$wxUSE_EXPAT" = yes; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5457 $as_echo "yes" >&6; }
5458 elif test "$wxUSE_EXPAT" = no; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5460 $as_echo "no" >&6; }
5461 elif test "$wxUSE_EXPAT" = sys; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5463 $as_echo "system version" >&6; }
5464 elif test "$wxUSE_EXPAT" = builtin; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5466 $as_echo "builtin version" >&6; }
5468 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5473 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5475 # Check whether --with-macosx-sdk was given.
5476 if test "${with_macosx_sdk+set}" = set; then :
5477 withval=$with_macosx_sdk;
5478 wxUSE_MACOSX_SDK=$withval
5479 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5484 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5487 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5489 # Check whether --with-macosx-version-min was given.
5490 if test "${with_macosx_version_min+set}" = set; then :
5491 withval=$with_macosx_version_min;
5492 wxUSE_MACOSX_VERSION_MIN=$withval
5493 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5498 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5502 $as_echo_n "checking for --enable-debug... " >&6; }
5503 # Check whether --enable-debug was given.
5504 if test "${enable_debug+set}" = set; then :
5505 enableval=$enable_debug;
5506 if test "$enableval" = yes; then
5508 elif test "$enableval" = no; then
5510 elif test "$enableval" = max; then
5512 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5514 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5523 $as_echo "${enable_debug-default}" >&6; }
5525 case "$wxUSE_DEBUG" in
5527 DEFAULT_wxUSE_DEBUG_FLAG=yes
5528 DEFAULT_wxUSE_DEBUG_INFO=yes
5530 DEFAULT_wxUSE_OPTIMISE=no
5534 DEFAULT_wxUSE_DEBUG_FLAG=no
5535 DEFAULT_wxUSE_DEBUG_INFO=no
5539 DEFAULT_wxUSE_DEBUG_FLAG=yes
5540 DEFAULT_wxUSE_DEBUG_INFO=no
5545 enablestring=disable
5547 if test -z "$defaultval"; then
5548 if test x"$enablestring" = xdisable; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5556 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5557 # Check whether --enable-debug_flag was given.
5558 if test "${enable_debug_flag+set}" = set; then :
5559 enableval=$enable_debug_flag;
5560 if test "$enableval" = yes; then
5561 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
5563 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
5568 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5573 eval "$wx_cv_use_debug_flag"
5575 if test x"$enablestring" = xdisable; then
5576 if test $wxUSE_DEBUG_FLAG = no; then
5582 result=$wxUSE_DEBUG_FLAG
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5586 $as_echo "$result" >&6; }
5591 if test -z "$defaultval"; then
5592 if test x"$enablestring" = xdisable; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_info" >&5
5600 $as_echo_n "checking
for --${enablestring:-enable}-debug_info...
" >&6; }
5601 # Check whether --enable-debug_info was given.
5602 if test "${enable_debug_info+set}" = set; then :
5603 enableval=$enable_debug_info;
5604 if test "$enableval" = yes; then
5605 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5607 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5612 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5617 eval "$wx_cv_use_debug_info"
5619 if test x
"$enablestring" = xdisable
; then
5620 if test $wxUSE_DEBUG_INFO = no
; then
5626 result
=$wxUSE_DEBUG_INFO
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5630 $as_echo "$result" >&6; }
5637 if test -z "$defaultval"; then
5638 if test x
"$enablestring" = xdisable
; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5646 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5647 # Check whether --enable-debug_gdb was given.
5648 if test "${enable_debug_gdb+set}" = set; then :
5649 enableval
=$enable_debug_gdb;
5650 if test "$enableval" = yes; then
5651 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
5653 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
5658 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5663 eval "$wx_cv_use_debug_gdb"
5665 if test x"$enablestring" = xdisable; then
5666 if test $wxUSE_DEBUG_GDB = no; then
5672 result=$wxUSE_DEBUG_GDB
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5676 $as_echo "$result" >&6; }
5681 if test -z "$defaultval"; then
5682 if test x"$enablestring" = xdisable; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5690 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5691 # Check whether --enable-debug_cntxt was given.
5692 if test "${enable_debug_cntxt+set}" = set; then :
5693 enableval=$enable_debug_cntxt;
5694 if test "$enableval" = yes; then
5695 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
5697 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
5702 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5707 eval "$wx_cv_use_debug_cntxt"
5709 if test x"$enablestring" = xdisable; then
5710 if test $wxUSE_DEBUG_CONTEXT = no; then
5716 result=$wxUSE_DEBUG_CONTEXT
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5720 $as_echo "$result" >&6; }
5725 if test -z "$defaultval"; then
5726 if test x"$enablestring" = xdisable; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mem_tracing" >&5
5734 $as_echo_n "checking
for --${enablestring:-enable}-mem_tracing...
" >&6; }
5735 # Check whether --enable-mem_tracing was given.
5736 if test "${enable_mem_tracing+set}" = set; then :
5737 enableval=$enable_mem_tracing;
5738 if test "$enableval" = yes; then
5739 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5741 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5746 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5751 eval "$wx_cv_use_mem_tracing"
5753 if test x
"$enablestring" = xdisable
; then
5754 if test $wxUSE_MEM_TRACING = no
; then
5760 result
=$wxUSE_MEM_TRACING
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5764 $as_echo "$result" >&6; }
5769 enablestring
=disable
5771 if test -z "$defaultval"; then
5772 if test x
"$enablestring" = xdisable
; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5780 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5781 # Check whether --enable-shared was given.
5782 if test "${enable_shared+set}" = set; then :
5783 enableval
=$enable_shared;
5784 if test "$enableval" = yes; then
5785 wx_cv_use_shared
='wxUSE_SHARED=yes'
5787 wx_cv_use_shared
='wxUSE_SHARED=no'
5792 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5797 eval "$wx_cv_use_shared"
5799 if test x"$enablestring" = xdisable; then
5800 if test $wxUSE_SHARED = no; then
5806 result=$wxUSE_SHARED
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5810 $as_echo "$result" >&6; }
5815 if test -z "$defaultval"; then
5816 if test x"$enablestring" = xdisable; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5824 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5825 # Check whether --enable-stl was given.
5826 if test "${enable_stl+set}" = set; then :
5827 enableval=$enable_stl;
5828 if test "$enableval" = yes; then
5829 wx_cv_use_stl='wxUSE_STL
=yes'
5831 wx_cv_use_stl='wxUSE_STL
=no
'
5836 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
5841 eval "$wx_cv_use_stl"
5843 if test x"$enablestring" = xdisable; then
5844 if test $wxUSE_STL = no; then
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5854 $as_echo "$result" >&6; }
5856 if test "$wxUSE_STL" = "yes"; then
5857 DEFAULT_wxUSE_STD_CONTAINERS=yes
5858 DEFAULT_wxUSE_STD_IOSTREAM=yes
5859 DEFAULT_wxUSE_STD_STRING=yes
5864 if test -z "$defaultval"; then
5865 if test x"$enablestring" = xdisable; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_containers" >&5
5873 $as_echo_n "checking
for --${enablestring:-enable}-std_containers...
" >&6; }
5874 # Check whether --enable-std_containers was given.
5875 if test "${enable_std_containers+set}" = set; then :
5876 enableval=$enable_std_containers;
5877 if test "$enableval" = yes; then
5878 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5880 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5885 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5890 eval "$wx_cv_use_std_containers"
5892 if test x
"$enablestring" = xdisable
; then
5893 if test $wxUSE_STD_CONTAINERS = no
; then
5899 result
=$wxUSE_STD_CONTAINERS
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5903 $as_echo "$result" >&6; }
5908 if test -z "$defaultval"; then
5909 if test x
"$enablestring" = xdisable
; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5917 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5918 # Check whether --enable-std_iostreams was given.
5919 if test "${enable_std_iostreams+set}" = set; then :
5920 enableval
=$enable_std_iostreams;
5921 if test "$enableval" = yes; then
5922 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5924 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5929 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5934 eval "$wx_cv_use_std_iostreams"
5936 if test x"$enablestring" = xdisable; then
5937 if test $wxUSE_STD_IOSTREAM = no; then
5943 result=$wxUSE_STD_IOSTREAM
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5947 $as_echo "$result" >&6; }
5952 if test -z "$defaultval"; then
5953 if test x"$enablestring" = xdisable; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5961 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5962 # Check whether --enable-std_string was given.
5963 if test "${enable_std_string+set}" = set; then :
5964 enableval=$enable_std_string;
5965 if test "$enableval" = yes; then
5966 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
5968 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
5973 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5978 eval "$wx_cv_use_std_string"
5980 if test x"$enablestring" = xdisable; then
5981 if test $wxUSE_STD_STRING = no; then
5987 result=$wxUSE_STD_STRING
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5991 $as_echo "$result" >&6; }
5996 if test -z "$defaultval"; then
5997 if test x"$enablestring" = xdisable; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6005 $as_echo_n "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
" >&6; }
6006 # Check whether --enable-std_string_conv_in_wxstring was given.
6007 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6008 enableval=$enable_std_string_conv_in_wxstring;
6009 if test "$enableval" = yes; then
6010 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6012 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6017 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6022 eval "$wx_cv_use_std_string_conv_in_wxstring"
6024 if test x
"$enablestring" = xdisable
; then
6025 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
6031 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6035 $as_echo "$result" >&6; }
6038 enablestring
=disable
6040 if test -z "$defaultval"; then
6041 if test x
"$enablestring" = xdisable
; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6049 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6050 # Check whether --enable-unicode was given.
6051 if test "${enable_unicode+set}" = set; then :
6052 enableval
=$enable_unicode;
6053 if test "$enableval" = yes; then
6054 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
6056 wx_cv_use_unicode
='wxUSE_UNICODE=no'
6061 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6066 eval "$wx_cv_use_unicode"
6068 if test x"$enablestring" = xdisable; then
6069 if test $wxUSE_UNICODE = no; then
6075 result=$wxUSE_UNICODE
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6079 $as_echo "$result" >&6; }
6084 if test -z "$defaultval"; then
6085 if test x"$enablestring" = xdisable; then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6093 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6094 # Check whether --enable-mslu was given.
6095 if test "${enable_mslu+set}" = set; then :
6096 enableval=$enable_mslu;
6097 if test "$enableval" = yes; then
6098 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6100 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6105 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6110 eval "$wx_cv_use_mslu"
6112 if test x"$enablestring" = xdisable; then
6113 if test $wxUSE_UNICODE_MSLU = no; then
6119 result=$wxUSE_UNICODE_MSLU
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6123 $as_echo "$result" >&6; }
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8" >&5
6128 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
6129 # Check whether --enable-utf8 was given.
6130 if test "${enable_utf8+set}" = set; then :
6131 enableval=$enable_utf8;
6132 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
6136 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6141 eval "$wx_cv_use_utf8"
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_UNICODE_UTF8" >&5
6144 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6149 if test -z "$defaultval"; then
6150 if test x"$enablestring" = xdisable; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8only" >&5
6158 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
6159 # Check whether --enable-utf8only was given.
6160 if test "${enable_utf8only+set}" = set; then :
6161 enableval=$enable_utf8only;
6162 if test "$enableval" = yes; then
6163 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6165 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6170 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6175 eval "$wx_cv_use_utf8only"
6177 if test x
"$enablestring" = xdisable
; then
6178 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
6184 result
=$wxUSE_UNICODE_UTF8_LOCALE
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6188 $as_echo "$result" >&6; }
6193 if test -z "$defaultval"; then
6194 if test x
"$enablestring" = xdisable
; then
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6202 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6203 # Check whether --enable-extended_rtti was given.
6204 if test "${enable_extended_rtti+set}" = set; then :
6205 enableval
=$enable_extended_rtti;
6206 if test "$enableval" = yes; then
6207 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
6209 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
6214 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6219 eval "$wx_cv_use_extended_rtti"
6221 if test x"$enablestring" = xdisable; then
6222 if test $wxUSE_EXTENDED_RTTI = no; then
6228 result=$wxUSE_EXTENDED_RTTI
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6232 $as_echo "$result" >&6; }
6234 if test "$USE_OS2" = 1; then
6235 DEFAULT_wxUSE_OMF=no
6239 if test -z "$defaultval"; then
6240 if test x"$enablestring" = xdisable; then
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6248 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6249 # Check whether --enable-omf was given.
6250 if test "${enable_omf+set}" = set; then :
6251 enableval=$enable_omf;
6252 if test "$enableval" = yes; then
6253 wx_cv_use_omf='wxUSE_OMF
=yes'
6255 wx_cv_use_omf='wxUSE_OMF
=no
'
6260 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6265 eval "$wx_cv_use_omf"
6267 if test x"$enablestring" = xdisable; then
6268 if test $wxUSE_OMF = no; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6278 $as_echo "$result" >&6; }
6283 enablestring=disable
6285 if test -z "$defaultval"; then
6286 if test x"$enablestring" = xdisable; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-optimise" >&5
6294 $as_echo_n "checking
for --${enablestring:-enable}-optimise...
" >&6; }
6295 # Check whether --enable-optimise was given.
6296 if test "${enable_optimise+set}" = set; then :
6297 enableval=$enable_optimise;
6298 if test "$enableval" = yes; then
6299 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6301 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6306 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6311 eval "$wx_cv_use_optimise"
6313 if test x
"$enablestring" = xdisable
; then
6314 if test $wxUSE_OPTIMISE = no
; then
6320 result
=$wxUSE_OPTIMISE
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6324 $as_echo "$result" >&6; }
6330 if test -z "$defaultval"; then
6331 if test x
"$enablestring" = xdisable
; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6339 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6340 # Check whether --enable-profile was given.
6341 if test "${enable_profile+set}" = set; then :
6342 enableval
=$enable_profile;
6343 if test "$enableval" = yes; then
6344 wx_cv_use_profile
='wxUSE_PROFILE=yes'
6346 wx_cv_use_profile
='wxUSE_PROFILE=no'
6351 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6356 eval "$wx_cv_use_profile"
6358 if test x"$enablestring" = xdisable; then
6359 if test $wxUSE_PROFILE = no; then
6365 result=$wxUSE_PROFILE
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6369 $as_echo "$result" >&6; }
6374 if test -z "$defaultval"; then
6375 if test x"$enablestring" = xdisable; then
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6383 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6384 # Check whether --enable-no_rtti was given.
6385 if test "${enable_no_rtti+set}" = set; then :
6386 enableval=$enable_no_rtti;
6387 if test "$enableval" = yes; then
6388 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
6390 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
6395 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6400 eval "$wx_cv_use_no_rtti"
6402 if test x"$enablestring" = xdisable; then
6403 if test $wxUSE_NO_RTTI = no; then
6409 result=$wxUSE_NO_RTTI
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6413 $as_echo "$result" >&6; }
6418 if test -z "$defaultval"; then
6419 if test x"$enablestring" = xdisable; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_exceptions" >&5
6427 $as_echo_n "checking
for --${enablestring:-enable}-no_exceptions...
" >&6; }
6428 # Check whether --enable-no_exceptions was given.
6429 if test "${enable_no_exceptions+set}" = set; then :
6430 enableval=$enable_no_exceptions;
6431 if test "$enableval" = yes; then
6432 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6434 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6439 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6444 eval "$wx_cv_use_no_exceptions"
6446 if test x
"$enablestring" = xdisable
; then
6447 if test $wxUSE_NO_EXCEPTIONS = no
; then
6453 result
=$wxUSE_NO_EXCEPTIONS
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6457 $as_echo "$result" >&6; }
6462 if test -z "$defaultval"; then
6463 if test x
"$enablestring" = xdisable
; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6471 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6472 # Check whether --enable-permissive was given.
6473 if test "${enable_permissive+set}" = set; then :
6474 enableval
=$enable_permissive;
6475 if test "$enableval" = yes; then
6476 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
6478 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
6483 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6488 eval "$wx_cv_use_permissive"
6490 if test x"$enablestring" = xdisable; then
6491 if test $wxUSE_PERMISSIVE = no; then
6497 result=$wxUSE_PERMISSIVE
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6501 $as_echo "$result" >&6; }
6506 if test -z "$defaultval"; then
6507 if test x"$enablestring" = xdisable; then
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6515 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6516 # Check whether --enable-no_deps was given.
6517 if test "${enable_no_deps+set}" = set; then :
6518 enableval=$enable_no_deps;
6519 if test "$enableval" = yes; then
6520 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
6522 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
6527 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6532 eval "$wx_cv_use_no_deps"
6534 if test x"$enablestring" = xdisable; then
6535 if test $wxUSE_NO_DEPS = no; then
6541 result=$wxUSE_NO_DEPS
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6545 $as_echo "$result" >&6; }
6548 enablestring=disable
6550 if test -z "$defaultval"; then
6551 if test x"$enablestring" = xdisable; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-vararg_macros" >&5
6559 $as_echo_n "checking
for --${enablestring:-enable}-vararg_macros...
" >&6; }
6560 # Check whether --enable-vararg_macros was given.
6561 if test "${enable_vararg_macros+set}" = set; then :
6562 enableval=$enable_vararg_macros;
6563 if test "$enableval" = yes; then
6564 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6566 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6571 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6576 eval "$wx_cv_use_vararg_macros"
6578 if test x
"$enablestring" = xdisable
; then
6579 if test $wxUSE_VARARG_MACROS = no
; then
6585 result
=$wxUSE_VARARG_MACROS
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6589 $as_echo "$result" >&6; }
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6595 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6596 # Check whether --enable-universal_binary was given.
6597 if test "${enable_universal_binary+set}" = set; then :
6598 enableval
=$enable_universal_binary;
6599 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
6603 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6608 eval "$wx_cv_use_universal_binary"
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6611 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6616 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6617 # Check whether --enable-macosx_arch was given.
6618 if test "${enable_macosx_arch+set}" = set; then :
6619 enableval
=$enable_macosx_arch;
6620 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
6624 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6629 eval "$wx_cv_use_macosx_arch"
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6632 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6638 if test -z "$defaultval"; then
6639 if test x
"$enablestring" = xdisable
; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6647 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6648 # Check whether --enable-compat26 was given.
6649 if test "${enable_compat26+set}" = set; then :
6650 enableval
=$enable_compat26;
6651 if test "$enableval" = yes; then
6652 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
6654 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
6659 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6664 eval "$wx_cv_use_compat26"
6666 if test x"$enablestring" = xdisable; then
6667 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6673 result=$WXWIN_COMPATIBILITY_2_6
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6677 $as_echo "$result" >&6; }
6680 enablestring=disable
6682 if test -z "$defaultval"; then
6683 if test x"$enablestring" = xdisable; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6691 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6692 # Check whether --enable-compat28 was given.
6693 if test "${enable_compat28+set}" = set; then :
6694 enableval=$enable_compat28;
6695 if test "$enableval" = yes; then
6696 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
6698 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
6703 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6708 eval "$wx_cv_use_compat28"
6710 if test x"$enablestring" = xdisable; then
6711 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6717 result=$WXWIN_COMPATIBILITY_2_8
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6721 $as_echo "$result" >&6; }
6725 enablestring=disable
6727 if test -z "$defaultval"; then
6728 if test x"$enablestring" = xdisable; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rpath" >&5
6736 $as_echo_n "checking
for --${enablestring:-enable}-rpath...
" >&6; }
6737 # Check whether --enable-rpath was given.
6738 if test "${enable_rpath+set}" = set; then :
6739 enableval=$enable_rpath;
6740 if test "$enableval" = yes; then
6741 wx_cv_use_rpath='wxUSE_RPATH=yes'
6743 wx_cv_use_rpath='wxUSE_RPATH=no'
6748 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6753 eval "$wx_cv_use_rpath"
6755 if test x
"$enablestring" = xdisable
; then
6756 if test $wxUSE_RPATH = no
; then
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6766 $as_echo "$result" >&6; }
6772 if test -z "$defaultval"; then
6773 if test x
"$enablestring" = xdisable
; then
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6781 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6782 # Check whether --enable-objc_uniquifying was given.
6783 if test "${enable_objc_uniquifying+set}" = set; then :
6784 enableval
=$enable_objc_uniquifying;
6785 if test "$enableval" = yes; then
6786 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
6788 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
6793 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6798 eval "$wx_cv_use_objc_uniquifying"
6800 if test x"$enablestring" = xdisable; then
6801 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6807 result=$wxUSE_OBJC_UNIQUIFYING
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6811 $as_echo "$result" >&6; }
6815 enablestring=disable
6817 if test -z "$defaultval"; then
6818 if test x"$enablestring" = xdisable; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6826 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6827 # Check whether --enable-visibility was given.
6828 if test "${enable_visibility+set}" = set; then :
6829 enableval=$enable_visibility;
6830 if test "$enableval" = yes; then
6831 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
6833 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
6838 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6843 eval "$wx_cv_use_visibility"
6845 if test x"$enablestring" = xdisable; then
6846 if test $wxUSE_VISIBILITY = no; then
6852 result=$wxUSE_VISIBILITY
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6856 $as_echo "$result" >&6; }
6859 enablestring=disable
6861 if test -z "$defaultval"; then
6862 if test x"$enablestring" = xdisable; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tls" >&5
6870 $as_echo_n "checking
for --${enablestring:-enable}-tls...
" >&6; }
6871 # Check whether --enable-tls was given.
6872 if test "${enable_tls+set}" = set; then :
6873 enableval=$enable_tls;
6874 if test "$enableval" = yes; then
6875 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6877 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6882 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6887 eval "$wx_cv_use_tls"
6889 if test x
"$enablestring" = xdisable
; then
6890 if test $wxUSE_COMPILER_TLS = no
; then
6896 result
=$wxUSE_COMPILER_TLS
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6900 $as_echo "$result" >&6; }
6906 defaultval
=$wxUSE_ALL_FEATURES
6907 if test -z "$defaultval"; then
6908 if test x
"$enablestring" = xdisable
; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6916 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6917 # Check whether --enable-intl was given.
6918 if test "${enable_intl+set}" = set; then :
6919 enableval
=$enable_intl;
6920 if test "$enableval" = yes; then
6921 wx_cv_use_intl
='wxUSE_INTL=yes'
6923 wx_cv_use_intl
='wxUSE_INTL=no'
6928 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6933 eval "$wx_cv_use_intl"
6935 if test x"$enablestring" = xdisable; then
6936 if test $wxUSE_INTL = no; then
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6946 $as_echo "$result" >&6; }
6950 defaultval=$wxUSE_ALL_FEATURES
6951 if test -z "$defaultval"; then
6952 if test x"$enablestring" = xdisable; then
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6960 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6961 # Check whether --enable-xlocale was given.
6962 if test "${enable_xlocale+set}" = set; then :
6963 enableval=$enable_xlocale;
6964 if test "$enableval" = yes; then
6965 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
6967 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
6972 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6977 eval "$wx_cv_use_xlocale"
6979 if test x"$enablestring" = xdisable; then
6980 if test $wxUSE_XLOCALE = no; then
6986 result=$wxUSE_XLOCALE
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6990 $as_echo "$result" >&6; }
6994 defaultval=$wxUSE_ALL_FEATURES
6995 if test -z "$defaultval"; then
6996 if test x"$enablestring" = xdisable; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-config" >&5
7004 $as_echo_n "checking
for --${enablestring:-enable}-config...
" >&6; }
7005 # Check whether --enable-config was given.
7006 if test "${enable_config+set}" = set; then :
7007 enableval=$enable_config;
7008 if test "$enableval" = yes; then
7009 wx_cv_use_config='wxUSE_CONFIG=yes'
7011 wx_cv_use_config='wxUSE_CONFIG=no'
7016 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7021 eval "$wx_cv_use_config"
7023 if test x
"$enablestring" = xdisable
; then
7024 if test $wxUSE_CONFIG = no
; then
7030 result
=$wxUSE_CONFIG
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7034 $as_echo "$result" >&6; }
7039 defaultval
=$wxUSE_ALL_FEATURES
7040 if test -z "$defaultval"; then
7041 if test x
"$enablestring" = xdisable
; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7049 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7050 # Check whether --enable-protocols was given.
7051 if test "${enable_protocols+set}" = set; then :
7052 enableval
=$enable_protocols;
7053 if test "$enableval" = yes; then
7054 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
7056 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
7061 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7066 eval "$wx_cv_use_protocols"
7068 if test x"$enablestring" = xdisable; then
7069 if test $wxUSE_PROTOCOL = no; then
7075 result=$wxUSE_PROTOCOL
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7079 $as_echo "$result" >&6; }
7083 defaultval=$wxUSE_ALL_FEATURES
7084 if test -z "$defaultval"; then
7085 if test x"$enablestring" = xdisable; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7093 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7094 # Check whether --enable-ftp was given.
7095 if test "${enable_ftp+set}" = set; then :
7096 enableval=$enable_ftp;
7097 if test "$enableval" = yes; then
7098 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
7100 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
7105 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7110 eval "$wx_cv_use_ftp"
7112 if test x"$enablestring" = xdisable; then
7113 if test $wxUSE_PROTOCOL_FTP = no; then
7119 result=$wxUSE_PROTOCOL_FTP
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7123 $as_echo "$result" >&6; }
7127 defaultval=$wxUSE_ALL_FEATURES
7128 if test -z "$defaultval"; then
7129 if test x"$enablestring" = xdisable; then
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-http" >&5
7137 $as_echo_n "checking
for --${enablestring:-enable}-http...
" >&6; }
7138 # Check whether --enable-http was given.
7139 if test "${enable_http+set}" = set; then :
7140 enableval=$enable_http;
7141 if test "$enableval" = yes; then
7142 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7144 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7149 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7154 eval "$wx_cv_use_http"
7156 if test x
"$enablestring" = xdisable
; then
7157 if test $wxUSE_PROTOCOL_HTTP = no
; then
7163 result
=$wxUSE_PROTOCOL_HTTP
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7167 $as_echo "$result" >&6; }
7171 defaultval
=$wxUSE_ALL_FEATURES
7172 if test -z "$defaultval"; then
7173 if test x
"$enablestring" = xdisable
; then
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7181 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7182 # Check whether --enable-fileproto was given.
7183 if test "${enable_fileproto+set}" = set; then :
7184 enableval
=$enable_fileproto;
7185 if test "$enableval" = yes; then
7186 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
7188 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
7193 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7198 eval "$wx_cv_use_fileproto"
7200 if test x"$enablestring" = xdisable; then
7201 if test $wxUSE_PROTOCOL_FILE = no; then
7207 result=$wxUSE_PROTOCOL_FILE
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7211 $as_echo "$result" >&6; }
7215 defaultval=$wxUSE_ALL_FEATURES
7216 if test -z "$defaultval"; then
7217 if test x"$enablestring" = xdisable; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7225 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7226 # Check whether --enable-sockets was given.
7227 if test "${enable_sockets+set}" = set; then :
7228 enableval=$enable_sockets;
7229 if test "$enableval" = yes; then
7230 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
7232 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
7237 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7242 eval "$wx_cv_use_sockets"
7244 if test x"$enablestring" = xdisable; then
7245 if test $wxUSE_SOCKETS = no; then
7251 result=$wxUSE_SOCKETS
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7255 $as_echo "$result" >&6; }
7259 defaultval=$wxUSE_ALL_FEATURES
7260 if test -z "$defaultval"; then
7261 if test x"$enablestring" = xdisable; then
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipv6" >&5
7269 $as_echo_n "checking
for --${enablestring:-enable}-ipv6...
" >&6; }
7270 # Check whether --enable-ipv6 was given.
7271 if test "${enable_ipv6+set}" = set; then :
7272 enableval=$enable_ipv6;
7273 if test "$enableval" = yes; then
7274 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7276 wx_cv_use_ipv6='wxUSE_IPV6=no'
7281 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7286 eval "$wx_cv_use_ipv6"
7288 if test x
"$enablestring" = xdisable
; then
7289 if test $wxUSE_IPV6 = no
; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7299 $as_echo "$result" >&6; }
7303 defaultval
=$wxUSE_ALL_FEATURES
7304 if test -z "$defaultval"; then
7305 if test x
"$enablestring" = xdisable
; then
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7313 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7314 # Check whether --enable-ole was given.
7315 if test "${enable_ole+set}" = set; then :
7316 enableval
=$enable_ole;
7317 if test "$enableval" = yes; then
7318 wx_cv_use_ole
='wxUSE_OLE=yes'
7320 wx_cv_use_ole
='wxUSE_OLE=no'
7325 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7330 eval "$wx_cv_use_ole"
7332 if test x"$enablestring" = xdisable; then
7333 if test $wxUSE_OLE = no; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7343 $as_echo "$result" >&6; }
7347 defaultval=$wxUSE_ALL_FEATURES
7348 if test -z "$defaultval"; then
7349 if test x"$enablestring" = xdisable; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7357 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7358 # Check whether --enable-dataobj was given.
7359 if test "${enable_dataobj+set}" = set; then :
7360 enableval=$enable_dataobj;
7361 if test "$enableval" = yes; then
7362 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
7364 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
7369 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7374 eval "$wx_cv_use_dataobj"
7376 if test x"$enablestring" = xdisable; then
7377 if test $wxUSE_DATAOBJ = no; then
7383 result=$wxUSE_DATAOBJ
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7387 $as_echo "$result" >&6; }
7392 defaultval=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x"$enablestring" = xdisable; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipc" >&5
7402 $as_echo_n "checking
for --${enablestring:-enable}-ipc...
" >&6; }
7403 # Check whether --enable-ipc was given.
7404 if test "${enable_ipc+set}" = set; then :
7405 enableval=$enable_ipc;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_ipc='wxUSE_IPC=yes'
7409 wx_cv_use_ipc='wxUSE_IPC=no'
7414 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7419 eval "$wx_cv_use_ipc"
7421 if test x
"$enablestring" = xdisable
; then
7422 if test $wxUSE_IPC = no
; then
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7432 $as_echo "$result" >&6; }
7437 defaultval
=$wxUSE_ALL_FEATURES
7438 if test -z "$defaultval"; then
7439 if test x
"$enablestring" = xdisable
; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7447 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7448 # Check whether --enable-baseevtloop was given.
7449 if test "${enable_baseevtloop+set}" = set; then :
7450 enableval
=$enable_baseevtloop;
7451 if test "$enableval" = yes; then
7452 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
7454 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
7459 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7464 eval "$wx_cv_use_baseevtloop"
7466 if test x"$enablestring" = xdisable; then
7467 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7473 result=$wxUSE_CONSOLE_EVENTLOOP
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7477 $as_echo "$result" >&6; }
7481 defaultval=$wxUSE_ALL_FEATURES
7482 if test -z "$defaultval"; then
7483 if test x"$enablestring" = xdisable; then
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7491 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7492 # Check whether --enable-epollloop was given.
7493 if test "${enable_epollloop+set}" = set; then :
7494 enableval=$enable_epollloop;
7495 if test "$enableval" = yes; then
7496 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
7498 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
7503 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7508 eval "$wx_cv_use_epollloop"
7510 if test x"$enablestring" = xdisable; then
7511 if test $wxUSE_EPOLL_DISPATCHER = no; then
7517 result=$wxUSE_EPOLL_DISPATCHER
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7521 $as_echo "$result" >&6; }
7525 defaultval=$wxUSE_ALL_FEATURES
7526 if test -z "$defaultval"; then
7527 if test x"$enablestring" = xdisable; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-selectloop" >&5
7535 $as_echo_n "checking
for --${enablestring:-enable}-selectloop...
" >&6; }
7536 # Check whether --enable-selectloop was given.
7537 if test "${enable_selectloop+set}" = set; then :
7538 enableval=$enable_selectloop;
7539 if test "$enableval" = yes; then
7540 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7542 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7547 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7552 eval "$wx_cv_use_selectloop"
7554 if test x
"$enablestring" = xdisable
; then
7555 if test $wxUSE_SELECT_DISPATCHER = no
; then
7561 result
=$wxUSE_SELECT_DISPATCHER
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7565 $as_echo "$result" >&6; }
7570 defaultval
=$wxUSE_ALL_FEATURES
7571 if test -z "$defaultval"; then
7572 if test x
"$enablestring" = xdisable
; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7580 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7581 # Check whether --enable-any was given.
7582 if test "${enable_any+set}" = set; then :
7583 enableval
=$enable_any;
7584 if test "$enableval" = yes; then
7585 wx_cv_use_any
='wxUSE_ANY=yes'
7587 wx_cv_use_any
='wxUSE_ANY=no'
7592 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7597 eval "$wx_cv_use_any"
7599 if test x"$enablestring" = xdisable; then
7600 if test $wxUSE_ANY = no; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7610 $as_echo "$result" >&6; }
7614 defaultval=$wxUSE_ALL_FEATURES
7615 if test -z "$defaultval"; then
7616 if test x"$enablestring" = xdisable; then
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7624 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7625 # Check whether --enable-apple_ieee was given.
7626 if test "${enable_apple_ieee+set}" = set; then :
7627 enableval=$enable_apple_ieee;
7628 if test "$enableval" = yes; then
7629 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
7631 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
7636 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7641 eval "$wx_cv_use_apple_ieee"
7643 if test x"$enablestring" = xdisable; then
7644 if test $wxUSE_APPLE_IEEE = no; then
7650 result=$wxUSE_APPLE_IEEE
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7654 $as_echo "$result" >&6; }
7658 defaultval=$wxUSE_ALL_FEATURES
7659 if test -z "$defaultval"; then
7660 if test x"$enablestring" = xdisable; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arcstream" >&5
7668 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
7669 # Check whether --enable-arcstream was given.
7670 if test "${enable_arcstream+set}" = set; then :
7671 enableval=$enable_arcstream;
7672 if test "$enableval" = yes; then
7673 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7675 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7680 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7685 eval "$wx_cv_use_arcstream"
7687 if test x
"$enablestring" = xdisable
; then
7688 if test $wxUSE_ARCHIVE_STREAMS = no
; then
7694 result
=$wxUSE_ARCHIVE_STREAMS
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7698 $as_echo "$result" >&6; }
7702 defaultval
=$wxUSE_ALL_FEATURES
7703 if test -z "$defaultval"; then
7704 if test x
"$enablestring" = xdisable
; then
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7712 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7713 # Check whether --enable-base64 was given.
7714 if test "${enable_base64+set}" = set; then :
7715 enableval
=$enable_base64;
7716 if test "$enableval" = yes; then
7717 wx_cv_use_base64
='wxUSE_BASE64=yes'
7719 wx_cv_use_base64
='wxUSE_BASE64=no'
7724 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7729 eval "$wx_cv_use_base64"
7731 if test x"$enablestring" = xdisable; then
7732 if test $wxUSE_BASE64 = no; then
7738 result=$wxUSE_BASE64
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7742 $as_echo "$result" >&6; }
7746 defaultval=$wxUSE_ALL_FEATURES
7747 if test -z "$defaultval"; then
7748 if test x"$enablestring" = xdisable; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7756 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7757 # Check whether --enable-backtrace was given.
7758 if test "${enable_backtrace+set}" = set; then :
7759 enableval=$enable_backtrace;
7760 if test "$enableval" = yes; then
7761 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7763 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7768 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7773 eval "$wx_cv_use_backtrace"
7775 if test x"$enablestring" = xdisable; then
7776 if test $wxUSE_STACKWALKER = no; then
7782 result=$wxUSE_STACKWALKER
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7786 $as_echo "$result" >&6; }
7790 defaultval=$wxUSE_ALL_FEATURES
7791 if test -z "$defaultval"; then
7792 if test x"$enablestring" = xdisable; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-catch_segvs" >&5
7800 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
7801 # Check whether --enable-catch_segvs was given.
7802 if test "${enable_catch_segvs+set}" = set; then :
7803 enableval=$enable_catch_segvs;
7804 if test "$enableval" = yes; then
7805 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7807 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7812 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7817 eval "$wx_cv_use_catch_segvs"
7819 if test x
"$enablestring" = xdisable
; then
7820 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
7826 result
=$wxUSE_ON_FATAL_EXCEPTION
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7830 $as_echo "$result" >&6; }
7834 defaultval
=$wxUSE_ALL_FEATURES
7835 if test -z "$defaultval"; then
7836 if test x
"$enablestring" = xdisable
; then
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7844 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7845 # Check whether --enable-cmdline was given.
7846 if test "${enable_cmdline+set}" = set; then :
7847 enableval
=$enable_cmdline;
7848 if test "$enableval" = yes; then
7849 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7851 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7856 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7861 eval "$wx_cv_use_cmdline"
7863 if test x"$enablestring" = xdisable; then
7864 if test $wxUSE_CMDLINE_PARSER = no; then
7870 result=$wxUSE_CMDLINE_PARSER
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7874 $as_echo "$result" >&6; }
7878 defaultval=$wxUSE_ALL_FEATURES
7879 if test -z "$defaultval"; then
7880 if test x"$enablestring" = xdisable; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7888 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7889 # Check whether --enable-datetime was given.
7890 if test "${enable_datetime+set}" = set; then :
7891 enableval=$enable_datetime;
7892 if test "$enableval" = yes; then
7893 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7895 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7900 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7905 eval "$wx_cv_use_datetime"
7907 if test x"$enablestring" = xdisable; then
7908 if test $wxUSE_DATETIME = no; then
7914 result=$wxUSE_DATETIME
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7918 $as_echo "$result" >&6; }
7922 defaultval=$wxUSE_ALL_FEATURES
7923 if test -z "$defaultval"; then
7924 if test x"$enablestring" = xdisable; then
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debugreport" >&5
7932 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
7933 # Check whether --enable-debugreport was given.
7934 if test "${enable_debugreport+set}" = set; then :
7935 enableval=$enable_debugreport;
7936 if test "$enableval" = yes; then
7937 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7939 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7944 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7949 eval "$wx_cv_use_debugreport"
7951 if test x
"$enablestring" = xdisable
; then
7952 if test $wxUSE_DEBUGREPORT = no
; then
7958 result
=$wxUSE_DEBUGREPORT
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7962 $as_echo "$result" >&6; }
7966 defaultval
=$wxUSE_ALL_FEATURES
7967 if test -z "$defaultval"; then
7968 if test x
"$enablestring" = xdisable
; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7976 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
7977 # Check whether --enable-dialupman was given.
7978 if test "${enable_dialupman+set}" = set; then :
7979 enableval
=$enable_dialupman;
7980 if test "$enableval" = yes; then
7981 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
7983 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
7988 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7993 eval "$wx_cv_use_dialupman"
7995 if test x"$enablestring" = xdisable; then
7996 if test $wxUSE_DIALUP_MANAGER = no; then
8002 result=$wxUSE_DIALUP_MANAGER
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8006 $as_echo "$result" >&6; }
8010 defaultval=$wxUSE_ALL_FEATURES
8011 if test -z "$defaultval"; then
8012 if test x"$enablestring" = xdisable; then
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8020 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8021 # Check whether --enable-dynlib was given.
8022 if test "${enable_dynlib+set}" = set; then :
8023 enableval=$enable_dynlib;
8024 if test "$enableval" = yes; then
8025 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
8027 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
8032 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8037 eval "$wx_cv_use_dynlib"
8039 if test x"$enablestring" = xdisable; then
8040 if test $wxUSE_DYNLIB_CLASS = no; then
8046 result=$wxUSE_DYNLIB_CLASS
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8050 $as_echo "$result" >&6; }
8054 defaultval=$wxUSE_ALL_FEATURES
8055 if test -z "$defaultval"; then
8056 if test x"$enablestring" = xdisable; then
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynamicloader" >&5
8064 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
8065 # Check whether --enable-dynamicloader was given.
8066 if test "${enable_dynamicloader+set}" = set; then :
8067 enableval=$enable_dynamicloader;
8068 if test "$enableval" = yes; then
8069 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8071 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8076 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8081 eval "$wx_cv_use_dynamicloader"
8083 if test x
"$enablestring" = xdisable
; then
8084 if test $wxUSE_DYNAMIC_LOADER = no
; then
8090 result
=$wxUSE_DYNAMIC_LOADER
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8094 $as_echo "$result" >&6; }
8098 defaultval
=$wxUSE_ALL_FEATURES
8099 if test -z "$defaultval"; then
8100 if test x
"$enablestring" = xdisable
; then
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8108 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8109 # Check whether --enable-exceptions was given.
8110 if test "${enable_exceptions+set}" = set; then :
8111 enableval
=$enable_exceptions;
8112 if test "$enableval" = yes; then
8113 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
8115 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
8120 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8125 eval "$wx_cv_use_exceptions"
8127 if test x"$enablestring" = xdisable; then
8128 if test $wxUSE_EXCEPTIONS = no; then
8134 result=$wxUSE_EXCEPTIONS
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8138 $as_echo "$result" >&6; }
8142 defaultval=$wxUSE_ALL_FEATURES
8143 if test -z "$defaultval"; then
8144 if test x"$enablestring" = xdisable; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8152 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8153 # Check whether --enable-ffile was given.
8154 if test "${enable_ffile+set}" = set; then :
8155 enableval=$enable_ffile;
8156 if test "$enableval" = yes; then
8157 wx_cv_use_ffile='wxUSE_FFILE
=yes'
8159 wx_cv_use_ffile='wxUSE_FFILE
=no
'
8164 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8169 eval "$wx_cv_use_ffile"
8171 if test x"$enablestring" = xdisable; then
8172 if test $wxUSE_FFILE = no; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8182 $as_echo "$result" >&6; }
8186 defaultval=$wxUSE_ALL_FEATURES
8187 if test -z "$defaultval"; then
8188 if test x"$enablestring" = xdisable; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-file" >&5
8196 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
8197 # Check whether --enable-file was given.
8198 if test "${enable_file+set}" = set; then :
8199 enableval=$enable_file;
8200 if test "$enableval" = yes; then
8201 wx_cv_use_file='wxUSE_FILE=yes'
8203 wx_cv_use_file='wxUSE_FILE=no'
8208 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8213 eval "$wx_cv_use_file"
8215 if test x
"$enablestring" = xdisable
; then
8216 if test $wxUSE_FILE = no
; then
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8226 $as_echo "$result" >&6; }
8230 defaultval
=$wxUSE_ALL_FEATURES
8231 if test -z "$defaultval"; then
8232 if test x
"$enablestring" = xdisable
; then
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8240 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8241 # Check whether --enable-filehistory was given.
8242 if test "${enable_filehistory+set}" = set; then :
8243 enableval
=$enable_filehistory;
8244 if test "$enableval" = yes; then
8245 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
8247 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
8252 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8257 eval "$wx_cv_use_filehistory"
8259 if test x"$enablestring" = xdisable; then
8260 if test $wxUSE_FILE_HISTORY = no; then
8266 result=$wxUSE_FILE_HISTORY
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8270 $as_echo "$result" >&6; }
8274 defaultval=$wxUSE_ALL_FEATURES
8275 if test -z "$defaultval"; then
8276 if test x"$enablestring" = xdisable; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8284 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8285 # Check whether --enable-filesystem was given.
8286 if test "${enable_filesystem+set}" = set; then :
8287 enableval=$enable_filesystem;
8288 if test "$enableval" = yes; then
8289 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
8291 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
8296 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8301 eval "$wx_cv_use_filesystem"
8303 if test x"$enablestring" = xdisable; then
8304 if test $wxUSE_FILESYSTEM = no; then
8310 result=$wxUSE_FILESYSTEM
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8314 $as_echo "$result" >&6; }
8318 defaultval=$wxUSE_ALL_FEATURES
8319 if test -z "$defaultval"; then
8320 if test x"$enablestring" = xdisable; then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontenum" >&5
8328 $as_echo_n "checking
for --${enablestring:-enable}-fontenum...
" >&6; }
8329 # Check whether --enable-fontenum was given.
8330 if test "${enable_fontenum+set}" = set; then :
8331 enableval=$enable_fontenum;
8332 if test "$enableval" = yes; then
8333 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8335 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8340 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8345 eval "$wx_cv_use_fontenum"
8347 if test x
"$enablestring" = xdisable
; then
8348 if test $wxUSE_FONTENUM = no
; then
8354 result
=$wxUSE_FONTENUM
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8358 $as_echo "$result" >&6; }
8362 defaultval
=$wxUSE_ALL_FEATURES
8363 if test -z "$defaultval"; then
8364 if test x
"$enablestring" = xdisable
; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8372 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8373 # Check whether --enable-fontmap was given.
8374 if test "${enable_fontmap+set}" = set; then :
8375 enableval
=$enable_fontmap;
8376 if test "$enableval" = yes; then
8377 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
8379 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
8384 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8389 eval "$wx_cv_use_fontmap"
8391 if test x"$enablestring" = xdisable; then
8392 if test $wxUSE_FONTMAP = no; then
8398 result=$wxUSE_FONTMAP
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8402 $as_echo "$result" >&6; }
8406 defaultval=$wxUSE_ALL_FEATURES
8407 if test -z "$defaultval"; then
8408 if test x"$enablestring" = xdisable; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8416 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8417 # Check whether --enable-fs_archive was given.
8418 if test "${enable_fs_archive+set}" = set; then :
8419 enableval=$enable_fs_archive;
8420 if test "$enableval" = yes; then
8421 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
8423 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
8428 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8433 eval "$wx_cv_use_fs_archive"
8435 if test x"$enablestring" = xdisable; then
8436 if test $wxUSE_FS_ARCHIVE = no; then
8442 result=$wxUSE_FS_ARCHIVE
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8446 $as_echo "$result" >&6; }
8450 defaultval=$wxUSE_ALL_FEATURES
8451 if test -z "$defaultval"; then
8452 if test x"$enablestring" = xdisable; then
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_inet" >&5
8460 $as_echo_n "checking
for --${enablestring:-enable}-fs_inet...
" >&6; }
8461 # Check whether --enable-fs_inet was given.
8462 if test "${enable_fs_inet+set}" = set; then :
8463 enableval=$enable_fs_inet;
8464 if test "$enableval" = yes; then
8465 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8467 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8472 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8477 eval "$wx_cv_use_fs_inet"
8479 if test x
"$enablestring" = xdisable
; then
8480 if test $wxUSE_FS_INET = no
; then
8486 result
=$wxUSE_FS_INET
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8490 $as_echo "$result" >&6; }
8494 defaultval
=$wxUSE_ALL_FEATURES
8495 if test -z "$defaultval"; then
8496 if test x
"$enablestring" = xdisable
; then
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8504 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8505 # Check whether --enable-fs_zip was given.
8506 if test "${enable_fs_zip+set}" = set; then :
8507 enableval
=$enable_fs_zip;
8508 if test "$enableval" = yes; then
8509 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
8511 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
8516 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8521 eval "$wx_cv_use_fs_zip"
8523 if test x"$enablestring" = xdisable; then
8524 if test $wxUSE_FS_ZIP = no; then
8530 result=$wxUSE_FS_ZIP
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8534 $as_echo "$result" >&6; }
8538 defaultval=$wxUSE_ALL_FEATURES
8539 if test -z "$defaultval"; then
8540 if test x"$enablestring" = xdisable; then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8548 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8549 # Check whether --enable-fswatcher was given.
8550 if test "${enable_fswatcher+set}" = set; then :
8551 enableval=$enable_fswatcher;
8552 if test "$enableval" = yes; then
8553 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
8555 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
8560 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8565 eval "$wx_cv_use_fswatcher"
8567 if test x"$enablestring" = xdisable; then
8568 if test $wxUSE_FSWATCHER = no; then
8574 result=$wxUSE_FSWATCHER
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8578 $as_echo "$result" >&6; }
8582 defaultval=$wxUSE_ALL_FEATURES
8583 if test -z "$defaultval"; then
8584 if test x"$enablestring" = xdisable; then
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-geometry" >&5
8592 $as_echo_n "checking
for --${enablestring:-enable}-geometry...
" >&6; }
8593 # Check whether --enable-geometry was given.
8594 if test "${enable_geometry+set}" = set; then :
8595 enableval=$enable_geometry;
8596 if test "$enableval" = yes; then
8597 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8599 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8604 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8609 eval "$wx_cv_use_geometry"
8611 if test x
"$enablestring" = xdisable
; then
8612 if test $wxUSE_GEOMETRY = no
; then
8618 result
=$wxUSE_GEOMETRY
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8622 $as_echo "$result" >&6; }
8626 defaultval
=$wxUSE_ALL_FEATURES
8627 if test -z "$defaultval"; then
8628 if test x
"$enablestring" = xdisable
; then
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8636 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8637 # Check whether --enable-log was given.
8638 if test "${enable_log+set}" = set; then :
8639 enableval
=$enable_log;
8640 if test "$enableval" = yes; then
8641 wx_cv_use_log
='wxUSE_LOG=yes'
8643 wx_cv_use_log
='wxUSE_LOG=no'
8648 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8653 eval "$wx_cv_use_log"
8655 if test x"$enablestring" = xdisable; then
8656 if test $wxUSE_LOG = no; then
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8666 $as_echo "$result" >&6; }
8670 defaultval=$wxUSE_ALL_FEATURES
8671 if test -z "$defaultval"; then
8672 if test x"$enablestring" = xdisable; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8680 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8681 # Check whether --enable-longlong was given.
8682 if test "${enable_longlong+set}" = set; then :
8683 enableval=$enable_longlong;
8684 if test "$enableval" = yes; then
8685 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
8687 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
8692 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8697 eval "$wx_cv_use_longlong"
8699 if test x"$enablestring" = xdisable; then
8700 if test $wxUSE_LONGLONG = no; then
8706 result=$wxUSE_LONGLONG
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8710 $as_echo "$result" >&6; }
8714 defaultval=$wxUSE_ALL_FEATURES
8715 if test -z "$defaultval"; then
8716 if test x"$enablestring" = xdisable; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mimetype" >&5
8724 $as_echo_n "checking
for --${enablestring:-enable}-mimetype...
" >&6; }
8725 # Check whether --enable-mimetype was given.
8726 if test "${enable_mimetype+set}" = set; then :
8727 enableval=$enable_mimetype;
8728 if test "$enableval" = yes; then
8729 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8731 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8736 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8741 eval "$wx_cv_use_mimetype"
8743 if test x
"$enablestring" = xdisable
; then
8744 if test $wxUSE_MIMETYPE = no
; then
8750 result
=$wxUSE_MIMETYPE
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8754 $as_echo "$result" >&6; }
8758 defaultval
=$wxUSE_ALL_FEATURES
8759 if test -z "$defaultval"; then
8760 if test x
"$enablestring" = xdisable
; then
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8768 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8769 # Check whether --enable-printfposparam was given.
8770 if test "${enable_printfposparam+set}" = set; then :
8771 enableval
=$enable_printfposparam;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
8775 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
8780 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8785 eval "$wx_cv_use_printfposparam"
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8794 result=$wxUSE_PRINTF_POS_PARAMS
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8798 $as_echo "$result" >&6; }
8802 defaultval=$wxUSE_ALL_FEATURES
8803 if test -z "$defaultval"; then
8804 if test x"$enablestring" = xdisable; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8812 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8813 # Check whether --enable-snglinst was given.
8814 if test "${enable_snglinst+set}" = set; then :
8815 enableval=$enable_snglinst;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8819 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8824 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8829 eval "$wx_cv_use_snglinst"
8831 if test x"$enablestring" = xdisable; then
8832 if test $wxUSE_SNGLINST_CHECKER = no; then
8838 result=$wxUSE_SNGLINST_CHECKER
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8842 $as_echo "$result" >&6; }
8846 defaultval=$wxUSE_ALL_FEATURES
8847 if test -z "$defaultval"; then
8848 if test x"$enablestring" = xdisable; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sound" >&5
8856 $as_echo_n "checking
for --${enablestring:-enable}-sound...
" >&6; }
8857 # Check whether --enable-sound was given.
8858 if test "${enable_sound+set}" = set; then :
8859 enableval=$enable_sound;
8860 if test "$enableval" = yes; then
8861 wx_cv_use_sound='wxUSE_SOUND=yes'
8863 wx_cv_use_sound='wxUSE_SOUND=no'
8868 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8873 eval "$wx_cv_use_sound"
8875 if test x
"$enablestring" = xdisable
; then
8876 if test $wxUSE_SOUND = no
; then
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8886 $as_echo "$result" >&6; }
8890 defaultval
=$wxUSE_ALL_FEATURES
8891 if test -z "$defaultval"; then
8892 if test x
"$enablestring" = xdisable
; then
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8900 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8901 # Check whether --enable-stdpaths was given.
8902 if test "${enable_stdpaths+set}" = set; then :
8903 enableval
=$enable_stdpaths;
8904 if test "$enableval" = yes; then
8905 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
8907 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
8912 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8917 eval "$wx_cv_use_stdpaths"
8919 if test x"$enablestring" = xdisable; then
8920 if test $wxUSE_STDPATHS = no; then
8926 result=$wxUSE_STDPATHS
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8930 $as_echo "$result" >&6; }
8934 defaultval=$wxUSE_ALL_FEATURES
8935 if test -z "$defaultval"; then
8936 if test x"$enablestring" = xdisable; then
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8944 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8945 # Check whether --enable-stopwatch was given.
8946 if test "${enable_stopwatch+set}" = set; then :
8947 enableval=$enable_stopwatch;
8948 if test "$enableval" = yes; then
8949 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
8951 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
8956 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8961 eval "$wx_cv_use_stopwatch"
8963 if test x"$enablestring" = xdisable; then
8964 if test $wxUSE_STOPWATCH = no; then
8970 result=$wxUSE_STOPWATCH
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8974 $as_echo "$result" >&6; }
8978 defaultval=$wxUSE_ALL_FEATURES
8979 if test -z "$defaultval"; then
8980 if test x"$enablestring" = xdisable; then
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-streams" >&5
8988 $as_echo_n "checking
for --${enablestring:-enable}-streams...
" >&6; }
8989 # Check whether --enable-streams was given.
8990 if test "${enable_streams+set}" = set; then :
8991 enableval=$enable_streams;
8992 if test "$enableval" = yes; then
8993 wx_cv_use_streams='wxUSE_STREAMS=yes'
8995 wx_cv_use_streams='wxUSE_STREAMS=no'
9000 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9005 eval "$wx_cv_use_streams"
9007 if test x
"$enablestring" = xdisable
; then
9008 if test $wxUSE_STREAMS = no
; then
9014 result
=$wxUSE_STREAMS
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9018 $as_echo "$result" >&6; }
9022 defaultval
=$wxUSE_ALL_FEATURES
9023 if test -z "$defaultval"; then
9024 if test x
"$enablestring" = xdisable
; then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9032 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9033 # Check whether --enable-sysoptions was given.
9034 if test "${enable_sysoptions+set}" = set; then :
9035 enableval
=$enable_sysoptions;
9036 if test "$enableval" = yes; then
9037 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
9039 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
9044 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9049 eval "$wx_cv_use_sysoptions"
9051 if test x"$enablestring" = xdisable; then
9052 if test $wxUSE_SYSTEM_OPTIONS = no; then
9058 result=$wxUSE_SYSTEM_OPTIONS
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9062 $as_echo "$result" >&6; }
9066 defaultval=$wxUSE_ALL_FEATURES
9067 if test -z "$defaultval"; then
9068 if test x"$enablestring" = xdisable; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9076 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9077 # Check whether --enable-tarstream was given.
9078 if test "${enable_tarstream+set}" = set; then :
9079 enableval=$enable_tarstream;
9080 if test "$enableval" = yes; then
9081 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
9083 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
9088 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9093 eval "$wx_cv_use_tarstream"
9095 if test x"$enablestring" = xdisable; then
9096 if test $wxUSE_TARSTREAM = no; then
9102 result=$wxUSE_TARSTREAM
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9106 $as_echo "$result" >&6; }
9110 defaultval=$wxUSE_ALL_FEATURES
9111 if test -z "$defaultval"; then
9112 if test x"$enablestring" = xdisable; then
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textbuf" >&5
9120 $as_echo_n "checking
for --${enablestring:-enable}-textbuf...
" >&6; }
9121 # Check whether --enable-textbuf was given.
9122 if test "${enable_textbuf+set}" = set; then :
9123 enableval=$enable_textbuf;
9124 if test "$enableval" = yes; then
9125 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9127 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9132 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9137 eval "$wx_cv_use_textbuf"
9139 if test x
"$enablestring" = xdisable
; then
9140 if test $wxUSE_TEXTBUFFER = no
; then
9146 result
=$wxUSE_TEXTBUFFER
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9150 $as_echo "$result" >&6; }
9154 defaultval
=$wxUSE_ALL_FEATURES
9155 if test -z "$defaultval"; then
9156 if test x
"$enablestring" = xdisable
; then
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9164 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9165 # Check whether --enable-textfile was given.
9166 if test "${enable_textfile+set}" = set; then :
9167 enableval
=$enable_textfile;
9168 if test "$enableval" = yes; then
9169 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
9171 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
9176 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9181 eval "$wx_cv_use_textfile"
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_TEXTFILE = no; then
9190 result=$wxUSE_TEXTFILE
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9194 $as_echo "$result" >&6; }
9198 defaultval=$wxUSE_ALL_FEATURES
9199 if test -z "$defaultval"; then
9200 if test x"$enablestring" = xdisable; then
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9208 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9209 # Check whether --enable-timer was given.
9210 if test "${enable_timer+set}" = set; then :
9211 enableval=$enable_timer;
9212 if test "$enableval" = yes; then
9213 wx_cv_use_timer='wxUSE_TIMER
=yes'
9215 wx_cv_use_timer='wxUSE_TIMER
=no
'
9220 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9225 eval "$wx_cv_use_timer"
9227 if test x"$enablestring" = xdisable; then
9228 if test $wxUSE_TIMER = no; then
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9238 $as_echo "$result" >&6; }
9242 defaultval=$wxUSE_ALL_FEATURES
9243 if test -z "$defaultval"; then
9244 if test x"$enablestring" = xdisable; then
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-variant" >&5
9252 $as_echo_n "checking
for --${enablestring:-enable}-variant...
" >&6; }
9253 # Check whether --enable-variant was given.
9254 if test "${enable_variant+set}" = set; then :
9255 enableval=$enable_variant;
9256 if test "$enableval" = yes; then
9257 wx_cv_use_variant='wxUSE_VARIANT=yes'
9259 wx_cv_use_variant='wxUSE_VARIANT=no'
9264 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9269 eval "$wx_cv_use_variant"
9271 if test x
"$enablestring" = xdisable
; then
9272 if test $wxUSE_VARIANT = no
; then
9278 result
=$wxUSE_VARIANT
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9282 $as_echo "$result" >&6; }
9286 defaultval
=$wxUSE_ALL_FEATURES
9287 if test -z "$defaultval"; then
9288 if test x
"$enablestring" = xdisable
; then
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9296 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9297 # Check whether --enable-zipstream was given.
9298 if test "${enable_zipstream+set}" = set; then :
9299 enableval
=$enable_zipstream;
9300 if test "$enableval" = yes; then
9301 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
9303 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
9308 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9313 eval "$wx_cv_use_zipstream"
9315 if test x"$enablestring" = xdisable; then
9316 if test $wxUSE_ZIPSTREAM = no; then
9322 result=$wxUSE_ZIPSTREAM
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9326 $as_echo "$result" >&6; }
9331 defaultval=$wxUSE_ALL_FEATURES
9332 if test -z "$defaultval"; then
9333 if test x"$enablestring" = xdisable; then
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9341 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9342 # Check whether --enable-url was given.
9343 if test "${enable_url+set}" = set; then :
9344 enableval=$enable_url;
9345 if test "$enableval" = yes; then
9346 wx_cv_use_url='wxUSE_URL
=yes'
9348 wx_cv_use_url='wxUSE_URL
=no
'
9353 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
9358 eval "$wx_cv_use_url"
9360 if test x"$enablestring" = xdisable; then
9361 if test $wxUSE_URL = no; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9371 $as_echo "$result" >&6; }
9375 defaultval=$wxUSE_ALL_FEATURES
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol" >&5
9385 $as_echo_n "checking
for --${enablestring:-enable}-protocol...
" >&6; }
9386 # Check whether --enable-protocol was given.
9387 if test "${enable_protocol+set}" = set; then :
9388 enableval=$enable_protocol;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9392 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9397 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9402 eval "$wx_cv_use_protocol"
9404 if test x
"$enablestring" = xdisable
; then
9405 if test $wxUSE_PROTOCOL = no
; then
9411 result
=$wxUSE_PROTOCOL
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9415 $as_echo "$result" >&6; }
9419 defaultval
=$wxUSE_ALL_FEATURES
9420 if test -z "$defaultval"; then
9421 if test x
"$enablestring" = xdisable
; then
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9429 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9430 # Check whether --enable-protocol_http was given.
9431 if test "${enable_protocol_http+set}" = set; then :
9432 enableval
=$enable_protocol_http;
9433 if test "$enableval" = yes; then
9434 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9436 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9441 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9446 eval "$wx_cv_use_protocol_http"
9448 if test x"$enablestring" = xdisable; then
9449 if test $wxUSE_PROTOCOL_HTTP = no; then
9455 result=$wxUSE_PROTOCOL_HTTP
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9459 $as_echo "$result" >&6; }
9463 defaultval=$wxUSE_ALL_FEATURES
9464 if test -z "$defaultval"; then
9465 if test x"$enablestring" = xdisable; then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9473 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9474 # Check whether --enable-protocol_ftp was given.
9475 if test "${enable_protocol_ftp+set}" = set; then :
9476 enableval=$enable_protocol_ftp;
9477 if test "$enableval" = yes; then
9478 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9480 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9485 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9490 eval "$wx_cv_use_protocol_ftp"
9492 if test x"$enablestring" = xdisable; then
9493 if test $wxUSE_PROTOCOL_FTP = no; then
9499 result=$wxUSE_PROTOCOL_FTP
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9503 $as_echo "$result" >&6; }
9507 defaultval=$wxUSE_ALL_FEATURES
9508 if test -z "$defaultval"; then
9509 if test x"$enablestring" = xdisable; then
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_file" >&5
9517 $as_echo_n "checking
for --${enablestring:-enable}-protocol_file...
" >&6; }
9518 # Check whether --enable-protocol_file was given.
9519 if test "${enable_protocol_file+set}" = set; then :
9520 enableval=$enable_protocol_file;
9521 if test "$enableval" = yes; then
9522 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9524 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9529 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9534 eval "$wx_cv_use_protocol_file"
9536 if test x
"$enablestring" = xdisable
; then
9537 if test $wxUSE_PROTOCOL_FILE = no
; then
9543 result
=$wxUSE_PROTOCOL_FILE
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9547 $as_echo "$result" >&6; }
9552 defaultval
=$wxUSE_ALL_FEATURES
9553 if test -z "$defaultval"; then
9554 if test x
"$enablestring" = xdisable
; then
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9562 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9563 # Check whether --enable-threads was given.
9564 if test "${enable_threads+set}" = set; then :
9565 enableval
=$enable_threads;
9566 if test "$enableval" = yes; then
9567 wx_cv_use_threads
='wxUSE_THREADS=yes'
9569 wx_cv_use_threads
='wxUSE_THREADS=no'
9574 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9579 eval "$wx_cv_use_threads"
9581 if test x"$enablestring" = xdisable; then
9582 if test $wxUSE_THREADS = no; then
9588 result=$wxUSE_THREADS
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9592 $as_echo "$result" >&6; }
9598 if test -z "$defaultval"; then
9599 if test x"$enablestring" = xdisable; then
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9607 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9608 # Check whether --enable-iniconf was given.
9609 if test "${enable_iniconf+set}" = set; then :
9610 enableval=$enable_iniconf;
9611 if test "$enableval" = yes; then
9612 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9614 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9619 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9624 eval "$wx_cv_use_iniconf"
9626 if test x"$enablestring" = xdisable; then
9627 if test $wxUSE_INICONF = no; then
9633 result=$wxUSE_INICONF
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9637 $as_echo "$result" >&6; }
9641 defaultval=$wxUSE_ALL_FEATURES
9642 if test -z "$defaultval"; then
9643 if test x"$enablestring" = xdisable; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-regkey" >&5
9651 $as_echo_n "checking
for --${enablestring:-enable}-regkey...
" >&6; }
9652 # Check whether --enable-regkey was given.
9653 if test "${enable_regkey+set}" = set; then :
9654 enableval=$enable_regkey;
9655 if test "$enableval" = yes; then
9656 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9658 wx_cv_use_regkey='wxUSE_REGKEY=no'
9663 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9668 eval "$wx_cv_use_regkey"
9670 if test x
"$enablestring" = xdisable
; then
9671 if test $wxUSE_REGKEY = no
; then
9677 result
=$wxUSE_REGKEY
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9681 $as_echo "$result" >&6; }
9684 if test "$wxUSE_GUI" = "yes"; then
9689 defaultval
=$wxUSE_ALL_FEATURES
9690 if test -z "$defaultval"; then
9691 if test x
"$enablestring" = xdisable
; then
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9699 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9700 # Check whether --enable-docview was given.
9701 if test "${enable_docview+set}" = set; then :
9702 enableval
=$enable_docview;
9703 if test "$enableval" = yes; then
9704 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9706 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9711 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9716 eval "$wx_cv_use_docview"
9718 if test x"$enablestring" = xdisable; then
9719 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9725 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9729 $as_echo "$result" >&6; }
9733 defaultval=$wxUSE_ALL_FEATURES
9734 if test -z "$defaultval"; then
9735 if test x"$enablestring" = xdisable; then
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9743 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9744 # Check whether --enable-help was given.
9745 if test "${enable_help+set}" = set; then :
9746 enableval=$enable_help;
9747 if test "$enableval" = yes; then
9748 wx_cv_use_help='wxUSE_HELP
=yes'
9750 wx_cv_use_help='wxUSE_HELP
=no
'
9755 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9760 eval "$wx_cv_use_help"
9762 if test x"$enablestring" = xdisable; then
9763 if test $wxUSE_HELP = no; then
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9773 $as_echo "$result" >&6; }
9777 defaultval=$wxUSE_ALL_FEATURES
9778 if test -z "$defaultval"; then
9779 if test x"$enablestring" = xdisable; then
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9787 $as_echo_n "checking
for --${enablestring:-enable}-mshtmlhelp...
" >&6; }
9788 # Check whether --enable-mshtmlhelp was given.
9789 if test "${enable_mshtmlhelp+set}" = set; then :
9790 enableval=$enable_mshtmlhelp;
9791 if test "$enableval" = yes; then
9792 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9794 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9799 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9804 eval "$wx_cv_use_mshtmlhelp"
9806 if test x
"$enablestring" = xdisable
; then
9807 if test $wxUSE_MS_HTML_HELP = no
; then
9813 result
=$wxUSE_MS_HTML_HELP
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9817 $as_echo "$result" >&6; }
9821 defaultval
=$wxUSE_ALL_FEATURES
9822 if test -z "$defaultval"; then
9823 if test x
"$enablestring" = xdisable
; then
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9831 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9832 # Check whether --enable-html was given.
9833 if test "${enable_html+set}" = set; then :
9834 enableval
=$enable_html;
9835 if test "$enableval" = yes; then
9836 wx_cv_use_html
='wxUSE_HTML=yes'
9838 wx_cv_use_html
='wxUSE_HTML=no'
9843 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9848 eval "$wx_cv_use_html"
9850 if test x"$enablestring" = xdisable; then
9851 if test $wxUSE_HTML = no; then
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9861 $as_echo "$result" >&6; }
9865 defaultval=$wxUSE_ALL_FEATURES
9866 if test -z "$defaultval"; then
9867 if test x"$enablestring" = xdisable; then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9875 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9876 # Check whether --enable-htmlhelp was given.
9877 if test "${enable_htmlhelp+set}" = set; then :
9878 enableval=$enable_htmlhelp;
9879 if test "$enableval" = yes; then
9880 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9882 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9887 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9892 eval "$wx_cv_use_htmlhelp"
9894 if test x"$enablestring" = xdisable; then
9895 if test $wxUSE_WXHTML_HELP = no; then
9901 result=$wxUSE_WXHTML_HELP
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9905 $as_echo "$result" >&6; }
9909 defaultval=$wxUSE_ALL_FEATURES
9910 if test -z "$defaultval"; then
9911 if test x"$enablestring" = xdisable; then
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xrc" >&5
9919 $as_echo_n "checking
for --${enablestring:-enable}-xrc...
" >&6; }
9920 # Check whether --enable-xrc was given.
9921 if test "${enable_xrc+set}" = set; then :
9922 enableval=$enable_xrc;
9923 if test "$enableval" = yes; then
9924 wx_cv_use_xrc='wxUSE_XRC=yes'
9926 wx_cv_use_xrc='wxUSE_XRC=no'
9931 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9936 eval "$wx_cv_use_xrc"
9938 if test x
"$enablestring" = xdisable
; then
9939 if test $wxUSE_XRC = no
; then
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9949 $as_echo "$result" >&6; }
9953 defaultval
=$wxUSE_ALL_FEATURES
9954 if test -z "$defaultval"; then
9955 if test x
"$enablestring" = xdisable
; then
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9963 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9964 # Check whether --enable-aui was given.
9965 if test "${enable_aui+set}" = set; then :
9966 enableval
=$enable_aui;
9967 if test "$enableval" = yes; then
9968 wx_cv_use_aui
='wxUSE_AUI=yes'
9970 wx_cv_use_aui
='wxUSE_AUI=no'
9975 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9980 eval "$wx_cv_use_aui"
9982 if test x"$enablestring" = xdisable; then
9983 if test $wxUSE_AUI = no; then
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9993 $as_echo "$result" >&6; }
9997 defaultval=$wxUSE_ALL_FEATURES
9998 if test -z "$defaultval"; then
9999 if test x"$enablestring" = xdisable; then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10007 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10008 # Check whether --enable-propgrid was given.
10009 if test "${enable_propgrid+set}" = set; then :
10010 enableval=$enable_propgrid;
10011 if test "$enableval" = yes; then
10012 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
10014 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
10019 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10024 eval "$wx_cv_use_propgrid"
10026 if test x"$enablestring" = xdisable; then
10027 if test $wxUSE_PROPGRID = no; then
10033 result=$wxUSE_PROPGRID
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10037 $as_echo "$result" >&6; }
10041 defaultval=$wxUSE_ALL_FEATURES
10042 if test -z "$defaultval"; then
10043 if test x"$enablestring" = xdisable; then
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ribbon" >&5
10051 $as_echo_n "checking
for --${enablestring:-enable}-ribbon...
" >&6; }
10052 # Check whether --enable-ribbon was given.
10053 if test "${enable_ribbon+set}" = set; then :
10054 enableval=$enable_ribbon;
10055 if test "$enableval" = yes; then
10056 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10058 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10063 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10068 eval "$wx_cv_use_ribbon"
10070 if test x
"$enablestring" = xdisable
; then
10071 if test $wxUSE_RIBBON = no
; then
10077 result
=$wxUSE_RIBBON
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10081 $as_echo "$result" >&6; }
10085 defaultval
=$wxUSE_ALL_FEATURES
10086 if test -z "$defaultval"; then
10087 if test x
"$enablestring" = xdisable
; then
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10095 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10096 # Check whether --enable-stc was given.
10097 if test "${enable_stc+set}" = set; then :
10098 enableval
=$enable_stc;
10099 if test "$enableval" = yes; then
10100 wx_cv_use_stc
='wxUSE_STC=yes'
10102 wx_cv_use_stc
='wxUSE_STC=no'
10107 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10112 eval "$wx_cv_use_stc"
10114 if test x"$enablestring" = xdisable; then
10115 if test $wxUSE_STC = no; then
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10125 $as_echo "$result" >&6; }
10129 defaultval=$wxUSE_ALL_FEATURES
10130 if test -z "$defaultval"; then
10131 if test x"$enablestring" = xdisable; then
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10139 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10140 # Check whether --enable-constraints was given.
10141 if test "${enable_constraints+set}" = set; then :
10142 enableval=$enable_constraints;
10143 if test "$enableval" = yes; then
10144 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
10146 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
10151 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10156 eval "$wx_cv_use_constraints"
10158 if test x"$enablestring" = xdisable; then
10159 if test $wxUSE_CONSTRAINTS = no; then
10165 result=$wxUSE_CONSTRAINTS
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10169 $as_echo "$result" >&6; }
10173 defaultval=$wxUSE_ALL_FEATURES
10174 if test -z "$defaultval"; then
10175 if test x"$enablestring" = xdisable; then
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-loggui" >&5
10183 $as_echo_n "checking
for --${enablestring:-enable}-loggui...
" >&6; }
10184 # Check whether --enable-loggui was given.
10185 if test "${enable_loggui+set}" = set; then :
10186 enableval=$enable_loggui;
10187 if test "$enableval" = yes; then
10188 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10190 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10195 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10200 eval "$wx_cv_use_loggui"
10202 if test x
"$enablestring" = xdisable
; then
10203 if test $wxUSE_LOGGUI = no
; then
10209 result
=$wxUSE_LOGGUI
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10213 $as_echo "$result" >&6; }
10217 defaultval
=$wxUSE_ALL_FEATURES
10218 if test -z "$defaultval"; then
10219 if test x
"$enablestring" = xdisable
; then
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10227 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10228 # Check whether --enable-logwin was given.
10229 if test "${enable_logwin+set}" = set; then :
10230 enableval
=$enable_logwin;
10231 if test "$enableval" = yes; then
10232 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
10234 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
10239 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10244 eval "$wx_cv_use_logwin"
10246 if test x"$enablestring" = xdisable; then
10247 if test $wxUSE_LOGWINDOW = no; then
10253 result=$wxUSE_LOGWINDOW
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10257 $as_echo "$result" >&6; }
10261 defaultval=$wxUSE_ALL_FEATURES
10262 if test -z "$defaultval"; then
10263 if test x"$enablestring" = xdisable; then
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10271 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10272 # Check whether --enable-logdialog was given.
10273 if test "${enable_logdialog+set}" = set; then :
10274 enableval=$enable_logdialog;
10275 if test "$enableval" = yes; then
10276 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
10278 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
10283 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10288 eval "$wx_cv_use_logdialog"
10290 if test x"$enablestring" = xdisable; then
10291 if test $wxUSE_LOGDIALOG = no; then
10297 result=$wxUSE_LOGDIALOG
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10301 $as_echo "$result" >&6; }
10305 defaultval=$wxUSE_ALL_FEATURES
10306 if test -z "$defaultval"; then
10307 if test x"$enablestring" = xdisable; then
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mdi" >&5
10315 $as_echo_n "checking
for --${enablestring:-enable}-mdi...
" >&6; }
10316 # Check whether --enable-mdi was given.
10317 if test "${enable_mdi+set}" = set; then :
10318 enableval=$enable_mdi;
10319 if test "$enableval" = yes; then
10320 wx_cv_use_mdi='wxUSE_MDI=yes'
10322 wx_cv_use_mdi='wxUSE_MDI=no'
10327 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10332 eval "$wx_cv_use_mdi"
10334 if test x
"$enablestring" = xdisable
; then
10335 if test $wxUSE_MDI = no
; then
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10345 $as_echo "$result" >&6; }
10349 defaultval
=$wxUSE_ALL_FEATURES
10350 if test -z "$defaultval"; then
10351 if test x
"$enablestring" = xdisable
; then
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10359 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10360 # Check whether --enable-mdidoc was given.
10361 if test "${enable_mdidoc+set}" = set; then :
10362 enableval
=$enable_mdidoc;
10363 if test "$enableval" = yes; then
10364 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
10366 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
10371 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10376 eval "$wx_cv_use_mdidoc"
10378 if test x"$enablestring" = xdisable; then
10379 if test $wxUSE_MDI_ARCHITECTURE = no; then
10385 result=$wxUSE_MDI_ARCHITECTURE
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10389 $as_echo "$result" >&6; }
10393 defaultval=$wxUSE_ALL_FEATURES
10394 if test -z "$defaultval"; then
10395 if test x"$enablestring" = xdisable; then
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10403 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10404 # Check whether --enable-mediactrl was given.
10405 if test "${enable_mediactrl+set}" = set; then :
10406 enableval=$enable_mediactrl;
10407 if test "$enableval" = yes; then
10408 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
10410 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
10415 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10420 eval "$wx_cv_use_mediactrl"
10422 if test x"$enablestring" = xdisable; then
10423 if test $wxUSE_MEDIACTRL = no; then
10429 result=$wxUSE_MEDIACTRL
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10433 $as_echo "$result" >&6; }
10437 defaultval=$wxUSE_ALL_FEATURES
10438 if test -z "$defaultval"; then
10439 if test x"$enablestring" = xdisable; then
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gstreamer8" >&5
10447 $as_echo_n "checking
for --${enablestring:-enable}-gstreamer8...
" >&6; }
10448 # Check whether --enable-gstreamer8 was given.
10449 if test "${enable_gstreamer8+set}" = set; then :
10450 enableval=$enable_gstreamer8;
10451 if test "$enableval" = yes; then
10452 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10454 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10459 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10464 eval "$wx_cv_use_gstreamer8"
10466 if test x
"$enablestring" = xdisable
; then
10467 if test $wxUSE_GSTREAMER8 = no
; then
10473 result
=$wxUSE_GSTREAMER8
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10477 $as_echo "$result" >&6; }
10481 defaultval
=$wxUSE_ALL_FEATURES
10482 if test -z "$defaultval"; then
10483 if test x
"$enablestring" = xdisable
; then
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10491 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10492 # Check whether --enable-richtext was given.
10493 if test "${enable_richtext+set}" = set; then :
10494 enableval
=$enable_richtext;
10495 if test "$enableval" = yes; then
10496 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
10498 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
10503 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10508 eval "$wx_cv_use_richtext"
10510 if test x"$enablestring" = xdisable; then
10511 if test $wxUSE_RICHTEXT = no; then
10517 result=$wxUSE_RICHTEXT
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10521 $as_echo "$result" >&6; }
10525 defaultval=$wxUSE_ALL_FEATURES
10526 if test -z "$defaultval"; then
10527 if test x"$enablestring" = xdisable; then
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10535 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10536 # Check whether --enable-postscript was given.
10537 if test "${enable_postscript+set}" = set; then :
10538 enableval=$enable_postscript;
10539 if test "$enableval" = yes; then
10540 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
10542 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
10547 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10552 eval "$wx_cv_use_postscript"
10554 if test x"$enablestring" = xdisable; then
10555 if test $wxUSE_POSTSCRIPT = no; then
10561 result=$wxUSE_POSTSCRIPT
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10565 $as_echo "$result" >&6; }
10569 defaultval=$wxUSE_ALL_FEATURES
10570 if test -z "$defaultval"; then
10571 if test x"$enablestring" = xdisable; then
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-printarch" >&5
10579 $as_echo_n "checking
for --${enablestring:-enable}-printarch...
" >&6; }
10580 # Check whether --enable-printarch was given.
10581 if test "${enable_printarch+set}" = set; then :
10582 enableval=$enable_printarch;
10583 if test "$enableval" = yes; then
10584 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10586 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10591 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10596 eval "$wx_cv_use_printarch"
10598 if test x
"$enablestring" = xdisable
; then
10599 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
10605 result
=$wxUSE_PRINTING_ARCHITECTURE
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10609 $as_echo "$result" >&6; }
10613 defaultval
=$wxUSE_ALL_FEATURES
10614 if test -z "$defaultval"; then
10615 if test x
"$enablestring" = xdisable
; then
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10623 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10624 # Check whether --enable-svg was given.
10625 if test "${enable_svg+set}" = set; then :
10626 enableval
=$enable_svg;
10627 if test "$enableval" = yes; then
10628 wx_cv_use_svg
='wxUSE_SVG=yes'
10630 wx_cv_use_svg
='wxUSE_SVG=no'
10635 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10640 eval "$wx_cv_use_svg"
10642 if test x"$enablestring" = xdisable; then
10643 if test $wxUSE_SVG = no; then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10653 $as_echo "$result" >&6; }
10657 defaultval=$wxUSE_ALL_FEATURES
10658 if test -z "$defaultval"; then
10659 if test x"$enablestring" = xdisable; then
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10667 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10668 # Check whether --enable-webkit was given.
10669 if test "${enable_webkit+set}" = set; then :
10670 enableval=$enable_webkit;
10671 if test "$enableval" = yes; then
10672 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
10674 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
10679 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10684 eval "$wx_cv_use_webkit"
10686 if test x"$enablestring" = xdisable; then
10687 if test $wxUSE_WEBKIT = no; then
10693 result=$wxUSE_WEBKIT
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10697 $as_echo "$result" >&6; }
10701 defaultval=$wxUSE_ALL_FEATURES
10702 if test -z "$defaultval"; then
10703 if test x"$enablestring" = xdisable; then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webview" >&5
10711 $as_echo_n "checking
for --${enablestring:-enable}-webview...
" >&6; }
10712 # Check whether --enable-webview was given.
10713 if test "${enable_webview+set}" = set; then :
10714 enableval=$enable_webview;
10715 if test "$enableval" = yes; then
10716 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10718 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10723 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10728 eval "$wx_cv_use_webview"
10730 if test x
"$enablestring" = xdisable
; then
10731 if test $wxUSE_WEBVIEW = no
; then
10737 result
=$wxUSE_WEBVIEW
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10741 $as_echo "$result" >&6; }
10744 if test "$wxUSE_MAC" != 1; then
10747 defaultval
=$wxUSE_ALL_FEATURES
10748 if test -z "$defaultval"; then
10749 if test x
"$enablestring" = xdisable
; then
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10757 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10758 # Check whether --enable-graphics_ctx was given.
10759 if test "${enable_graphics_ctx+set}" = set; then :
10760 enableval
=$enable_graphics_ctx;
10761 if test "$enableval" = yes; then
10762 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
10764 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
10769 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10774 eval "$wx_cv_use_graphics_ctx"
10776 if test x"$enablestring" = xdisable; then
10777 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10783 result=$wxUSE_GRAPHICS_CONTEXT
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10787 $as_echo "$result" >&6; }
10794 defaultval=$wxUSE_ALL_FEATURES
10795 if test -z "$defaultval"; then
10796 if test x"$enablestring" = xdisable; then
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10804 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10805 # Check whether --enable-clipboard was given.
10806 if test "${enable_clipboard+set}" = set; then :
10807 enableval=$enable_clipboard;
10808 if test "$enableval" = yes; then
10809 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
10811 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
10816 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10821 eval "$wx_cv_use_clipboard"
10823 if test x"$enablestring" = xdisable; then
10824 if test $wxUSE_CLIPBOARD = no; then
10830 result=$wxUSE_CLIPBOARD
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10834 $as_echo "$result" >&6; }
10838 defaultval=$wxUSE_ALL_FEATURES
10839 if test -z "$defaultval"; then
10840 if test x"$enablestring" = xdisable; then
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dnd" >&5
10848 $as_echo_n "checking
for --${enablestring:-enable}-dnd...
" >&6; }
10849 # Check whether --enable-dnd was given.
10850 if test "${enable_dnd+set}" = set; then :
10851 enableval=$enable_dnd;
10852 if test "$enableval" = yes; then
10853 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10855 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10860 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10865 eval "$wx_cv_use_dnd"
10867 if test x
"$enablestring" = xdisable
; then
10868 if test $wxUSE_DRAG_AND_DROP = no
; then
10874 result
=$wxUSE_DRAG_AND_DROP
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10878 $as_echo "$result" >&6; }
10882 DEFAULT_wxUSE_CONTROLS
=none
10884 enablestring
=disable
10886 if test -z "$defaultval"; then
10887 if test x
"$enablestring" = xdisable
; then
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10895 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10896 # Check whether --enable-controls was given.
10897 if test "${enable_controls+set}" = set; then :
10898 enableval
=$enable_controls;
10899 if test "$enableval" = yes; then
10900 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
10902 wx_cv_use_controls
='wxUSE_CONTROLS=no'
10907 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10912 eval "$wx_cv_use_controls"
10914 if test x"$enablestring" = xdisable; then
10915 if test $wxUSE_CONTROLS = no; then
10921 result=$wxUSE_CONTROLS
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10925 $as_echo "$result" >&6; }
10928 if test "$wxUSE_CONTROLS" = "no"; then
10929 DEFAULT_wxUSE_ACCEL=no
10930 DEFAULT_wxUSE_ANIMATIONCTRL=no
10931 DEFAULT_wxUSE_BANNERWINDOW=no
10932 DEFAULT_wxUSE_BMPBUTTON=no
10933 DEFAULT_wxUSE_BUTTON=no
10934 DEFAULT_wxUSE_CALCTRL=no
10935 DEFAULT_wxUSE_CARET=no
10936 DEFAULT_wxUSE_CHECKBOX=no
10937 DEFAULT_wxUSE_CHECKLISTBOX=no
10938 DEFAULT_wxUSE_CHOICE=no
10939 DEFAULT_wxUSE_CHOICEBOOK=no
10940 DEFAULT_wxUSE_COLLPANE=no
10941 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10942 DEFAULT_wxUSE_COMBOBOX=no
10943 DEFAULT_wxUSE_COMBOBOX=no
10944 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10945 DEFAULT_wxUSE_DATAVIEWCTRL=no
10946 DEFAULT_wxUSE_DATEPICKCTRL=no
10947 DEFAULT_wxUSE_DETECT_SM=no
10948 DEFAULT_wxUSE_DIRPICKERCTRL=no
10949 DEFAULT_wxUSE_DISPLAY=no
10950 DEFAULT_wxUSE_FILECTRL=no
10951 DEFAULT_wxUSE_FILEPICKERCTRL=no
10952 DEFAULT_wxUSE_FONTPICKERCTRL=no
10953 DEFAULT_wxUSE_GAUGE=no
10954 DEFAULT_wxUSE_GRID=no
10955 DEFAULT_wxUSE_HEADERCTRL=no
10956 DEFAULT_wxUSE_HYPERLINKCTRL=no
10957 DEFAULT_wxUSE_IMAGLIST=no
10958 DEFAULT_wxUSE_LISTBOOK=no
10959 DEFAULT_wxUSE_LISTBOX=no
10960 DEFAULT_wxUSE_LISTCTRL=no
10961 DEFAULT_wxUSE_MARKUP=no
10962 DEFAULT_wxUSE_NOTEBOOK=no
10963 DEFAULT_wxUSE_POPUPWIN=no
10964 DEFAULT_wxUSE_RADIOBOX=no
10965 DEFAULT_wxUSE_RADIOBTN=no
10966 DEFAULT_wxUSE_RICHMSGDLG=no
10967 DEFAULT_wxUSE_RICHTOOLTIP=no
10968 DEFAULT_wxUSE_REARRANGECTRL=no
10969 DEFAULT_wxUSE_SASH=no
10970 DEFAULT_wxUSE_SCROLLBAR=no
10971 DEFAULT_wxUSE_SEARCHCTRL=no
10972 DEFAULT_wxUSE_SLIDER=no
10973 DEFAULT_wxUSE_SPINBTN=no
10974 DEFAULT_wxUSE_SPINCTRL=no
10975 DEFAULT_wxUSE_SPLITTER=no
10976 DEFAULT_wxUSE_STATBMP=no
10977 DEFAULT_wxUSE_STATBOX=no
10978 DEFAULT_wxUSE_STATLINE=no
10979 DEFAULT_wxUSE_STATUSBAR=no
10980 DEFAULT_wxUSE_TIMEPICKCTRL=no
10981 DEFAULT_wxUSE_TIPWINDOW=no
10982 DEFAULT_wxUSE_TOGGLEBTN=no
10983 DEFAULT_wxUSE_TOOLBAR=no
10984 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10985 DEFAULT_wxUSE_TOOLBOOK=no
10986 DEFAULT_wxUSE_TOOLTIPS=no
10987 DEFAULT_wxUSE_TREEBOOK=no
10988 DEFAULT_wxUSE_TREECTRL=no
10989 DEFAULT_wxUSE_TREELISTCTRL=no
10994 defaultval=$wxUSE_ALL_FEATURES
10995 if test -z "$defaultval"; then
10996 if test x"$enablestring" = xdisable; then
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11004 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11005 # Check whether --enable-markup was given.
11006 if test "${enable_markup+set}" = set; then :
11007 enableval=$enable_markup;
11008 if test "$enableval" = yes; then
11009 wx_cv_use_markup='wxUSE_MARKUP
=yes'
11011 wx_cv_use_markup='wxUSE_MARKUP
=no
'
11016 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11021 eval "$wx_cv_use_markup"
11023 if test x"$enablestring" = xdisable; then
11024 if test $wxUSE_MARKUP = no; then
11030 result=$wxUSE_MARKUP
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11034 $as_echo "$result" >&6; }
11039 defaultval=$wxUSE_ALL_FEATURES
11040 if test -z "$defaultval"; then
11041 if test x"$enablestring" = xdisable; then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-accel" >&5
11049 $as_echo_n "checking
for --${enablestring:-enable}-accel...
" >&6; }
11050 # Check whether --enable-accel was given.
11051 if test "${enable_accel+set}" = set; then :
11052 enableval=$enable_accel;
11053 if test "$enableval" = yes; then
11054 wx_cv_use_accel='wxUSE_ACCEL=yes'
11056 wx_cv_use_accel='wxUSE_ACCEL=no'
11061 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11066 eval "$wx_cv_use_accel"
11068 if test x
"$enablestring" = xdisable
; then
11069 if test $wxUSE_ACCEL = no
; then
11075 result
=$wxUSE_ACCEL
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11079 $as_echo "$result" >&6; }
11083 defaultval
=$wxUSE_ALL_FEATURES
11084 if test -z "$defaultval"; then
11085 if test x
"$enablestring" = xdisable
; then
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11093 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11094 # Check whether --enable-animatectrl was given.
11095 if test "${enable_animatectrl+set}" = set; then :
11096 enableval
=$enable_animatectrl;
11097 if test "$enableval" = yes; then
11098 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
11100 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
11105 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11110 eval "$wx_cv_use_animatectrl"
11112 if test x"$enablestring" = xdisable; then
11113 if test $wxUSE_ANIMATIONCTRL = no; then
11119 result=$wxUSE_ANIMATIONCTRL
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11123 $as_echo "$result" >&6; }
11127 defaultval=$wxUSE_ALL_FEATURES
11128 if test -z "$defaultval"; then
11129 if test x"$enablestring" = xdisable; then
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11137 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11138 # Check whether --enable-bannerwindow was given.
11139 if test "${enable_bannerwindow+set}" = set; then :
11140 enableval=$enable_bannerwindow;
11141 if test "$enableval" = yes; then
11142 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
11144 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
11149 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11154 eval "$wx_cv_use_bannerwindow"
11156 if test x"$enablestring" = xdisable; then
11157 if test $wxUSE_BANNERWINDOW = no; then
11163 result=$wxUSE_BANNERWINDOW
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11167 $as_echo "$result" >&6; }
11171 defaultval=$wxUSE_ALL_FEATURES
11172 if test -z "$defaultval"; then
11173 if test x"$enablestring" = xdisable; then
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-artstd" >&5
11181 $as_echo_n "checking
for --${enablestring:-enable}-artstd...
" >&6; }
11182 # Check whether --enable-artstd was given.
11183 if test "${enable_artstd+set}" = set; then :
11184 enableval=$enable_artstd;
11185 if test "$enableval" = yes; then
11186 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11188 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11193 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11198 eval "$wx_cv_use_artstd"
11200 if test x
"$enablestring" = xdisable
; then
11201 if test $wxUSE_ARTPROVIDER_STD = no
; then
11207 result
=$wxUSE_ARTPROVIDER_STD
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11211 $as_echo "$result" >&6; }
11215 defaultval
=$wxUSE_ALL_FEATURES
11216 if test -z "$defaultval"; then
11217 if test x
"$enablestring" = xdisable
; then
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11225 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11226 # Check whether --enable-arttango was given.
11227 if test "${enable_arttango+set}" = set; then :
11228 enableval
=$enable_arttango;
11229 if test "$enableval" = yes; then
11230 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
11232 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
11237 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11242 eval "$wx_cv_use_arttango"
11244 if test x"$enablestring" = xdisable; then
11245 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11251 result=$wxUSE_ARTPROVIDER_TANGO
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11255 $as_echo "$result" >&6; }
11259 defaultval=$wxUSE_ALL_FEATURES
11260 if test -z "$defaultval"; then
11261 if test x"$enablestring" = xdisable; then
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11269 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11270 # Check whether --enable-bmpbutton was given.
11271 if test "${enable_bmpbutton+set}" = set; then :
11272 enableval=$enable_bmpbutton;
11273 if test "$enableval" = yes; then
11274 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
11276 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
11281 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11286 eval "$wx_cv_use_bmpbutton"
11288 if test x"$enablestring" = xdisable; then
11289 if test $wxUSE_BMPBUTTON = no; then
11295 result=$wxUSE_BMPBUTTON
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11299 $as_echo "$result" >&6; }
11303 defaultval=$wxUSE_ALL_FEATURES
11304 if test -z "$defaultval"; then
11305 if test x"$enablestring" = xdisable; then
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpcombobox" >&5
11313 $as_echo_n "checking
for --${enablestring:-enable}-bmpcombobox...
" >&6; }
11314 # Check whether --enable-bmpcombobox was given.
11315 if test "${enable_bmpcombobox+set}" = set; then :
11316 enableval=$enable_bmpcombobox;
11317 if test "$enableval" = yes; then
11318 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11320 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11325 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11330 eval "$wx_cv_use_bmpcombobox"
11332 if test x
"$enablestring" = xdisable
; then
11333 if test $wxUSE_BITMAPCOMBOBOX = no
; then
11339 result
=$wxUSE_BITMAPCOMBOBOX
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11343 $as_echo "$result" >&6; }
11347 defaultval
=$wxUSE_ALL_FEATURES
11348 if test -z "$defaultval"; then
11349 if test x
"$enablestring" = xdisable
; then
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11357 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11358 # Check whether --enable-button was given.
11359 if test "${enable_button+set}" = set; then :
11360 enableval
=$enable_button;
11361 if test "$enableval" = yes; then
11362 wx_cv_use_button
='wxUSE_BUTTON=yes'
11364 wx_cv_use_button
='wxUSE_BUTTON=no'
11369 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11374 eval "$wx_cv_use_button"
11376 if test x"$enablestring" = xdisable; then
11377 if test $wxUSE_BUTTON = no; then
11383 result=$wxUSE_BUTTON
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11387 $as_echo "$result" >&6; }
11391 defaultval=$wxUSE_ALL_FEATURES
11392 if test -z "$defaultval"; then
11393 if test x"$enablestring" = xdisable; then
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11401 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11402 # Check whether --enable-calendar was given.
11403 if test "${enable_calendar+set}" = set; then :
11404 enableval=$enable_calendar;
11405 if test "$enableval" = yes; then
11406 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
11408 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
11413 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11418 eval "$wx_cv_use_calendar"
11420 if test x"$enablestring" = xdisable; then
11421 if test $wxUSE_CALCTRL = no; then
11427 result=$wxUSE_CALCTRL
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11431 $as_echo "$result" >&6; }
11435 defaultval=$wxUSE_ALL_FEATURES
11436 if test -z "$defaultval"; then
11437 if test x"$enablestring" = xdisable; then
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-caret" >&5
11445 $as_echo_n "checking
for --${enablestring:-enable}-caret...
" >&6; }
11446 # Check whether --enable-caret was given.
11447 if test "${enable_caret+set}" = set; then :
11448 enableval=$enable_caret;
11449 if test "$enableval" = yes; then
11450 wx_cv_use_caret='wxUSE_CARET=yes'
11452 wx_cv_use_caret='wxUSE_CARET=no'
11457 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11462 eval "$wx_cv_use_caret"
11464 if test x
"$enablestring" = xdisable
; then
11465 if test $wxUSE_CARET = no
; then
11471 result
=$wxUSE_CARET
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11475 $as_echo "$result" >&6; }
11479 defaultval
=$wxUSE_ALL_FEATURES
11480 if test -z "$defaultval"; then
11481 if test x
"$enablestring" = xdisable
; then
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11489 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11490 # Check whether --enable-checkbox was given.
11491 if test "${enable_checkbox+set}" = set; then :
11492 enableval
=$enable_checkbox;
11493 if test "$enableval" = yes; then
11494 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
11496 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
11501 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11506 eval "$wx_cv_use_checkbox"
11508 if test x"$enablestring" = xdisable; then
11509 if test $wxUSE_CHECKBOX = no; then
11515 result=$wxUSE_CHECKBOX
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11519 $as_echo "$result" >&6; }
11523 defaultval=$wxUSE_ALL_FEATURES
11524 if test -z "$defaultval"; then
11525 if test x"$enablestring" = xdisable; then
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11533 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11534 # Check whether --enable-checklst was given.
11535 if test "${enable_checklst+set}" = set; then :
11536 enableval=$enable_checklst;
11537 if test "$enableval" = yes; then
11538 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
11540 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
11545 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11550 eval "$wx_cv_use_checklst"
11552 if test x"$enablestring" = xdisable; then
11553 if test $wxUSE_CHECKLST = no; then
11559 result=$wxUSE_CHECKLST
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11563 $as_echo "$result" >&6; }
11567 defaultval=$wxUSE_ALL_FEATURES
11568 if test -z "$defaultval"; then
11569 if test x"$enablestring" = xdisable; then
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choice" >&5
11577 $as_echo_n "checking
for --${enablestring:-enable}-choice...
" >&6; }
11578 # Check whether --enable-choice was given.
11579 if test "${enable_choice+set}" = set; then :
11580 enableval=$enable_choice;
11581 if test "$enableval" = yes; then
11582 wx_cv_use_choice='wxUSE_CHOICE=yes'
11584 wx_cv_use_choice='wxUSE_CHOICE=no'
11589 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11594 eval "$wx_cv_use_choice"
11596 if test x
"$enablestring" = xdisable
; then
11597 if test $wxUSE_CHOICE = no
; then
11603 result
=$wxUSE_CHOICE
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11607 $as_echo "$result" >&6; }
11611 defaultval
=$wxUSE_ALL_FEATURES
11612 if test -z "$defaultval"; then
11613 if test x
"$enablestring" = xdisable
; then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11621 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11622 # Check whether --enable-choicebook was given.
11623 if test "${enable_choicebook+set}" = set; then :
11624 enableval
=$enable_choicebook;
11625 if test "$enableval" = yes; then
11626 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
11628 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
11633 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11638 eval "$wx_cv_use_choicebook"
11640 if test x"$enablestring" = xdisable; then
11641 if test $wxUSE_CHOICEBOOK = no; then
11647 result=$wxUSE_CHOICEBOOK
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11651 $as_echo "$result" >&6; }
11655 defaultval=$wxUSE_ALL_FEATURES
11656 if test -z "$defaultval"; then
11657 if test x"$enablestring" = xdisable; then
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11665 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11666 # Check whether --enable-collpane was given.
11667 if test "${enable_collpane+set}" = set; then :
11668 enableval=$enable_collpane;
11669 if test "$enableval" = yes; then
11670 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
11672 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
11677 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11682 eval "$wx_cv_use_collpane"
11684 if test x"$enablestring" = xdisable; then
11685 if test $wxUSE_COLLPANE = no; then
11691 result=$wxUSE_COLLPANE
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11695 $as_echo "$result" >&6; }
11699 defaultval=$wxUSE_ALL_FEATURES
11700 if test -z "$defaultval"; then
11701 if test x"$enablestring" = xdisable; then
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-colourpicker" >&5
11709 $as_echo_n "checking
for --${enablestring:-enable}-colourpicker...
" >&6; }
11710 # Check whether --enable-colourpicker was given.
11711 if test "${enable_colourpicker+set}" = set; then :
11712 enableval=$enable_colourpicker;
11713 if test "$enableval" = yes; then
11714 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11716 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11721 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11726 eval "$wx_cv_use_colourpicker"
11728 if test x
"$enablestring" = xdisable
; then
11729 if test $wxUSE_COLOURPICKERCTRL = no
; then
11735 result
=$wxUSE_COLOURPICKERCTRL
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11739 $as_echo "$result" >&6; }
11743 defaultval
=$wxUSE_ALL_FEATURES
11744 if test -z "$defaultval"; then
11745 if test x
"$enablestring" = xdisable
; then
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11753 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11754 # Check whether --enable-combobox was given.
11755 if test "${enable_combobox+set}" = set; then :
11756 enableval
=$enable_combobox;
11757 if test "$enableval" = yes; then
11758 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
11760 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
11765 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11770 eval "$wx_cv_use_combobox"
11772 if test x"$enablestring" = xdisable; then
11773 if test $wxUSE_COMBOBOX = no; then
11779 result=$wxUSE_COMBOBOX
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11783 $as_echo "$result" >&6; }
11787 defaultval=$wxUSE_ALL_FEATURES
11788 if test -z "$defaultval"; then
11789 if test x"$enablestring" = xdisable; then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11797 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11798 # Check whether --enable-comboctrl was given.
11799 if test "${enable_comboctrl+set}" = set; then :
11800 enableval=$enable_comboctrl;
11801 if test "$enableval" = yes; then
11802 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
11804 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
11809 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11814 eval "$wx_cv_use_comboctrl"
11816 if test x"$enablestring" = xdisable; then
11817 if test $wxUSE_COMBOCTRL = no; then
11823 result=$wxUSE_COMBOCTRL
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11827 $as_echo "$result" >&6; }
11831 defaultval=$wxUSE_ALL_FEATURES
11832 if test -z "$defaultval"; then
11833 if test x"$enablestring" = xdisable; then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
11841 $as_echo_n "checking
for --${enablestring:-enable}-commandlinkbutton...
" >&6; }
11842 # Check whether --enable-commandlinkbutton was given.
11843 if test "${enable_commandlinkbutton+set}" = set; then :
11844 enableval=$enable_commandlinkbutton;
11845 if test "$enableval" = yes; then
11846 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11848 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11853 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11858 eval "$wx_cv_use_commandlinkbutton"
11860 if test x
"$enablestring" = xdisable
; then
11861 if test $wxUSE_COMMANDLINKBUTTON = no
; then
11867 result
=$wxUSE_COMMANDLINKBUTTON
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11871 $as_echo "$result" >&6; }
11875 defaultval
=$wxUSE_ALL_FEATURES
11876 if test -z "$defaultval"; then
11877 if test x
"$enablestring" = xdisable
; then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11885 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11886 # Check whether --enable-dataviewctrl was given.
11887 if test "${enable_dataviewctrl+set}" = set; then :
11888 enableval
=$enable_dataviewctrl;
11889 if test "$enableval" = yes; then
11890 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
11892 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
11897 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11902 eval "$wx_cv_use_dataviewctrl"
11904 if test x"$enablestring" = xdisable; then
11905 if test $wxUSE_DATAVIEWCTRL = no; then
11911 result=$wxUSE_DATAVIEWCTRL
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11915 $as_echo "$result" >&6; }
11919 defaultval=$wxUSE_ALL_FEATURES
11920 if test -z "$defaultval"; then
11921 if test x"$enablestring" = xdisable; then
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11929 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11930 # Check whether --enable-datepick was given.
11931 if test "${enable_datepick+set}" = set; then :
11932 enableval=$enable_datepick;
11933 if test "$enableval" = yes; then
11934 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
11936 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
11941 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11946 eval "$wx_cv_use_datepick"
11948 if test x"$enablestring" = xdisable; then
11949 if test $wxUSE_DATEPICKCTRL = no; then
11955 result=$wxUSE_DATEPICKCTRL
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11959 $as_echo "$result" >&6; }
11963 defaultval=$wxUSE_ALL_FEATURES
11964 if test -z "$defaultval"; then
11965 if test x"$enablestring" = xdisable; then
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-detect_sm" >&5
11973 $as_echo_n "checking
for --${enablestring:-enable}-detect_sm...
" >&6; }
11974 # Check whether --enable-detect_sm was given.
11975 if test "${enable_detect_sm+set}" = set; then :
11976 enableval=$enable_detect_sm;
11977 if test "$enableval" = yes; then
11978 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11980 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11985 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11990 eval "$wx_cv_use_detect_sm"
11992 if test x
"$enablestring" = xdisable
; then
11993 if test $wxUSE_DETECT_SM = no
; then
11999 result
=$wxUSE_DETECT_SM
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12003 $as_echo "$result" >&6; }
12007 defaultval
=$wxUSE_ALL_FEATURES
12008 if test -z "$defaultval"; then
12009 if test x
"$enablestring" = xdisable
; then
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12017 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12018 # Check whether --enable-dirpicker was given.
12019 if test "${enable_dirpicker+set}" = set; then :
12020 enableval
=$enable_dirpicker;
12021 if test "$enableval" = yes; then
12022 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
12024 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
12029 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12034 eval "$wx_cv_use_dirpicker"
12036 if test x"$enablestring" = xdisable; then
12037 if test $wxUSE_DIRPICKERCTRL = no; then
12043 result=$wxUSE_DIRPICKERCTRL
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12047 $as_echo "$result" >&6; }
12051 defaultval=$wxUSE_ALL_FEATURES
12052 if test -z "$defaultval"; then
12053 if test x"$enablestring" = xdisable; then
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12061 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12062 # Check whether --enable-display was given.
12063 if test "${enable_display+set}" = set; then :
12064 enableval=$enable_display;
12065 if test "$enableval" = yes; then
12066 wx_cv_use_display='wxUSE_DISPLAY
=yes'
12068 wx_cv_use_display='wxUSE_DISPLAY
=no
'
12073 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12078 eval "$wx_cv_use_display"
12080 if test x"$enablestring" = xdisable; then
12081 if test $wxUSE_DISPLAY = no; then
12087 result=$wxUSE_DISPLAY
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12091 $as_echo "$result" >&6; }
12095 defaultval=$wxUSE_ALL_FEATURES
12096 if test -z "$defaultval"; then
12097 if test x"$enablestring" = xdisable; then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-editablebox" >&5
12105 $as_echo_n "checking
for --${enablestring:-enable}-editablebox...
" >&6; }
12106 # Check whether --enable-editablebox was given.
12107 if test "${enable_editablebox+set}" = set; then :
12108 enableval=$enable_editablebox;
12109 if test "$enableval" = yes; then
12110 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12112 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12117 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12122 eval "$wx_cv_use_editablebox"
12124 if test x
"$enablestring" = xdisable
; then
12125 if test $wxUSE_EDITABLELISTBOX = no
; then
12131 result
=$wxUSE_EDITABLELISTBOX
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12135 $as_echo "$result" >&6; }
12139 defaultval
=$wxUSE_ALL_FEATURES
12140 if test -z "$defaultval"; then
12141 if test x
"$enablestring" = xdisable
; then
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12149 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12150 # Check whether --enable-filectrl was given.
12151 if test "${enable_filectrl+set}" = set; then :
12152 enableval
=$enable_filectrl;
12153 if test "$enableval" = yes; then
12154 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12156 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12161 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12166 eval "$wx_cv_use_filectrl"
12168 if test x"$enablestring" = xdisable; then
12169 if test $wxUSE_FILECTRL = no; then
12175 result=$wxUSE_FILECTRL
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12179 $as_echo "$result" >&6; }
12183 defaultval=$wxUSE_ALL_FEATURES
12184 if test -z "$defaultval"; then
12185 if test x"$enablestring" = xdisable; then
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12193 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12194 # Check whether --enable-filepicker was given.
12195 if test "${enable_filepicker+set}" = set; then :
12196 enableval=$enable_filepicker;
12197 if test "$enableval" = yes; then
12198 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
12200 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
12205 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12210 eval "$wx_cv_use_filepicker"
12212 if test x"$enablestring" = xdisable; then
12213 if test $wxUSE_FILEPICKERCTRL = no; then
12219 result=$wxUSE_FILEPICKERCTRL
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12223 $as_echo "$result" >&6; }
12227 defaultval=$wxUSE_ALL_FEATURES
12228 if test -z "$defaultval"; then
12229 if test x"$enablestring" = xdisable; then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontpicker" >&5
12237 $as_echo_n "checking
for --${enablestring:-enable}-fontpicker...
" >&6; }
12238 # Check whether --enable-fontpicker was given.
12239 if test "${enable_fontpicker+set}" = set; then :
12240 enableval=$enable_fontpicker;
12241 if test "$enableval" = yes; then
12242 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12244 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12249 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12254 eval "$wx_cv_use_fontpicker"
12256 if test x
"$enablestring" = xdisable
; then
12257 if test $wxUSE_FONTPICKERCTRL = no
; then
12263 result
=$wxUSE_FONTPICKERCTRL
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12267 $as_echo "$result" >&6; }
12271 defaultval
=$wxUSE_ALL_FEATURES
12272 if test -z "$defaultval"; then
12273 if test x
"$enablestring" = xdisable
; then
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12281 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12282 # Check whether --enable-gauge was given.
12283 if test "${enable_gauge+set}" = set; then :
12284 enableval
=$enable_gauge;
12285 if test "$enableval" = yes; then
12286 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
12288 wx_cv_use_gauge
='wxUSE_GAUGE=no'
12293 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12298 eval "$wx_cv_use_gauge"
12300 if test x"$enablestring" = xdisable; then
12301 if test $wxUSE_GAUGE = no; then
12307 result=$wxUSE_GAUGE
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12311 $as_echo "$result" >&6; }
12315 defaultval=$wxUSE_ALL_FEATURES
12316 if test -z "$defaultval"; then
12317 if test x"$enablestring" = xdisable; then
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12325 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12326 # Check whether --enable-grid was given.
12327 if test "${enable_grid+set}" = set; then :
12328 enableval=$enable_grid;
12329 if test "$enableval" = yes; then
12330 wx_cv_use_grid='wxUSE_GRID
=yes'
12332 wx_cv_use_grid='wxUSE_GRID
=no
'
12337 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12342 eval "$wx_cv_use_grid"
12344 if test x"$enablestring" = xdisable; then
12345 if test $wxUSE_GRID = no; then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12355 $as_echo "$result" >&6; }
12359 defaultval=$wxUSE_ALL_FEATURES
12360 if test -z "$defaultval"; then
12361 if test x"$enablestring" = xdisable; then
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-headerctrl" >&5
12369 $as_echo_n "checking
for --${enablestring:-enable}-headerctrl...
" >&6; }
12370 # Check whether --enable-headerctrl was given.
12371 if test "${enable_headerctrl+set}" = set; then :
12372 enableval=$enable_headerctrl;
12373 if test "$enableval" = yes; then
12374 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12376 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12381 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12386 eval "$wx_cv_use_headerctrl"
12388 if test x
"$enablestring" = xdisable
; then
12389 if test $wxUSE_HEADERCTRL = no
; then
12395 result
=$wxUSE_HEADERCTRL
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12399 $as_echo "$result" >&6; }
12403 defaultval
=$wxUSE_ALL_FEATURES
12404 if test -z "$defaultval"; then
12405 if test x
"$enablestring" = xdisable
; then
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12413 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12414 # Check whether --enable-hyperlink was given.
12415 if test "${enable_hyperlink+set}" = set; then :
12416 enableval
=$enable_hyperlink;
12417 if test "$enableval" = yes; then
12418 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
12420 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
12425 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12430 eval "$wx_cv_use_hyperlink"
12432 if test x"$enablestring" = xdisable; then
12433 if test $wxUSE_HYPERLINKCTRL = no; then
12439 result=$wxUSE_HYPERLINKCTRL
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12443 $as_echo "$result" >&6; }
12447 defaultval=$wxUSE_ALL_FEATURES
12448 if test -z "$defaultval"; then
12449 if test x"$enablestring" = xdisable; then
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12457 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12458 # Check whether --enable-imaglist was given.
12459 if test "${enable_imaglist+set}" = set; then :
12460 enableval=$enable_imaglist;
12461 if test "$enableval" = yes; then
12462 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
12464 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
12469 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12474 eval "$wx_cv_use_imaglist"
12476 if test x"$enablestring" = xdisable; then
12477 if test $wxUSE_IMAGLIST = no; then
12483 result=$wxUSE_IMAGLIST
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12487 $as_echo "$result" >&6; }
12491 defaultval=$wxUSE_ALL_FEATURES
12492 if test -z "$defaultval"; then
12493 if test x"$enablestring" = xdisable; then
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-infobar" >&5
12501 $as_echo_n "checking
for --${enablestring:-enable}-infobar...
" >&6; }
12502 # Check whether --enable-infobar was given.
12503 if test "${enable_infobar+set}" = set; then :
12504 enableval=$enable_infobar;
12505 if test "$enableval" = yes; then
12506 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12508 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12513 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12518 eval "$wx_cv_use_infobar"
12520 if test x
"$enablestring" = xdisable
; then
12521 if test $wxUSE_INFOBAR = no
; then
12527 result
=$wxUSE_INFOBAR
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12531 $as_echo "$result" >&6; }
12535 defaultval
=$wxUSE_ALL_FEATURES
12536 if test -z "$defaultval"; then
12537 if test x
"$enablestring" = xdisable
; then
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12545 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12546 # Check whether --enable-listbook was given.
12547 if test "${enable_listbook+set}" = set; then :
12548 enableval
=$enable_listbook;
12549 if test "$enableval" = yes; then
12550 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
12552 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
12557 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12562 eval "$wx_cv_use_listbook"
12564 if test x"$enablestring" = xdisable; then
12565 if test $wxUSE_LISTBOOK = no; then
12571 result=$wxUSE_LISTBOOK
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12575 $as_echo "$result" >&6; }
12579 defaultval=$wxUSE_ALL_FEATURES
12580 if test -z "$defaultval"; then
12581 if test x"$enablestring" = xdisable; then
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12589 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12590 # Check whether --enable-listbox was given.
12591 if test "${enable_listbox+set}" = set; then :
12592 enableval=$enable_listbox;
12593 if test "$enableval" = yes; then
12594 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
12596 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
12601 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12606 eval "$wx_cv_use_listbox"
12608 if test x"$enablestring" = xdisable; then
12609 if test $wxUSE_LISTBOX = no; then
12615 result=$wxUSE_LISTBOX
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12619 $as_echo "$result" >&6; }
12623 defaultval=$wxUSE_ALL_FEATURES
12624 if test -z "$defaultval"; then
12625 if test x"$enablestring" = xdisable; then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listctrl" >&5
12633 $as_echo_n "checking
for --${enablestring:-enable}-listctrl...
" >&6; }
12634 # Check whether --enable-listctrl was given.
12635 if test "${enable_listctrl+set}" = set; then :
12636 enableval=$enable_listctrl;
12637 if test "$enableval" = yes; then
12638 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12640 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12645 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12650 eval "$wx_cv_use_listctrl"
12652 if test x
"$enablestring" = xdisable
; then
12653 if test $wxUSE_LISTCTRL = no
; then
12659 result
=$wxUSE_LISTCTRL
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12663 $as_echo "$result" >&6; }
12667 defaultval
=$wxUSE_ALL_FEATURES
12668 if test -z "$defaultval"; then
12669 if test x
"$enablestring" = xdisable
; then
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12677 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12678 # Check whether --enable-notebook was given.
12679 if test "${enable_notebook+set}" = set; then :
12680 enableval
=$enable_notebook;
12681 if test "$enableval" = yes; then
12682 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
12684 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
12689 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12694 eval "$wx_cv_use_notebook"
12696 if test x"$enablestring" = xdisable; then
12697 if test $wxUSE_NOTEBOOK = no; then
12703 result=$wxUSE_NOTEBOOK
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12707 $as_echo "$result" >&6; }
12711 defaultval=$wxUSE_ALL_FEATURES
12712 if test -z "$defaultval"; then
12713 if test x"$enablestring" = xdisable; then
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12721 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12722 # Check whether --enable-notifmsg was given.
12723 if test "${enable_notifmsg+set}" = set; then :
12724 enableval=$enable_notifmsg;
12725 if test "$enableval" = yes; then
12726 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
12728 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
12733 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12738 eval "$wx_cv_use_notifmsg"
12740 if test x"$enablestring" = xdisable; then
12741 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12747 result=$wxUSE_NOTIFICATION_MESSAGE
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12751 $as_echo "$result" >&6; }
12755 defaultval=$wxUSE_ALL_FEATURES
12756 if test -z "$defaultval"; then
12757 if test x"$enablestring" = xdisable; then
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-odcombobox" >&5
12765 $as_echo_n "checking
for --${enablestring:-enable}-odcombobox...
" >&6; }
12766 # Check whether --enable-odcombobox was given.
12767 if test "${enable_odcombobox+set}" = set; then :
12768 enableval=$enable_odcombobox;
12769 if test "$enableval" = yes; then
12770 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12772 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12777 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12782 eval "$wx_cv_use_odcombobox"
12784 if test x
"$enablestring" = xdisable
; then
12785 if test $wxUSE_ODCOMBOBOX = no
; then
12791 result
=$wxUSE_ODCOMBOBOX
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12795 $as_echo "$result" >&6; }
12799 defaultval
=$wxUSE_ALL_FEATURES
12800 if test -z "$defaultval"; then
12801 if test x
"$enablestring" = xdisable
; then
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12809 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12810 # Check whether --enable-popupwin was given.
12811 if test "${enable_popupwin+set}" = set; then :
12812 enableval
=$enable_popupwin;
12813 if test "$enableval" = yes; then
12814 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
12816 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
12821 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12826 eval "$wx_cv_use_popupwin"
12828 if test x"$enablestring" = xdisable; then
12829 if test $wxUSE_POPUPWIN = no; then
12835 result=$wxUSE_POPUPWIN
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12839 $as_echo "$result" >&6; }
12843 defaultval=$wxUSE_ALL_FEATURES
12844 if test -z "$defaultval"; then
12845 if test x"$enablestring" = xdisable; then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12853 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12854 # Check whether --enable-radiobox was given.
12855 if test "${enable_radiobox+set}" = set; then :
12856 enableval=$enable_radiobox;
12857 if test "$enableval" = yes; then
12858 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
12860 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
12865 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12870 eval "$wx_cv_use_radiobox"
12872 if test x"$enablestring" = xdisable; then
12873 if test $wxUSE_RADIOBOX = no; then
12879 result=$wxUSE_RADIOBOX
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12883 $as_echo "$result" >&6; }
12887 defaultval=$wxUSE_ALL_FEATURES
12888 if test -z "$defaultval"; then
12889 if test x"$enablestring" = xdisable; then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-radiobtn" >&5
12897 $as_echo_n "checking
for --${enablestring:-enable}-radiobtn...
" >&6; }
12898 # Check whether --enable-radiobtn was given.
12899 if test "${enable_radiobtn+set}" = set; then :
12900 enableval=$enable_radiobtn;
12901 if test "$enableval" = yes; then
12902 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12904 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12909 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12914 eval "$wx_cv_use_radiobtn"
12916 if test x
"$enablestring" = xdisable
; then
12917 if test $wxUSE_RADIOBTN = no
; then
12923 result
=$wxUSE_RADIOBTN
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12927 $as_echo "$result" >&6; }
12931 defaultval
=$wxUSE_ALL_FEATURES
12932 if test -z "$defaultval"; then
12933 if test x
"$enablestring" = xdisable
; then
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12941 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12942 # Check whether --enable-richmsgdlg was given.
12943 if test "${enable_richmsgdlg+set}" = set; then :
12944 enableval
=$enable_richmsgdlg;
12945 if test "$enableval" = yes; then
12946 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
12948 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
12953 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12958 eval "$wx_cv_use_richmsgdlg"
12960 if test x"$enablestring" = xdisable; then
12961 if test $wxUSE_RICHMSGDLG = no; then
12967 result=$wxUSE_RICHMSGDLG
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12971 $as_echo "$result" >&6; }
12975 defaultval=$wxUSE_ALL_FEATURES
12976 if test -z "$defaultval"; then
12977 if test x"$enablestring" = xdisable; then
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
12985 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
12986 # Check whether --enable-richtooltip was given.
12987 if test "${enable_richtooltip+set}" = set; then :
12988 enableval=$enable_richtooltip;
12989 if test "$enableval" = yes; then
12990 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=yes'
12992 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=no
'
12997 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13002 eval "$wx_cv_use_richtooltip"
13004 if test x"$enablestring" = xdisable; then
13005 if test $wxUSE_RICHTOOLTIP = no; then
13011 result=$wxUSE_RICHTOOLTIP
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13015 $as_echo "$result" >&6; }
13019 defaultval=$wxUSE_ALL_FEATURES
13020 if test -z "$defaultval"; then
13021 if test x"$enablestring" = xdisable; then
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rearrangectrl" >&5
13029 $as_echo_n "checking
for --${enablestring:-enable}-rearrangectrl...
" >&6; }
13030 # Check whether --enable-rearrangectrl was given.
13031 if test "${enable_rearrangectrl+set}" = set; then :
13032 enableval=$enable_rearrangectrl;
13033 if test "$enableval" = yes; then
13034 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13036 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13041 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13046 eval "$wx_cv_use_rearrangectrl"
13048 if test x
"$enablestring" = xdisable
; then
13049 if test $wxUSE_REARRANGECTRL = no
; then
13055 result
=$wxUSE_REARRANGECTRL
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13059 $as_echo "$result" >&6; }
13063 defaultval
=$wxUSE_ALL_FEATURES
13064 if test -z "$defaultval"; then
13065 if test x
"$enablestring" = xdisable
; then
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13073 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13074 # Check whether --enable-sash was given.
13075 if test "${enable_sash+set}" = set; then :
13076 enableval
=$enable_sash;
13077 if test "$enableval" = yes; then
13078 wx_cv_use_sash
='wxUSE_SASH=yes'
13080 wx_cv_use_sash
='wxUSE_SASH=no'
13085 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13090 eval "$wx_cv_use_sash"
13092 if test x"$enablestring" = xdisable; then
13093 if test $wxUSE_SASH = no; then
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13103 $as_echo "$result" >&6; }
13107 defaultval=$wxUSE_ALL_FEATURES
13108 if test -z "$defaultval"; then
13109 if test x"$enablestring" = xdisable; then
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13117 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13118 # Check whether --enable-scrollbar was given.
13119 if test "${enable_scrollbar+set}" = set; then :
13120 enableval=$enable_scrollbar;
13121 if test "$enableval" = yes; then
13122 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
13124 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
13129 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13134 eval "$wx_cv_use_scrollbar"
13136 if test x"$enablestring" = xdisable; then
13137 if test $wxUSE_SCROLLBAR = no; then
13143 result=$wxUSE_SCROLLBAR
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13147 $as_echo "$result" >&6; }
13151 defaultval=$wxUSE_ALL_FEATURES
13152 if test -z "$defaultval"; then
13153 if test x"$enablestring" = xdisable; then
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-searchctrl" >&5
13161 $as_echo_n "checking
for --${enablestring:-enable}-searchctrl...
" >&6; }
13162 # Check whether --enable-searchctrl was given.
13163 if test "${enable_searchctrl+set}" = set; then :
13164 enableval=$enable_searchctrl;
13165 if test "$enableval" = yes; then
13166 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13168 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13173 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13178 eval "$wx_cv_use_searchctrl"
13180 if test x
"$enablestring" = xdisable
; then
13181 if test $wxUSE_SEARCHCTRL = no
; then
13187 result
=$wxUSE_SEARCHCTRL
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13191 $as_echo "$result" >&6; }
13195 defaultval
=$wxUSE_ALL_FEATURES
13196 if test -z "$defaultval"; then
13197 if test x
"$enablestring" = xdisable
; then
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13205 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13206 # Check whether --enable-slider was given.
13207 if test "${enable_slider+set}" = set; then :
13208 enableval
=$enable_slider;
13209 if test "$enableval" = yes; then
13210 wx_cv_use_slider
='wxUSE_SLIDER=yes'
13212 wx_cv_use_slider
='wxUSE_SLIDER=no'
13217 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13222 eval "$wx_cv_use_slider"
13224 if test x"$enablestring" = xdisable; then
13225 if test $wxUSE_SLIDER = no; then
13231 result=$wxUSE_SLIDER
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13235 $as_echo "$result" >&6; }
13239 defaultval=$wxUSE_ALL_FEATURES
13240 if test -z "$defaultval"; then
13241 if test x"$enablestring" = xdisable; then
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13249 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13250 # Check whether --enable-spinbtn was given.
13251 if test "${enable_spinbtn+set}" = set; then :
13252 enableval=$enable_spinbtn;
13253 if test "$enableval" = yes; then
13254 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
13256 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
13261 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13266 eval "$wx_cv_use_spinbtn"
13268 if test x"$enablestring" = xdisable; then
13269 if test $wxUSE_SPINBTN = no; then
13275 result=$wxUSE_SPINBTN
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13279 $as_echo "$result" >&6; }
13283 defaultval=$wxUSE_ALL_FEATURES
13284 if test -z "$defaultval"; then
13285 if test x"$enablestring" = xdisable; then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-spinctrl" >&5
13293 $as_echo_n "checking
for --${enablestring:-enable}-spinctrl...
" >&6; }
13294 # Check whether --enable-spinctrl was given.
13295 if test "${enable_spinctrl+set}" = set; then :
13296 enableval=$enable_spinctrl;
13297 if test "$enableval" = yes; then
13298 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13300 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13305 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13310 eval "$wx_cv_use_spinctrl"
13312 if test x
"$enablestring" = xdisable
; then
13313 if test $wxUSE_SPINCTRL = no
; then
13319 result
=$wxUSE_SPINCTRL
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13323 $as_echo "$result" >&6; }
13327 defaultval
=$wxUSE_ALL_FEATURES
13328 if test -z "$defaultval"; then
13329 if test x
"$enablestring" = xdisable
; then
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13337 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13338 # Check whether --enable-splitter was given.
13339 if test "${enable_splitter+set}" = set; then :
13340 enableval
=$enable_splitter;
13341 if test "$enableval" = yes; then
13342 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
13344 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
13349 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13354 eval "$wx_cv_use_splitter"
13356 if test x"$enablestring" = xdisable; then
13357 if test $wxUSE_SPLITTER = no; then
13363 result=$wxUSE_SPLITTER
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13367 $as_echo "$result" >&6; }
13371 defaultval=$wxUSE_ALL_FEATURES
13372 if test -z "$defaultval"; then
13373 if test x"$enablestring" = xdisable; then
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13381 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13382 # Check whether --enable-statbmp was given.
13383 if test "${enable_statbmp+set}" = set; then :
13384 enableval=$enable_statbmp;
13385 if test "$enableval" = yes; then
13386 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
13388 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
13393 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13398 eval "$wx_cv_use_statbmp"
13400 if test x"$enablestring" = xdisable; then
13401 if test $wxUSE_STATBMP = no; then
13407 result=$wxUSE_STATBMP
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13411 $as_echo "$result" >&6; }
13415 defaultval=$wxUSE_ALL_FEATURES
13416 if test -z "$defaultval"; then
13417 if test x"$enablestring" = xdisable; then
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statbox" >&5
13425 $as_echo_n "checking
for --${enablestring:-enable}-statbox...
" >&6; }
13426 # Check whether --enable-statbox was given.
13427 if test "${enable_statbox+set}" = set; then :
13428 enableval=$enable_statbox;
13429 if test "$enableval" = yes; then
13430 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13432 wx_cv_use_statbox='wxUSE_STATBOX=no'
13437 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13442 eval "$wx_cv_use_statbox"
13444 if test x
"$enablestring" = xdisable
; then
13445 if test $wxUSE_STATBOX = no
; then
13451 result
=$wxUSE_STATBOX
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13455 $as_echo "$result" >&6; }
13459 defaultval
=$wxUSE_ALL_FEATURES
13460 if test -z "$defaultval"; then
13461 if test x
"$enablestring" = xdisable
; then
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13469 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13470 # Check whether --enable-statline was given.
13471 if test "${enable_statline+set}" = set; then :
13472 enableval
=$enable_statline;
13473 if test "$enableval" = yes; then
13474 wx_cv_use_statline
='wxUSE_STATLINE=yes'
13476 wx_cv_use_statline
='wxUSE_STATLINE=no'
13481 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13486 eval "$wx_cv_use_statline"
13488 if test x"$enablestring" = xdisable; then
13489 if test $wxUSE_STATLINE = no; then
13495 result=$wxUSE_STATLINE
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13499 $as_echo "$result" >&6; }
13503 defaultval=$wxUSE_ALL_FEATURES
13504 if test -z "$defaultval"; then
13505 if test x"$enablestring" = xdisable; then
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13513 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13514 # Check whether --enable-stattext was given.
13515 if test "${enable_stattext+set}" = set; then :
13516 enableval=$enable_stattext;
13517 if test "$enableval" = yes; then
13518 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
13520 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
13525 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13530 eval "$wx_cv_use_stattext"
13532 if test x"$enablestring" = xdisable; then
13533 if test $wxUSE_STATTEXT = no; then
13539 result=$wxUSE_STATTEXT
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13543 $as_echo "$result" >&6; }
13547 defaultval=$wxUSE_ALL_FEATURES
13548 if test -z "$defaultval"; then
13549 if test x"$enablestring" = xdisable; then
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statusbar" >&5
13557 $as_echo_n "checking
for --${enablestring:-enable}-statusbar...
" >&6; }
13558 # Check whether --enable-statusbar was given.
13559 if test "${enable_statusbar+set}" = set; then :
13560 enableval=$enable_statusbar;
13561 if test "$enableval" = yes; then
13562 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13564 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13569 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13574 eval "$wx_cv_use_statusbar"
13576 if test x
"$enablestring" = xdisable
; then
13577 if test $wxUSE_STATUSBAR = no
; then
13583 result
=$wxUSE_STATUSBAR
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13587 $as_echo "$result" >&6; }
13591 defaultval
=$wxUSE_ALL_FEATURES
13592 if test -z "$defaultval"; then
13593 if test x
"$enablestring" = xdisable
; then
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13601 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13602 # Check whether --enable-taskbaricon was given.
13603 if test "${enable_taskbaricon+set}" = set; then :
13604 enableval
=$enable_taskbaricon;
13605 if test "$enableval" = yes; then
13606 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13608 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13613 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13618 eval "$wx_cv_use_taskbaricon"
13620 if test x"$enablestring" = xdisable; then
13621 if test $wxUSE_TASKBARICON = no; then
13627 result=$wxUSE_TASKBARICON
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13631 $as_echo "$result" >&6; }
13635 defaultval=$wxUSE_ALL_FEATURES
13636 if test -z "$defaultval"; then
13637 if test x"$enablestring" = xdisable; then
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13645 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13646 # Check whether --enable-tbarnative was given.
13647 if test "${enable_tbarnative+set}" = set; then :
13648 enableval=$enable_tbarnative;
13649 if test "$enableval" = yes; then
13650 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13652 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13657 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13662 eval "$wx_cv_use_tbarnative"
13664 if test x"$enablestring" = xdisable; then
13665 if test $wxUSE_TOOLBAR_NATIVE = no; then
13671 result=$wxUSE_TOOLBAR_NATIVE
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13675 $as_echo "$result" >&6; }
13679 defaultval=$wxUSE_ALL_FEATURES
13680 if test -z "$defaultval"; then
13681 if test x"$enablestring" = xdisable; then
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textctrl" >&5
13689 $as_echo_n "checking
for --${enablestring:-enable}-textctrl...
" >&6; }
13690 # Check whether --enable-textctrl was given.
13691 if test "${enable_textctrl+set}" = set; then :
13692 enableval=$enable_textctrl;
13693 if test "$enableval" = yes; then
13694 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13696 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13701 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13706 eval "$wx_cv_use_textctrl"
13708 if test x
"$enablestring" = xdisable
; then
13709 if test $wxUSE_TEXTCTRL = no
; then
13715 result
=$wxUSE_TEXTCTRL
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13719 $as_echo "$result" >&6; }
13723 defaultval
=$wxUSE_ALL_FEATURES
13724 if test -z "$defaultval"; then
13725 if test x
"$enablestring" = xdisable
; then
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13733 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13734 # Check whether --enable-datepick was given.
13735 if test "${enable_datepick+set}" = set; then :
13736 enableval
=$enable_datepick;
13737 if test "$enableval" = yes; then
13738 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=yes'
13740 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=no'
13745 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13750 eval "$wx_cv_use_datepick"
13752 if test x"$enablestring" = xdisable; then
13753 if test $wxUSE_TIMEPICKCTRL = no; then
13759 result=$wxUSE_TIMEPICKCTRL
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13763 $as_echo "$result" >&6; }
13767 defaultval=$wxUSE_ALL_FEATURES
13768 if test -z "$defaultval"; then
13769 if test x"$enablestring" = xdisable; then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13777 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13778 # Check whether --enable-tipwindow was given.
13779 if test "${enable_tipwindow+set}" = set; then :
13780 enableval=$enable_tipwindow;
13781 if test "$enableval" = yes; then
13782 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
13784 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
13789 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13794 eval "$wx_cv_use_tipwindow"
13796 if test x"$enablestring" = xdisable; then
13797 if test $wxUSE_TIPWINDOW = no; then
13803 result=$wxUSE_TIPWINDOW
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13807 $as_echo "$result" >&6; }
13811 defaultval=$wxUSE_ALL_FEATURES
13812 if test -z "$defaultval"; then
13813 if test x"$enablestring" = xdisable; then
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-togglebtn" >&5
13821 $as_echo_n "checking
for --${enablestring:-enable}-togglebtn...
" >&6; }
13822 # Check whether --enable-togglebtn was given.
13823 if test "${enable_togglebtn+set}" = set; then :
13824 enableval=$enable_togglebtn;
13825 if test "$enableval" = yes; then
13826 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13828 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13833 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13838 eval "$wx_cv_use_togglebtn"
13840 if test x
"$enablestring" = xdisable
; then
13841 if test $wxUSE_TOGGLEBTN = no
; then
13847 result
=$wxUSE_TOGGLEBTN
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13851 $as_echo "$result" >&6; }
13855 defaultval
=$wxUSE_ALL_FEATURES
13856 if test -z "$defaultval"; then
13857 if test x
"$enablestring" = xdisable
; then
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13865 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13866 # Check whether --enable-toolbar was given.
13867 if test "${enable_toolbar+set}" = set; then :
13868 enableval
=$enable_toolbar;
13869 if test "$enableval" = yes; then
13870 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13872 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13877 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13882 eval "$wx_cv_use_toolbar"
13884 if test x"$enablestring" = xdisable; then
13885 if test $wxUSE_TOOLBAR = no; then
13891 result=$wxUSE_TOOLBAR
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13895 $as_echo "$result" >&6; }
13899 defaultval=$wxUSE_ALL_FEATURES
13900 if test -z "$defaultval"; then
13901 if test x"$enablestring" = xdisable; then
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13909 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13910 # Check whether --enable-toolbook was given.
13911 if test "${enable_toolbook+set}" = set; then :
13912 enableval=$enable_toolbook;
13913 if test "$enableval" = yes; then
13914 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
13916 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
13921 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13926 eval "$wx_cv_use_toolbook"
13928 if test x"$enablestring" = xdisable; then
13929 if test $wxUSE_TOOLBOOK = no; then
13935 result=$wxUSE_TOOLBOOK
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13939 $as_echo "$result" >&6; }
13943 defaultval=$wxUSE_ALL_FEATURES
13944 if test -z "$defaultval"; then
13945 if test x"$enablestring" = xdisable; then
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treebook" >&5
13953 $as_echo_n "checking
for --${enablestring:-enable}-treebook...
" >&6; }
13954 # Check whether --enable-treebook was given.
13955 if test "${enable_treebook+set}" = set; then :
13956 enableval=$enable_treebook;
13957 if test "$enableval" = yes; then
13958 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13960 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13965 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13970 eval "$wx_cv_use_treebook"
13972 if test x
"$enablestring" = xdisable
; then
13973 if test $wxUSE_TREEBOOK = no
; then
13979 result
=$wxUSE_TREEBOOK
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13983 $as_echo "$result" >&6; }
13987 defaultval
=$wxUSE_ALL_FEATURES
13988 if test -z "$defaultval"; then
13989 if test x
"$enablestring" = xdisable
; then
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
13997 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
13998 # Check whether --enable-treectrl was given.
13999 if test "${enable_treectrl+set}" = set; then :
14000 enableval
=$enable_treectrl;
14001 if test "$enableval" = yes; then
14002 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
14004 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
14009 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14014 eval "$wx_cv_use_treectrl"
14016 if test x"$enablestring" = xdisable; then
14017 if test $wxUSE_TREECTRL = no; then
14023 result=$wxUSE_TREECTRL
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14027 $as_echo "$result" >&6; }
14031 defaultval=$wxUSE_ALL_FEATURES
14032 if test -z "$defaultval"; then
14033 if test x"$enablestring" = xdisable; then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14041 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14042 # Check whether --enable-treelist was given.
14043 if test "${enable_treelist+set}" = set; then :
14044 enableval=$enable_treelist;
14045 if test "$enableval" = yes; then
14046 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=yes'
14048 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=no
'
14053 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14058 eval "$wx_cv_use_treelist"
14060 if test x"$enablestring" = xdisable; then
14061 if test $wxUSE_TREELISTCTRL = no; then
14067 result=$wxUSE_TREELISTCTRL
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14071 $as_echo "$result" >&6; }
14077 defaultval=$wxUSE_ALL_FEATURES
14078 if test -z "$defaultval"; then
14079 if test x"$enablestring" = xdisable; then
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-commondlg" >&5
14087 $as_echo_n "checking
for --${enablestring:-enable}-commondlg...
" >&6; }
14088 # Check whether --enable-commondlg was given.
14089 if test "${enable_commondlg+set}" = set; then :
14090 enableval=$enable_commondlg;
14091 if test "$enableval" = yes; then
14092 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14094 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14099 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14104 eval "$wx_cv_use_commondlg"
14106 if test x
"$enablestring" = xdisable
; then
14107 if test $wxUSE_COMMONDLGS = no
; then
14113 result
=$wxUSE_COMMONDLGS
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14117 $as_echo "$result" >&6; }
14121 defaultval
=$wxUSE_ALL_FEATURES
14122 if test -z "$defaultval"; then
14123 if test x
"$enablestring" = xdisable
; then
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14131 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14132 # Check whether --enable-aboutdlg was given.
14133 if test "${enable_aboutdlg+set}" = set; then :
14134 enableval
=$enable_aboutdlg;
14135 if test "$enableval" = yes; then
14136 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
14138 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
14143 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14148 eval "$wx_cv_use_aboutdlg"
14150 if test x"$enablestring" = xdisable; then
14151 if test $wxUSE_ABOUTDLG = no; then
14157 result=$wxUSE_ABOUTDLG
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14161 $as_echo "$result" >&6; }
14165 defaultval=$wxUSE_ALL_FEATURES
14166 if test -z "$defaultval"; then
14167 if test x"$enablestring" = xdisable; then
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14175 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14176 # Check whether --enable-choicedlg was given.
14177 if test "${enable_choicedlg+set}" = set; then :
14178 enableval=$enable_choicedlg;
14179 if test "$enableval" = yes; then
14180 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
14182 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
14187 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14192 eval "$wx_cv_use_choicedlg"
14194 if test x"$enablestring" = xdisable; then
14195 if test $wxUSE_CHOICEDLG = no; then
14201 result=$wxUSE_CHOICEDLG
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14205 $as_echo "$result" >&6; }
14209 defaultval=$wxUSE_ALL_FEATURES
14210 if test -z "$defaultval"; then
14211 if test x"$enablestring" = xdisable; then
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-coldlg" >&5
14219 $as_echo_n "checking
for --${enablestring:-enable}-coldlg...
" >&6; }
14220 # Check whether --enable-coldlg was given.
14221 if test "${enable_coldlg+set}" = set; then :
14222 enableval=$enable_coldlg;
14223 if test "$enableval" = yes; then
14224 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14226 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14231 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14236 eval "$wx_cv_use_coldlg"
14238 if test x
"$enablestring" = xdisable
; then
14239 if test $wxUSE_COLOURDLG = no
; then
14245 result
=$wxUSE_COLOURDLG
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14249 $as_echo "$result" >&6; }
14253 defaultval
=$wxUSE_ALL_FEATURES
14254 if test -z "$defaultval"; then
14255 if test x
"$enablestring" = xdisable
; then
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14263 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14264 # Check whether --enable-filedlg was given.
14265 if test "${enable_filedlg+set}" = set; then :
14266 enableval
=$enable_filedlg;
14267 if test "$enableval" = yes; then
14268 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
14270 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
14275 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14280 eval "$wx_cv_use_filedlg"
14282 if test x"$enablestring" = xdisable; then
14283 if test $wxUSE_FILEDLG = no; then
14289 result=$wxUSE_FILEDLG
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14293 $as_echo "$result" >&6; }
14297 defaultval=$wxUSE_ALL_FEATURES
14298 if test -z "$defaultval"; then
14299 if test x"$enablestring" = xdisable; then
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14307 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14308 # Check whether --enable-finddlg was given.
14309 if test "${enable_finddlg+set}" = set; then :
14310 enableval=$enable_finddlg;
14311 if test "$enableval" = yes; then
14312 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
14314 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
14319 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14324 eval "$wx_cv_use_finddlg"
14326 if test x"$enablestring" = xdisable; then
14327 if test $wxUSE_FINDREPLDLG = no; then
14333 result=$wxUSE_FINDREPLDLG
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14337 $as_echo "$result" >&6; }
14341 defaultval=$wxUSE_ALL_FEATURES
14342 if test -z "$defaultval"; then
14343 if test x"$enablestring" = xdisable; then
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontdlg" >&5
14351 $as_echo_n "checking
for --${enablestring:-enable}-fontdlg...
" >&6; }
14352 # Check whether --enable-fontdlg was given.
14353 if test "${enable_fontdlg+set}" = set; then :
14354 enableval=$enable_fontdlg;
14355 if test "$enableval" = yes; then
14356 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14358 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14363 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14368 eval "$wx_cv_use_fontdlg"
14370 if test x
"$enablestring" = xdisable
; then
14371 if test $wxUSE_FONTDLG = no
; then
14377 result
=$wxUSE_FONTDLG
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14381 $as_echo "$result" >&6; }
14385 defaultval
=$wxUSE_ALL_FEATURES
14386 if test -z "$defaultval"; then
14387 if test x
"$enablestring" = xdisable
; then
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14395 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14396 # Check whether --enable-dirdlg was given.
14397 if test "${enable_dirdlg+set}" = set; then :
14398 enableval
=$enable_dirdlg;
14399 if test "$enableval" = yes; then
14400 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
14402 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
14407 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14412 eval "$wx_cv_use_dirdlg"
14414 if test x"$enablestring" = xdisable; then
14415 if test $wxUSE_DIRDLG = no; then
14421 result=$wxUSE_DIRDLG
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14425 $as_echo "$result" >&6; }
14429 defaultval=$wxUSE_ALL_FEATURES
14430 if test -z "$defaultval"; then
14431 if test x"$enablestring" = xdisable; then
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14439 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14440 # Check whether --enable-msgdlg was given.
14441 if test "${enable_msgdlg+set}" = set; then :
14442 enableval=$enable_msgdlg;
14443 if test "$enableval" = yes; then
14444 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
14446 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
14451 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14456 eval "$wx_cv_use_msgdlg"
14458 if test x"$enablestring" = xdisable; then
14459 if test $wxUSE_MSGDLG = no; then
14465 result=$wxUSE_MSGDLG
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14469 $as_echo "$result" >&6; }
14473 defaultval=$wxUSE_ALL_FEATURES
14474 if test -z "$defaultval"; then
14475 if test x"$enablestring" = xdisable; then
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-numberdlg" >&5
14483 $as_echo_n "checking
for --${enablestring:-enable}-numberdlg...
" >&6; }
14484 # Check whether --enable-numberdlg was given.
14485 if test "${enable_numberdlg+set}" = set; then :
14486 enableval=$enable_numberdlg;
14487 if test "$enableval" = yes; then
14488 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14490 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14495 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14500 eval "$wx_cv_use_numberdlg"
14502 if test x
"$enablestring" = xdisable
; then
14503 if test $wxUSE_NUMBERDLG = no
; then
14509 result
=$wxUSE_NUMBERDLG
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14513 $as_echo "$result" >&6; }
14517 defaultval
=$wxUSE_ALL_FEATURES
14518 if test -z "$defaultval"; then
14519 if test x
"$enablestring" = xdisable
; then
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14527 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14528 # Check whether --enable-splash was given.
14529 if test "${enable_splash+set}" = set; then :
14530 enableval
=$enable_splash;
14531 if test "$enableval" = yes; then
14532 wx_cv_use_splash
='wxUSE_SPLASH=yes'
14534 wx_cv_use_splash
='wxUSE_SPLASH=no'
14539 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14544 eval "$wx_cv_use_splash"
14546 if test x"$enablestring" = xdisable; then
14547 if test $wxUSE_SPLASH = no; then
14553 result=$wxUSE_SPLASH
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14557 $as_echo "$result" >&6; }
14561 defaultval=$wxUSE_ALL_FEATURES
14562 if test -z "$defaultval"; then
14563 if test x"$enablestring" = xdisable; then
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14571 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14572 # Check whether --enable-textdlg was given.
14573 if test "${enable_textdlg+set}" = set; then :
14574 enableval=$enable_textdlg;
14575 if test "$enableval" = yes; then
14576 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
14578 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
14583 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14588 eval "$wx_cv_use_textdlg"
14590 if test x"$enablestring" = xdisable; then
14591 if test $wxUSE_TEXTDLG = no; then
14597 result=$wxUSE_TEXTDLG
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14601 $as_echo "$result" >&6; }
14605 defaultval=$wxUSE_ALL_FEATURES
14606 if test -z "$defaultval"; then
14607 if test x"$enablestring" = xdisable; then
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tipdlg" >&5
14615 $as_echo_n "checking
for --${enablestring:-enable}-tipdlg...
" >&6; }
14616 # Check whether --enable-tipdlg was given.
14617 if test "${enable_tipdlg+set}" = set; then :
14618 enableval=$enable_tipdlg;
14619 if test "$enableval" = yes; then
14620 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14622 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14627 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14632 eval "$wx_cv_use_tipdlg"
14634 if test x
"$enablestring" = xdisable
; then
14635 if test $wxUSE_STARTUP_TIPS = no
; then
14641 result
=$wxUSE_STARTUP_TIPS
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14645 $as_echo "$result" >&6; }
14649 defaultval
=$wxUSE_ALL_FEATURES
14650 if test -z "$defaultval"; then
14651 if test x
"$enablestring" = xdisable
; then
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14659 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14660 # Check whether --enable-progressdlg was given.
14661 if test "${enable_progressdlg+set}" = set; then :
14662 enableval
=$enable_progressdlg;
14663 if test "$enableval" = yes; then
14664 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
14666 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
14671 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14676 eval "$wx_cv_use_progressdlg"
14678 if test x"$enablestring" = xdisable; then
14679 if test $wxUSE_PROGRESSDLG = no; then
14685 result=$wxUSE_PROGRESSDLG
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14689 $as_echo "$result" >&6; }
14693 defaultval=$wxUSE_ALL_FEATURES
14694 if test -z "$defaultval"; then
14695 if test x"$enablestring" = xdisable; then
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14703 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14704 # Check whether --enable-wizarddlg was given.
14705 if test "${enable_wizarddlg+set}" = set; then :
14706 enableval=$enable_wizarddlg;
14707 if test "$enableval" = yes; then
14708 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
14710 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
14715 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14720 eval "$wx_cv_use_wizarddlg"
14722 if test x"$enablestring" = xdisable; then
14723 if test $wxUSE_WIZARDDLG = no; then
14729 result=$wxUSE_WIZARDDLG
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14733 $as_echo "$result" >&6; }
14739 defaultval=$wxUSE_ALL_FEATURES
14740 if test -z "$defaultval"; then
14741 if test x"$enablestring" = xdisable; then
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-menus" >&5
14749 $as_echo_n "checking
for --${enablestring:-enable}-menus...
" >&6; }
14750 # Check whether --enable-menus was given.
14751 if test "${enable_menus+set}" = set; then :
14752 enableval=$enable_menus;
14753 if test "$enableval" = yes; then
14754 wx_cv_use_menus='wxUSE_MENUS=yes'
14756 wx_cv_use_menus='wxUSE_MENUS=no'
14761 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14766 eval "$wx_cv_use_menus"
14768 if test x
"$enablestring" = xdisable
; then
14769 if test $wxUSE_MENUS = no
; then
14775 result
=$wxUSE_MENUS
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14779 $as_echo "$result" >&6; }
14783 defaultval
=$wxUSE_ALL_FEATURES
14784 if test -z "$defaultval"; then
14785 if test x
"$enablestring" = xdisable
; then
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14793 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14794 # Check whether --enable-miniframe was given.
14795 if test "${enable_miniframe+set}" = set; then :
14796 enableval
=$enable_miniframe;
14797 if test "$enableval" = yes; then
14798 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
14800 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
14805 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14810 eval "$wx_cv_use_miniframe"
14812 if test x"$enablestring" = xdisable; then
14813 if test $wxUSE_MINIFRAME = no; then
14819 result=$wxUSE_MINIFRAME
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14823 $as_echo "$result" >&6; }
14827 defaultval=$wxUSE_ALL_FEATURES
14828 if test -z "$defaultval"; then
14829 if test x"$enablestring" = xdisable; then
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14837 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14838 # Check whether --enable-tooltips was given.
14839 if test "${enable_tooltips+set}" = set; then :
14840 enableval=$enable_tooltips;
14841 if test "$enableval" = yes; then
14842 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
14844 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
14849 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14854 eval "$wx_cv_use_tooltips"
14856 if test x"$enablestring" = xdisable; then
14857 if test $wxUSE_TOOLTIPS = no; then
14863 result=$wxUSE_TOOLTIPS
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14867 $as_echo "$result" >&6; }
14871 defaultval=$wxUSE_ALL_FEATURES
14872 if test -z "$defaultval"; then
14873 if test x"$enablestring" = xdisable; then
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splines" >&5
14881 $as_echo_n "checking
for --${enablestring:-enable}-splines...
" >&6; }
14882 # Check whether --enable-splines was given.
14883 if test "${enable_splines+set}" = set; then :
14884 enableval=$enable_splines;
14885 if test "$enableval" = yes; then
14886 wx_cv_use_splines='wxUSE_SPLINES=yes'
14888 wx_cv_use_splines='wxUSE_SPLINES=no'
14893 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14898 eval "$wx_cv_use_splines"
14900 if test x
"$enablestring" = xdisable
; then
14901 if test $wxUSE_SPLINES = no
; then
14907 result
=$wxUSE_SPLINES
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14911 $as_echo "$result" >&6; }
14915 defaultval
=$wxUSE_ALL_FEATURES
14916 if test -z "$defaultval"; then
14917 if test x
"$enablestring" = xdisable
; then
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14925 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14926 # Check whether --enable-mousewheel was given.
14927 if test "${enable_mousewheel+set}" = set; then :
14928 enableval
=$enable_mousewheel;
14929 if test "$enableval" = yes; then
14930 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
14932 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
14937 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14942 eval "$wx_cv_use_mousewheel"
14944 if test x"$enablestring" = xdisable; then
14945 if test $wxUSE_MOUSEWHEEL = no; then
14951 result=$wxUSE_MOUSEWHEEL
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14955 $as_echo "$result" >&6; }
14959 defaultval=$wxUSE_ALL_FEATURES
14960 if test -z "$defaultval"; then
14961 if test x"$enablestring" = xdisable; then
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14969 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14970 # Check whether --enable-validators was given.
14971 if test "${enable_validators+set}" = set; then :
14972 enableval=$enable_validators;
14973 if test "$enableval" = yes; then
14974 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
14976 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
14981 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14986 eval "$wx_cv_use_validators"
14988 if test x"$enablestring" = xdisable; then
14989 if test $wxUSE_VALIDATORS = no; then
14995 result=$wxUSE_VALIDATORS
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14999 $as_echo "$result" >&6; }
15003 defaultval=$wxUSE_ALL_FEATURES
15004 if test -z "$defaultval"; then
15005 if test x"$enablestring" = xdisable; then
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-busyinfo" >&5
15013 $as_echo_n "checking
for --${enablestring:-enable}-busyinfo...
" >&6; }
15014 # Check whether --enable-busyinfo was given.
15015 if test "${enable_busyinfo+set}" = set; then :
15016 enableval=$enable_busyinfo;
15017 if test "$enableval" = yes; then
15018 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15020 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15025 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15030 eval "$wx_cv_use_busyinfo"
15032 if test x
"$enablestring" = xdisable
; then
15033 if test $wxUSE_BUSYINFO = no
; then
15039 result
=$wxUSE_BUSYINFO
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15043 $as_echo "$result" >&6; }
15047 defaultval
=$wxUSE_ALL_FEATURES
15048 if test -z "$defaultval"; then
15049 if test x
"$enablestring" = xdisable
; then
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15057 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15058 # Check whether --enable-hotkey was given.
15059 if test "${enable_hotkey+set}" = set; then :
15060 enableval
=$enable_hotkey;
15061 if test "$enableval" = yes; then
15062 wx_cv_use_hotkey
='wxUSE_HOTKEY=yes'
15064 wx_cv_use_hotkey
='wxUSE_HOTKEY=no'
15069 wx_cv_use_hotkey
='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15074 eval "$wx_cv_use_hotkey"
15076 if test x"$enablestring" = xdisable; then
15077 if test $wxUSE_HOTKEY = no; then
15083 result=$wxUSE_HOTKEY
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15087 $as_echo "$result" >&6; }
15091 defaultval=$wxUSE_ALL_FEATURES
15092 if test -z "$defaultval"; then
15093 if test x"$enablestring" = xdisable; then
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15101 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15102 # Check whether --enable-joystick was given.
15103 if test "${enable_joystick+set}" = set; then :
15104 enableval=$enable_joystick;
15105 if test "$enableval" = yes; then
15106 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
15108 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
15113 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15118 eval "$wx_cv_use_joystick"
15120 if test x"$enablestring" = xdisable; then
15121 if test $wxUSE_JOYSTICK = no; then
15127 result=$wxUSE_JOYSTICK
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15131 $as_echo "$result" >&6; }
15135 defaultval=$wxUSE_ALL_FEATURES
15136 if test -z "$defaultval"; then
15137 if test x"$enablestring" = xdisable; then
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-metafile" >&5
15145 $as_echo_n "checking
for --${enablestring:-enable}-metafile...
" >&6; }
15146 # Check whether --enable-metafile was given.
15147 if test "${enable_metafile+set}" = set; then :
15148 enableval=$enable_metafile;
15149 if test "$enableval" = yes; then
15150 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15152 wx_cv_use_metafile='wxUSE_METAFILE=no'
15157 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15162 eval "$wx_cv_use_metafile"
15164 if test x
"$enablestring" = xdisable
; then
15165 if test $wxUSE_METAFILE = no
; then
15171 result
=$wxUSE_METAFILE
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15175 $as_echo "$result" >&6; }
15179 defaultval
=$wxUSE_ALL_FEATURES
15180 if test -z "$defaultval"; then
15181 if test x
"$enablestring" = xdisable
; then
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15189 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15190 # Check whether --enable-dragimage was given.
15191 if test "${enable_dragimage+set}" = set; then :
15192 enableval
=$enable_dragimage;
15193 if test "$enableval" = yes; then
15194 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
15196 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
15201 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15206 eval "$wx_cv_use_dragimage"
15208 if test x"$enablestring" = xdisable; then
15209 if test $wxUSE_DRAGIMAGE = no; then
15215 result=$wxUSE_DRAGIMAGE
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15219 $as_echo "$result" >&6; }
15223 defaultval=$wxUSE_ALL_FEATURES
15224 if test -z "$defaultval"; then
15225 if test x"$enablestring" = xdisable; then
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15233 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15234 # Check whether --enable-accessibility was given.
15235 if test "${enable_accessibility+set}" = set; then :
15236 enableval=$enable_accessibility;
15237 if test "$enableval" = yes; then
15238 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
15240 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
15245 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15250 eval "$wx_cv_use_accessibility"
15252 if test x"$enablestring" = xdisable; then
15253 if test $wxUSE_ACCESSIBILITY = no; then
15259 result=$wxUSE_ACCESSIBILITY
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15263 $as_echo "$result" >&6; }
15267 defaultval=$wxUSE_ALL_FEATURES
15268 if test -z "$defaultval"; then
15269 if test x"$enablestring" = xdisable; then
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-uiactionsim" >&5
15277 $as_echo_n "checking
for --${enablestring:-enable}-uiactionsim...
" >&6; }
15278 # Check whether --enable-uiactionsim was given.
15279 if test "${enable_uiactionsim+set}" = set; then :
15280 enableval=$enable_uiactionsim;
15281 if test "$enableval" = yes; then
15282 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15284 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15289 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15294 eval "$wx_cv_use_uiactionsim"
15296 if test x
"$enablestring" = xdisable
; then
15297 if test $wxUSE_UIACTIONSIMULATOR = no
; then
15303 result
=$wxUSE_UIACTIONSIMULATOR
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15307 $as_echo "$result" >&6; }
15311 defaultval
=$wxUSE_ALL_FEATURES
15312 if test -z "$defaultval"; then
15313 if test x
"$enablestring" = xdisable
; then
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15321 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15322 # Check whether --enable-dctransform was given.
15323 if test "${enable_dctransform+set}" = set; then :
15324 enableval
=$enable_dctransform;
15325 if test "$enableval" = yes; then
15326 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
15328 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
15333 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15338 eval "$wx_cv_use_dctransform"
15340 if test x"$enablestring" = xdisable; then
15341 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15347 result=$wxUSE_DC_TRANSFORM_MATRIX
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15351 $as_echo "$result" >&6; }
15355 defaultval=$wxUSE_ALL_FEATURES
15356 if test -z "$defaultval"; then
15357 if test x"$enablestring" = xdisable; then
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15365 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15366 # Check whether --enable-webviewwebkit was given.
15367 if test "${enable_webviewwebkit+set}" = set; then :
15368 enableval=$enable_webviewwebkit;
15369 if test "$enableval" = yes; then
15370 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=yes'
15372 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=no
'
15377 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15382 eval "$wx_cv_use_webviewwebkit"
15384 if test x"$enablestring" = xdisable; then
15385 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15391 result=$wxUSE_WEBVIEW_WEBKIT
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15395 $as_echo "$result" >&6; }
15401 defaultval=$wxUSE_ALL_FEATURES
15402 if test -z "$defaultval"; then
15403 if test x"$enablestring" = xdisable; then
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-palette" >&5
15411 $as_echo_n "checking
for --${enablestring:-enable}-palette...
" >&6; }
15412 # Check whether --enable-palette was given.
15413 if test "${enable_palette+set}" = set; then :
15414 enableval=$enable_palette;
15415 if test "$enableval" = yes; then
15416 wx_cv_use_palette='wxUSE_PALETTE=yes'
15418 wx_cv_use_palette='wxUSE_PALETTE=no'
15423 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15428 eval "$wx_cv_use_palette"
15430 if test x
"$enablestring" = xdisable
; then
15431 if test $wxUSE_PALETTE = no
; then
15437 result
=$wxUSE_PALETTE
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15441 $as_echo "$result" >&6; }
15445 defaultval
=$wxUSE_ALL_FEATURES
15446 if test -z "$defaultval"; then
15447 if test x
"$enablestring" = xdisable
; then
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15455 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15456 # Check whether --enable-image was given.
15457 if test "${enable_image+set}" = set; then :
15458 enableval
=$enable_image;
15459 if test "$enableval" = yes; then
15460 wx_cv_use_image
='wxUSE_IMAGE=yes'
15462 wx_cv_use_image
='wxUSE_IMAGE=no'
15467 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15472 eval "$wx_cv_use_image"
15474 if test x"$enablestring" = xdisable; then
15475 if test $wxUSE_IMAGE = no; then
15481 result=$wxUSE_IMAGE
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15485 $as_echo "$result" >&6; }
15489 defaultval=$wxUSE_ALL_FEATURES
15490 if test -z "$defaultval"; then
15491 if test x"$enablestring" = xdisable; then
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15499 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15500 # Check whether --enable-gif was given.
15501 if test "${enable_gif+set}" = set; then :
15502 enableval=$enable_gif;
15503 if test "$enableval" = yes; then
15504 wx_cv_use_gif='wxUSE_GIF
=yes'
15506 wx_cv_use_gif='wxUSE_GIF
=no
'
15511 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15516 eval "$wx_cv_use_gif"
15518 if test x"$enablestring" = xdisable; then
15519 if test $wxUSE_GIF = no; then
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15529 $as_echo "$result" >&6; }
15533 defaultval=$wxUSE_ALL_FEATURES
15534 if test -z "$defaultval"; then
15535 if test x"$enablestring" = xdisable; then
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-pcx" >&5
15543 $as_echo_n "checking
for --${enablestring:-enable}-pcx...
" >&6; }
15544 # Check whether --enable-pcx was given.
15545 if test "${enable_pcx+set}" = set; then :
15546 enableval=$enable_pcx;
15547 if test "$enableval" = yes; then
15548 wx_cv_use_pcx='wxUSE_PCX=yes'
15550 wx_cv_use_pcx='wxUSE_PCX=no'
15555 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15560 eval "$wx_cv_use_pcx"
15562 if test x
"$enablestring" = xdisable
; then
15563 if test $wxUSE_PCX = no
; then
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15573 $as_echo "$result" >&6; }
15577 defaultval
=$wxUSE_ALL_FEATURES
15578 if test -z "$defaultval"; then
15579 if test x
"$enablestring" = xdisable
; then
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15587 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15588 # Check whether --enable-tga was given.
15589 if test "${enable_tga+set}" = set; then :
15590 enableval
=$enable_tga;
15591 if test "$enableval" = yes; then
15592 wx_cv_use_tga
='wxUSE_TGA=yes'
15594 wx_cv_use_tga
='wxUSE_TGA=no'
15599 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15604 eval "$wx_cv_use_tga"
15606 if test x"$enablestring" = xdisable; then
15607 if test $wxUSE_TGA = no; then
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15617 $as_echo "$result" >&6; }
15621 defaultval=$wxUSE_ALL_FEATURES
15622 if test -z "$defaultval"; then
15623 if test x"$enablestring" = xdisable; then
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15631 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15632 # Check whether --enable-iff was given.
15633 if test "${enable_iff+set}" = set; then :
15634 enableval=$enable_iff;
15635 if test "$enableval" = yes; then
15636 wx_cv_use_iff='wxUSE_IFF
=yes'
15638 wx_cv_use_iff='wxUSE_IFF
=no
'
15643 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15648 eval "$wx_cv_use_iff"
15650 if test x"$enablestring" = xdisable; then
15651 if test $wxUSE_IFF = no; then
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15661 $as_echo "$result" >&6; }
15665 defaultval=$wxUSE_ALL_FEATURES
15666 if test -z "$defaultval"; then
15667 if test x"$enablestring" = xdisable; then
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-pnm" >&5
15675 $as_echo_n "checking
for --${enablestring:-enable}-pnm...
" >&6; }
15676 # Check whether --enable-pnm was given.
15677 if test "${enable_pnm+set}" = set; then :
15678 enableval=$enable_pnm;
15679 if test "$enableval" = yes; then
15680 wx_cv_use_pnm='wxUSE_PNM=yes'
15682 wx_cv_use_pnm='wxUSE_PNM=no'
15687 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15692 eval "$wx_cv_use_pnm"
15694 if test x
"$enablestring" = xdisable
; then
15695 if test $wxUSE_PNM = no
; then
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15705 $as_echo "$result" >&6; }
15709 defaultval
=$wxUSE_ALL_FEATURES
15710 if test -z "$defaultval"; then
15711 if test x
"$enablestring" = xdisable
; then
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15719 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15720 # Check whether --enable-xpm was given.
15721 if test "${enable_xpm+set}" = set; then :
15722 enableval
=$enable_xpm;
15723 if test "$enableval" = yes; then
15724 wx_cv_use_xpm
='wxUSE_XPM=yes'
15726 wx_cv_use_xpm
='wxUSE_XPM=no'
15731 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15736 eval "$wx_cv_use_xpm"
15738 if test x"$enablestring" = xdisable; then
15739 if test $wxUSE_XPM = no; then
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15749 $as_echo "$result" >&6; }
15753 defaultval=$wxUSE_ALL_FEATURES
15754 if test -z "$defaultval"; then
15755 if test x"$enablestring" = xdisable; then
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15763 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15764 # Check whether --enable-ico_cur was given.
15765 if test "${enable_ico_cur+set}" = set; then :
15766 enableval=$enable_ico_cur;
15767 if test "$enableval" = yes; then
15768 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
15770 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
15775 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15780 eval "$wx_cv_use_ico_cur"
15782 if test x"$enablestring" = xdisable; then
15783 if test $wxUSE_ICO_CUR = no; then
15789 result=$wxUSE_ICO_CUR
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15793 $as_echo "$result" >&6; }
15799 defaultval=$wxUSE_ALL_FEATURES
15800 if test -z "$defaultval"; then
15801 if test x"$enablestring" = xdisable; then
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dccache" >&5
15809 $as_echo_n "checking
for --${enablestring:-enable}-dccache...
" >&6; }
15810 # Check whether --enable-dccache was given.
15811 if test "${enable_dccache+set}" = set; then :
15812 enableval=$enable_dccache;
15813 if test "$enableval" = yes; then
15814 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15816 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15821 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15826 eval "$wx_cv_use_dccache"
15828 if test x
"$enablestring" = xdisable
; then
15829 if test $wxUSE_DC_CACHEING = no
; then
15835 result
=$wxUSE_DC_CACHEING
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15839 $as_echo "$result" >&6; }
15843 defaultval
=$wxUSE_ALL_FEATURES
15844 if test -z "$defaultval"; then
15845 if test x
"$enablestring" = xdisable
; then
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15853 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15854 # Check whether --enable-ps-in-msw was given.
15855 if test "${enable_ps_in_msw+set}" = set; then :
15856 enableval
=$enable_ps_in_msw;
15857 if test "$enableval" = yes; then
15858 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15860 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15865 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15870 eval "$wx_cv_use_ps_in_msw"
15872 if test x"$enablestring" = xdisable; then
15873 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15879 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15883 $as_echo "$result" >&6; }
15887 defaultval=$wxUSE_ALL_FEATURES
15888 if test -z "$defaultval"; then
15889 if test x"$enablestring" = xdisable; then
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15897 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15898 # Check whether --enable-ownerdrawn was given.
15899 if test "${enable_ownerdrawn+set}" = set; then :
15900 enableval=$enable_ownerdrawn;
15901 if test "$enableval" = yes; then
15902 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
15904 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
15909 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15914 eval "$wx_cv_use_ownerdrawn"
15916 if test x"$enablestring" = xdisable; then
15917 if test $wxUSE_OWNER_DRAWN = no; then
15923 result=$wxUSE_OWNER_DRAWN
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15927 $as_echo "$result" >&6; }
15931 defaultval=$wxUSE_ALL_FEATURES
15932 if test -z "$defaultval"; then
15933 if test x"$enablestring" = xdisable; then
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-uxtheme" >&5
15941 $as_echo_n "checking
for --${enablestring:-enable}-uxtheme...
" >&6; }
15942 # Check whether --enable-uxtheme was given.
15943 if test "${enable_uxtheme+set}" = set; then :
15944 enableval=$enable_uxtheme;
15945 if test "$enableval" = yes; then
15946 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15948 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15953 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15958 eval "$wx_cv_use_uxtheme"
15960 if test x
"$enablestring" = xdisable
; then
15961 if test $wxUSE_UXTHEME = no
; then
15967 result
=$wxUSE_UXTHEME
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15971 $as_echo "$result" >&6; }
15975 defaultval
=$wxUSE_ALL_FEATURES
15976 if test -z "$defaultval"; then
15977 if test x
"$enablestring" = xdisable
; then
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
15985 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
15986 # Check whether --enable-wxdib was given.
15987 if test "${enable_wxdib+set}" = set; then :
15988 enableval
=$enable_wxdib;
15989 if test "$enableval" = yes; then
15990 wx_cv_use_wxdib
='wxUSE_DIB=yes'
15992 wx_cv_use_wxdib
='wxUSE_DIB=no'
15997 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16002 eval "$wx_cv_use_wxdib"
16004 if test x"$enablestring" = xdisable; then
16005 if test $wxUSE_DIB = no; then
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16015 $as_echo "$result" >&6; }
16019 defaultval=$wxUSE_ALL_FEATURES
16020 if test -z "$defaultval"; then
16021 if test x"$enablestring" = xdisable; then
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16029 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16030 # Check whether --enable-webviewie was given.
16031 if test "${enable_webviewie+set}" = set; then :
16032 enableval=$enable_webviewie;
16033 if test "$enableval" = yes; then
16034 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=yes'
16036 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=no
'
16041 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16046 eval "$wx_cv_use_webviewie"
16048 if test x"$enablestring" = xdisable; then
16049 if test $wxUSE_WEBVIEW_IE = no; then
16055 result=$wxUSE_WEBVIEW_IE
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16059 $as_echo "$result" >&6; }
16062 if test "$wxUSE_MSW" != 1; then
16063 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16068 defaultval=$wxUSE_ALL_FEATURES
16069 if test -z "$defaultval"; then
16070 if test x"$enablestring" = xdisable; then
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-autoidman" >&5
16078 $as_echo_n "checking
for --${enablestring:-enable}-autoidman...
" >&6; }
16079 # Check whether --enable-autoidman was given.
16080 if test "${enable_autoidman+set}" = set; then :
16081 enableval=$enable_autoidman;
16082 if test "$enableval" = yes; then
16083 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16085 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16090 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16095 eval "$wx_cv_use_autoidman"
16097 if test x
"$enablestring" = xdisable
; then
16098 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
16104 result
=$wxUSE_AUTOID_MANAGEMENT
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16108 $as_echo "$result" >&6; }
16114 cat >confcache
<<\_ACEOF
16115 # This file is a shell script that caches the results of configure
16116 # tests run on this system so they can be shared between configure
16117 # scripts and configure runs, see configure's option --config-cache.
16118 # It is not useful on other systems. If it contains results you don't
16119 # want to keep, you may remove or edit it.
16121 # config.status only pays attention to the cache file if you give it
16122 # the --recheck option to rerun configure.
16124 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16125 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16126 # following values.
16130 # The following way of writing the cache mishandles newlines in values,
16131 # but we know of no workaround that is simple, portable, and efficient.
16132 # So, we kill variables containing newlines.
16133 # Ultrix sh set writes to stderr and can't be redirected directly,
16134 # and sets the high bit in the cache file unless we assign to the vars.
16136 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16137 eval ac_val
=\$
$ac_var
16141 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16142 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16145 _
| IFS
| as_nl
) ;; #(
16146 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16147 *) { eval $ac_var=; unset $ac_var;} ;;
16153 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16154 *${as_nl}ac_space
=\
*)
16155 # `set' does not quote correctly, so add quotes: double-quote
16156 # substitution turns \\\\ into \\, and sed turns \\ into \.
16159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16162 # `set' quotes correctly as required by POSIX, so do not add quotes.
16163 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16172 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16174 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16176 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16177 if test -w "$cache_file"; then
16178 if test "x$cache_file" != "x/dev/null"; then
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16180 $as_echo "$as_me: updating cache $cache_file" >&6;}
16181 if test ! -f "$cache_file" || test -h "$cache_file"; then
16182 cat confcache
>"$cache_file"
16184 case $cache_file in #(
16186 mv -f confcache
"$cache_file"$$
&&
16187 mv -f "$cache_file"$$
"$cache_file" ;; #(
16189 mv -f confcache
"$cache_file" ;;
16194 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16195 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16202 ac_cpp
='$CPP $CPPFLAGS'
16203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16206 if test -n "$ac_tool_prefix"; then
16207 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16208 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16210 $as_echo_n "checking for $ac_word... " >&6; }
16211 if ${ac_cv_prog_CC+:} false
; then :
16212 $as_echo_n "(cached) " >&6
16214 if test -n "$CC"; then
16215 ac_cv_prog_CC
="$CC" # Let the user override the test.
16217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16218 for as_dir
in $PATH
16221 test -z "$as_dir" && as_dir
=.
16222 for ac_exec_ext
in '' $ac_executable_extensions; do
16223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16224 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16235 if test -n "$CC"; then
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16237 $as_echo "$CC" >&6; }
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16240 $as_echo "no" >&6; }
16245 if test -z "$ac_cv_prog_CC"; then
16247 # Extract the first word of "gcc", so it can be a program name with args.
16248 set dummy gcc
; ac_word
=$2
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16250 $as_echo_n "checking for $ac_word... " >&6; }
16251 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16252 $as_echo_n "(cached) " >&6
16254 if test -n "$ac_ct_CC"; then
16255 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16258 for as_dir
in $PATH
16261 test -z "$as_dir" && as_dir
=.
16262 for ac_exec_ext
in '' $ac_executable_extensions; do
16263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16264 ac_cv_prog_ac_ct_CC
="gcc"
16265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16274 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16275 if test -n "$ac_ct_CC"; then
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16277 $as_echo "$ac_ct_CC" >&6; }
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16280 $as_echo "no" >&6; }
16283 if test "x$ac_ct_CC" = x
; then
16286 case $cross_compiling:$ac_tool_warned in
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16290 ac_tool_warned
=yes ;;
16295 CC
="$ac_cv_prog_CC"
16298 if test -z "$CC"; then
16299 if test -n "$ac_tool_prefix"; then
16300 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16301 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16303 $as_echo_n "checking for $ac_word... " >&6; }
16304 if ${ac_cv_prog_CC+:} false
; then :
16305 $as_echo_n "(cached) " >&6
16307 if test -n "$CC"; then
16308 ac_cv_prog_CC
="$CC" # Let the user override the test.
16310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16311 for as_dir
in $PATH
16314 test -z "$as_dir" && as_dir
=.
16315 for ac_exec_ext
in '' $ac_executable_extensions; do
16316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16317 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16328 if test -n "$CC"; then
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16330 $as_echo "$CC" >&6; }
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16333 $as_echo "no" >&6; }
16339 if test -z "$CC"; then
16340 # Extract the first word of "cc", so it can be a program name with args.
16341 set dummy cc
; ac_word
=$2
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16343 $as_echo_n "checking for $ac_word... " >&6; }
16344 if ${ac_cv_prog_CC+:} false
; then :
16345 $as_echo_n "(cached) " >&6
16347 if test -n "$CC"; then
16348 ac_cv_prog_CC
="$CC" # Let the user override the test.
16350 ac_prog_rejected
=no
16351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16352 for as_dir
in $PATH
16355 test -z "$as_dir" && as_dir
=.
16356 for ac_exec_ext
in '' $ac_executable_extensions; do
16357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16358 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16359 ac_prog_rejected
=yes
16363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16370 if test $ac_prog_rejected = yes; then
16371 # We found a bogon in the path, so make sure we never use it.
16372 set dummy
$ac_cv_prog_CC
16374 if test $# != 0; then
16375 # We chose a different compiler from the bogus one.
16376 # However, it has the same basename, so the bogon will be chosen
16377 # first if we set CC to just the basename; use the full file name.
16379 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16385 if test -n "$CC"; then
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16387 $as_echo "$CC" >&6; }
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16390 $as_echo "no" >&6; }
16395 if test -z "$CC"; then
16396 if test -n "$ac_tool_prefix"; then
16397 for ac_prog
in cl.exe
16399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16400 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16402 $as_echo_n "checking for $ac_word... " >&6; }
16403 if ${ac_cv_prog_CC+:} false
; then :
16404 $as_echo_n "(cached) " >&6
16406 if test -n "$CC"; then
16407 ac_cv_prog_CC
="$CC" # Let the user override the test.
16409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16410 for as_dir
in $PATH
16413 test -z "$as_dir" && as_dir
=.
16414 for ac_exec_ext
in '' $ac_executable_extensions; do
16415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16416 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16427 if test -n "$CC"; then
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16429 $as_echo "$CC" >&6; }
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16432 $as_echo "no" >&6; }
16436 test -n "$CC" && break
16439 if test -z "$CC"; then
16441 for ac_prog
in cl.exe
16443 # Extract the first word of "$ac_prog", so it can be a program name with args.
16444 set dummy
$ac_prog; ac_word
=$2
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16446 $as_echo_n "checking for $ac_word... " >&6; }
16447 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16448 $as_echo_n "(cached) " >&6
16450 if test -n "$ac_ct_CC"; then
16451 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16454 for as_dir
in $PATH
16457 test -z "$as_dir" && as_dir
=.
16458 for ac_exec_ext
in '' $ac_executable_extensions; do
16459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16460 ac_cv_prog_ac_ct_CC
="$ac_prog"
16461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16470 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16471 if test -n "$ac_ct_CC"; then
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16473 $as_echo "$ac_ct_CC" >&6; }
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16476 $as_echo "no" >&6; }
16480 test -n "$ac_ct_CC" && break
16483 if test "x$ac_ct_CC" = x
; then
16486 case $cross_compiling:$ac_tool_warned in
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16490 ac_tool_warned
=yes ;;
16499 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16501 as_fn_error $?
"no acceptable C compiler found in \$PATH
16502 See \`config.log' for more details" "$LINENO" 5; }
16504 # Provide some information about the compiler.
16505 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16508 for ac_option
in --version -v -V -qversion; do
16509 { { ac_try
="$ac_compiler $ac_option >&5"
16510 case "(($ac_try" in
16511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16512 *) ac_try_echo=$ac_try;;
16514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16515 $as_echo "$ac_try_echo"; } >&5
16516 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16518 if test -s conftest.err; then
16520 ... rest of stderr output deleted ...
16521 10q' conftest.err >conftest.er1
16522 cat conftest.er1 >&5
16524 rm -f conftest.er1 conftest.err
16525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16526 test $ac_status = 0; }
16529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16530 /* end confdefs.h. */
16540 ac_clean_files_save=$ac_clean_files
16541 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16542 # Try to create an executable without -o first, disregard a.out.
16543 # It will help us diagnose broken compilers, and finding out an intuition
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16546 $as_echo_n "checking whether the C compiler works... " >&6; }
16547 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16549 # The possible output files:
16550 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16553 for ac_file in $ac_files
16556 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16557 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16562 if { { ac_try="$ac_link_default"
16563 case "(($ac_try" in
16564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16565 *) ac_try_echo
=$ac_try;;
16567 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16568 $as_echo "$ac_try_echo"; } >&5
16569 (eval "$ac_link_default") 2>&5
16571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16572 test $ac_status = 0; }; then :
16573 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16574 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16575 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16576 # so that the user can short-circuit this test for compilers unknown to
16578 for ac_file
in $ac_files ''
16580 test -f "$ac_file" || continue
16582 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16585 # We found the default executable, but exeext='' is most
16589 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16591 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16593 # We set ac_cv_exeext here because the later test for it is not
16594 # safe: cross compilers may not add the suffix if given an `-o'
16595 # argument, so we may need to know it at that point already.
16596 # Even if this section looks crufty: it has the advantage of
16597 # actually working.
16603 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16608 if test -z "$ac_file"; then :
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16610 $as_echo "no" >&6; }
16611 $as_echo "$as_me: failed program was:" >&5
16612 sed 's/^/| /' conftest.
$ac_ext >&5
16614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16616 as_fn_error
77 "C compiler cannot create executables
16617 See \`config.log' for more details" "$LINENO" 5; }
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16620 $as_echo "yes" >&6; }
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16623 $as_echo_n "checking for C compiler default output file name... " >&6; }
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16625 $as_echo "$ac_file" >&6; }
16626 ac_exeext
=$ac_cv_exeext
16628 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16629 ac_clean_files
=$ac_clean_files_save
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16631 $as_echo_n "checking for suffix of executables... " >&6; }
16632 if { { ac_try
="$ac_link"
16633 case "(($ac_try" in
16634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16635 *) ac_try_echo=$ac_try;;
16637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16638 $as_echo "$ac_try_echo"; } >&5
16639 (eval "$ac_link") 2>&5
16641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16642 test $ac_status = 0; }; then :
16643 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16644 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16645 # work properly (i.e., refer to `conftest.exe'), while it won't with
16647 for ac_file
in conftest.exe conftest conftest.
*; do
16648 test -f "$ac_file" || continue
16650 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16651 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16659 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16660 See \`config.log' for more details" "$LINENO" 5; }
16662 rm -f conftest conftest
$ac_cv_exeext
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16664 $as_echo "$ac_cv_exeext" >&6; }
16666 rm -f conftest.
$ac_ext
16667 EXEEXT
=$ac_cv_exeext
16669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16670 /* end confdefs.h. */
16675 FILE *f = fopen ("conftest.out", "w");
16676 return ferror (f) || fclose (f) != 0;
16682 ac_clean_files
="$ac_clean_files conftest.out"
16683 # Check that the compiler produces executables we can run. If not, either
16684 # the compiler is broken, or we cross compile.
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16686 $as_echo_n "checking whether we are cross compiling... " >&6; }
16687 if test "$cross_compiling" != yes; then
16688 { { ac_try
="$ac_link"
16689 case "(($ac_try" in
16690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16691 *) ac_try_echo=$ac_try;;
16693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16694 $as_echo "$ac_try_echo"; } >&5
16695 (eval "$ac_link") 2>&5
16697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16698 test $ac_status = 0; }
16699 if { ac_try='./conftest$ac_cv_exeext'
16700 { { case "(($ac_try" in
16701 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16702 *) ac_try_echo
=$ac_try;;
16704 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16705 $as_echo "$ac_try_echo"; } >&5
16706 (eval "$ac_try") 2>&5
16708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16709 test $ac_status = 0; }; }; then
16712 if test "$cross_compiling" = maybe
; then
16713 cross_compiling
=yes
16715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16717 as_fn_error $?
"cannot run C compiled programs.
16718 If you meant to cross compile, use \`--host'.
16719 See \`config.log' for more details" "$LINENO" 5; }
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16724 $as_echo "$cross_compiling" >&6; }
16726 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16727 ac_clean_files
=$ac_clean_files_save
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16729 $as_echo_n "checking for suffix of object files... " >&6; }
16730 if ${ac_cv_objext+:} false
; then :
16731 $as_echo_n "(cached) " >&6
16733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16744 rm -f conftest.o conftest.obj
16745 if { { ac_try
="$ac_compile"
16746 case "(($ac_try" in
16747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16748 *) ac_try_echo=$ac_try;;
16750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16751 $as_echo "$ac_try_echo"; } >&5
16752 (eval "$ac_compile") 2>&5
16754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16755 test $ac_status = 0; }; then :
16756 for ac_file in conftest.o conftest.obj conftest.*; do
16757 test -f "$ac_file" || continue;
16759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16760 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16765 $as_echo "$as_me: failed program was:" >&5
16766 sed 's/^/| /' conftest.$ac_ext >&5
16768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16770 as_fn_error $? "cannot compute suffix of object files
: cannot compile
16771 See \
`config.log' for more details" "$LINENO" 5; }
16773 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16776 $as_echo "$ac_cv_objext" >&6; }
16777 OBJEXT=$ac_cv_objext
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16780 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16781 if ${ac_cv_c_compiler_gnu+:} false; then :
16782 $as_echo_n "(cached) " >&6
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16798 if ac_fn_c_try_compile "$LINENO"; then :
16799 ac_compiler_gnu=yes
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16808 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16809 if test $ac_compiler_gnu = yes; then
16814 ac_test_CFLAGS=${CFLAGS+set}
16815 ac_save_CFLAGS=$CFLAGS
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16817 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16818 if ${ac_cv_prog_cc_g+:} false; then :
16819 $as_echo_n "(cached) " >&6
16821 ac_save_c_werror_flag=$ac_c_werror_flag
16822 ac_c_werror_flag=yes
16825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16836 if ac_fn_c_try_compile "$LINENO"; then :
16837 ac_cv_prog_cc_g=yes
16840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16851 if ac_fn_c_try_compile "$LINENO"; then :
16854 ac_c_werror_flag=$ac_save_c_werror_flag
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16867 if ac_fn_c_try_compile "$LINENO"; then :
16868 ac_cv_prog_cc_g=yes
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875 ac_c_werror_flag=$ac_save_c_werror_flag
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16878 $as_echo "$ac_cv_prog_cc_g" >&6; }
16879 if test "$ac_test_CFLAGS" = set; then
16880 CFLAGS=$ac_save_CFLAGS
16881 elif test $ac_cv_prog_cc_g = yes; then
16882 if test "$GCC" = yes; then
16888 if test "$GCC" = yes; then
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16895 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16896 if ${ac_cv_prog_cc_c89+:} false; then :
16897 $as_echo_n "(cached) " >&6
16899 ac_cv_prog_cc_c89=no
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <stdarg.h>
16905 #include <sys/types.h>
16906 #include <sys/stat.h>
16907 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16908 struct buf { int x; };
16909 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16910 static char *e (p, i)
16916 static char *f (char * (*g) (char **, int), char **p, ...)
16921 s = g (p, va_arg (v,int));
16926 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16927 function prototypes and stuff, but not '\xHH' hex character constants.
16928 These don't provoke an error unfortunately, instead are silently treated
16929 as 'x'. The following induces an error, until -std is added to get
16930 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16931 array size at least. It's necessary to write '\x00'==0 to get something
16932 that's true only with -std. */
16933 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16935 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16936 inside strings and character constants. */
16938 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16940 int test (int i, double x);
16941 struct s1 {int (*f) (int a);};
16942 struct s2 {int (*f) (double a);};
16943 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16949 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16954 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16955 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16957 CC="$ac_save_CC $ac_arg"
16958 if ac_fn_c_try_compile "$LINENO"; then :
16959 ac_cv_prog_cc_c89=$ac_arg
16961 rm -f core conftest.err conftest.$ac_objext
16962 test "x$ac_cv_prog_cc_c89" != "xno" && break
16964 rm -f conftest.$ac_ext
16969 case "x$ac_cv_prog_cc_c89" in
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16972 $as_echo "none needed" >&6; } ;;
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16975 $as_echo "unsupported" >&6; } ;;
16977 CC="$CC $ac_cv_prog_cc_c89"
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16979 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16981 if test "x$ac_cv_prog_cc_c89" != xno; then :
16986 ac_cpp='$CPP $CPPFLAGS'
16987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16999 ac_cpp='$CPP $CPPFLAGS'
17000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17005 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17006 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17007 $as_echo_n "(cached) " >&6
17009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17010 /* end confdefs.h. */
17016 #ifndef __INTEL_COMPILER
17024 if ac_fn_c_try_compile "$LINENO"; then :
17025 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17027 bakefile_cv_c_compiler___INTEL_COMPILER=no
17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17035 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17036 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17042 ac_cpp='$CPP $CPPFLAGS'
17043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17050 if test "$INTELCC" = "yes"; then
17054 ac_cpp='$CPP $CPPFLAGS'
17055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17060 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17061 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17062 $as_echo_n "(cached) " >&6
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17071 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17079 if ac_fn_c_try_compile "$LINENO"; then :
17080 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17082 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17090 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17091 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17097 ac_cpp='$CPP $CPPFLAGS'
17098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17107 ac_cpp='$CPP $CPPFLAGS'
17108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17113 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17114 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17115 $as_echo_n "(cached) " >&6
17117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17124 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17132 if ac_fn_c_try_compile "$LINENO"; then :
17133 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17135 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17143 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17144 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17150 ac_cpp='$CPP $CPPFLAGS'
17151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17159 if test "x$GCC" != "xyes"; then
17160 if test "xCC" = "xC"; then
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17162 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17163 if ${bakefile_cv_c_exto+:} false; then :
17164 $as_echo_n "(cached) " >&6
17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17177 rm -f conftest.$ac_objext conftest.$ac_ext.o
17178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17179 (eval $ac_compile) 2>&5
17181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17182 test $ac_status = 0; }; then :
17183 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17185 conftest.$ac_ext.o)
17186 bakefile_cv_c_exto="-ext o"
17193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17195 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17196 See \
`config.log' for more details" "$LINENO" 5; }
17199 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17203 $as_echo "$bakefile_cv_c_exto" >&6; }
17204 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17205 if test "c" = "c"; then
17206 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17208 if test "c" = "cxx"; then
17209 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17213 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17214 unset ac_cv_prog_cc_g
17215 ac_test_CFLAGS=${CFLAGS+set}
17216 ac_save_CFLAGS=$CFLAGS
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17218 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17219 if ${ac_cv_prog_cc_g+:} false; then :
17220 $as_echo_n "(cached) " >&6
17222 ac_save_c_werror_flag=$ac_c_werror_flag
17223 ac_c_werror_flag=yes
17226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17237 if ac_fn_c_try_compile "$LINENO"; then :
17238 ac_cv_prog_cc_g=yes
17241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h. */
17252 if ac_fn_c_try_compile "$LINENO"; then :
17255 ac_c_werror_flag=$ac_save_c_werror_flag
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17268 if ac_fn_c_try_compile "$LINENO"; then :
17269 ac_cv_prog_cc_g=yes
17271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276 ac_c_werror_flag=$ac_save_c_werror_flag
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17279 $as_echo "$ac_cv_prog_cc_g" >&6; }
17280 if test "$ac_test_CFLAGS" = set; then
17281 CFLAGS=$ac_save_CFLAGS
17282 elif test $ac_cv_prog_cc_g = yes; then
17283 if test "$GCC" = yes; then
17289 if test "$GCC" = yes; then
17303 ac_cpp='$CPP $CPPFLAGS'
17304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17309 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17310 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17311 $as_echo_n "(cached) " >&6
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17328 if ac_fn_c_try_compile "$LINENO"; then :
17329 bakefile_cv_c_compiler___xlC__=yes
17331 bakefile_cv_c_compiler___xlC__=no
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17339 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17340 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17346 ac_cpp='$CPP $CPPFLAGS'
17347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17359 ac_cpp='$CPP $CPPFLAGS'
17360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17365 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17366 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17367 $as_echo_n "(cached) " >&6
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17384 if ac_fn_c_try_compile "$LINENO"; then :
17385 bakefile_cv_c_compiler___MWERKS__=yes
17387 bakefile_cv_c_compiler___MWERKS__=no
17390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17395 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17396 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17402 ac_cpp='$CPP $CPPFLAGS'
17403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17409 if test "$MWCC" != "yes"; then
17413 ac_cpp='$CPP $CPPFLAGS'
17414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17419 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17420 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17421 $as_echo_n "(cached) " >&6
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17438 if ac_fn_c_try_compile "$LINENO"; then :
17439 bakefile_cv_c_compiler___xlC__=yes
17441 bakefile_cv_c_compiler___xlC__=no
17444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17449 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17450 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17456 ac_cpp='$CPP $CPPFLAGS'
17457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17470 ac_cpp='$CPP $CPPFLAGS'
17471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17476 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17477 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17478 $as_echo_n "(cached) " >&6
17480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h. */
17487 #ifndef _SGI_COMPILER_VERSION
17495 if ac_fn_c_try_compile "$LINENO"; then :
17496 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17498 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17506 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17507 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17513 ac_cpp='$CPP $CPPFLAGS'
17514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17523 if test "$INTELCC" != "yes"; then
17527 ac_cpp='$CPP $CPPFLAGS'
17528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17533 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17534 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17535 $as_echo_n "(cached) " >&6
17537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17538 /* end confdefs.h. */
17552 if ac_fn_c_try_compile "$LINENO"; then :
17553 bakefile_cv_c_compiler___SUNPRO_C=yes
17555 bakefile_cv_c_compiler___SUNPRO_C=no
17558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17563 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17564 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17570 ac_cpp='$CPP $CPPFLAGS'
17571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17584 ac_cpp='$CPP $CPPFLAGS'
17585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17590 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17591 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17592 $as_echo_n "(cached) " >&6
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17609 if ac_fn_c_try_compile "$LINENO"; then :
17610 bakefile_cv_c_compiler___HP_cc=yes
17612 bakefile_cv_c_compiler___HP_cc=no
17615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17620 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17621 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17627 ac_cpp='$CPP $CPPFLAGS'
17628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17640 ac_cpp='$CPP $CPPFLAGS'
17641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17646 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17647 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17648 $as_echo_n "(cached) " >&6
17650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17665 if ac_fn_c_try_compile "$LINENO"; then :
17666 bakefile_cv_c_compiler___DECC=yes
17668 bakefile_cv_c_compiler___DECC=no
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17676 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17677 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17683 ac_cpp='$CPP $CPPFLAGS'
17684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17696 ac_cpp='$CPP $CPPFLAGS'
17697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17702 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17703 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17704 $as_echo_n "(cached) " >&6
17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17721 if ac_fn_c_try_compile "$LINENO"; then :
17722 bakefile_cv_c_compiler___SUNPRO_C=yes
17724 bakefile_cv_c_compiler___SUNPRO_C=no
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17732 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17733 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17739 ac_cpp='$CPP $CPPFLAGS'
17740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17753 ac_cpp='$CPP $CPPFLAGS'
17754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17758 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17759 # On Suns, sometimes $CPP names a directory.
17760 if test -n "$CPP" && test -d "$CPP"; then
17763 if test -z "$CPP"; then
17764 if ${ac_cv_prog_CPP+:} false; then :
17765 $as_echo_n "(cached) " >&6
17767 # Double quotes because CPP needs to be expanded
17768 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17770 ac_preproc_ok=false
17771 for ac_c_preproc_warn_flag in '' yes
17773 # Use a header file that comes with gcc, so configuring glibc
17774 # with a fresh cross-compiler works.
17775 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17776 # <limits.h> exists even on freestanding compilers.
17777 # On the NeXT, cc -E runs the code through the compiler's parser,
17778 # not just through cpp. "Syntax error" is here to catch this case.
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17782 # include <limits.h>
17784 # include <assert.h>
17788 if ac_fn_c_try_cpp "$LINENO"; then :
17791 # Broken: fails on valid input.
17794 rm -f conftest.err conftest.i conftest.$ac_ext
17796 # OK, works on sane cases. Now check whether nonexistent headers
17797 # can be detected and how.
17798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h. */
17800 #include <ac_nonexistent.h>
17802 if ac_fn_c_try_cpp "$LINENO"; then :
17803 # Broken: success on invalid input.
17806 # Passes both tests.
17810 rm -f conftest.err conftest.i conftest.$ac_ext
17813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17814 rm -f conftest.i conftest.err conftest.
$ac_ext
17815 if $ac_preproc_ok; then :
17820 ac_cv_prog_CPP
=$CPP
17823 CPP
=$ac_cv_prog_CPP
17825 ac_cv_prog_CPP
=$CPP
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17828 $as_echo "$CPP" >&6; }
17829 ac_preproc_ok
=false
17830 for ac_c_preproc_warn_flag
in '' yes
17832 # Use a header file that comes with gcc, so configuring glibc
17833 # with a fresh cross-compiler works.
17834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17835 # <limits.h> exists even on freestanding compilers.
17836 # On the NeXT, cc -E runs the code through the compiler's parser,
17837 # not just through cpp. "Syntax error" is here to catch this case.
17838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17841 # include <limits.h>
17843 # include <assert.h>
17847 if ac_fn_c_try_cpp
"$LINENO"; then :
17850 # Broken: fails on valid input.
17853 rm -f conftest.err conftest.i conftest.
$ac_ext
17855 # OK, works on sane cases. Now check whether nonexistent headers
17856 # can be detected and how.
17857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17859 #include <ac_nonexistent.h>
17861 if ac_fn_c_try_cpp
"$LINENO"; then :
17862 # Broken: success on invalid input.
17865 # Passes both tests.
17869 rm -f conftest.err conftest.i conftest.
$ac_ext
17872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17873 rm -f conftest.i conftest.err conftest.
$ac_ext
17874 if $ac_preproc_ok; then :
17877 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17879 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
17880 See \`config.log' for more details" "$LINENO" 5; }
17884 ac_cpp
='$CPP $CPPFLAGS'
17885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17891 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17892 if ${ac_cv_path_GREP+:} false
; then :
17893 $as_echo_n "(cached) " >&6
17895 if test -z "$GREP"; then
17896 ac_path_GREP_found
=false
17897 # Loop through the user's path and test for each of PROGNAME-LIST
17898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17899 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17902 test -z "$as_dir" && as_dir
=.
17903 for ac_prog
in grep ggrep
; do
17904 for ac_exec_ext
in '' $ac_executable_extensions; do
17905 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17906 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17907 # Check for GNU ac_path_GREP and select it if it is found.
17908 # Check for GNU $ac_path_GREP
17909 case `"$ac_path_GREP" --version 2>&1` in
17911 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17914 $as_echo_n 0123456789 >"conftest.in"
17917 cat "conftest.in" "conftest.in" >"conftest.tmp"
17918 mv "conftest.tmp" "conftest.in"
17919 cp "conftest.in" "conftest.nl"
17920 $as_echo 'GREP' >> "conftest.nl"
17921 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17922 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17923 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
17924 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17925 # Best one so far, save it but keep looking for a better one
17926 ac_cv_path_GREP
="$ac_path_GREP"
17927 ac_path_GREP_max
=$ac_count
17929 # 10*(2^10) chars as input seems more than enough
17930 test $ac_count -gt 10 && break
17932 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17935 $ac_path_GREP_found && break 3
17940 if test -z "$ac_cv_path_GREP"; then
17941 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17944 ac_cv_path_GREP
=$GREP
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17949 $as_echo "$ac_cv_path_GREP" >&6; }
17950 GREP
="$ac_cv_path_GREP"
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17954 $as_echo_n "checking for egrep... " >&6; }
17955 if ${ac_cv_path_EGREP+:} false
; then :
17956 $as_echo_n "(cached) " >&6
17958 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17959 then ac_cv_path_EGREP
="$GREP -E"
17961 if test -z "$EGREP"; then
17962 ac_path_EGREP_found
=false
17963 # Loop through the user's path and test for each of PROGNAME-LIST
17964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17965 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17968 test -z "$as_dir" && as_dir
=.
17969 for ac_prog
in egrep; do
17970 for ac_exec_ext
in '' $ac_executable_extensions; do
17971 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17972 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17973 # Check for GNU ac_path_EGREP and select it if it is found.
17974 # Check for GNU $ac_path_EGREP
17975 case `"$ac_path_EGREP" --version 2>&1` in
17977 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17980 $as_echo_n 0123456789 >"conftest.in"
17983 cat "conftest.in" "conftest.in" >"conftest.tmp"
17984 mv "conftest.tmp" "conftest.in"
17985 cp "conftest.in" "conftest.nl"
17986 $as_echo 'EGREP' >> "conftest.nl"
17987 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17988 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17989 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
17990 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17991 # Best one so far, save it but keep looking for a better one
17992 ac_cv_path_EGREP
="$ac_path_EGREP"
17993 ac_path_EGREP_max
=$ac_count
17995 # 10*(2^10) chars as input seems more than enough
17996 test $ac_count -gt 10 && break
17998 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18001 $ac_path_EGREP_found && break 3
18006 if test -z "$ac_cv_path_EGREP"; then
18007 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18010 ac_cv_path_EGREP
=$EGREP
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18016 $as_echo "$ac_cv_path_EGREP" >&6; }
18017 EGREP
="$ac_cv_path_EGREP"
18020 if test $ac_cv_c_compiler_gnu = yes; then
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18022 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18023 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18024 $as_echo_n "(cached) " >&6
18026 ac_pattern
="Autoconf.*'x'"
18027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18033 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18034 ac_cv_prog_gcc_traditional
=yes
18036 ac_cv_prog_gcc_traditional
=no
18041 if test $ac_cv_prog_gcc_traditional = no
; then
18042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18044 #include <termio.h>
18047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18048 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18049 ac_cv_prog_gcc_traditional
=yes
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18056 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18057 if test $ac_cv_prog_gcc_traditional = yes; then
18058 CC
="$CC -traditional"
18063 CXXFLAGS
=${CXXFLAGS:=}
18065 ac_cpp
='$CXXCPP $CPPFLAGS'
18066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18069 if test -z "$CXX"; then
18070 if test -n "$CCC"; then
18073 if test -n "$ac_tool_prefix"; then
18074 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18077 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18079 $as_echo_n "checking for $ac_word... " >&6; }
18080 if ${ac_cv_prog_CXX+:} false
; then :
18081 $as_echo_n "(cached) " >&6
18083 if test -n "$CXX"; then
18084 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18087 for as_dir
in $PATH
18090 test -z "$as_dir" && as_dir
=.
18091 for ac_exec_ext
in '' $ac_executable_extensions; do
18092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18093 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18103 CXX
=$ac_cv_prog_CXX
18104 if test -n "$CXX"; then
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18106 $as_echo "$CXX" >&6; }
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18109 $as_echo "no" >&6; }
18113 test -n "$CXX" && break
18116 if test -z "$CXX"; then
18118 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18120 # Extract the first word of "$ac_prog", so it can be a program name with args.
18121 set dummy
$ac_prog; ac_word
=$2
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18123 $as_echo_n "checking for $ac_word... " >&6; }
18124 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18125 $as_echo_n "(cached) " >&6
18127 if test -n "$ac_ct_CXX"; then
18128 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18131 for as_dir
in $PATH
18134 test -z "$as_dir" && as_dir
=.
18135 for ac_exec_ext
in '' $ac_executable_extensions; do
18136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18137 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18147 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18148 if test -n "$ac_ct_CXX"; then
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18150 $as_echo "$ac_ct_CXX" >&6; }
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18153 $as_echo "no" >&6; }
18157 test -n "$ac_ct_CXX" && break
18160 if test "x$ac_ct_CXX" = x
; then
18163 case $cross_compiling:$ac_tool_warned in
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18167 ac_tool_warned
=yes ;;
18175 # Provide some information about the compiler.
18176 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18179 for ac_option
in --version -v -V -qversion; do
18180 { { ac_try
="$ac_compiler $ac_option >&5"
18181 case "(($ac_try" in
18182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18186 $as_echo "$ac_try_echo"; } >&5
18187 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18189 if test -s conftest.err; then
18191 ... rest of stderr output deleted ...
18192 10q' conftest.err >conftest.er1
18193 cat conftest.er1 >&5
18195 rm -f conftest.er1 conftest.err
18196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18197 test $ac_status = 0; }
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18201 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18202 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18203 $as_echo_n "(cached) " >&6
18205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18206 /* end confdefs.h. */
18219 if ac_fn_cxx_try_compile "$LINENO"; then :
18220 ac_compiler_gnu=yes
18224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18225 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18229 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18230 if test $ac_compiler_gnu = yes; then
18235 ac_test_CXXFLAGS=${CXXFLAGS+set}
18236 ac_save_CXXFLAGS=$CXXFLAGS
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18238 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18239 if ${ac_cv_prog_cxx_g+:} false; then :
18240 $as_echo_n "(cached) " >&6
18242 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18243 ac_cxx_werror_flag=yes
18244 ac_cv_prog_cxx_g=no
18246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258 ac_cv_prog_cxx_g=yes
18261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18262 /* end confdefs.h. */
18272 if ac_fn_cxx_try_compile "$LINENO"; then :
18275 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18278 /* end confdefs.h. */
18288 if ac_fn_cxx_try_compile "$LINENO"; then :
18289 ac_cv_prog_cxx_g=yes
18291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18299 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18300 if test "$ac_test_CXXFLAGS" = set; then
18301 CXXFLAGS=$ac_save_CXXFLAGS
18302 elif test $ac_cv_prog_cxx_g = yes; then
18303 if test "$GXX" = yes; then
18309 if test "$GXX" = yes; then
18316 ac_cpp='$CPP $CPPFLAGS'
18317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18329 ac_cpp='$CXXCPP $CPPFLAGS'
18330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18335 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18336 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18337 $as_echo_n "(cached) " >&6
18339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18340 /* end confdefs.h. */
18346 #ifndef __INTEL_COMPILER
18354 if ac_fn_cxx_try_compile "$LINENO"; then :
18355 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18357 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18365 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18366 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18372 ac_cpp='$CPP $CPPFLAGS'
18373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18380 if test "$INTELCXX" = "yes"; then
18384 ac_cpp='$CXXCPP $CPPFLAGS'
18385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18390 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18391 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18392 $as_echo_n "(cached) " >&6
18394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18395 /* end confdefs.h. */
18401 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18409 if ac_fn_cxx_try_compile "$LINENO"; then :
18410 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18412 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18420 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18421 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18427 ac_cpp='$CPP $CPPFLAGS'
18428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18437 ac_cpp='$CXXCPP $CPPFLAGS'
18438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18443 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18444 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18445 $as_echo_n "(cached) " >&6
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18454 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18462 if ac_fn_cxx_try_compile "$LINENO"; then :
18463 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18465 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18473 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18474 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18480 ac_cpp='$CPP $CPPFLAGS'
18481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18489 if test "x$GCXX" != "xyes"; then
18490 if test "xCXX" = "xC"; then
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18492 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18493 if ${bakefile_cv_c_exto+:} false; then :
18494 $as_echo_n "(cached) " >&6
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18507 rm -f conftest.$ac_objext conftest.$ac_ext.o
18508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18509 (eval $ac_compile) 2>&5
18511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18512 test $ac_status = 0; }; then :
18513 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18515 conftest.$ac_ext.o)
18516 bakefile_cv_c_exto="-ext o"
18523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18525 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18526 See \
`config.log' for more details" "$LINENO" 5; }
18529 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18533 $as_echo "$bakefile_cv_c_exto" >&6; }
18534 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18535 if test "c" = "c"; then
18536 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18538 if test "c" = "cxx"; then
18539 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18543 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18544 unset ac_cv_prog_cc_g
18545 ac_test_CFLAGS=${CFLAGS+set}
18546 ac_save_CFLAGS=$CFLAGS
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18548 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18549 if ${ac_cv_prog_cc_g+:} false; then :
18550 $as_echo_n "(cached) " >&6
18552 ac_save_c_werror_flag=$ac_c_werror_flag
18553 ac_c_werror_flag=yes
18556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h. */
18567 if ac_fn_c_try_compile "$LINENO"; then :
18568 ac_cv_prog_cc_g=yes
18571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h. */
18582 if ac_fn_c_try_compile "$LINENO"; then :
18585 ac_c_werror_flag=$ac_save_c_werror_flag
18587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18598 if ac_fn_c_try_compile "$LINENO"; then :
18599 ac_cv_prog_cc_g=yes
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18606 ac_c_werror_flag=$ac_save_c_werror_flag
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18609 $as_echo "$ac_cv_prog_cc_g" >&6; }
18610 if test "$ac_test_CFLAGS" = set; then
18611 CFLAGS=$ac_save_CFLAGS
18612 elif test $ac_cv_prog_cc_g = yes; then
18613 if test "$GCC" = yes; then
18619 if test "$GCC" = yes; then
18633 ac_cpp='$CXXCPP $CPPFLAGS'
18634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18639 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18640 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18641 $as_echo_n "(cached) " >&6
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18658 if ac_fn_cxx_try_compile "$LINENO"; then :
18659 bakefile_cv_cxx_compiler___xlC__=yes
18661 bakefile_cv_cxx_compiler___xlC__=no
18664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18669 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18670 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18676 ac_cpp='$CPP $CPPFLAGS'
18677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18689 ac_cpp='$CXXCPP $CPPFLAGS'
18690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18695 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18696 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18697 $as_echo_n "(cached) " >&6
18699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18714 if ac_fn_cxx_try_compile "$LINENO"; then :
18715 bakefile_cv_cxx_compiler___MWERKS__=yes
18717 bakefile_cv_cxx_compiler___MWERKS__=no
18720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18725 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18726 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18732 ac_cpp='$CPP $CPPFLAGS'
18733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18739 if test "$MWCXX" != "yes"; then
18743 ac_cpp='$CXXCPP $CPPFLAGS'
18744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18749 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18750 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18751 $as_echo_n "(cached) " >&6
18753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18768 if ac_fn_cxx_try_compile "$LINENO"; then :
18769 bakefile_cv_cxx_compiler___xlC__=yes
18771 bakefile_cv_cxx_compiler___xlC__=no
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18779 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18780 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18786 ac_cpp='$CPP $CPPFLAGS'
18787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18800 ac_cpp='$CXXCPP $CPPFLAGS'
18801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18806 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18807 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18808 $as_echo_n "(cached) " >&6
18810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18811 /* end confdefs.h. */
18817 #ifndef _SGI_COMPILER_VERSION
18825 if ac_fn_cxx_try_compile "$LINENO"; then :
18826 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18828 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18836 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18837 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18843 ac_cpp='$CPP $CPPFLAGS'
18844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18853 if test "$INTELCXX" != "yes"; then
18857 ac_cpp='$CXXCPP $CPPFLAGS'
18858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18863 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18864 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18865 $as_echo_n "(cached) " >&6
18867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18868 /* end confdefs.h. */
18874 #ifndef __SUNPRO_CC
18882 if ac_fn_cxx_try_compile "$LINENO"; then :
18883 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18885 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18893 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18894 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18900 ac_cpp='$CPP $CPPFLAGS'
18901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18914 ac_cpp='$CXXCPP $CPPFLAGS'
18915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18920 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18921 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18922 $as_echo_n "(cached) " >&6
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18939 if ac_fn_cxx_try_compile "$LINENO"; then :
18940 bakefile_cv_cxx_compiler___HP_aCC=yes
18942 bakefile_cv_cxx_compiler___HP_aCC=no
18945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18950 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18951 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18957 ac_cpp='$CPP $CPPFLAGS'
18958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18970 ac_cpp='$CXXCPP $CPPFLAGS'
18971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18976 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18977 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
18978 $as_echo_n "(cached) " >&6
18980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18981 /* end confdefs.h. */
18995 if ac_fn_cxx_try_compile "$LINENO"; then :
18996 bakefile_cv_cxx_compiler___DECCXX=yes
18998 bakefile_cv_cxx_compiler___DECCXX=no
19001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19006 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19007 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19013 ac_cpp='$CPP $CPPFLAGS'
19014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19026 ac_cpp='$CXXCPP $CPPFLAGS'
19027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19032 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19033 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19034 $as_echo_n "(cached) " >&6
19036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19043 #ifndef __SUNPRO_CC
19051 if ac_fn_cxx_try_compile "$LINENO"; then :
19052 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19054 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19062 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19063 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19069 ac_cpp='$CPP $CPPFLAGS'
19070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19082 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19083 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19086 if test "x$SUNCXX" != xyes; then
19087 if test -n "$ac_tool_prefix"; then
19088 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19089 set dummy ${ac_tool_prefix}ar; ac_word=$2
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19091 $as_echo_n "checking for $ac_word... " >&6; }
19092 if ${ac_cv_prog_AR+:} false; then :
19093 $as_echo_n "(cached) " >&6
19095 if test -n "$AR"; then
19096 ac_cv_prog_AR="$AR" # Let the user override the test.
19098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19099 for as_dir in $PATH
19102 test -z "$as_dir" && as_dir=.
19103 for ac_exec_ext in '' $ac_executable_extensions; do
19104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19105 ac_cv_prog_AR="${ac_tool_prefix}ar"
19106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19116 if test -n "$AR"; then
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19118 $as_echo "$AR" >&6; }
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19121 $as_echo "no" >&6; }
19126 if test -z "$ac_cv_prog_AR"; then
19128 # Extract the first word of "ar", so it can be a program name with args.
19129 set dummy ar; ac_word=$2
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19131 $as_echo_n "checking for $ac_word... " >&6; }
19132 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19133 $as_echo_n "(cached) " >&6
19135 if test -n "$ac_ct_AR"; then
19136 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19139 for as_dir in $PATH
19142 test -z "$as_dir" && as_dir=.
19143 for ac_exec_ext in '' $ac_executable_extensions; do
19144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19145 ac_cv_prog_ac_ct_AR="ar"
19146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19155 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19156 if test -n "$ac_ct_AR"; then
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19158 $as_echo "$ac_ct_AR" >&6; }
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19161 $as_echo "no" >&6; }
19164 if test "x$ac_ct_AR" = x; then
19167 case $cross_compiling:$ac_tool_warned in
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19171 ac_tool_warned=yes ;;
19176 AR="$ac_cv_prog_AR"
19179 if test "x$AR" = "x" ; then
19180 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19185 if test "$wxUSE_MAC" = 1; then
19187 retest_macosx_linking=no
19191 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19192 if test "x$wxUSE_MAC_ARCH" != xno; then
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19194 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19197 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19198 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19199 else OSX_ARCH_OPTS="ppc,i386"
19200 if test "$wxUSE_OSX_COCOA" = 1; then
19201 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19206 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19208 $as_echo "$OSX_ARCH_OPTS" >&6; }
19210 retest_macosx_linking=yes
19212 if test "x$wxUSE_MAC_ARCH" != xno; then
19213 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19217 if test "x$OSX_ARCH_OPTS" != "x"; then
19218 if echo $OSX_ARCH_OPTS | grep -q ","; then
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19220 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19221 disable_macosx_deps=yes
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19224 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19228 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19230 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19231 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19232 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19233 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19234 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19237 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19239 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19240 # TODO: Search for most recent SDK and use it.
19241 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19245 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19247 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19248 if ! test -d "$wxUSE_MACOSX_SDK"; then
19249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19251 as_fn_error $? "not found
19252 See \
`config.log' for more details" "$LINENO" 5; }
19254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19255 $as_echo "exists" >&6; }
19257 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19258 retest_macosx_linking=yes
19261 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19262 wxUSE_MACOSX_VERSION_MIN=
19263 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19264 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19266 $as_echo_n "checking SDK deployment version... " >&6; }
19268 MACOSX_SDK_PLIST_VERSION_MIN=`defaults
read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings
| grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19270 # If that failed, try again with the new key
19271 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19273 MACOSX_SDK_PLIST_VERSION_MIN=`defaults
read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties
| grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19277 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19278 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19280 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19283 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19284 wxUSE_MACOSX_VERSION_MIN=
19287 wxUSE_MACOSX_VERSION_MIN=
19289 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19290 wxUSE_MACOSX_VERSION_MIN=10.5
19293 if test "x$MACOSX_SDK_OPTS" != "x"; then
19294 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19295 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19296 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19297 retest_macosx_linking=yes
19300 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19301 if test "$wxUSE_OSX_IPHONE" = 1; then
19302 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19304 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19306 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19307 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19308 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19309 retest_macosx_linking=yes
19312 if test "x$retest_macosx_linking" = "xyes"; then
19314 ac_cpp='$CPP $CPPFLAGS'
19315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19320 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19332 if ac_fn_c_try_link "$LINENO"; then :
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19334 $as_echo "yes" >&6; }
19336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19338 as_fn_error $? "no. Try a different SDK
19339 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19341 rm -f core conftest.err conftest.$ac_objext \
19342 conftest$ac_exeext conftest.$ac_ext
19344 ac_cpp='$CPP $CPPFLAGS'
19345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19351 ac_cpp='$CXXCPP $CPPFLAGS'
19352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19357 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19369 if ac_fn_cxx_try_link "$LINENO"; then :
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19371 $as_echo "yes" >&6; }
19373 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19374 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19375 as_fn_error $? "no. Try a different SDK
19376 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19378 rm -f core conftest.err conftest.$ac_objext \
19379 conftest$ac_exeext conftest.$ac_ext
19381 ac_cpp='$CPP $CPPFLAGS'
19382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19392 INSTALL_PROGRAM="cp -fp"
19393 INSTALL_DATA="cp -fp"
19400 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19401 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19404 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19405 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19408 if test "x$USE_AIX" = "x1"; then
19409 if test "x$XLCXX" = "xyes"; then
19410 CXXFLAGS="-qunique $CXXFLAGS"
19413 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19417 powerpc-*-darwin* )
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19419 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h. */
19426 #ifndef __POWERPC__
19427 choke me for lack of PowerPC
19434 if ac_fn_c_try_compile "$LINENO"; then :
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19436 $as_echo "yes" >&6; }
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19439 $as_echo "no" >&6; }
19440 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19451 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19453 /* end confdefs.h. */
19454 #include <CoreFoundation/CFBase.h>
19464 if ac_fn_c_try_compile "$LINENO"; then :
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19466 $as_echo "yes" >&6; }
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19469 $as_echo "no" >&6; }
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19471 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h. */
19474 #define __CF_USE_FRAMEWORK_INCLUDES__
19475 #include <CoreFoundation/CFBase.h>
19485 if ac_fn_c_try_compile "$LINENO"; then :
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19487 $as_echo "yes" >&6; }
19488 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19492 as_fn_error $? "no. CoreFoundation not available.
19493 See \
`config.log' for more details" "$LINENO" 5; }
19496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19505 doesnt_want_win32=0
19508 if test "$wxUSE_MSW" = 1 ; then
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19512 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19513 if ${wx_cv_nocygwin+:} false; then :
19514 $as_echo_n "(cached) " >&6
19517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19532 if ac_fn_c_try_compile "$LINENO"; then :
19538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19543 $as_echo "$wx_cv_nocygwin" >&6; }
19545 if test "$wx_cv_nocygwin" = "yes"; then
19548 doesnt_want_win32=1
19551 if test "$wants_win32" = 1 ; then
19552 BAKEFILE_FORCE_PLATFORM=win32
19560 if test "$wxUSE_WINE" = "yes"; then
19562 LDFLAGS_GUI="-mwindows"
19565 if test "$wants_win32" = 1 ; then
19568 $as_echo "#define __WIN32__ 1" >>confdefs.h
19570 $as_echo "#define __WIN95__ 1" >>confdefs.h
19572 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19574 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19576 $as_echo "#define STRICT 1" >>confdefs.h
19579 if test "$doesnt_want_win32" = 1 ; then
19584 if test "$USE_UNIX" = 1 ; then
19586 $as_echo "#define __UNIX__ 1" >>confdefs.h
19591 *-pc-os2_emx | *-pc-os2-emx )
19592 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19594 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19595 if ${ac_cv_lib_cExt_drand48+:} false; then :
19596 $as_echo_n "(cached) " >&6
19598 ac_check_lib_save_LIBS=$LIBS
19599 LIBS="-lcExt $LIBS"
19600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19601 /* end confdefs.h. */
19603 /* Override any GCC internal prototype to avoid an error.
19604 Use char because int might match the return type of a GCC
19605 builtin and then its argument prototype would still apply. */
19618 if ac_fn_c_try_link "$LINENO"; then :
19619 ac_cv_lib_cExt_drand48=yes
19621 ac_cv_lib_cExt_drand48=no
19623 rm -f core conftest.err conftest.$ac_objext \
19624 conftest$ac_exeext conftest.$ac_ext
19625 LIBS=$ac_check_lib_save_LIBS
19627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19628 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19629 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19630 LIBS="$LIBS -lcExt"
19634 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19637 $as_echo_n "checking for gcc/libc version... " >&6; }
19638 if ${wx_cv_gccversion+:} false; then :
19639 $as_echo_n "(cached) " >&6
19642 if test "$cross_compiling" = yes; then :
19643 wx_cv_gccversion="EMX2"
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19653 FILE *f=fopen("conftestval", "w");
19658 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19660 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19670 if ac_fn_c_try_run "$LINENO"; then :
19671 wx_cv_gccversion=`cat conftestval
`
19673 wx_cv_gccversion="EMX2"
19675 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19676 conftest.$ac_objext conftest.beam conftest.$ac_ext
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19682 $as_echo "$wx_cv_gccversion" >&6; }
19683 if test "$wx_cv_gccversion" = "EMX2"; then
19684 LIBS="$LIBS -lstdcpp"
19685 LDFLAGS="$LDFLAGS -Zsysv-signals"
19687 if test "$wx_cv_gccversion" = "EMX3"; then
19688 LIBS="$LIBS -lstdcxx -lgcc"
19689 LDFLAGS="$LDFLAGS -Zsysv-signals"
19691 LIBS="$LIBS -lstdc++"
19694 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19696 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19704 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19705 if ${ac_cv_string_strcasecmp+:} false; then :
19706 $as_echo_n "(cached) " >&6
19709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h. */
19712 #include <string.h>
19718 strcasecmp("foo", "bar");
19724 if ac_fn_c_try_link "$LINENO"; then :
19725 ac_cv_string_strcasecmp=yes
19727 ac_cv_string_strcasecmp=no
19730 rm -f core conftest.err conftest.$ac_objext \
19731 conftest$ac_exeext conftest.$ac_ext
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19735 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19737 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19738 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19742 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19743 if ${ac_cv_strings_strcasecmp+:} false; then :
19744 $as_echo_n "(cached) " >&6
19747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h. */
19750 #include <strings.h>
19756 strcasecmp("foo", "bar");
19762 if ac_fn_c_try_link "$LINENO"; then :
19763 ac_cv_strings_strcasecmp=yes
19765 ac_cv_strings_strcasecmp=no
19768 rm -f core conftest.err conftest.$ac_objext \
19769 conftest$ac_exeext conftest.$ac_ext
19772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19773 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19775 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19776 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19779 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19788 $as_echo_n "checking for ANSI C header files... " >&6; }
19789 if ${ac_cv_header_stdc+:} false; then :
19790 $as_echo_n "(cached) " >&6
19792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h. */
19794 #include <stdlib.h>
19795 #include <stdarg.h>
19796 #include <string.h>
19807 if ac_fn_c_try_compile "$LINENO"; then :
19808 ac_cv_header_stdc=yes
19810 ac_cv_header_stdc=no
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19814 if test $ac_cv_header_stdc = yes; then
19815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h. */
19818 #include <string.h>
19821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19822 $EGREP "memchr" >/dev/null 2>&1; then :
19825 ac_cv_header_stdc=no
19831 if test $ac_cv_header_stdc = yes; then
19832 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19834 /* end confdefs.h. */
19835 #include <stdlib.h>
19838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19839 $EGREP "free" >/dev/null 2>&1; then :
19842 ac_cv_header_stdc=no
19848 if test $ac_cv_header_stdc = yes; then
19849 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19850 if test "$cross_compiling" = yes; then :
19853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19856 #include <stdlib.h>
19857 #if ((' ' & 0x0FF) == 0x020)
19858 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19859 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19861 # define ISLOWER(c) \
19862 (('a' <= (c) && (c) <= 'i') \
19863 || ('j' <= (c) && (c) <= 'r') \
19864 || ('s' <= (c) && (c) <= 'z'))
19865 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19868 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19873 for (i = 0; i < 256; i++)
19874 if (XOR (islower (i), ISLOWER (i))
19875 || toupper (i) != TOUPPER (i))
19880 if ac_fn_c_try_run "$LINENO"; then :
19883 ac_cv_header_stdc=no
19885 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19886 conftest.$ac_objext conftest.beam conftest.$ac_ext
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19892 $as_echo "$ac_cv_header_stdc" >&6; }
19893 if test $ac_cv_header_stdc = yes; then
19895 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19899 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19900 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19901 inttypes.h stdint.h unistd.h
19903 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19904 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19906 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19907 cat >>confdefs.h <<_ACEOF
19908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19916 for ac_header in langinfo.h wchar.h
19918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19919 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19921 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19922 cat >>confdefs.h <<_ACEOF
19923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19931 if test "$ac_cv_header_wchar_h" != "yes"; then
19932 for ac_header in wcstr.h
19934 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
19936 if test "x$ac_cv_header_wcstr_h" = xyes; then :
19937 cat >>confdefs.h <<_ACEOF
19938 #define HAVE_WCSTR_H 1
19948 *-pc-os2_emx | *-pc-os2-emx )
19949 if test $ac_cv_header_langinfo_h = "yes" \
19950 -a \( "$wx_cv_gccversion" = "EMX2" \
19951 -o "$wx_cv_gccversion" = "EMX3" \
19952 -o "$wx_cv_gccversion" = "Innotek5" \); then
19953 LIBS="$LIBS -lintl"
19958 if test "$USE_UNIX" = 1 ; then
19959 for ac_header in sys/select.h
19961 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
19963 if test "x$ac_cv_header_sys_select_h" = xyes; then :
19964 cat >>confdefs.h <<_ACEOF
19965 #define HAVE_SYS_SELECT_H 1
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19976 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19977 if ${ac_cv_c_const+:} false; then :
19978 $as_echo_n "(cached) " >&6
19980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19981 /* end confdefs.h. */
19986 /* FIXME: Include the comments suggested by Paul. */
19987 #ifndef __cplusplus
19988 /* Ultrix mips cc rejects this. */
19989 typedef int charset[2];
19991 /* SunOS 4.1.1 cc rejects this. */
19992 char const *const *pcpcc;
19994 /* NEC SVR4.0.2 mips cc rejects this. */
19995 struct point {int x, y;};
19996 static struct point const zero = {0,0};
19997 /* AIX XL C 1.02.0.0 rejects this.
19998 It does not let you subtract one const X* pointer from another in
19999 an arm of an if-expression whose if-part is not a constant
20001 const char *g = "string";
20002 pcpcc = &g + (g ? g-g : 0);
20003 /* HPUX 7.0 cc rejects these. */
20005 ppc = (char**) pcpcc;
20006 pcpcc = (char const *const *) ppc;
20007 { /* SCO 3.2v4 cc rejects this. */
20009 char const *s = 0 ? (char *) 0 : (char const *) 0;
20014 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20015 int x[] = {25, 17};
20016 const int *foo = &x[0];
20019 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20020 typedef const int *iptr;
20024 { /* AIX XL C 1.02.0.0 rejects this saying
20025 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20026 struct s { int j; const int *ap[3]; };
20027 struct s *b; b->j = 5;
20029 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20030 const int foo = 10;
20031 if (!foo) return 0;
20033 return !cs[0] && !zero.x;
20040 if ac_fn_c_try_compile "$LINENO"; then :
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20048 $as_echo "$ac_cv_c_const" >&6; }
20049 if test $ac_cv_c_const = no; then
20051 $as_echo "#define const /**/" >>confdefs.h
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20056 $as_echo_n "checking for inline... " >&6; }
20057 if ${ac_cv_c_inline+:} false; then :
20058 $as_echo_n "(cached) " >&6
20061 for ac_kw in inline __inline__ __inline; do
20062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20063 /* end confdefs.h. */
20064 #ifndef __cplusplus
20066 static $ac_kw foo_t static_foo () {return 0; }
20067 $ac_kw foo_t foo () {return 0; }
20071 if ac_fn_c_try_compile "$LINENO"; then :
20072 ac_cv_c_inline=$ac_kw
20074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20075 test "$ac_cv_c_inline" != no && break
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20080 $as_echo "$ac_cv_c_inline" >&6; }
20082 case $ac_cv_c_inline in
20085 case $ac_cv_c_inline in
20087 *) ac_val=$ac_cv_c_inline;;
20089 cat >>confdefs.h <<_ACEOF
20090 #ifndef __cplusplus
20091 #define inline $ac_val
20098 # The cast to long int works around a bug in the HP C Compiler
20099 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20100 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20101 # This bug is HP SR number 8606223364.
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20103 $as_echo_n "checking size of short... " >&6; }
20104 if ${ac_cv_sizeof_short+:} false; then :
20105 $as_echo_n "(cached) " >&6
20107 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20110 if test "$ac_cv_type_short" = yes; then
20111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20112 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20113 as_fn_error 77 "cannot compute sizeof (short)
20114 See \`config.log
' for more details" "$LINENO" 5; }
20116 ac_cv_sizeof_short=0
20121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20122 $as_echo "$ac_cv_sizeof_short" >&6; }
20126 cat >>confdefs.h <<_ACEOF
20127 #define SIZEOF_SHORT $ac_cv_sizeof_short
20131 # The cast to long int works around a bug in the HP C Compiler
20132 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20133 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20134 # This bug is HP SR number 8606223364.
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20136 $as_echo_n "checking size of void *... " >&6; }
20137 if ${ac_cv_sizeof_void_p+:} false
; then :
20138 $as_echo_n "(cached) " >&6
20140 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20143 if test "$ac_cv_type_void_p" = yes; then
20144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20146 as_fn_error
77 "cannot compute sizeof (void *)
20147 See \`config.log' for more details" "$LINENO" 5; }
20149 ac_cv_sizeof_void_p
=0
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20155 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20159 cat >>confdefs.h
<<_ACEOF
20160 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20164 # The cast to long int works around a bug in the HP C Compiler
20165 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20166 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20167 # This bug is HP SR number 8606223364.
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20169 $as_echo_n "checking size of int... " >&6; }
20170 if ${ac_cv_sizeof_int+:} false
; then :
20171 $as_echo_n "(cached) " >&6
20173 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20176 if test "$ac_cv_type_int" = yes; then
20177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20179 as_fn_error
77 "cannot compute sizeof (int)
20180 See \`config.log' for more details" "$LINENO" 5; }
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20188 $as_echo "$ac_cv_sizeof_int" >&6; }
20192 cat >>confdefs.h
<<_ACEOF
20193 #define SIZEOF_INT $ac_cv_sizeof_int
20197 # The cast to long int works around a bug in the HP C Compiler
20198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20200 # This bug is HP SR number 8606223364.
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20202 $as_echo_n "checking size of long... " >&6; }
20203 if ${ac_cv_sizeof_long+:} false
; then :
20204 $as_echo_n "(cached) " >&6
20206 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20209 if test "$ac_cv_type_long" = yes; then
20210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20212 as_fn_error
77 "cannot compute sizeof (long)
20213 See \`config.log' for more details" "$LINENO" 5; }
20215 ac_cv_sizeof_long
=0
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20221 $as_echo "$ac_cv_sizeof_long" >&6; }
20225 cat >>confdefs.h
<<_ACEOF
20226 #define SIZEOF_LONG $ac_cv_sizeof_long
20230 # The cast to long int works around a bug in the HP C Compiler
20231 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20232 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20233 # This bug is HP SR number 8606223364.
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20235 $as_echo_n "checking size of size_t... " >&6; }
20236 if ${ac_cv_sizeof_size_t+:} false
; then :
20237 $as_echo_n "(cached) " >&6
20239 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20242 if test "$ac_cv_type_size_t" = yes; then
20243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20245 as_fn_error
77 "cannot compute sizeof (size_t)
20246 See \`config.log' for more details" "$LINENO" 5; }
20248 ac_cv_sizeof_size_t
=0
20253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20254 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20258 cat >>confdefs.h
<<_ACEOF
20259 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20266 # The cast to long int works around a bug in the HP C Compiler
20267 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20268 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20269 # This bug is HP SR number 8606223364.
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20271 $as_echo_n "checking size of long long... " >&6; }
20272 if ${ac_cv_sizeof_long_long+:} false
; then :
20273 $as_echo_n "(cached) " >&6
20275 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20278 if test "$ac_cv_type_long_long" = yes; then
20279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20281 as_fn_error
77 "cannot compute sizeof (long long)
20282 See \`config.log' for more details" "$LINENO" 5; }
20284 ac_cv_sizeof_long_long
=0
20289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20290 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20294 cat >>confdefs.h
<<_ACEOF
20295 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20301 # The cast to long int works around a bug in the HP C Compiler
20302 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20303 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20304 # This bug is HP SR number 8606223364.
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20306 $as_echo_n "checking size of long long... " >&6; }
20307 if ${ac_cv_sizeof_long_long+:} false
; then :
20308 $as_echo_n "(cached) " >&6
20310 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20313 if test "$ac_cv_type_long_long" = yes; then
20314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20316 as_fn_error
77 "cannot compute sizeof (long long)
20317 See \`config.log' for more details" "$LINENO" 5; }
20319 ac_cv_sizeof_long_long
=0
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20325 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20329 cat >>confdefs.h
<<_ACEOF
20330 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20334 if test "$ac_cv_sizeof_long_long" != 0; then
20335 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20339 # The cast to long int works around a bug in the HP C Compiler
20340 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20341 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20342 # This bug is HP SR number 8606223364.
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20344 $as_echo_n "checking size of long long... " >&6; }
20345 if ${ac_cv_sizeof_long_long+:} false
; then :
20346 $as_echo_n "(cached) " >&6
20348 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20351 if test "$ac_cv_type_long_long" = yes; then
20352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20354 as_fn_error
77 "cannot compute sizeof (long long)
20355 See \`config.log' for more details" "$LINENO" 5; }
20357 ac_cv_sizeof_long_long
=0
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20363 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20367 cat >>confdefs.h
<<_ACEOF
20368 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20374 # The cast to long int works around a bug in the HP C Compiler
20375 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20376 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20377 # This bug is HP SR number 8606223364.
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20379 $as_echo_n "checking size of wchar_t... " >&6; }
20380 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20381 $as_echo_n "(cached) " >&6
20383 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20384 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20385 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20386 # error \"fake wchar_t\"
20388 #ifdef HAVE_WCHAR_H
20390 # include <stddef.h>
20392 # include <wchar.h>
20394 #ifdef HAVE_STDLIB_H
20395 # include <stdlib.h>
20403 if test "$ac_cv_type_wchar_t" = yes; then
20404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20406 as_fn_error
77 "cannot compute sizeof (wchar_t)
20407 See \`config.log' for more details" "$LINENO" 5; }
20409 ac_cv_sizeof_wchar_t
=0
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20415 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20419 cat >>confdefs.h
<<_ACEOF
20420 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20424 if test "$ac_cv_sizeof_wchar_t" = 0; then
20425 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20427 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20431 $as_echo_n "checking for va_copy... " >&6; }
20432 if ${wx_cv_func_va_copy+:} false
; then :
20433 $as_echo_n "(cached) " >&6
20437 ac_cpp
='$CXXCPP $CPPFLAGS'
20438 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20439 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20440 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20443 /* end confdefs.h. */
20446 #include <stdarg.h>
20447 void foo(char *f, ...)
20462 if ac_fn_cxx_try_link
"$LINENO"; then :
20463 wx_cv_func_va_copy
=yes
20465 wx_cv_func_va_copy
=no
20468 rm -f core conftest.err conftest.
$ac_objext \
20469 conftest
$ac_exeext conftest.
$ac_ext
20471 ac_cpp
='$CPP $CPPFLAGS'
20472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20480 $as_echo "$wx_cv_func_va_copy" >&6; }
20482 if test $wx_cv_func_va_copy = "yes"; then
20483 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20487 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20488 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20489 $as_echo_n "(cached) " >&6
20492 if test "$cross_compiling" = yes; then :
20493 wx_cv_type_va_list_lvalue
=yes
20496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20500 #include <stdarg.h>
20501 int foo(char *f, ...)
20506 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20514 return foo("hi", 17);
20518 if ac_fn_c_try_run
"$LINENO"; then :
20519 wx_cv_type_va_list_lvalue
=yes
20521 wx_cv_type_va_list_lvalue
=no
20523 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20524 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20531 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20533 if test $wx_cv_type_va_list_lvalue != "yes"; then
20534 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20539 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20542 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20543 if ${wx_cv_have_variadic_macros+:} false
; then :
20544 $as_echo_n "(cached) " >&6
20548 ac_cpp
='$CXXCPP $CPPFLAGS'
20549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h. */
20558 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20564 test("%s %d %p", "test", 1, 0);
20571 if ac_fn_cxx_try_compile
"$LINENO"; then :
20572 wx_cv_have_variadic_macros
=yes
20574 wx_cv_have_variadic_macros
=no
20577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20579 ac_cpp
='$CPP $CPPFLAGS'
20580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20588 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20590 if test $wx_cv_have_variadic_macros = "yes"; then
20591 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20597 LARGEFILE_CPPFLAGS
=
20598 # Check whether --enable-largefile was given.
20599 if test "${enable_largefile+set}" = set; then :
20600 enableval
=$enable_largefile;
20603 if test "$enable_largefile" != no
; then
20606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20607 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20608 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20609 $as_echo_n "(cached) " >&6
20612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20613 /* end confdefs.h. */
20614 #define _FILE_OFFSET_BITS 64
20615 #include <sys/types.h>
20620 unsigned int field: sizeof(off_t) == 8;
20627 if ac_fn_c_try_compile
"$LINENO"; then :
20628 ac_cv_sys_file_offset_bits
=64
20630 ac_cv_sys_file_offset_bits
=no
20632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20637 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20639 if test "$ac_cv_sys_file_offset_bits" != no
; then
20641 cat >>confdefs.h
<<_ACEOF
20642 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20647 if test "x$wx_largefile" != "xyes"; then
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20650 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20651 if ${ac_cv_sys_large_files+:} false
; then :
20652 $as_echo_n "(cached) " >&6
20655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h. */
20657 #define _LARGE_FILES 1
20658 #include <sys/types.h>
20663 unsigned int field: sizeof(off_t) == 8;
20670 if ac_fn_c_try_compile
"$LINENO"; then :
20671 ac_cv_sys_large_files
=1
20673 ac_cv_sys_large_files
=no
20675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20680 $as_echo "$ac_cv_sys_large_files" >&6; }
20682 if test "$ac_cv_sys_large_files" != no
; then
20684 cat >>confdefs.h
<<_ACEOF
20685 #define _LARGE_FILES $ac_cv_sys_large_files
20692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20693 $as_echo_n "checking if large file support is available... " >&6; }
20694 if test "x$wx_largefile" = "xyes"; then
20695 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20699 $as_echo "$wx_largefile" >&6; }
20702 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20703 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20704 elif test "$ac_cv_sys_large_files" = 1; then
20705 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20708 if test -n "$LARGEFILE_CPPFLAGS"; then
20709 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20711 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20713 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20714 if ${wx_cv_STDC_EXT_required+:} false
; then :
20715 $as_echo_n "(cached) " >&6
20719 ac_cpp
='$CXXCPP $CPPFLAGS'
20720 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20722 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20725 /* end confdefs.h. */
20731 #ifndef __STDC_EXT__
20739 if ac_fn_cxx_try_compile
"$LINENO"; then :
20740 wx_cv_STDC_EXT_required
=no
20742 wx_cv_STDC_EXT_required
=yes
20745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20747 ac_cpp
='$CPP $CPPFLAGS'
20748 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20749 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20750 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20756 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20757 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20758 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20764 ac_cpp
='$CXXCPP $CPPFLAGS'
20765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20769 old_CPPFLAGS
="$CPPFLAGS"
20770 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20772 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20773 if ${ac_cv_sys_largefile_source+:} false
; then :
20774 $as_echo_n "(cached) " >&6
20777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20778 /* end confdefs.h. */
20779 #include <sys/types.h> /* for off_t */
20784 int (*fp) (FILE *, off_t, int) = fseeko;
20785 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20790 if ac_fn_cxx_try_link
"$LINENO"; then :
20791 ac_cv_sys_largefile_source
=no
; break
20793 rm -f core conftest.err conftest.
$ac_objext \
20794 conftest
$ac_exeext conftest.
$ac_ext
20795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h. */
20797 #define _LARGEFILE_SOURCE 1
20798 #include <sys/types.h> /* for off_t */
20803 int (*fp) (FILE *, off_t, int) = fseeko;
20804 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20809 if ac_fn_cxx_try_link
"$LINENO"; then :
20810 ac_cv_sys_largefile_source
=1; break
20812 rm -f core conftest.err conftest.
$ac_objext \
20813 conftest
$ac_exeext conftest.
$ac_ext
20814 ac_cv_sys_largefile_source
=unknown
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20819 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20820 case $ac_cv_sys_largefile_source in #(
20823 cat >>confdefs.h
<<_ACEOF
20824 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20830 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20831 # in glibc 2.1.3, but that breaks too many other things.
20832 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20833 if test $ac_cv_sys_largefile_source != unknown
; then
20835 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20839 CPPFLAGS
="$old_CPPFLAGS"
20841 ac_cpp
='$CPP $CPPFLAGS'
20842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20846 if test "$ac_cv_sys_largefile_source" != no
; then
20847 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20851 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20852 if ${ac_cv_c_bigendian+:} false
; then :
20853 $as_echo_n "(cached) " >&6
20855 ac_cv_c_bigendian
=unknown
20856 # See if sys/param.h defines the BYTE_ORDER macro.
20857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20859 #include <sys/types.h>
20860 #include <sys/param.h>
20865 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20866 bogus endian macros
20872 if ac_fn_c_try_compile
"$LINENO"; then :
20873 # It does; now see whether it defined to BIG_ENDIAN or not.
20874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h. */
20876 #include <sys/types.h>
20877 #include <sys/param.h>
20882 #if BYTE_ORDER != BIG_ENDIAN
20889 if ac_fn_c_try_compile
"$LINENO"; then :
20890 ac_cv_c_bigendian
=yes
20892 ac_cv_c_bigendian
=no
20894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20897 if test $ac_cv_c_bigendian = unknown
; then
20898 if test "$cross_compiling" = yes; then :
20899 ac_cv_c_bigendian
=unknown
20901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20902 /* end confdefs.h. */
20904 /* Are we little or big endian? From Harbison&Steele. */
20908 char c[sizeof (long)];
20911 exit (u.c[sizeof (long) - 1] == 1);
20914 if ac_fn_c_try_run
"$LINENO"; then :
20915 ac_cv_c_bigendian
=no
20917 ac_cv_c_bigendian
=yes
20919 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20920 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20926 $as_echo "$ac_cv_c_bigendian" >&6; }
20927 if test $ac_cv_c_bigendian = unknown
; then
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
20929 $as_echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
20931 if test $ac_cv_c_bigendian = yes; then
20932 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
20940 ac_cpp
='$CXXCPP $CPPFLAGS'
20941 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20946 for ac_header
in iostream
20948 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
20950 if test "x$ac_cv_header_iostream" = xyes
; then :
20951 cat >>confdefs.h
<<_ACEOF
20952 #define HAVE_IOSTREAM 1
20960 if test "$ac_cv_header_iostream" = "yes" ; then
20963 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
20968 ac_cpp
='$CPP $CPPFLAGS'
20969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
20977 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
20978 if ${wx_cv_explicit+:} false
; then :
20979 $as_echo_n "(cached) " >&6
20984 ac_cpp
='$CXXCPP $CPPFLAGS'
20985 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h. */
20993 class Foo { public: explicit Foo(int) {} };
21005 if ac_fn_cxx_try_compile
"$LINENO"; then :
21007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h. */
21010 class Foo { public: explicit Foo(int) {} };
21011 static void TakeFoo(const Foo& foo) { }
21024 if ac_fn_cxx_try_compile
"$LINENO"; then :
21030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21039 ac_cpp
='$CPP $CPPFLAGS'
21040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21047 $as_echo "$wx_cv_explicit" >&6; }
21049 if test "$wx_cv_explicit" = "yes"; then
21050 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21055 if test "x$SUNCXX" = xyes
; then
21056 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21059 if test "x$SUNCC" = xyes
; then
21060 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21063 if test "x$SGICC" = "xyes"; then
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21065 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21066 if ${wx_cv_prog_sgicc744+:} false
; then :
21067 $as_echo_n "(cached) " >&6
21070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21077 #if _SGI_COMPILER_VERSION >= 744
21078 chock me: mipsPro is 7.4.4 or later
21085 if ac_fn_c_try_compile
"$LINENO"; then :
21086 wx_cv_prog_sgicc744
=no
21088 wx_cv_prog_sgicc744
=yes
21091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21096 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21098 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21099 CFLAGS
="-woff 3970 $CFLAGS"
21102 if test "x$SGICXX" = "xyes"; then
21103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21104 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21105 if ${wx_cv_prog_sgicxx744+:} false
; then :
21106 $as_echo_n "(cached) " >&6
21110 ac_cpp
='$CXXCPP $CPPFLAGS'
21111 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21116 /* end confdefs.h. */
21122 #if _SGI_COMPILER_VERSION >= 744
21123 chock me: mipsPro is 7.4.4 or later
21130 if ac_fn_cxx_try_compile
"$LINENO"; then :
21131 wx_cv_prog_sgicxx744
=no
21133 wx_cv_prog_sgicxx744
=yes
21136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21138 ac_cpp
='$CPP $CPPFLAGS'
21139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21147 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21149 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21150 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21154 if test "x$HPCC" = "xyes"; then
21155 CFLAGS
="+W 2011,2450 $CFLAGS"
21157 if test "x$HPCXX" = "xyes"; then
21158 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21161 if test "x$COMPAQCXX" = "xyes"; then
21162 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21166 ac_cpp
='$CXXCPP $CPPFLAGS'
21167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21172 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21173 if test "$wxUSE_UNICODE" = "yes"; then
21174 std_string
="std::wstring"
21175 char_type
="wchar_t"
21177 std_string
="std::string"
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21182 $as_echo_n "checking for $std_string in <string>... " >&6; }
21183 if ${wx_cv_class_stdstring+:} false
; then :
21184 $as_echo_n "(cached) " >&6
21187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21188 /* end confdefs.h. */
21198 if ac_fn_cxx_try_compile
"$LINENO"; then :
21199 wx_cv_class_stdstring
=yes
21201 wx_cv_class_stdstring
=no
21204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21209 $as_echo "$wx_cv_class_stdstring" >&6; }
21211 if test "$wx_cv_class_stdstring" = yes; then
21212 if test "$wxUSE_UNICODE" = "yes"; then
21213 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21218 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21219 if ${wx_cv_class_stdbasicstring+:} false
; then :
21220 $as_echo_n "(cached) " >&6
21223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h. */
21226 #ifdef HAVE_WCHAR_H
21228 # include <stddef.h>
21230 # include <wchar.h>
21232 #ifdef HAVE_STDLIB_H
21233 # include <stdlib.h>
21241 std::basic_string<$char_type> foo;
21242 const $char_type* dummy = foo.c_str();
21247 if ac_fn_cxx_try_compile
"$LINENO"; then :
21248 wx_cv_class_stdbasicstring
=yes
21250 wx_cv_class_stdbasicstring
=no
21253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21258 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21260 if test "$wx_cv_class_stdbasicstring" != yes; then
21261 if test "$wxUSE_STL" = "yes"; then
21262 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21263 elif test "$wxUSE_STD_STRING" = "yes"; then
21264 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21267 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21268 wxUSE_STD_STRING
=no
21274 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21275 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21277 if test "x$ac_cv_type_std__istream" = xyes
; then :
21279 cat >>confdefs.h
<<_ACEOF
21280 #define HAVE_STD__ISTREAM 1
21285 wxUSE_STD_IOSTREAM
=no
21287 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21289 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21291 cat >>confdefs.h
<<_ACEOF
21292 #define HAVE_STD__OSTREAM 1
21297 wxUSE_STD_IOSTREAM
=no
21301 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21302 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21303 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21306 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21311 if test "$wxUSE_STL" = "yes"; then
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21313 $as_echo_n "checking for basic STL functionality... " >&6; }
21314 if ${wx_cv_lib_stl+:} false
; then :
21315 $as_echo_n "(cached) " >&6
21317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h. */
21320 #include <functional>
21321 #include <algorithm>
21327 std::vector<int> moo;
21328 std::list<int> foo;
21329 std::vector<int>::iterator it =
21330 std::find_if(moo.begin(), moo.end(),
21331 std::bind2nd(std::less<int>(), 3));
21336 if ac_fn_cxx_try_compile
"$LINENO"; then :
21342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21346 $as_echo "$wx_cv_lib_stl" >&6; }
21348 if test "$wx_cv_lib_stl" != yes; then
21349 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21353 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21354 if ${wx_cv_func_stdstring_compare+:} false
; then :
21355 $as_echo_n "(cached) " >&6
21357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21358 /* end confdefs.h. */
21363 std::string foo, bar;
21365 foo.compare(1, 1, bar);
21366 foo.compare(1, 1, bar, 1, 1);
21368 foo.compare(1, 1, "");
21369 foo.compare(1, 1, "", 2);
21374 if ac_fn_cxx_try_compile
"$LINENO"; then :
21375 wx_cv_func_stdstring_compare
=yes
21377 wx_cv_func_stdstring_compare
=no
21380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21384 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21386 if test "$wx_cv_func_stdstring_compare" = yes; then
21387 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21391 if test "$wx_cv_class_gnuhashmapset" = yes; then
21392 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21394 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21398 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21401 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21403 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21404 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21405 $as_echo_n "(cached) " >&6
21407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21408 /* end confdefs.h. */
21409 #include <unordered_map>
21410 #include <unordered_set>
21414 std::unordered_map<double*, char*> test1;
21415 std::unordered_set<char*> test2;
21420 if ac_fn_cxx_try_compile
"$LINENO"; then :
21421 wx_cv_class_stdunorderedmapset
=yes
21423 wx_cv_class_stdunorderedmapset
=no
21425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21430 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21435 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21436 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21438 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21441 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21444 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21446 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21447 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21448 $as_echo_n "(cached) " >&6
21450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21451 /* end confdefs.h. */
21452 #include <tr1/unordered_map>
21453 #include <tr1/unordered_set>
21457 std::tr1::unordered_map<double*, char*> test1;
21458 std::tr1::unordered_set<char*> test2;
21459 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21460 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21466 if ac_fn_cxx_try_compile
"$LINENO"; then :
21467 wx_cv_class_tr1unorderedmapset
=yes
21469 wx_cv_class_tr1unorderedmapset
=no
21471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21476 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21481 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21482 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21484 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21487 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21490 if test "x$ac_cv_header_hash_map" = xyes
; then :
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21492 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21493 if ${wx_cv_class_stdhashmapset+:} false
; then :
21494 $as_echo_n "(cached) " >&6
21496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h. */
21498 #include <hash_map>
21499 #include <hash_set>
21503 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21504 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21509 if ac_fn_cxx_try_compile
"$LINENO"; then :
21510 wx_cv_class_stdhashmapset
=yes
21512 wx_cv_class_stdhashmapset
=no
21514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21519 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21524 if test "$wx_cv_class_stdhashmapset" = yes; then
21525 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21527 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21531 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21534 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21536 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21537 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21538 $as_echo_n "(cached) " >&6
21540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21541 /* end confdefs.h. */
21542 #include <ext/hash_map>
21543 #include <ext/hash_set>
21547 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21548 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21553 if ac_fn_cxx_try_compile
"$LINENO"; then :
21554 wx_cv_class_gnuhashmapset
=yes
21556 wx_cv_class_gnuhashmapset
=no
21558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21563 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21573 ac_cpp
='$CXXCPP $CPPFLAGS'
21574 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21575 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21576 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21578 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21579 if test -z "$CXXCPP"; then
21580 if ${ac_cv_prog_CXXCPP+:} false
; then :
21581 $as_echo_n "(cached) " >&6
21583 # Double quotes because CXXCPP needs to be expanded
21584 for CXXCPP
in "$CXX -E" "/lib/cpp"
21586 ac_preproc_ok
=false
21587 for ac_cxx_preproc_warn_flag
in '' yes
21589 # Use a header file that comes with gcc, so configuring glibc
21590 # with a fresh cross-compiler works.
21591 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21592 # <limits.h> exists even on freestanding compilers.
21593 # On the NeXT, cc -E runs the code through the compiler's parser,
21594 # not just through cpp. "Syntax error" is here to catch this case.
21595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21596 /* end confdefs.h. */
21598 # include <limits.h>
21600 # include <assert.h>
21604 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21607 # Broken: fails on valid input.
21610 rm -f conftest.err conftest.i conftest.
$ac_ext
21612 # OK, works on sane cases. Now check whether nonexistent headers
21613 # can be detected and how.
21614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21615 /* end confdefs.h. */
21616 #include <ac_nonexistent.h>
21618 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21619 # Broken: success on invalid input.
21622 # Passes both tests.
21626 rm -f conftest.err conftest.i conftest.
$ac_ext
21629 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21630 rm -f conftest.i conftest.err conftest.
$ac_ext
21631 if $ac_preproc_ok; then :
21636 ac_cv_prog_CXXCPP
=$CXXCPP
21639 CXXCPP
=$ac_cv_prog_CXXCPP
21641 ac_cv_prog_CXXCPP
=$CXXCPP
21643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21644 $as_echo "$CXXCPP" >&6; }
21645 ac_preproc_ok
=false
21646 for ac_cxx_preproc_warn_flag
in '' yes
21648 # Use a header file that comes with gcc, so configuring glibc
21649 # with a fresh cross-compiler works.
21650 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21651 # <limits.h> exists even on freestanding compilers.
21652 # On the NeXT, cc -E runs the code through the compiler's parser,
21653 # not just through cpp. "Syntax error" is here to catch this case.
21654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21655 /* end confdefs.h. */
21657 # include <limits.h>
21659 # include <assert.h>
21663 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21666 # Broken: fails on valid input.
21669 rm -f conftest.err conftest.i conftest.
$ac_ext
21671 # OK, works on sane cases. Now check whether nonexistent headers
21672 # can be detected and how.
21673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21674 /* end confdefs.h. */
21675 #include <ac_nonexistent.h>
21677 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21678 # Broken: success on invalid input.
21681 # Passes both tests.
21685 rm -f conftest.err conftest.i conftest.
$ac_ext
21688 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21689 rm -f conftest.i conftest.err conftest.
$ac_ext
21690 if $ac_preproc_ok; then :
21693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21695 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21696 See \`config.log' for more details" "$LINENO" 5; }
21700 ac_cpp
='$CXXCPP $CPPFLAGS'
21701 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21702 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21703 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21706 for ac_header
in type_traits tr
1/type_traits
21708 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21709 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21710 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21711 cat >>confdefs.h
<<_ACEOF
21712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21722 if test -n "$GCC"; then
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21724 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21725 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21726 $as_echo_n "(cached) " >&6
21729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21730 /* end confdefs.h. */
21736 unsigned int value=0;
21737 /* wxAtomicInc doesn't use return value here */
21738 __sync_fetch_and_add(&value, 2);
21739 __sync_sub_and_fetch(&value, 1);
21740 /* but wxAtomicDec does, so mimic that: */
21741 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21747 if ac_fn_cxx_try_link
"$LINENO"; then :
21748 wx_cv_cc_gcc_atomic_builtins
=yes
21750 wx_cv_cc_gcc_atomic_builtins
=no
21752 rm -f core conftest.err conftest.
$ac_objext \
21753 conftest
$ac_exeext conftest.
$ac_ext
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21758 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21759 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21760 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21767 ac_cpp
='$CPP $CPPFLAGS'
21768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21775 /usr/local/include \
21776 /usr/local/X11/include \
21777 /usr/local/include/X11 \
21778 /usr/local/X11R7/include \
21779 /usr/local/X11R6/include \
21780 /usr/local/include/X11R7 \
21781 /usr/local/include/X11R6 \
21783 /usr/Motif-2.1/include \
21784 /usr/Motif-1.2/include \
21785 /usr/include/Motif1.2 \
21788 /usr/openwin/include \
21792 /usr/X11R7/include \
21793 /usr/X11R6/include \
21794 /usr/X11R6.4/include \
21796 /usr/include/X11R7 \
21797 /usr/include/X11R6 \
21802 /usr/XFree86/include/X11 \
21805 /usr/local/X1R5/include \
21806 /usr/local/include/X11R5 \
21807 /usr/X11R5/include \
21808 /usr/include/X11R5 \
21810 /usr/local/X11R4/include \
21811 /usr/local/include/X11R4 \
21812 /usr/X11R4/include \
21813 /usr/include/X11R4 \
21815 /usr/openwin/share/include"
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21818 $as_echo_n "checking for libraries directories... " >&6; }
21822 if ${wx_cv_std_libpath+:} false
; then :
21823 $as_echo_n "(cached) " >&6
21826 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
21827 for e
in a so sl dylib dll.a
; do
21829 if test -f $libc; then
21832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h. */
21835 int main() { return 0; }
21838 if ac_fn_c_try_link
"$LINENO"; then :
21839 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
21841 rm -f core conftest.err conftest.
$ac_objext \
21842 conftest
$ac_exeext conftest.
$ac_ext
21844 if test "x$wx_cv_std_libpath" != "x"; then
21857 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21858 wx_cv_std_libpath
="lib/64"
21863 if test "$ac_cv_sizeof_void_p" = 8; then
21864 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21865 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
21866 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21867 wx_cv_std_libpath
="lib64"
21872 if test -d '/usr/lib/i386-linux-gnu'; then
21873 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
21878 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21879 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
21884 if test -z "$wx_cv_std_libpath"; then
21885 wx_cv_std_libpath
="lib"
21888 if test -z "$wx_cv_std_libfullpath"; then
21889 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21894 $as_echo "$wx_cv_std_libfullpath" >&6; }
21896 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21898 if test "$build" != "$host" -a "$GCC" = yes; then
21899 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
21900 cross_root
=`dirname $cross_root`
21901 cross_root
=`dirname $cross_root`
21903 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21904 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21905 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
21907 if test -z "$PKG_CONFIG_PATH"; then
21908 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21909 export PKG_CONFIG_PATH
21912 if test -z "$x_includes" -o "$x_includes" = NONE
; then
21915 for ac_dir
in $SEARCH_INCLUDE /usr
/include
21917 if test -f "$ac_dir/X11/Intrinsic.h"; then
21918 ac_find_includes
=$ac_dir
21923 x_includes
=$ac_find_includes
21925 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
21928 for ac_dir
in $SEARCH_LIB
21930 for ac_extension
in a so sl dylib dll.a
; do
21931 if test -f "$ac_dir/libXt.$ac_extension"; then
21932 ac_find_libraries
=$ac_dir
21938 x_libraries
=$ac_find_libraries
21944 cat >confcache
<<\_ACEOF
21945 # This file is a shell script that caches the results of configure
21946 # tests run on this system so they can be shared between configure
21947 # scripts and configure runs, see configure's option --config-cache.
21948 # It is not useful on other systems. If it contains results you don't
21949 # want to keep, you may remove or edit it.
21951 # config.status only pays attention to the cache file if you give it
21952 # the --recheck option to rerun configure.
21954 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21955 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21956 # following values.
21960 # The following way of writing the cache mishandles newlines in values,
21961 # but we know of no workaround that is simple, portable, and efficient.
21962 # So, we kill variables containing newlines.
21963 # Ultrix sh set writes to stderr and can't be redirected directly,
21964 # and sets the high bit in the cache file unless we assign to the vars.
21966 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21967 eval ac_val
=\$
$ac_var
21971 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21972 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21975 _
| IFS
| as_nl
) ;; #(
21976 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
21977 *) { eval $ac_var=; unset $ac_var;} ;;
21983 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21984 *${as_nl}ac_space
=\
*)
21985 # `set' does not quote correctly, so add quotes: double-quote
21986 # substitution turns \\\\ into \\, and sed turns \\ into \.
21989 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21992 # `set' quotes correctly as required by POSIX, so do not add quotes.
21993 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22002 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22004 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22006 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22007 if test -w "$cache_file"; then
22008 if test "x$cache_file" != "x/dev/null"; then
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22010 $as_echo "$as_me: updating cache $cache_file" >&6;}
22011 if test ! -f "$cache_file" || test -h "$cache_file"; then
22012 cat confcache
>"$cache_file"
22014 case $cache_file in #(
22016 mv -f confcache
"$cache_file"$$
&&
22017 mv -f "$cache_file"$$
"$cache_file" ;; #(
22019 mv -f confcache
"$cache_file" ;;
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22025 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22034 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22035 if test "x$ac_cv_func_cos" = xyes
; then :
22036 cat >>confdefs.h
<<_ACEOF
22043 for ac_func
in floor
22045 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22046 if test "x$ac_cv_func_floor" = xyes
; then :
22047 cat >>confdefs.h
<<_ACEOF
22048 #define HAVE_FLOOR 1
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22055 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22056 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22058 $as_echo "yes" >&6; }
22060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22061 $as_echo "no" >&6; }
22063 # use different functions to avoid configure caching
22068 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22069 if test "x$ac_cv_func_sin" = xyes
; then :
22070 cat >>confdefs.h
<<_ACEOF
22077 for ac_func
in ceil
22079 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22080 if test "x$ac_cv_func_ceil" = xyes
; then :
22081 cat >>confdefs.h
<<_ACEOF
22082 #define HAVE_CEIL 1
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22089 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22090 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22092 $as_echo "yes" >&6; }
22094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22095 $as_echo "no" >&6; }
22096 # not sure we should warn the user, crash, etc.
22101 ac_cpp
='$CXXCPP $CPPFLAGS'
22102 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22103 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22104 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22106 if test "wxUSE_UNICODE" = "yes"; then
22108 for wx_func
in wcstoull
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22111 $as_echo_n "checking for $wx_func... " >&6; }
22112 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22113 $as_echo_n "(cached) " >&6
22116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22117 /* end confdefs.h. */
22121 $ac_includes_default
22137 if ac_fn_cxx_try_link
"$LINENO"; then :
22138 eval wx_cv_func_
$wx_func=yes
22140 eval wx_cv_func_
$wx_func=no
22142 rm -f core conftest.err conftest.
$ac_objext \
22143 conftest
$ac_exeext conftest.
$ac_ext
22146 eval ac_res
=\
$wx_cv_func_$wx_func
22147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22148 $as_echo "$ac_res" >&6; }
22150 if eval test \
$wx_cv_func_$wx_func = yes
22152 cat >>confdefs.h
<<_ACEOF
22153 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22165 for wx_func
in strtoull
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22168 $as_echo_n "checking for $wx_func... " >&6; }
22169 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22170 $as_echo_n "(cached) " >&6
22173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22174 /* end confdefs.h. */
22178 $ac_includes_default
22194 if ac_fn_cxx_try_link
"$LINENO"; then :
22195 eval wx_cv_func_
$wx_func=yes
22197 eval wx_cv_func_
$wx_func=no
22199 rm -f core conftest.err conftest.
$ac_objext \
22200 conftest
$ac_exeext conftest.
$ac_ext
22203 eval ac_res
=\
$wx_cv_func_$wx_func
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22205 $as_echo "$ac_res" >&6; }
22207 if eval test \
$wx_cv_func_$wx_func = yes
22209 cat >>confdefs.h
<<_ACEOF
22210 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22222 ac_cpp
='$CPP $CPPFLAGS'
22223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22230 if test "$wxUSE_REGEX" != "no"; then
22231 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22234 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22236 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22237 wxUSE_REGEX
=builtin
22240 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22241 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22243 if test "x$ac_cv_header_regex_h" = xyes
; then :
22244 for ac_func
in regcomp re_search
22246 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22247 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22248 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22249 cat >>confdefs.h
<<_ACEOF
22250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22260 if test "x$ac_cv_func_regcomp" != "xyes"; then
22261 if test "$wxUSE_REGEX" = "sys" ; then
22262 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22265 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22266 wxUSE_REGEX
=builtin
22270 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22278 if test "$wxUSE_ZLIB" != "no" ; then
22279 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22282 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22283 if test "$USE_DARWIN" = 1; then
22284 system_zlib_h_ok
="yes"
22286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22287 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22288 if ${ac_cv_header_zlib_h+:} false
; then :
22289 $as_echo_n "(cached) " >&6
22291 if test "$cross_compiling" = yes; then :
22292 unset ac_cv_header_zlib_h
22295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22296 /* end confdefs.h. */
22303 FILE *f=fopen("conftestval", "w");
22306 ZLIB_VERSION[0] == '1' &&
22307 (ZLIB_VERSION[2] > '1' ||
22308 (ZLIB_VERSION[2] == '1' &&
22309 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22314 if ac_fn_c_try_run
"$LINENO"; then :
22315 ac_cv_header_zlib_h
=`cat conftestval`
22317 ac_cv_header_zlib_h
=no
22319 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22320 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22326 $as_echo "$ac_cv_header_zlib_h" >&6; }
22327 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22329 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22335 system_zlib_h_ok
=$ac_cv_header_zlib_h
22338 if test "$system_zlib_h_ok" = "yes"; then
22339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22340 $as_echo_n "checking for deflate in -lz... " >&6; }
22341 if ${ac_cv_lib_z_deflate+:} false
; then :
22342 $as_echo_n "(cached) " >&6
22344 ac_check_lib_save_LIBS
=$LIBS
22346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22347 /* end confdefs.h. */
22349 /* Override any GCC internal prototype to avoid an error.
22350 Use char because int might match the return type of a GCC
22351 builtin and then its argument prototype would still apply. */
22364 if ac_fn_c_try_link
"$LINENO"; then :
22365 ac_cv_lib_z_deflate
=yes
22367 ac_cv_lib_z_deflate
=no
22369 rm -f core conftest.err conftest.
$ac_objext \
22370 conftest
$ac_exeext conftest.
$ac_ext
22371 LIBS
=$ac_check_lib_save_LIBS
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22374 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22375 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22381 if test "x$ZLIB_LINK" = "x" ; then
22382 if test "$wxUSE_ZLIB" = "sys" ; then
22383 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22386 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22397 if test "$wxUSE_LIBPNG" != "no" ; then
22398 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22401 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22403 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22404 wxUSE_LIBPNG
=builtin
22407 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22409 $as_echo_n "checking for png.h > 0.90... " >&6; }
22410 if ${ac_cv_header_png_h+:} false
; then :
22411 $as_echo_n "(cached) " >&6
22413 if test "$cross_compiling" = yes; then :
22414 unset ac_cv_header_png_h
22417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22418 /* end confdefs.h. */
22425 FILE *f=fopen("conftestval", "w");
22428 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22433 if ac_fn_c_try_run
"$LINENO"; then :
22434 ac_cv_header_png_h
=`cat conftestval`
22436 ac_cv_header_png_h
=no
22438 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22439 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22445 $as_echo "$ac_cv_header_png_h" >&6; }
22446 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22448 if test "x$ac_cv_header_png_h" = xyes
; then :
22454 if test "$ac_cv_header_png_h" = "yes"; then
22455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22456 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22457 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22458 $as_echo_n "(cached) " >&6
22460 ac_check_lib_save_LIBS
=$LIBS
22461 LIBS
="-lpng -lz -lm $LIBS"
22462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22463 /* end confdefs.h. */
22465 /* Override any GCC internal prototype to avoid an error.
22466 Use char because int might match the return type of a GCC
22467 builtin and then its argument prototype would still apply. */
22471 char png_sig_cmp ();
22475 return png_sig_cmp ();
22480 if ac_fn_c_try_link
"$LINENO"; then :
22481 ac_cv_lib_png_png_sig_cmp
=yes
22483 ac_cv_lib_png_png_sig_cmp
=no
22485 rm -f core conftest.err conftest.
$ac_objext \
22486 conftest
$ac_exeext conftest.
$ac_ext
22487 LIBS
=$ac_check_lib_save_LIBS
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22490 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22491 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22492 PNG_LINK
=" -lpng -lz"
22497 if test "x$PNG_LINK" = "x" ; then
22498 if test "$wxUSE_LIBPNG" = "sys" ; then
22499 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22502 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22503 wxUSE_LIBPNG
=builtin
22513 if test "$wxUSE_LIBJPEG" != "no" ; then
22514 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22517 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22519 $as_echo_n "checking for jpeglib.h... " >&6; }
22520 if ${ac_cv_header_jpeglib_h+:} false
; then :
22521 $as_echo_n "(cached) " >&6
22523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22524 /* end confdefs.h. */
22526 #undef HAVE_STDLIB_H
22528 #include <jpeglib.h>
22539 if ac_fn_c_try_compile
"$LINENO"; then :
22540 ac_cv_header_jpeglib_h
=yes
22542 ac_cv_header_jpeglib_h
=no
22545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22550 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22552 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22554 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22555 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22556 $as_echo_n "(cached) " >&6
22558 ac_check_lib_save_LIBS
=$LIBS
22559 LIBS
="-ljpeg $LIBS"
22560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22561 /* end confdefs.h. */
22563 /* Override any GCC internal prototype to avoid an error.
22564 Use char because int might match the return type of a GCC
22565 builtin and then its argument prototype would still apply. */
22569 char jpeg_read_header ();
22573 return jpeg_read_header ();
22578 if ac_fn_c_try_link
"$LINENO"; then :
22579 ac_cv_lib_jpeg_jpeg_read_header
=yes
22581 ac_cv_lib_jpeg_jpeg_read_header
=no
22583 rm -f core conftest.err conftest.
$ac_objext \
22584 conftest
$ac_exeext conftest.
$ac_ext
22585 LIBS
=$ac_check_lib_save_LIBS
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22588 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22589 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22590 JPEG_LINK
=" -ljpeg"
22595 if test "x$JPEG_LINK" = "x" ; then
22596 if test "$wxUSE_LIBJPEG" = "sys" ; then
22597 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22600 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22601 wxUSE_LIBJPEG
=builtin
22606 if test "$wxUSE_MSW" = 1; then
22607 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22609 if test "x$ac_cv_type_boolean" = xyes
; then :
22611 cat >>confdefs.h
<<_ACEOF
22612 #define HAVE_BOOLEAN 1
22616 # The cast to long int works around a bug in the HP C Compiler
22617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22619 # This bug is HP SR number 8606223364.
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22621 $as_echo_n "checking size of boolean... " >&6; }
22622 if ${ac_cv_sizeof_boolean+:} false
; then :
22623 $as_echo_n "(cached) " >&6
22625 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22626 #undef HAVE_BOOLEAN
22628 #include <jpeglib.h>
22633 if test "$ac_cv_type_boolean" = yes; then
22634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22636 as_fn_error
77 "cannot compute sizeof (boolean)
22637 See \`config.log' for more details" "$LINENO" 5; }
22639 ac_cv_sizeof_boolean
=0
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22645 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22649 cat >>confdefs.h
<<_ACEOF
22650 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22654 cat >>confdefs.h
<<_ACEOF
22655 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22668 TIFF_PREREQ_LINKS
=-lm
22669 if test "$wxUSE_LIBTIFF" != "no" ; then
22670 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22673 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22674 if test "$wxUSE_LIBJPEG" = "sys"; then
22675 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22677 if test "$wxUSE_ZLIB" = "sys"; then
22678 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22680 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22683 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22686 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22687 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22688 $as_echo_n "(cached) " >&6
22690 ac_check_lib_save_LIBS
=$LIBS
22691 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22693 /* end confdefs.h. */
22695 /* Override any GCC internal prototype to avoid an error.
22696 Use char because int might match the return type of a GCC
22697 builtin and then its argument prototype would still apply. */
22705 return TIFFError ();
22710 if ac_fn_c_try_link
"$LINENO"; then :
22711 ac_cv_lib_tiff_TIFFError
=yes
22713 ac_cv_lib_tiff_TIFFError
=no
22715 rm -f core conftest.err conftest.
$ac_objext \
22716 conftest
$ac_exeext conftest.
$ac_ext
22717 LIBS
=$ac_check_lib_save_LIBS
22719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22720 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22721 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22722 TIFF_LINK
=" -ltiff"
22730 if test "x$TIFF_LINK" = "x" ; then
22731 if test "$wxUSE_LIBTIFF" = "sys" ; then
22732 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22735 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22736 wxUSE_LIBTIFF
=builtin
22742 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22743 if test "$wxUSE_LIBJPEG" = "no"; then
22744 ac_configure_args
="$ac_configure_args --disable-jpeg"
22748 subdirs
="$subdirs src/tiff"
22754 if test "$wxUSE_EXPAT" != "no"; then
22756 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22758 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22761 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22762 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
22764 if test "x$ac_cv_header_expat_h" = xyes
; then :
22769 if test "x$found_expat_h" = "x1"; then
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22771 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22772 if ${wx_cv_expat_is_not_broken+:} false
; then :
22773 $as_echo_n "(cached) " >&6
22777 ac_cpp
='$CXXCPP $CPPFLAGS'
22778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22783 /* end confdefs.h. */
22793 if ac_fn_cxx_try_compile
"$LINENO"; then :
22794 wx_cv_expat_is_not_broken
=yes
22796 wx_cv_expat_is_not_broken
=no
22799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22801 ac_cpp
='$CPP $CPPFLAGS'
22802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22810 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22811 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22813 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22814 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
22815 $as_echo_n "(cached) " >&6
22817 ac_check_lib_save_LIBS
=$LIBS
22818 LIBS
="-lexpat $LIBS"
22819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22820 /* end confdefs.h. */
22822 /* Override any GCC internal prototype to avoid an error.
22823 Use char because int might match the return type of a GCC
22824 builtin and then its argument prototype would still apply. */
22828 char XML_ParserCreate ();
22832 return XML_ParserCreate ();
22837 if ac_fn_c_try_link
"$LINENO"; then :
22838 ac_cv_lib_expat_XML_ParserCreate
=yes
22840 ac_cv_lib_expat_XML_ParserCreate
=no
22842 rm -f core conftest.err conftest.
$ac_objext \
22843 conftest
$ac_exeext conftest.
$ac_ext
22844 LIBS
=$ac_check_lib_save_LIBS
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22847 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22848 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
22849 EXPAT_LINK
=" -lexpat"
22854 if test "x$EXPAT_LINK" = "x" ; then
22855 if test "$wxUSE_EXPAT" = "sys" ; then
22856 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22859 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22860 wxUSE_EXPAT
=builtin
22866 if test "$wxUSE_EXPAT" = "builtin" ; then
22867 subdirs
="$subdirs src/expat"
22874 if test "$wxUSE_LIBMSPACK" != "no"; then
22875 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22877 if test "x$ac_cv_header_mspack_h" = xyes
; then :
22882 if test "x$found_mspack_h" = "x1"; then
22883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22884 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22885 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
22886 $as_echo_n "(cached) " >&6
22888 ac_check_lib_save_LIBS
=$LIBS
22889 LIBS
="-lmspack $LIBS"
22890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22891 /* end confdefs.h. */
22893 /* Override any GCC internal prototype to avoid an error.
22894 Use char because int might match the return type of a GCC
22895 builtin and then its argument prototype would still apply. */
22899 char mspack_create_chm_decompressor ();
22903 return mspack_create_chm_decompressor ();
22908 if ac_fn_c_try_link
"$LINENO"; then :
22909 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22911 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22913 rm -f core conftest.err conftest.
$ac_objext \
22914 conftest
$ac_exeext conftest.
$ac_ext
22915 LIBS
=$ac_check_lib_save_LIBS
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22918 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22919 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
22920 MSPACK_LINK
=" -lmspack"
22924 if test "x$MSPACK_LINK" = "x" ; then
22929 if test "$wxUSE_LIBMSPACK" != "no"; then
22930 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
22943 if test "$USE_WIN32" = 1 ; then
22944 for ac_header
in w32api.h
22946 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
22948 if test "x$ac_cv_header_w32api_h" = xyes
; then :
22949 cat >>confdefs.h
<<_ACEOF
22950 #define HAVE_W32API_H 1
22957 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
22959 if test "x$ac_cv_header_windows_h" = xyes
; then :
22963 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
22969 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
22971 x86_64
-*-mingw32* )
22972 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
22975 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22976 LIBS
="$LIBS -loleacc"
22981 LIBS
="$LIBS -lkernel32 -luser32"
22984 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
22985 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22987 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
22989 WIN32INSTALL
=win32install
22992 if test "$wxUSE_GUI" = "yes"; then
23003 if test "$wxUSE_OLD_COCOA" = 1 ; then
23004 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23006 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23007 wxUSE_PRINTING_ARCHITECTURE
=no
23009 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23011 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23012 wxUSE_DRAG_AND_DROP
=no
23014 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23016 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23021 if test "$wxUSE_MSW" = 1 ; then
23027 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23031 if test "$wxUSE_GTK" = 1; then
23032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23033 $as_echo_n "checking for GTK+ version... " >&6; }
23035 gtk_version_cached
=1
23036 if ${wx_cv_lib_gtk+:} false
; then :
23037 $as_echo_n "(cached) " >&6
23040 gtk_version_cached
=0
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23045 if test "$wxUSE_THREADS" = "yes"; then
23046 GTK_MODULES
=gthread
23049 if test -z "$wxGTK_VERSION"; then
23054 if test "x$wxGTK_VERSION" != "x1"
23058 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23063 if test "$wxGTK_VERSION" != 3; then
23064 # Check whether --enable-gtktest was given.
23065 if test "${enable_gtktest+set}" = set; then :
23066 enableval
=$enable_gtktest;
23072 pkg_config_args
=gtk
+-2.0
23073 for module
in .
$GTK_MODULES
23077 pkg_config_args
="$pkg_config_args gthread-2.0"
23084 # Extract the first word of "pkg-config", so it can be a program name with args.
23085 set dummy pkg
-config; ac_word
=$2
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23087 $as_echo_n "checking for $ac_word... " >&6; }
23088 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23089 $as_echo_n "(cached) " >&6
23091 case $PKG_CONFIG in
23093 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23097 for as_dir
in $PATH
23100 test -z "$as_dir" && as_dir
=.
23101 for ac_exec_ext
in '' $ac_executable_extensions; do
23102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23103 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23111 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23115 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23116 if test -n "$PKG_CONFIG"; then
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23118 $as_echo "$PKG_CONFIG" >&6; }
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23121 $as_echo "no" >&6; }
23126 if test x
$PKG_CONFIG != xno
; then
23127 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23130 echo "*** pkg-config too old; version 0.7 or better required."
23138 min_gtk_version
=2.6.0
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23140 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23142 if test x
$PKG_CONFIG != xno
; then
23143 ## don't try to run the test against uninstalled libtool libs
23144 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23145 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23149 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23156 if test x
"$no_gtk" = x
; then
23157 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23158 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23159 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23160 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23161 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23163 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23164 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23165 if test "x$enable_gtktest" = "xyes" ; then
23166 ac_save_CFLAGS
="$CFLAGS"
23167 ac_save_LIBS
="$LIBS"
23168 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23169 LIBS
="$GTK_LIBS $LIBS"
23171 if test "$cross_compiling" = yes; then :
23172 echo $ac_n "cross compiling; assumed OK... $ac_c"
23174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h. */
23177 #include <gtk/gtk.h>
23179 #include <stdlib.h>
23184 int major, minor, micro;
23187 system ("touch conf.gtktest");
23189 /* HP/UX 9 (%@#!) writes to sscanf strings */
23190 tmp_version = g_strdup("$min_gtk_version");
23191 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23192 printf("%s, bad version string\n", "$min_gtk_version");
23196 if ((gtk_major_version != $gtk_config_major_version) ||
23197 (gtk_minor_version != $gtk_config_minor_version) ||
23198 (gtk_micro_version != $gtk_config_micro_version))
23200 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23201 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23202 gtk_major_version, gtk_minor_version, gtk_micro_version);
23203 printf ("*** was found! If pkg-config was correct, then it is best\n");
23204 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23205 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23206 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23207 printf("*** required on your system.\n");
23208 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23209 printf("*** to point to the correct configuration files\n");
23211 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23212 (gtk_minor_version != GTK_MINOR_VERSION) ||
23213 (gtk_micro_version != GTK_MICRO_VERSION))
23215 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23216 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23217 printf("*** library (version %d.%d.%d)\n",
23218 gtk_major_version, gtk_minor_version, gtk_micro_version);
23222 if ((gtk_major_version > major) ||
23223 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23224 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23230 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23231 gtk_major_version, gtk_minor_version, gtk_micro_version);
23232 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23233 major, minor, micro);
23234 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23236 printf("*** If you have already installed a sufficiently new version, this error\n");
23237 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23238 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23239 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23240 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23241 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23242 printf("*** so that the correct libraries are found at run-time))\n");
23249 if ac_fn_c_try_run
"$LINENO"; then :
23254 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23255 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23258 CFLAGS
="$ac_save_CFLAGS"
23259 LIBS
="$ac_save_LIBS"
23262 if test "x$no_gtk" = x
; then
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23264 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23268 $as_echo "no" >&6; }
23269 if test "$PKG_CONFIG" = "no" ; then
23270 echo "*** A new enough version of pkg-config was not found."
23271 echo "*** See http://pkgconfig.sourceforge.net"
23273 if test -f conf.gtktest
; then
23276 echo "*** Could not run GTK+ test program, checking why..."
23277 ac_save_CFLAGS
="$CFLAGS"
23278 ac_save_LIBS
="$LIBS"
23279 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23280 LIBS
="$LIBS $GTK_LIBS"
23281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23282 /* end confdefs.h. */
23284 #include <gtk/gtk.h>
23290 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23295 if ac_fn_c_try_link
"$LINENO"; then :
23296 echo "*** The test program compiled, but did not run. This usually means"
23297 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23298 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23299 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23300 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23301 echo "*** is required on your system"
23303 echo "*** If you have an old version installed, it is best to remove it, although"
23304 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23306 echo "*** The test program failed to compile or link. See the file config.log for the"
23307 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23309 rm -f core conftest.err conftest.
$ac_objext \
23310 conftest
$ac_exeext conftest.
$ac_ext
23311 CFLAGS
="$ac_save_CFLAGS"
23312 LIBS
="$ac_save_LIBS"
23324 if test -z "$wx_cv_lib_gtk"; then
23325 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23326 # Check whether --enable-gtktest was given.
23327 if test "${enable_gtktest+set}" = set; then :
23328 enableval
=$enable_gtktest;
23334 pkg_config_args
=gtk
+-3.0
23335 for module
in .
$GTK_MODULES
23339 pkg_config_args
="$pkg_config_args gthread-2.0"
23346 # Extract the first word of "pkg-config", so it can be a program name with args.
23347 set dummy pkg
-config; ac_word
=$2
23348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23349 $as_echo_n "checking for $ac_word... " >&6; }
23350 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23351 $as_echo_n "(cached) " >&6
23353 case $PKG_CONFIG in
23355 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23359 for as_dir
in $PATH
23362 test -z "$as_dir" && as_dir
=.
23363 for ac_exec_ext
in '' $ac_executable_extensions; do
23364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23365 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23373 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23377 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23378 if test -n "$PKG_CONFIG"; then
23379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23380 $as_echo "$PKG_CONFIG" >&6; }
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23383 $as_echo "no" >&6; }
23388 if test x
$PKG_CONFIG != xno
; then
23389 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23392 echo "*** pkg-config too old; version 0.7 or better required."
23400 min_gtk_version
=3.0.0
23401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23402 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23404 if test x
$PKG_CONFIG != xno
; then
23405 ## don't try to run the test against uninstalled libtool libs
23406 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23407 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23411 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23418 if test x
"$no_gtk" = x
; then
23419 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23420 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23421 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23422 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23423 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23424 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23425 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23426 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23427 if test "x$enable_gtktest" = "xyes" ; then
23428 ac_save_CFLAGS
="$CFLAGS"
23429 ac_save_LIBS
="$LIBS"
23430 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23431 LIBS
="$GTK_LIBS $LIBS"
23433 if test "$cross_compiling" = yes; then :
23434 echo $ac_n "cross compiling; assumed OK... $ac_c"
23436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23437 /* end confdefs.h. */
23439 #include <gtk/gtk.h>
23441 #include <stdlib.h>
23446 int major, minor, micro;
23449 fclose (fopen ("conf.gtktest", "w"));
23451 /* HP/UX 9 (%@#!) writes to sscanf strings */
23452 tmp_version = g_strdup("$min_gtk_version");
23453 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23454 printf("%s, bad version string\n", "$min_gtk_version");
23458 if ((gtk_major_version != $gtk_config_major_version) ||
23459 (gtk_minor_version != $gtk_config_minor_version) ||
23460 (gtk_micro_version != $gtk_config_micro_version))
23462 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23463 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23464 gtk_major_version, gtk_minor_version, gtk_micro_version);
23465 printf ("*** was found! If pkg-config was correct, then it is best\n");
23466 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23467 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23468 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23469 printf("*** required on your system.\n");
23470 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23471 printf("*** to point to the correct configuration files\n");
23473 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23474 (gtk_minor_version != GTK_MINOR_VERSION) ||
23475 (gtk_micro_version != GTK_MICRO_VERSION))
23477 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23478 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23479 printf("*** library (version %d.%d.%d)\n",
23480 gtk_major_version, gtk_minor_version, gtk_micro_version);
23484 if ((gtk_major_version > major) ||
23485 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23486 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23492 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23493 gtk_major_version, gtk_minor_version, gtk_micro_version);
23494 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23495 major, minor, micro);
23496 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23498 printf("*** If you have already installed a sufficiently new version, this error\n");
23499 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23500 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23501 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23502 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23503 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23504 printf("*** so that the correct libraries are found at run-time))\n");
23511 if ac_fn_c_try_run
"$LINENO"; then :
23516 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23517 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23520 CFLAGS
="$ac_save_CFLAGS"
23521 LIBS
="$ac_save_LIBS"
23524 if test "x$no_gtk" = x
; then
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23526 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23530 $as_echo "no" >&6; }
23531 if test "$PKG_CONFIG" = "no" ; then
23532 echo "*** A new enough version of pkg-config was not found."
23533 echo "*** See http://pkgconfig.sourceforge.net"
23535 if test -f conf.gtktest
; then
23538 echo "*** Could not run GTK+ test program, checking why..."
23539 ac_save_CFLAGS
="$CFLAGS"
23540 ac_save_LIBS
="$LIBS"
23541 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23542 LIBS
="$LIBS $GTK_LIBS"
23543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23544 /* end confdefs.h. */
23546 #include <gtk/gtk.h>
23552 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23557 if ac_fn_c_try_link
"$LINENO"; then :
23558 echo "*** The test program compiled, but did not run. This usually means"
23559 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23560 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23561 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23562 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23563 echo "*** is required on your system"
23565 echo "*** If you have an old version installed, it is best to remove it, although"
23566 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23568 echo "*** The test program failed to compile or link. See the file config.log for the"
23569 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23571 rm -f core conftest.err conftest.
$ac_objext \
23572 conftest
$ac_exeext conftest.
$ac_ext
23573 CFLAGS
="$ac_save_CFLAGS"
23574 LIBS
="$ac_save_LIBS"
23589 if test -z "$wx_cv_lib_gtk"; then
23590 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23592 # Check whether --with-gtk-prefix was given.
23593 if test "${with_gtk_prefix+set}" = set; then :
23594 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23596 gtk_config_prefix
=""
23600 # Check whether --with-gtk-exec-prefix was given.
23601 if test "${with_gtk_exec_prefix+set}" = set; then :
23602 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23604 gtk_config_exec_prefix
=""
23607 # Check whether --enable-gtktest was given.
23608 if test "${enable_gtktest+set}" = set; then :
23609 enableval
=$enable_gtktest;
23615 for module
in .
$GTK_MODULES
23619 gtk_config_args
="$gtk_config_args gthread"
23624 if test x
$gtk_config_exec_prefix != x
; then
23625 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23626 if test x
${GTK_CONFIG+set} != xset
; then
23627 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23630 if test x
$gtk_config_prefix != x
; then
23631 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23632 if test x
${GTK_CONFIG+set} != xset
; then
23633 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23637 # Extract the first word of "gtk-config", so it can be a program name with args.
23638 set dummy gtk
-config; ac_word
=$2
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23640 $as_echo_n "checking for $ac_word... " >&6; }
23641 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23642 $as_echo_n "(cached) " >&6
23644 case $GTK_CONFIG in
23646 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23650 for as_dir
in $PATH
23653 test -z "$as_dir" && as_dir
=.
23654 for ac_exec_ext
in '' $ac_executable_extensions; do
23655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23656 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23664 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23668 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23669 if test -n "$GTK_CONFIG"; then
23670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23671 $as_echo "$GTK_CONFIG" >&6; }
23673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23674 $as_echo "no" >&6; }
23678 min_gtk_version
=1.2.7
23679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23680 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23682 if test "$GTK_CONFIG" = "no" ; then
23685 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23686 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23687 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23688 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23689 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23690 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23691 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23692 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23693 if test "x$enable_gtktest" = "xyes" ; then
23694 ac_save_CFLAGS
="$CFLAGS"
23695 ac_save_LIBS
="$LIBS"
23696 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23697 LIBS
="$GTK_LIBS $LIBS"
23699 if test "$cross_compiling" = yes; then :
23700 echo $ac_n "cross compiling; assumed OK... $ac_c"
23702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23703 /* end confdefs.h. */
23705 #include <gtk/gtk.h>
23707 #include <stdlib.h>
23712 int major, minor, micro;
23715 system ("touch conf.gtktest");
23717 /* HP/UX 9 (%@#!) writes to sscanf strings */
23718 tmp_version = g_strdup("$min_gtk_version");
23719 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23720 printf("%s, bad version string\n", "$min_gtk_version");
23724 if ((gtk_major_version != $gtk_config_major_version) ||
23725 (gtk_minor_version != $gtk_config_minor_version) ||
23726 (gtk_micro_version != $gtk_config_micro_version))
23728 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23729 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23730 gtk_major_version, gtk_minor_version, gtk_micro_version);
23731 printf ("*** was found! If gtk-config was correct, then it is best\n");
23732 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23733 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23734 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23735 printf("*** required on your system.\n");
23736 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23737 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23738 printf("*** before re-running configure\n");
23740 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23741 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23742 (gtk_minor_version != GTK_MINOR_VERSION) ||
23743 (gtk_micro_version != GTK_MICRO_VERSION))
23745 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23746 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23747 printf("*** library (version %d.%d.%d)\n",
23748 gtk_major_version, gtk_minor_version, gtk_micro_version);
23750 #endif /* defined (GTK_MAJOR_VERSION) ... */
23753 if ((gtk_major_version > major) ||
23754 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23755 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23761 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23762 gtk_major_version, gtk_minor_version, gtk_micro_version);
23763 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23764 major, minor, micro);
23765 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23767 printf("*** If you have already installed a sufficiently new version, this error\n");
23768 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23769 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23770 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23771 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23772 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23773 printf("*** so that the correct libraries are found at run-time))\n");
23780 if ac_fn_c_try_run
"$LINENO"; then :
23785 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23786 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23789 CFLAGS
="$ac_save_CFLAGS"
23790 LIBS
="$ac_save_LIBS"
23793 if test "x$no_gtk" = x
; then
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23795 $as_echo "yes" >&6; }
23796 wx_cv_lib_gtk
=1.2.7
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23799 $as_echo "no" >&6; }
23800 if test "$GTK_CONFIG" = "no" ; then
23801 echo "*** The gtk-config script installed by GTK could not be found"
23802 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23803 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23804 echo "*** full path to gtk-config."
23806 if test -f conf.gtktest
; then
23809 echo "*** Could not run GTK test program, checking why..."
23810 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23811 LIBS
="$LIBS $GTK_LIBS"
23812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23813 /* end confdefs.h. */
23815 #include <gtk/gtk.h>
23821 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23826 if ac_fn_c_try_link
"$LINENO"; then :
23827 echo "*** The test program compiled, but did not run. This usually means"
23828 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23829 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23830 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23831 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23832 echo "*** is required on your system"
23834 echo "*** If you have an old version installed, it is best to remove it, although"
23835 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23837 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23838 echo "*** came with the system with the command"
23840 echo "*** rpm --erase --nodeps gtk gtk-devel"
23842 echo "*** The test program failed to compile or link. See the file config.log for the"
23843 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23844 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23845 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23847 rm -f core conftest.err conftest.
$ac_objext \
23848 conftest
$ac_exeext conftest.
$ac_ext
23849 CFLAGS
="$ac_save_CFLAGS"
23850 LIBS
="$ac_save_LIBS"
23862 if test -z "$wx_cv_lib_gtk"; then
23864 # Check whether --with-gtk-prefix was given.
23865 if test "${with_gtk_prefix+set}" = set; then :
23866 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23868 gtk_config_prefix
=""
23872 # Check whether --with-gtk-exec-prefix was given.
23873 if test "${with_gtk_exec_prefix+set}" = set; then :
23874 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23876 gtk_config_exec_prefix
=""
23879 # Check whether --enable-gtktest was given.
23880 if test "${enable_gtktest+set}" = set; then :
23881 enableval
=$enable_gtktest;
23887 for module
in .
$GTK_MODULES
23891 gtk_config_args
="$gtk_config_args gthread"
23896 if test x
$gtk_config_exec_prefix != x
; then
23897 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23898 if test x
${GTK_CONFIG+set} != xset
; then
23899 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23902 if test x
$gtk_config_prefix != x
; then
23903 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23904 if test x
${GTK_CONFIG+set} != xset
; then
23905 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23909 # Extract the first word of "gtk-config", so it can be a program name with args.
23910 set dummy gtk
-config; ac_word
=$2
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23912 $as_echo_n "checking for $ac_word... " >&6; }
23913 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23914 $as_echo_n "(cached) " >&6
23916 case $GTK_CONFIG in
23918 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23922 for as_dir
in $PATH
23925 test -z "$as_dir" && as_dir
=.
23926 for ac_exec_ext
in '' $ac_executable_extensions; do
23927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23928 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23936 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23940 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23941 if test -n "$GTK_CONFIG"; then
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23943 $as_echo "$GTK_CONFIG" >&6; }
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23946 $as_echo "no" >&6; }
23950 min_gtk_version
=1.2.3
23951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23952 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23954 if test "$GTK_CONFIG" = "no" ; then
23957 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23958 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23959 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23960 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23961 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23962 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23963 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23964 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23965 if test "x$enable_gtktest" = "xyes" ; then
23966 ac_save_CFLAGS
="$CFLAGS"
23967 ac_save_LIBS
="$LIBS"
23968 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23969 LIBS
="$GTK_LIBS $LIBS"
23971 if test "$cross_compiling" = yes; then :
23972 echo $ac_n "cross compiling; assumed OK... $ac_c"
23974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23975 /* end confdefs.h. */
23977 #include <gtk/gtk.h>
23979 #include <stdlib.h>
23984 int major, minor, micro;
23987 system ("touch conf.gtktest");
23989 /* HP/UX 9 (%@#!) writes to sscanf strings */
23990 tmp_version = g_strdup("$min_gtk_version");
23991 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23992 printf("%s, bad version string\n", "$min_gtk_version");
23996 if ((gtk_major_version != $gtk_config_major_version) ||
23997 (gtk_minor_version != $gtk_config_minor_version) ||
23998 (gtk_micro_version != $gtk_config_micro_version))
24000 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24001 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24002 gtk_major_version, gtk_minor_version, gtk_micro_version);
24003 printf ("*** was found! If gtk-config was correct, then it is best\n");
24004 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24005 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24006 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24007 printf("*** required on your system.\n");
24008 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24009 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24010 printf("*** before re-running configure\n");
24012 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24013 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24014 (gtk_minor_version != GTK_MINOR_VERSION) ||
24015 (gtk_micro_version != GTK_MICRO_VERSION))
24017 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24018 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24019 printf("*** library (version %d.%d.%d)\n",
24020 gtk_major_version, gtk_minor_version, gtk_micro_version);
24022 #endif /* defined (GTK_MAJOR_VERSION) ... */
24025 if ((gtk_major_version > major) ||
24026 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24027 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24033 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24034 gtk_major_version, gtk_minor_version, gtk_micro_version);
24035 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24036 major, minor, micro);
24037 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24039 printf("*** If you have already installed a sufficiently new version, this error\n");
24040 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24041 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24042 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24043 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24044 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24045 printf("*** so that the correct libraries are found at run-time))\n");
24052 if ac_fn_c_try_run
"$LINENO"; then :
24057 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24058 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24061 CFLAGS
="$ac_save_CFLAGS"
24062 LIBS
="$ac_save_LIBS"
24065 if test "x$no_gtk" = x
; then
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24067 $as_echo "yes" >&6; }
24068 wx_cv_lib_gtk
=1.2.3
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24071 $as_echo "no" >&6; }
24072 if test "$GTK_CONFIG" = "no" ; then
24073 echo "*** The gtk-config script installed by GTK could not be found"
24074 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24075 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24076 echo "*** full path to gtk-config."
24078 if test -f conf.gtktest
; then
24081 echo "*** Could not run GTK test program, checking why..."
24082 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24083 LIBS
="$LIBS $GTK_LIBS"
24084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24085 /* end confdefs.h. */
24087 #include <gtk/gtk.h>
24093 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24098 if ac_fn_c_try_link
"$LINENO"; then :
24099 echo "*** The test program compiled, but did not run. This usually means"
24100 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24101 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24102 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24103 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24104 echo "*** is required on your system"
24106 echo "*** If you have an old version installed, it is best to remove it, although"
24107 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24109 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24110 echo "*** came with the system with the command"
24112 echo "*** rpm --erase --nodeps gtk gtk-devel"
24114 echo "*** The test program failed to compile or link. See the file config.log for the"
24115 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24116 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24117 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24119 rm -f core conftest.err conftest.
$ac_objext \
24120 conftest
$ac_exeext conftest.
$ac_ext
24121 CFLAGS
="$ac_save_CFLAGS"
24122 LIBS
="$ac_save_LIBS"
24137 if test -z "$wx_cv_lib_gtk"; then
24140 GTK_LIBS
="$GTK_LIBS -lX11"
24142 wx_cv_cflags_gtk
=$GTK_CFLAGS
24143 wx_cv_libs_gtk
=$GTK_LIBS
24150 if test "$gtk_version_cached" = 1; then
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24152 $as_echo "$wx_cv_lib_gtk" >&6; }
24155 case "$wx_cv_lib_gtk" in
24166 *) as_fn_error $?
"
24167 The development files for GTK+ were not found. For GTK+ 2, please
24168 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24169 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24170 and that the version is 1.2.3 or above. Also check that the
24171 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24172 --libs' are in the LD_LIBRARY_PATH or equivalent.
24177 if test "$WXGTK3" = 1; then
24178 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24180 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24182 elif test "$WXGTK2" = 1; then
24183 save_CFLAGS
="$CFLAGS"
24185 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24186 LIBS
="$LIBS $wx_cv_libs_gtk"
24188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24189 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24191 /* end confdefs.h. */
24193 #include <gtk/gtk.h>
24199 #if !GTK_CHECK_VERSION(2,18,0)
24207 if ac_fn_c_try_compile
"$LINENO"; then :
24209 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24211 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24214 $as_echo "yes" >&6; }
24219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24220 $as_echo "no" >&6; }
24224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24226 if test "$ac_wxgtk218" = 0; then
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24228 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h. */
24232 #include <gtk/gtk.h>
24238 #if !GTK_CHECK_VERSION(2,10,0)
24246 if ac_fn_c_try_compile
"$LINENO"; then :
24248 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24251 $as_echo "yes" >&6; }
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24257 $as_echo "no" >&6; }
24261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24264 CFLAGS
="$save_CFLAGS"
24267 if test "$wxUSE_UNICODE" = "yes"; then
24268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24269 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24274 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24275 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24276 $as_echo_n "(cached) " >&6
24278 ac_check_lib_save_LIBS
=$LIBS
24280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h. */
24283 /* Override any GCC internal prototype to avoid an error.
24284 Use char because int might match the return type of a GCC
24285 builtin and then its argument prototype would still apply. */
24289 char gdk_im_open ();
24293 return gdk_im_open ();
24298 if ac_fn_c_try_link
"$LINENO"; then :
24299 ac_cv_lib_gdk_gdk_im_open
=yes
24301 ac_cv_lib_gdk_gdk_im_open
=no
24303 rm -f core conftest.err conftest.
$ac_objext \
24304 conftest
$ac_exeext conftest.
$ac_ext
24305 LIBS
=$ac_check_lib_save_LIBS
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24308 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24309 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24310 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24315 if test "$USE_DARWIN" != 1; then
24316 for ac_func
in poll
24318 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24319 if test "x$ac_cv_func_poll" = xyes
; then :
24320 cat >>confdefs.h
<<_ACEOF
24321 #define HAVE_POLL 1
24330 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24331 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24332 AFMINSTALL
=afminstall
24336 if test "$wxUSE_GPE" = "yes"; then
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24338 $as_echo_n "checking for gpewidget library... " >&6; }
24341 for ac_dir
in $SEARCH_LIB
24343 for ac_extension
in a so sl dylib dll.a
; do
24344 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24345 ac_find_libraries
=$ac_dir
24351 if test "$ac_find_libraries" != "" ; then
24353 if test "$ac_find_libraries" = "default location"; then
24356 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24358 if test $result = 0; then
24361 ac_path_to_link
=" -L$ac_find_libraries"
24365 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24368 $as_echo "found in $ac_find_libraries" >&6; }
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24371 $as_echo "not found" >&6; }
24377 if test "$wxUSE_DFB" = 1; then
24380 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24381 if test -n "$ac_tool_prefix"; then
24382 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24383 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24385 $as_echo_n "checking for $ac_word... " >&6; }
24386 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24387 $as_echo_n "(cached) " >&6
24389 case $PKG_CONFIG in
24391 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24395 for as_dir
in $PATH
24398 test -z "$as_dir" && as_dir
=.
24399 for ac_exec_ext
in '' $ac_executable_extensions; do
24400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24401 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24412 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24413 if test -n "$PKG_CONFIG"; then
24414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24415 $as_echo "$PKG_CONFIG" >&6; }
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24418 $as_echo "no" >&6; }
24423 if test -z "$ac_cv_path_PKG_CONFIG"; then
24424 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24425 # Extract the first word of "pkg-config", so it can be a program name with args.
24426 set dummy pkg
-config; ac_word
=$2
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24428 $as_echo_n "checking for $ac_word... " >&6; }
24429 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24430 $as_echo_n "(cached) " >&6
24432 case $ac_pt_PKG_CONFIG in
24434 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24438 for as_dir
in $PATH
24441 test -z "$as_dir" && as_dir
=.
24442 for ac_exec_ext
in '' $ac_executable_extensions; do
24443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24444 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24455 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24456 if test -n "$ac_pt_PKG_CONFIG"; then
24457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24458 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24461 $as_echo "no" >&6; }
24464 if test "x$ac_pt_PKG_CONFIG" = x
; then
24467 case $cross_compiling:$ac_tool_warned in
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24471 ac_tool_warned
=yes ;;
24473 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24476 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24480 if test -n "$PKG_CONFIG"; then
24481 _pkg_min_version
=0.9.0
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24483 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24484 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24486 $as_echo "yes" >&6; }
24488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24489 $as_echo "no" >&6; }
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24498 $as_echo_n "checking for DIRECTFB... " >&6; }
24500 if test -n "$PKG_CONFIG"; then
24501 if test -n "$DIRECTFB_CFLAGS"; then
24502 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24504 if test -n "$PKG_CONFIG" && \
24505 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24506 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24509 test $ac_status = 0; }; then
24510 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24518 if test -n "$PKG_CONFIG"; then
24519 if test -n "$DIRECTFB_LIBS"; then
24520 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24522 if test -n "$PKG_CONFIG" && \
24523 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24524 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24527 test $ac_status = 0; }; then
24528 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24539 if test $pkg_failed = yes; then
24541 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24542 _pkg_short_errors_supported
=yes
24544 _pkg_short_errors_supported
=no
24546 if test $_pkg_short_errors_supported = yes; then
24547 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24549 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24551 # Put the nasty error message in config.log where it belongs
24552 echo "$DIRECTFB_PKG_ERRORS" >&5
24555 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24558 elif test $pkg_failed = untried
; then
24560 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24564 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24565 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24567 $as_echo "yes" >&6; }
24569 wxUSE_UNIVERSAL
="yes"
24570 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24571 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24578 if test "$wxUSE_MICROWIN" = 1; then
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24580 $as_echo_n "checking for MicroWindows... " >&6; }
24581 if test "x$MICROWINDOWS" = x
; then
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24583 $as_echo "not found" >&6; }
24584 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24587 $as_echo "$MICROWINDOWS" >&6; }
24590 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24592 $as_echo "MicroWindows' libraries found." >&6; }
24594 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24597 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24598 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24600 wxUSE_UNIVERSAL
="yes"
24602 AFMINSTALL
=afminstall
24604 GUIDIST
=MICROWIN_DIST
24606 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24609 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24611 $as_echo_n "checking for X... " >&6; }
24614 # Check whether --with-x was given.
24615 if test "${with_x+set}" = set; then :
24619 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24620 if test "x$with_x" = xno
; then
24621 # The user explicitly disabled X.
24624 case $x_includes,$x_libraries in #(
24625 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24626 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24627 $as_echo_n "(cached) " >&6
24629 # One or both of the vars are not set, and there is no cached value.
24630 ac_x_includes
=no ac_x_libraries
=no
24631 rm -f -r conftest.dir
24632 if mkdir conftest.dir
; then
24634 cat >Imakefile
<<'_ACEOF'
24636 @echo incroot='${INCROOT}'
24638 @echo usrlibdir='${USRLIBDIR}'
24640 @echo libdir='${LIBDIR}'
24642 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24643 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24644 for ac_var
in incroot usrlibdir libdir
; do
24645 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24647 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24648 for ac_extension
in a so sl dylib la dll
; do
24649 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24650 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24651 ac_im_usrlibdir
=$ac_im_libdir; break
24654 # Screen out bogus values from the imake configuration. They are
24655 # bogus both because they are the default anyway, and because
24656 # using them would break gcc on systems where it needs fixed includes.
24657 case $ac_im_incroot in
24658 /usr
/include
) ac_x_includes
= ;;
24659 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24661 case $ac_im_usrlibdir in
24662 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24663 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24667 rm -f -r conftest.dir
24670 # Standard set of common directories for X headers.
24671 # Check X11 before X11Rn because it is often a symlink to the current release.
24685 /usr/local/X11/include
24686 /usr/local/X11R7/include
24687 /usr/local/X11R6/include
24688 /usr/local/X11R5/include
24689 /usr/local/X11R4/include
24691 /usr/local/include/X11
24692 /usr/local/include/X11R7
24693 /usr/local/include/X11R6
24694 /usr/local/include/X11R5
24695 /usr/local/include/X11R4
24699 /usr/XFree86/include/X11
24703 /usr/unsupported/include
24704 /usr/athena/include
24705 /usr/local/x11r5/include
24706 /usr/lpp/Xamples/include
24708 /usr/openwin/include
24709 /usr/openwin/share/include'
24711 if test "$ac_x_includes" = no
; then
24712 # Guess where to find include files, by looking for Xlib.h.
24713 # First, try using that file with no special directory specified.
24714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h. */
24716 #include <X11/Xlib.h>
24718 if ac_fn_c_try_cpp
"$LINENO"; then :
24719 # We can compile using X headers with no special include directory.
24722 for ac_dir
in $ac_x_header_dirs; do
24723 if test -r "$ac_dir/X11/Xlib.h"; then
24724 ac_x_includes
=$ac_dir
24729 rm -f conftest.err conftest.i conftest.
$ac_ext
24730 fi # $ac_x_includes = no
24732 if test "$ac_x_libraries" = no
; then
24733 # Check for the libraries.
24734 # See if we find them without any special options.
24735 # Don't add to $LIBS permanently.
24738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24739 /* end confdefs.h. */
24740 #include <X11/Xlib.h>
24749 if ac_fn_c_try_link
"$LINENO"; then :
24751 # We can link X programs with no special library path.
24755 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24757 # Don't even attempt the hair of trying to link an X program!
24758 for ac_extension
in a so sl dylib la dll
; do
24759 if test -r "$ac_dir/libX11.$ac_extension"; then
24760 ac_x_libraries
=$ac_dir
24766 rm -f core conftest.err conftest.
$ac_objext \
24767 conftest
$ac_exeext conftest.
$ac_ext
24768 fi # $ac_x_libraries = no
24770 case $ac_x_includes,$ac_x_libraries in #(
24771 no
,* | *,no
| *\'*)
24772 # Didn't find X, or a directory has "'" in its name.
24773 ac_cv_have_x
="have_x=no";; #(
24775 # Record where we found X for the cache.
24776 ac_cv_have_x
="have_x=yes\
24777 ac_x_includes='$ac_x_includes'\
24778 ac_x_libraries='$ac_x_libraries'"
24784 eval "$ac_cv_have_x"
24787 if test "$have_x" != yes; then
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24789 $as_echo "$have_x" >&6; }
24792 # If each of the values was on the command line, it overrides each guess.
24793 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24794 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24795 # Update the cache value to reflect the command line values.
24796 ac_cv_have_x
="have_x=yes\
24797 ac_x_includes='$x_includes'\
24798 ac_x_libraries='$x_libraries'"
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24800 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24803 if test "$no_x" = yes; then
24804 # Not all programs may use this symbol, but it does not hurt to define it.
24806 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24808 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24810 if test -n "$x_includes"; then
24811 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24814 # It would also be nice to do this for all -L options, not just this one.
24815 if test -n "$x_libraries"; then
24816 X_LIBS
="$X_LIBS -L$x_libraries"
24817 # For Solaris; some versions of Sun CC require a space after -R and
24818 # others require no space. Words are not sufficient . . . .
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24820 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24821 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24822 ac_xsave_c_werror_flag
=$ac_c_werror_flag
24823 ac_c_werror_flag
=yes
24824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24825 /* end confdefs.h. */
24835 if ac_fn_c_try_link
"$LINENO"; then :
24836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24837 $as_echo "no" >&6; }
24838 X_LIBS
="$X_LIBS -R$x_libraries"
24840 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h. */
24852 if ac_fn_c_try_link
"$LINENO"; then :
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24854 $as_echo "yes" >&6; }
24855 X_LIBS
="$X_LIBS -R $x_libraries"
24857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24858 $as_echo "neither works" >&6; }
24860 rm -f core conftest.err conftest.
$ac_objext \
24861 conftest
$ac_exeext conftest.
$ac_ext
24863 rm -f core conftest.err conftest.
$ac_objext \
24864 conftest
$ac_exeext conftest.
$ac_ext
24865 ac_c_werror_flag
=$ac_xsave_c_werror_flag
24866 LIBS
=$ac_xsave_LIBS
24869 # Check for system-dependent libraries X programs must link with.
24870 # Do this before checking for the system-independent R6 libraries
24871 # (-lICE), since we may need -lsocket or whatever for X linking.
24873 if test "$ISC" = yes; then
24874 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24876 # Martyn Johnson says this is needed for Ultrix, if the X
24877 # libraries were built with DECnet support. And Karl Berry says
24878 # the Alpha needs dnet_stub (dnet does not exist).
24879 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24881 /* end confdefs.h. */
24883 /* Override any GCC internal prototype to avoid an error.
24884 Use char because int might match the return type of a GCC
24885 builtin and then its argument prototype would still apply. */
24889 char XOpenDisplay ();
24893 return XOpenDisplay ();
24898 if ac_fn_c_try_link
"$LINENO"; then :
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24902 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24903 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
24904 $as_echo_n "(cached) " >&6
24906 ac_check_lib_save_LIBS
=$LIBS
24907 LIBS
="-ldnet $LIBS"
24908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24909 /* end confdefs.h. */
24911 /* Override any GCC internal prototype to avoid an error.
24912 Use char because int might match the return type of a GCC
24913 builtin and then its argument prototype would still apply. */
24921 return dnet_ntoa ();
24926 if ac_fn_c_try_link
"$LINENO"; then :
24927 ac_cv_lib_dnet_dnet_ntoa
=yes
24929 ac_cv_lib_dnet_dnet_ntoa
=no
24931 rm -f core conftest.err conftest.
$ac_objext \
24932 conftest
$ac_exeext conftest.
$ac_ext
24933 LIBS
=$ac_check_lib_save_LIBS
24935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24936 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24937 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
24938 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24941 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24943 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24944 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
24945 $as_echo_n "(cached) " >&6
24947 ac_check_lib_save_LIBS
=$LIBS
24948 LIBS
="-ldnet_stub $LIBS"
24949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h. */
24952 /* Override any GCC internal prototype to avoid an error.
24953 Use char because int might match the return type of a GCC
24954 builtin and then its argument prototype would still apply. */
24962 return dnet_ntoa ();
24967 if ac_fn_c_try_link
"$LINENO"; then :
24968 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24970 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24972 rm -f core conftest.err conftest.
$ac_objext \
24973 conftest
$ac_exeext conftest.
$ac_ext
24974 LIBS
=$ac_check_lib_save_LIBS
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24977 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24978 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
24979 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24984 rm -f core conftest.err conftest.
$ac_objext \
24985 conftest
$ac_exeext conftest.
$ac_ext
24986 LIBS
="$ac_xsave_LIBS"
24988 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24989 # to get the SysV transport functions.
24990 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24992 # The nsl library prevents programs from opening the X display
24993 # on Irix 5.2, according to T.E. Dickey.
24994 # The functions gethostbyname, getservbyname, and inet_addr are
24995 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24996 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
24997 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25001 if test $ac_cv_func_gethostbyname = no
; then
25002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25003 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25004 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25005 $as_echo_n "(cached) " >&6
25007 ac_check_lib_save_LIBS
=$LIBS
25009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h. */
25012 /* Override any GCC internal prototype to avoid an error.
25013 Use char because int might match the return type of a GCC
25014 builtin and then its argument prototype would still apply. */
25018 char gethostbyname ();
25022 return gethostbyname ();
25027 if ac_fn_c_try_link
"$LINENO"; then :
25028 ac_cv_lib_nsl_gethostbyname
=yes
25030 ac_cv_lib_nsl_gethostbyname
=no
25032 rm -f core conftest.err conftest.
$ac_objext \
25033 conftest
$ac_exeext conftest.
$ac_ext
25034 LIBS
=$ac_check_lib_save_LIBS
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25037 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25038 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25039 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25042 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25044 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25045 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25046 $as_echo_n "(cached) " >&6
25048 ac_check_lib_save_LIBS
=$LIBS
25050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25053 /* Override any GCC internal prototype to avoid an error.
25054 Use char because int might match the return type of a GCC
25055 builtin and then its argument prototype would still apply. */
25059 char gethostbyname ();
25063 return gethostbyname ();
25068 if ac_fn_c_try_link
"$LINENO"; then :
25069 ac_cv_lib_bsd_gethostbyname
=yes
25071 ac_cv_lib_bsd_gethostbyname
=no
25073 rm -f core conftest.err conftest.
$ac_objext \
25074 conftest
$ac_exeext conftest.
$ac_ext
25075 LIBS
=$ac_check_lib_save_LIBS
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25078 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25079 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25080 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25086 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25087 # socket/setsockopt and other routines are undefined under SCO ODT
25088 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25089 # on later versions), says Simon Leinen: it contains gethostby*
25090 # variants that don't use the name server (or something). -lsocket
25091 # must be given before -lnsl if both are needed. We assume that
25092 # if connect needs -lnsl, so does gethostbyname.
25093 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25094 if test "x$ac_cv_func_connect" = xyes
; then :
25098 if test $ac_cv_func_connect = no
; then
25099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25100 $as_echo_n "checking for connect in -lsocket... " >&6; }
25101 if ${ac_cv_lib_socket_connect+:} false
; then :
25102 $as_echo_n "(cached) " >&6
25104 ac_check_lib_save_LIBS
=$LIBS
25105 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25107 /* end confdefs.h. */
25109 /* Override any GCC internal prototype to avoid an error.
25110 Use char because int might match the return type of a GCC
25111 builtin and then its argument prototype would still apply. */
25124 if ac_fn_c_try_link
"$LINENO"; then :
25125 ac_cv_lib_socket_connect
=yes
25127 ac_cv_lib_socket_connect
=no
25129 rm -f core conftest.err conftest.
$ac_objext \
25130 conftest
$ac_exeext conftest.
$ac_ext
25131 LIBS
=$ac_check_lib_save_LIBS
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25134 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25135 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25136 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25141 # Guillermo Gomez says -lposix is necessary on A/UX.
25142 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25143 if test "x$ac_cv_func_remove" = xyes
; then :
25147 if test $ac_cv_func_remove = no
; then
25148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25149 $as_echo_n "checking for remove in -lposix... " >&6; }
25150 if ${ac_cv_lib_posix_remove+:} false
; then :
25151 $as_echo_n "(cached) " >&6
25153 ac_check_lib_save_LIBS
=$LIBS
25154 LIBS
="-lposix $LIBS"
25155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25156 /* end confdefs.h. */
25158 /* Override any GCC internal prototype to avoid an error.
25159 Use char because int might match the return type of a GCC
25160 builtin and then its argument prototype would still apply. */
25173 if ac_fn_c_try_link
"$LINENO"; then :
25174 ac_cv_lib_posix_remove
=yes
25176 ac_cv_lib_posix_remove
=no
25178 rm -f core conftest.err conftest.
$ac_objext \
25179 conftest
$ac_exeext conftest.
$ac_ext
25180 LIBS
=$ac_check_lib_save_LIBS
25182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25183 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25184 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25185 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25190 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25191 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25192 if test "x$ac_cv_func_shmat" = xyes
; then :
25196 if test $ac_cv_func_shmat = no
; then
25197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25198 $as_echo_n "checking for shmat in -lipc... " >&6; }
25199 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25200 $as_echo_n "(cached) " >&6
25202 ac_check_lib_save_LIBS
=$LIBS
25204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25205 /* end confdefs.h. */
25207 /* Override any GCC internal prototype to avoid an error.
25208 Use char because int might match the return type of a GCC
25209 builtin and then its argument prototype would still apply. */
25222 if ac_fn_c_try_link
"$LINENO"; then :
25223 ac_cv_lib_ipc_shmat
=yes
25225 ac_cv_lib_ipc_shmat
=no
25227 rm -f core conftest.err conftest.
$ac_objext \
25228 conftest
$ac_exeext conftest.
$ac_ext
25229 LIBS
=$ac_check_lib_save_LIBS
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25232 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25233 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25234 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25240 # Check for libraries that X11R6 Xt/Xaw programs need.
25241 ac_save_LDFLAGS
=$LDFLAGS
25242 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25243 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25244 # check for ICE first), but we must link in the order -lSM -lICE or
25245 # we get undefined symbols. So assume we have SM if we have ICE.
25246 # These have to be linked with before -lX11, unlike the other
25247 # libraries we check for below, so use a different variable.
25248 # John Interrante, Karl Berry
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25250 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25251 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25252 $as_echo_n "(cached) " >&6
25254 ac_check_lib_save_LIBS
=$LIBS
25255 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25257 /* end confdefs.h. */
25259 /* Override any GCC internal prototype to avoid an error.
25260 Use char because int might match the return type of a GCC
25261 builtin and then its argument prototype would still apply. */
25265 char IceConnectionNumber ();
25269 return IceConnectionNumber ();
25274 if ac_fn_c_try_link
"$LINENO"; then :
25275 ac_cv_lib_ICE_IceConnectionNumber
=yes
25277 ac_cv_lib_ICE_IceConnectionNumber
=no
25279 rm -f core conftest.err conftest.
$ac_objext \
25280 conftest
$ac_exeext conftest.
$ac_ext
25281 LIBS
=$ac_check_lib_save_LIBS
25283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25284 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25285 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25286 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25289 LDFLAGS
=$ac_save_LDFLAGS
25294 if test "$no_x" = "yes"; then
25295 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25298 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25299 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25300 AFMINSTALL
=afminstall
25301 COMPILED_X_PROGRAM
=0
25305 if test "$wxUSE_X11" = 1; then
25306 if test "$wxUSE_NANOX" = "yes"; then
25307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25308 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25309 if test "x$MICROWIN" = x
; then
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25311 $as_echo "not found" >&6; }
25312 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25315 $as_echo "$MICROWIN" >&6; }
25316 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25321 if test "$wxUSE_UNICODE" = "yes"; then
25324 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25325 if test -n "$ac_tool_prefix"; then
25326 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25327 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25329 $as_echo_n "checking for $ac_word... " >&6; }
25330 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25331 $as_echo_n "(cached) " >&6
25333 case $PKG_CONFIG in
25335 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25339 for as_dir
in $PATH
25342 test -z "$as_dir" && as_dir
=.
25343 for ac_exec_ext
in '' $ac_executable_extensions; do
25344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25345 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25356 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25357 if test -n "$PKG_CONFIG"; then
25358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25359 $as_echo "$PKG_CONFIG" >&6; }
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25362 $as_echo "no" >&6; }
25367 if test -z "$ac_cv_path_PKG_CONFIG"; then
25368 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25369 # Extract the first word of "pkg-config", so it can be a program name with args.
25370 set dummy pkg
-config; ac_word
=$2
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25372 $as_echo_n "checking for $ac_word... " >&6; }
25373 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25374 $as_echo_n "(cached) " >&6
25376 case $ac_pt_PKG_CONFIG in
25378 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25382 for as_dir
in $PATH
25385 test -z "$as_dir" && as_dir
=.
25386 for ac_exec_ext
in '' $ac_executable_extensions; do
25387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25388 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25399 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25400 if test -n "$ac_pt_PKG_CONFIG"; then
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25402 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25405 $as_echo "no" >&6; }
25408 if test "x$ac_pt_PKG_CONFIG" = x
; then
25411 case $cross_compiling:$ac_tool_warned in
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25415 ac_tool_warned
=yes ;;
25417 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25420 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25424 if test -n "$PKG_CONFIG"; then
25425 _pkg_min_version
=0.9.0
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25427 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25428 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25430 $as_echo "yes" >&6; }
25432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25433 $as_echo "no" >&6; }
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25442 $as_echo_n "checking for PANGOX... " >&6; }
25444 if test -n "$PKG_CONFIG"; then
25445 if test -n "$PANGOX_CFLAGS"; then
25446 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25448 if test -n "$PKG_CONFIG" && \
25449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25450 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25453 test $ac_status = 0; }; then
25454 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25462 if test -n "$PKG_CONFIG"; then
25463 if test -n "$PANGOX_LIBS"; then
25464 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25466 if test -n "$PKG_CONFIG" && \
25467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25468 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25471 test $ac_status = 0; }; then
25472 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25483 if test $pkg_failed = yes; then
25485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25486 _pkg_short_errors_supported
=yes
25488 _pkg_short_errors_supported
=no
25490 if test $_pkg_short_errors_supported = yes; then
25491 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25493 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25495 # Put the nasty error message in config.log where it belongs
25496 echo "$PANGOX_PKG_ERRORS" >&5
25499 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25502 elif test $pkg_failed = untried
; then
25504 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25508 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25509 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25511 $as_echo "yes" >&6; }
25513 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25514 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25515 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25521 $as_echo_n "checking for PANGOFT2... " >&6; }
25523 if test -n "$PKG_CONFIG"; then
25524 if test -n "$PANGOFT2_CFLAGS"; then
25525 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25527 if test -n "$PKG_CONFIG" && \
25528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25529 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25532 test $ac_status = 0; }; then
25533 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25541 if test -n "$PKG_CONFIG"; then
25542 if test -n "$PANGOFT2_LIBS"; then
25543 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25545 if test -n "$PKG_CONFIG" && \
25546 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25547 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25550 test $ac_status = 0; }; then
25551 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25562 if test $pkg_failed = yes; then
25564 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25565 _pkg_short_errors_supported
=yes
25567 _pkg_short_errors_supported
=no
25569 if test $_pkg_short_errors_supported = yes; then
25570 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25572 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25574 # Put the nasty error message in config.log where it belongs
25575 echo "$PANGOFT2_PKG_ERRORS" >&5
25578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25579 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25580 wxUSE_PRINTING_ARCHITECTURE
="no"
25583 elif test $pkg_failed = untried
; then
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25586 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25587 wxUSE_PRINTING_ARCHITECTURE
="no"
25591 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25592 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25594 $as_echo "yes" >&6; }
25596 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25597 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25598 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25604 $as_echo_n "checking for PANGOXFT... " >&6; }
25606 if test -n "$PKG_CONFIG"; then
25607 if test -n "$PANGOXFT_CFLAGS"; then
25608 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25610 if test -n "$PKG_CONFIG" && \
25611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25612 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25615 test $ac_status = 0; }; then
25616 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25624 if test -n "$PKG_CONFIG"; then
25625 if test -n "$PANGOXFT_LIBS"; then
25626 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25628 if test -n "$PKG_CONFIG" && \
25629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25630 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25633 test $ac_status = 0; }; then
25634 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25645 if test $pkg_failed = yes; then
25647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25648 _pkg_short_errors_supported
=yes
25650 _pkg_short_errors_supported
=no
25652 if test $_pkg_short_errors_supported = yes; then
25653 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25655 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25657 # Put the nasty error message in config.log where it belongs
25658 echo "$PANGOXFT_PKG_ERRORS" >&5
25661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25662 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25665 elif test $pkg_failed = untried
; then
25667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25668 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25672 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25673 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25675 $as_echo "yes" >&6; }
25677 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25679 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25680 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25681 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25685 LIBS
="$LIBS $PANGOX_LIBS"
25686 for ac_func
in pango_font_family_is_monospace
25688 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25689 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
25690 cat >>confdefs.h
<<_ACEOF
25691 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25700 wxUSE_UNIVERSAL
="yes"
25702 if test "$wxUSE_NANOX" = "yes"; then
25703 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25704 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"
25705 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25707 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25714 if test "$wxUSE_MOTIF" = 1; then
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25716 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25719 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25721 if test -f "$ac_dir/Xm/Xm.h"; then
25722 ac_find_includes
=$ac_dir
25727 if test "$ac_find_includes" != "" ; then
25728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25729 $as_echo "found in $ac_find_includes" >&6; }
25731 if test "x$ac_find_includes" = "x/usr/include"; then
25732 ac_path_to_include
=""
25734 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25736 if test $result = 0; then
25737 ac_path_to_include
=""
25739 ac_path_to_include
=" -I$ac_find_includes"
25743 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25745 save_CFLAGS
=$CFLAGS
25746 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25749 /* end confdefs.h. */
25758 version = xmUseVersion;
25764 if ac_fn_c_try_compile
"$LINENO"; then :
25766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25767 $as_echo "found in default search path" >&6; }
25768 COMPILED_X_PROGRAM
=1
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25773 $as_echo "no" >&6; }
25774 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25780 CFLAGS
=$save_CFLAGS
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25785 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25788 for ac_dir
in $SEARCH_LIB
25790 for ac_extension
in a so sl dylib dll.a
; do
25791 if test -f "$ac_dir/libXm.$ac_extension"; then
25792 ac_find_libraries
=$ac_dir
25799 if test "x$ac_find_libraries" != "x" ; then
25800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25801 $as_echo "found in $ac_find_libraries" >&6; }
25804 if test "$ac_find_libraries" = "default location"; then
25807 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25809 if test $result = 0; then
25812 ac_path_to_link
=" -L$ac_find_libraries"
25816 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25818 save_CFLAGS
=$CFLAGS
25819 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25821 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h. */
25833 version = xmUseVersion;
25839 if ac_fn_c_try_link
"$LINENO"; then :
25841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25842 $as_echo "found in default search path" >&6; }
25843 COMPILED_X_PROGRAM
=1
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25848 $as_echo "no" >&6; }
25849 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25853 rm -f core conftest.err conftest.
$ac_objext \
25854 conftest
$ac_exeext conftest.
$ac_ext
25856 CFLAGS
=$save_CFLAGS
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25861 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25865 for libp
in "" " -lXp"; do
25866 if test "$libs_found" = 0; then
25867 for libsm_ice
in "" " -lSM -lICE"; do
25868 if test "$libs_found" = 0; then
25870 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25871 save_CFLAGS
=$CFLAGS
25872 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25875 /* end confdefs.h. */
25878 #include <Xm/List.h>
25884 XmString string = NULL;
25887 XmListAddItem(w, string, position);
25893 if ac_fn_c_try_link
"$LINENO"; then :
25896 libsm_ice_link
="$libsm_ice"
25897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25898 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25902 rm -f core conftest.err conftest.
$ac_objext \
25903 conftest
$ac_exeext conftest.
$ac_ext
25906 CFLAGS
=$save_CFLAGS
25912 if test "$libs_found" = 0; then
25913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25914 $as_echo "can't find the right libraries" >&6; }
25915 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25919 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25920 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
25921 $as_echo_n "(cached) " >&6
25923 ac_check_lib_save_LIBS
=$LIBS
25925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25926 /* end confdefs.h. */
25928 /* Override any GCC internal prototype to avoid an error.
25929 Use char because int might match the return type of a GCC
25930 builtin and then its argument prototype would still apply. */
25934 char SgCreateList ();
25938 return SgCreateList ();
25943 if ac_fn_c_try_link
"$LINENO"; then :
25944 ac_cv_lib_Sgm_SgCreateList
=yes
25946 ac_cv_lib_Sgm_SgCreateList
=no
25948 rm -f core conftest.err conftest.
$ac_objext \
25949 conftest
$ac_exeext conftest.
$ac_ext
25950 LIBS
=$ac_check_lib_save_LIBS
25952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25953 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25954 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
25955 libsgm_link
=" -lSgm"
25959 save_CFLAGS
=$CFLAGS
25960 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25963 $as_echo_n "checking for Motif 2... " >&6; }
25964 if ${wx_cv_lib_motif2+:} false
; then :
25965 $as_echo_n "(cached) " >&6
25967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25968 /* end confdefs.h. */
25976 #if XmVersion < 2000
25984 if ac_fn_c_try_compile
"$LINENO"; then :
25985 wx_cv_lib_motif2
="yes"
25987 wx_cv_lib_motif2
="no"
25989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
25992 $as_echo "$wx_cv_lib_motif2" >&6; }
25993 if test "$wx_cv_lib_motif2" = "yes"; then
25994 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
25997 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26002 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26003 if ${wx_cv_lib_lesstif+:} false
; then :
26004 $as_echo_n "(cached) " >&6
26006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26007 /* end confdefs.h. */
26015 #if !defined(LesstifVersion) || LesstifVersion <= 0
26023 if ac_fn_c_try_compile
"$LINENO"; then :
26024 wx_cv_lib_lesstif
="yes"
26026 wx_cv_lib_lesstif
="no"
26028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26032 $as_echo "$wx_cv_lib_lesstif" >&6; }
26033 if test "$wx_cv_lib_lesstif" = "yes"; then
26034 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26037 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26041 CFLAGS
=$save_CFLAGS
26043 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26048 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26049 if test "$wxUSE_LIBXPM" = "sys"; then
26050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26051 $as_echo_n "checking for Xpm library... " >&6; }
26054 for ac_dir
in $SEARCH_LIB
26056 for ac_extension
in a so sl dylib dll.a
; do
26057 if test -f "$ac_dir/libXpm.$ac_extension"; then
26058 ac_find_libraries
=$ac_dir
26064 if test "$ac_find_libraries" != "" ; then
26066 if test "$ac_find_libraries" = "default location"; then
26069 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26071 if test $result = 0; then
26074 ac_path_to_link
=" -L$ac_find_libraries"
26078 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26080 $as_echo "found in $ac_find_libraries" >&6; }
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26083 $as_echo_n "checking for X11/xpm.h... " >&6; }
26084 if ${wx_cv_x11_xpm_h+:} false
; then :
26085 $as_echo_n "(cached) " >&6
26088 save_CFLAGS
=$CFLAGS
26089 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26092 /* end confdefs.h. */
26094 #include <X11/xpm.h>
26101 version = XpmLibraryVersion();
26107 if ac_fn_c_try_compile
"$LINENO"; then :
26108 wx_cv_x11_xpm_h
=yes
26113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26115 CFLAGS
=$save_CFLAGS
26119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26120 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26122 if test $wx_cv_x11_xpm_h = "yes"; then
26123 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26124 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26128 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26135 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26136 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26137 $as_echo_n "(cached) " >&6
26139 ac_check_lib_save_LIBS
=$LIBS
26140 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26142 /* end confdefs.h. */
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. */
26150 char XShapeQueryExtension ();
26154 return XShapeQueryExtension ();
26159 if ac_fn_c_try_link
"$LINENO"; then :
26160 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26162 ac_cv_lib_Xext_XShapeQueryExtension
=no
26164 rm -f core conftest.err conftest.
$ac_objext \
26165 conftest
$ac_exeext conftest.
$ac_ext
26166 LIBS
=$ac_check_lib_save_LIBS
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26169 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26170 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26172 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26178 if test "$wxHAVE_XEXT_LIB" = 1; then
26179 save_CFLAGS
="$CFLAGS"
26180 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26183 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26185 /* end confdefs.h. */
26187 #include <X11/Xlib.h>
26188 #include <X11/extensions/shape.h>
26194 int dummy1, dummy2;
26195 XShapeQueryExtension((Display*)NULL,
26196 (int*)NULL, (int*)NULL);
26202 if ac_fn_c_try_compile
"$LINENO"; then :
26204 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26207 $as_echo "found" >&6; }
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26212 $as_echo "not found" >&6; }
26215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26216 CFLAGS
="$save_CFLAGS"
26221 if test "$wxUSE_OSX_CARBON" = 1; then
26222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26223 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26224 if test "$GCC" = yes; then
26225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26226 $as_echo "gcc" >&6; }
26227 CPPFLAGS_PASCAL
="-fpascal-strings"
26228 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26230 $as_echo "xlc" >&6; }
26231 CPPFLAGS_PASCAL
="-qmacpstr"
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26234 $as_echo "none" >&6; }
26237 if test "x$wxUSE_UNIX" = "xyes"; then
26238 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26240 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26244 GUIDIST
=OSX_CARBON_DIST
26245 WXBASEPORT
="_carbon"
26247 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26250 if test "$wxUSE_OSX_COCOA" = 1; then
26252 GUIDIST
=OSX_COCOA_DIST
26254 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26257 if test "$wxUSE_OSX_IPHONE" = 1; then
26261 if test "$wxUSE_OLD_COCOA" = 1; then
26266 if test "$wxUSE_PM" = 1; then
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26270 $as_echo_n "checking for type SPBCDATA... " >&6; }
26271 if ${wx_cv_spbcdata+:} false
; then :
26272 $as_echo_n "(cached) " >&6
26275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26276 /* end confdefs.h. */
26291 if ac_fn_c_try_compile
"$LINENO"; then :
26297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26302 $as_echo "$wx_cv_spbcdata" >&6; }
26304 if test $wx_cv_spbcdata = "yes"; then
26305 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26310 if test "$TOOLKIT" = "PM" ; then
26313 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26316 if test "$wxUSE_UNIVERSAL" = "yes"; then
26317 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26321 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26322 DISTDIR
="wx\$(TOOLKIT)"
26328 if test "$USE_WIN32" = 1 ; then
26332 GUIDIST
="BASE_DIST"
26338 if test "$wxUSE_GUI" = "yes"; then
26339 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26340 for ac_header
in X
11/Xlib.h
26342 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26344 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26345 cat >>confdefs.h
<<_ACEOF
26346 #define HAVE_X11_XLIB_H 1
26353 for ac_header
in X
11/XKBlib.h
26355 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26356 #if HAVE_X11_XLIB_H
26357 #include <X11/Xlib.h>
26361 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26362 cat >>confdefs.h
<<_ACEOF
26363 #define HAVE_X11_XKBLIB_H 1
26376 if test "$wxUSE_DISPLAY" = "yes"; then
26377 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26381 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26384 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26385 if test -n "$ac_tool_prefix"; then
26386 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26387 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26389 $as_echo_n "checking for $ac_word... " >&6; }
26390 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26391 $as_echo_n "(cached) " >&6
26393 case $PKG_CONFIG in
26395 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26399 for as_dir
in $PATH
26402 test -z "$as_dir" && as_dir
=.
26403 for ac_exec_ext
in '' $ac_executable_extensions; do
26404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26405 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26416 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26417 if test -n "$PKG_CONFIG"; then
26418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26419 $as_echo "$PKG_CONFIG" >&6; }
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26422 $as_echo "no" >&6; }
26427 if test -z "$ac_cv_path_PKG_CONFIG"; then
26428 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26429 # Extract the first word of "pkg-config", so it can be a program name with args.
26430 set dummy pkg
-config; ac_word
=$2
26431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26432 $as_echo_n "checking for $ac_word... " >&6; }
26433 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26434 $as_echo_n "(cached) " >&6
26436 case $ac_pt_PKG_CONFIG in
26438 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26442 for as_dir
in $PATH
26445 test -z "$as_dir" && as_dir
=.
26446 for ac_exec_ext
in '' $ac_executable_extensions; do
26447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26448 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26459 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26460 if test -n "$ac_pt_PKG_CONFIG"; then
26461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26462 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26465 $as_echo "no" >&6; }
26468 if test "x$ac_pt_PKG_CONFIG" = x
; then
26471 case $cross_compiling:$ac_tool_warned in
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26475 ac_tool_warned
=yes ;;
26477 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26480 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26484 if test -n "$PKG_CONFIG"; then
26485 _pkg_min_version
=0.9.0
26486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26487 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26488 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26490 $as_echo "yes" >&6; }
26492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26493 $as_echo "no" >&6; }
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26501 $as_echo_n "checking for Xinerama... " >&6; }
26503 if test -n "$PKG_CONFIG"; then
26504 if test -n "$Xinerama_CFLAGS"; then
26505 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26507 if test -n "$PKG_CONFIG" && \
26508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26509 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26512 test $ac_status = 0; }; then
26513 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26521 if test -n "$PKG_CONFIG"; then
26522 if test -n "$Xinerama_LIBS"; then
26523 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26525 if test -n "$PKG_CONFIG" && \
26526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26527 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26530 test $ac_status = 0; }; then
26531 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26542 if test $pkg_failed = yes; then
26544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26545 _pkg_short_errors_supported
=yes
26547 _pkg_short_errors_supported
=no
26549 if test $_pkg_short_errors_supported = yes; then
26550 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26552 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26554 # Put the nasty error message in config.log where it belongs
26555 echo "$Xinerama_PKG_ERRORS" >&5
26558 if test "x$ac_find_libraries" = "x"; then
26559 if test "xXineramaQueryScreens" != "x"; then
26560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26561 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26562 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26563 $as_echo_n "(cached) " >&6
26565 ac_check_lib_save_LIBS
=$LIBS
26566 LIBS
="-lXinerama $LIBS"
26567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26568 /* end confdefs.h. */
26570 /* Override any GCC internal prototype to avoid an error.
26571 Use char because int might match the return type of a GCC
26572 builtin and then its argument prototype would still apply. */
26576 char XineramaQueryScreens ();
26580 return XineramaQueryScreens ();
26585 if ac_fn_c_try_link
"$LINENO"; then :
26586 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26588 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26590 rm -f core conftest.err conftest.
$ac_objext \
26591 conftest
$ac_exeext conftest.
$ac_ext
26592 LIBS
=$ac_check_lib_save_LIBS
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26595 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26596 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26597 ac_find_libraries
="std"
26603 if test "x$ac_find_libraries" = "x"; then
26604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26605 $as_echo_n "checking elsewhere... " >&6; }
26608 for ac_dir
in $SEARCH_LIB
26610 for ac_extension
in a so sl dylib dll.a
; do
26611 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26612 ac_find_libraries
=$ac_dir
26618 if test "x$ac_find_libraries" != "x"; then
26619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26620 $as_echo "yes" >&6; }
26622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26623 $as_echo "no" >&6; }
26627 elif test $pkg_failed = untried
; then
26629 if test "x$ac_find_libraries" = "x"; then
26630 if test "xXineramaQueryScreens" != "x"; then
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26632 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26633 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26634 $as_echo_n "(cached) " >&6
26636 ac_check_lib_save_LIBS
=$LIBS
26637 LIBS
="-lXinerama $LIBS"
26638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26639 /* end confdefs.h. */
26641 /* Override any GCC internal prototype to avoid an error.
26642 Use char because int might match the return type of a GCC
26643 builtin and then its argument prototype would still apply. */
26647 char XineramaQueryScreens ();
26651 return XineramaQueryScreens ();
26656 if ac_fn_c_try_link
"$LINENO"; then :
26657 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26659 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26661 rm -f core conftest.err conftest.
$ac_objext \
26662 conftest
$ac_exeext conftest.
$ac_ext
26663 LIBS
=$ac_check_lib_save_LIBS
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26666 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26667 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26668 ac_find_libraries
="std"
26674 if test "x$ac_find_libraries" = "x"; then
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26676 $as_echo_n "checking elsewhere... " >&6; }
26679 for ac_dir
in $SEARCH_LIB
26681 for ac_extension
in a so sl dylib dll.a
; do
26682 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26683 ac_find_libraries
=$ac_dir
26689 if test "x$ac_find_libraries" != "x"; then
26690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26691 $as_echo "yes" >&6; }
26693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26694 $as_echo "no" >&6; }
26699 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26700 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26702 $as_echo "yes" >&6; }
26704 ac_find_libraries
="std"
26706 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26707 eval fl_libs
=\
$Xinerama_LIBS
26709 for fl_path
in $fl_libs
26711 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26712 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26718 if test "$ac_find_libraries" != "" ; then
26719 if test "$ac_find_libraries" != "std" ; then
26721 if test "$ac_find_libraries" = "default location"; then
26724 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26726 if test $result = 0; then
26729 ac_path_to_link
=" -L$ac_find_libraries"
26733 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26734 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26738 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26741 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26744 elif test "$wxUSE_MSW" = 1; then
26745 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26747 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
26755 if test "$wxUSE_DISPLAY" = "yes"; then
26756 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26760 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26763 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26764 if test -n "$ac_tool_prefix"; then
26765 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26766 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26768 $as_echo_n "checking for $ac_word... " >&6; }
26769 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26770 $as_echo_n "(cached) " >&6
26772 case $PKG_CONFIG in
26774 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26778 for as_dir
in $PATH
26781 test -z "$as_dir" && as_dir
=.
26782 for ac_exec_ext
in '' $ac_executable_extensions; do
26783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26784 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26795 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26796 if test -n "$PKG_CONFIG"; then
26797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26798 $as_echo "$PKG_CONFIG" >&6; }
26800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26801 $as_echo "no" >&6; }
26806 if test -z "$ac_cv_path_PKG_CONFIG"; then
26807 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26808 # Extract the first word of "pkg-config", so it can be a program name with args.
26809 set dummy pkg
-config; ac_word
=$2
26810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26811 $as_echo_n "checking for $ac_word... " >&6; }
26812 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26813 $as_echo_n "(cached) " >&6
26815 case $ac_pt_PKG_CONFIG in
26817 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26821 for as_dir
in $PATH
26824 test -z "$as_dir" && as_dir
=.
26825 for ac_exec_ext
in '' $ac_executable_extensions; do
26826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26827 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26838 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26839 if test -n "$ac_pt_PKG_CONFIG"; then
26840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26841 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26844 $as_echo "no" >&6; }
26847 if test "x$ac_pt_PKG_CONFIG" = x
; then
26850 case $cross_compiling:$ac_tool_warned in
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26854 ac_tool_warned
=yes ;;
26856 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26859 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26863 if test -n "$PKG_CONFIG"; then
26864 _pkg_min_version
=0.9.0
26865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26866 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26867 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26869 $as_echo "yes" >&6; }
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26872 $as_echo "no" >&6; }
26879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26880 $as_echo_n "checking for Xxf86vm... " >&6; }
26882 if test -n "$PKG_CONFIG"; then
26883 if test -n "$Xxf86vm_CFLAGS"; then
26884 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
26886 if test -n "$PKG_CONFIG" && \
26887 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26888 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26891 test $ac_status = 0; }; then
26892 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26900 if test -n "$PKG_CONFIG"; then
26901 if test -n "$Xxf86vm_LIBS"; then
26902 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
26904 if test -n "$PKG_CONFIG" && \
26905 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26906 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26909 test $ac_status = 0; }; then
26910 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26921 if test $pkg_failed = yes; then
26923 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26924 _pkg_short_errors_supported
=yes
26926 _pkg_short_errors_supported
=no
26928 if test $_pkg_short_errors_supported = yes; then
26929 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26931 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26933 # Put the nasty error message in config.log where it belongs
26934 echo "$Xxf86vm_PKG_ERRORS" >&5
26937 if test "x$ac_find_libraries" = "x"; then
26938 if test "xXF86VidModeQueryExtension" != "x"; then
26939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26940 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26941 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
26942 $as_echo_n "(cached) " >&6
26944 ac_check_lib_save_LIBS
=$LIBS
26945 LIBS
="-lXxf86vm $LIBS"
26946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26947 /* end confdefs.h. */
26949 /* Override any GCC internal prototype to avoid an error.
26950 Use char because int might match the return type of a GCC
26951 builtin and then its argument prototype would still apply. */
26955 char XF86VidModeQueryExtension ();
26959 return XF86VidModeQueryExtension ();
26964 if ac_fn_c_try_link
"$LINENO"; then :
26965 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
26967 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
26969 rm -f core conftest.err conftest.
$ac_objext \
26970 conftest
$ac_exeext conftest.
$ac_ext
26971 LIBS
=$ac_check_lib_save_LIBS
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26974 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26975 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
26976 ac_find_libraries
="std"
26982 if test "x$ac_find_libraries" = "x"; then
26983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26984 $as_echo_n "checking elsewhere... " >&6; }
26987 for ac_dir
in $SEARCH_LIB
26989 for ac_extension
in a so sl dylib dll.a
; do
26990 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26991 ac_find_libraries
=$ac_dir
26997 if test "x$ac_find_libraries" != "x"; then
26998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26999 $as_echo "yes" >&6; }
27001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27002 $as_echo "no" >&6; }
27006 elif test $pkg_failed = untried
; then
27008 if test "x$ac_find_libraries" = "x"; then
27009 if test "xXF86VidModeQueryExtension" != "x"; then
27010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27011 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27012 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27013 $as_echo_n "(cached) " >&6
27015 ac_check_lib_save_LIBS
=$LIBS
27016 LIBS
="-lXxf86vm $LIBS"
27017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27018 /* end confdefs.h. */
27020 /* Override any GCC internal prototype to avoid an error.
27021 Use char because int might match the return type of a GCC
27022 builtin and then its argument prototype would still apply. */
27026 char XF86VidModeQueryExtension ();
27030 return XF86VidModeQueryExtension ();
27035 if ac_fn_c_try_link
"$LINENO"; then :
27036 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27038 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27040 rm -f core conftest.err conftest.
$ac_objext \
27041 conftest
$ac_exeext conftest.
$ac_ext
27042 LIBS
=$ac_check_lib_save_LIBS
27044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27045 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27046 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27047 ac_find_libraries
="std"
27053 if test "x$ac_find_libraries" = "x"; then
27054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27055 $as_echo_n "checking elsewhere... " >&6; }
27058 for ac_dir
in $SEARCH_LIB
27060 for ac_extension
in a so sl dylib dll.a
; do
27061 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27062 ac_find_libraries
=$ac_dir
27068 if test "x$ac_find_libraries" != "x"; then
27069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27070 $as_echo "yes" >&6; }
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27073 $as_echo "no" >&6; }
27078 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27079 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27081 $as_echo "yes" >&6; }
27083 ac_find_libraries
="std"
27085 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27086 eval fl_libs
=\
$Xxf86vm_LIBS
27088 for fl_path
in $fl_libs
27090 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27091 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27097 if test "$ac_find_libraries" != "" ; then
27098 for ac_header
in X
11/extensions
/xf86vmode.h
27100 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27101 #if HAVE_X11_XLIB_H
27102 #include <X11/Xlib.h>
27106 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27107 cat >>confdefs.h
<<_ACEOF
27108 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27111 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27121 if test "$wxUSE_DETECT_SM" = "yes"; then
27122 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27126 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27129 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27130 if test -n "$ac_tool_prefix"; then
27131 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27132 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27134 $as_echo_n "checking for $ac_word... " >&6; }
27135 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27136 $as_echo_n "(cached) " >&6
27138 case $PKG_CONFIG in
27140 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27144 for as_dir
in $PATH
27147 test -z "$as_dir" && as_dir
=.
27148 for ac_exec_ext
in '' $ac_executable_extensions; do
27149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27150 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27161 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27162 if test -n "$PKG_CONFIG"; then
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27164 $as_echo "$PKG_CONFIG" >&6; }
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27167 $as_echo "no" >&6; }
27172 if test -z "$ac_cv_path_PKG_CONFIG"; then
27173 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27174 # Extract the first word of "pkg-config", so it can be a program name with args.
27175 set dummy pkg
-config; ac_word
=$2
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27177 $as_echo_n "checking for $ac_word... " >&6; }
27178 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27179 $as_echo_n "(cached) " >&6
27181 case $ac_pt_PKG_CONFIG in
27183 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27187 for as_dir
in $PATH
27190 test -z "$as_dir" && as_dir
=.
27191 for ac_exec_ext
in '' $ac_executable_extensions; do
27192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27193 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27204 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27205 if test -n "$ac_pt_PKG_CONFIG"; then
27206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27207 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27210 $as_echo "no" >&6; }
27213 if test "x$ac_pt_PKG_CONFIG" = x
; then
27216 case $cross_compiling:$ac_tool_warned in
27218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27220 ac_tool_warned
=yes ;;
27222 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27225 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27229 if test -n "$PKG_CONFIG"; then
27230 _pkg_min_version
=0.9.0
27231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27232 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27233 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27235 $as_echo "yes" >&6; }
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27238 $as_echo "no" >&6; }
27245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27246 $as_echo_n "checking for SM... " >&6; }
27248 if test -n "$PKG_CONFIG"; then
27249 if test -n "$SM_CFLAGS"; then
27250 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27252 if test -n "$PKG_CONFIG" && \
27253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27254 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27257 test $ac_status = 0; }; then
27258 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27266 if test -n "$PKG_CONFIG"; then
27267 if test -n "$SM_LIBS"; then
27268 pkg_cv_SM_LIBS
="$SM_LIBS"
27270 if test -n "$PKG_CONFIG" && \
27271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27272 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27275 test $ac_status = 0; }; then
27276 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27287 if test $pkg_failed = yes; then
27289 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27290 _pkg_short_errors_supported
=yes
27292 _pkg_short_errors_supported
=no
27294 if test $_pkg_short_errors_supported = yes; then
27295 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27297 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27299 # Put the nasty error message in config.log where it belongs
27300 echo "$SM_PKG_ERRORS" >&5
27303 if test "x$ac_find_libraries" = "x"; then
27304 if test "xSmcOpenConnection" != "x"; then
27305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27306 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27307 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27308 $as_echo_n "(cached) " >&6
27310 ac_check_lib_save_LIBS
=$LIBS
27312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27313 /* end confdefs.h. */
27315 /* Override any GCC internal prototype to avoid an error.
27316 Use char because int might match the return type of a GCC
27317 builtin and then its argument prototype would still apply. */
27321 char SmcOpenConnection ();
27325 return SmcOpenConnection ();
27330 if ac_fn_c_try_link
"$LINENO"; then :
27331 ac_cv_lib_SM_SmcOpenConnection
=yes
27333 ac_cv_lib_SM_SmcOpenConnection
=no
27335 rm -f core conftest.err conftest.
$ac_objext \
27336 conftest
$ac_exeext conftest.
$ac_ext
27337 LIBS
=$ac_check_lib_save_LIBS
27339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27340 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27341 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27342 ac_find_libraries
="std"
27348 if test "x$ac_find_libraries" = "x"; then
27349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27350 $as_echo_n "checking elsewhere... " >&6; }
27353 for ac_dir
in $SEARCH_LIB
27355 for ac_extension
in a so sl dylib dll.a
; do
27356 if test -f "$ac_dir/libSM.$ac_extension"; then
27357 ac_find_libraries
=$ac_dir
27363 if test "x$ac_find_libraries" != "x"; then
27364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27365 $as_echo "yes" >&6; }
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27368 $as_echo "no" >&6; }
27372 elif test $pkg_failed = untried
; then
27374 if test "x$ac_find_libraries" = "x"; then
27375 if test "xSmcOpenConnection" != "x"; then
27376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27377 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27378 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27379 $as_echo_n "(cached) " >&6
27381 ac_check_lib_save_LIBS
=$LIBS
27383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27384 /* end confdefs.h. */
27386 /* Override any GCC internal prototype to avoid an error.
27387 Use char because int might match the return type of a GCC
27388 builtin and then its argument prototype would still apply. */
27392 char SmcOpenConnection ();
27396 return SmcOpenConnection ();
27401 if ac_fn_c_try_link
"$LINENO"; then :
27402 ac_cv_lib_SM_SmcOpenConnection
=yes
27404 ac_cv_lib_SM_SmcOpenConnection
=no
27406 rm -f core conftest.err conftest.
$ac_objext \
27407 conftest
$ac_exeext conftest.
$ac_ext
27408 LIBS
=$ac_check_lib_save_LIBS
27410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27411 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27412 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27413 ac_find_libraries
="std"
27419 if test "x$ac_find_libraries" = "x"; then
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27421 $as_echo_n "checking elsewhere... " >&6; }
27424 for ac_dir
in $SEARCH_LIB
27426 for ac_extension
in a so sl dylib dll.a
; do
27427 if test -f "$ac_dir/libSM.$ac_extension"; then
27428 ac_find_libraries
=$ac_dir
27434 if test "x$ac_find_libraries" != "x"; then
27435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27436 $as_echo "yes" >&6; }
27438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27439 $as_echo "no" >&6; }
27444 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27445 SM_LIBS
=$pkg_cv_SM_LIBS
27446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27447 $as_echo "yes" >&6; }
27449 ac_find_libraries
="std"
27451 eval ac_find_cflags
=\
$SM_CFLAGS
27452 eval fl_libs
=\
$SM_LIBS
27454 for fl_path
in $fl_libs
27456 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27457 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27463 if test "$ac_find_libraries" != "" ; then
27464 if test "$ac_find_libraries" != "std" ; then
27466 if test "$ac_find_libraries" = "default location"; then
27469 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27471 if test $result = 0; then
27474 ac_path_to_link
=" -L$ac_find_libraries"
27478 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27479 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27482 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27485 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27486 wxUSE_DETECT_SM
="no"
27489 wxUSE_DETECT_SM
="no"
27496 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27499 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27500 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27501 elif test "$wxUSE_MSW" = 1; then
27502 OPENGL_LIBS
="-lopengl32 -lglu32"
27503 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27506 $as_echo_n "checking for OpenGL headers... " >&6; }
27509 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27511 if test -f "$ac_dir/GL/gl.h"; then
27512 ac_find_includes
=$ac_dir
27517 if test "$ac_find_includes" != "" ; then
27518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27519 $as_echo "found in $ac_find_includes" >&6; }
27521 if test "x$ac_find_includes" = "x/usr/include"; then
27522 ac_path_to_include
=""
27524 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27526 if test $result = 0; then
27527 ac_path_to_include
=""
27529 ac_path_to_include
=" -I$ac_find_includes"
27533 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27536 $as_echo "not found" >&6; }
27539 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27541 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27543 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27545 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27552 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27555 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27556 if test -n "$ac_tool_prefix"; then
27557 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27558 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27560 $as_echo_n "checking for $ac_word... " >&6; }
27561 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27562 $as_echo_n "(cached) " >&6
27564 case $PKG_CONFIG in
27566 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27570 for as_dir
in $PATH
27573 test -z "$as_dir" && as_dir
=.
27574 for ac_exec_ext
in '' $ac_executable_extensions; do
27575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27576 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27587 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27588 if test -n "$PKG_CONFIG"; then
27589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27590 $as_echo "$PKG_CONFIG" >&6; }
27592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27593 $as_echo "no" >&6; }
27598 if test -z "$ac_cv_path_PKG_CONFIG"; then
27599 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27600 # Extract the first word of "pkg-config", so it can be a program name with args.
27601 set dummy pkg
-config; ac_word
=$2
27602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27603 $as_echo_n "checking for $ac_word... " >&6; }
27604 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27605 $as_echo_n "(cached) " >&6
27607 case $ac_pt_PKG_CONFIG in
27609 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27613 for as_dir
in $PATH
27616 test -z "$as_dir" && as_dir
=.
27617 for ac_exec_ext
in '' $ac_executable_extensions; do
27618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27619 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27630 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27631 if test -n "$ac_pt_PKG_CONFIG"; then
27632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27633 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27636 $as_echo "no" >&6; }
27639 if test "x$ac_pt_PKG_CONFIG" = x
; then
27642 case $cross_compiling:$ac_tool_warned in
27644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27646 ac_tool_warned
=yes ;;
27648 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27651 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27655 if test -n "$PKG_CONFIG"; then
27656 _pkg_min_version
=0.9.0
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27658 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27659 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27661 $as_echo "yes" >&6; }
27663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27664 $as_echo "no" >&6; }
27671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27672 $as_echo_n "checking for GL... " >&6; }
27674 if test -n "$PKG_CONFIG"; then
27675 if test -n "$GL_CFLAGS"; then
27676 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27678 if test -n "$PKG_CONFIG" && \
27679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27680 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27683 test $ac_status = 0; }; then
27684 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27692 if test -n "$PKG_CONFIG"; then
27693 if test -n "$GL_LIBS"; then
27694 pkg_cv_GL_LIBS
="$GL_LIBS"
27696 if test -n "$PKG_CONFIG" && \
27697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27698 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27701 test $ac_status = 0; }; then
27702 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27713 if test $pkg_failed = yes; then
27715 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27716 _pkg_short_errors_supported
=yes
27718 _pkg_short_errors_supported
=no
27720 if test $_pkg_short_errors_supported = yes; then
27721 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27723 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27725 # Put the nasty error message in config.log where it belongs
27726 echo "$GL_PKG_ERRORS" >&5
27729 if test "x$ac_find_libraries" = "x"; then
27730 if test "xglBegin" != "x"; then
27731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27732 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27733 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27734 $as_echo_n "(cached) " >&6
27736 ac_check_lib_save_LIBS
=$LIBS
27738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27739 /* end confdefs.h. */
27741 /* Override any GCC internal prototype to avoid an error.
27742 Use char because int might match the return type of a GCC
27743 builtin and then its argument prototype would still apply. */
27756 if ac_fn_c_try_link
"$LINENO"; then :
27757 ac_cv_lib_GL_glBegin
=yes
27759 ac_cv_lib_GL_glBegin
=no
27761 rm -f core conftest.err conftest.
$ac_objext \
27762 conftest
$ac_exeext conftest.
$ac_ext
27763 LIBS
=$ac_check_lib_save_LIBS
27765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27766 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27767 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27768 ac_find_libraries
="std"
27774 if test "x$ac_find_libraries" = "x"; then
27775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27776 $as_echo_n "checking elsewhere... " >&6; }
27779 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27781 for ac_extension
in a so sl dylib dll.a
; do
27782 if test -f "$ac_dir/libGL.$ac_extension"; then
27783 ac_find_libraries
=$ac_dir
27789 if test "x$ac_find_libraries" != "x"; then
27790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27791 $as_echo "yes" >&6; }
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27794 $as_echo "no" >&6; }
27798 elif test $pkg_failed = untried
; then
27800 if test "x$ac_find_libraries" = "x"; then
27801 if test "xglBegin" != "x"; then
27802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27803 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27804 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27805 $as_echo_n "(cached) " >&6
27807 ac_check_lib_save_LIBS
=$LIBS
27809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27810 /* end confdefs.h. */
27812 /* Override any GCC internal prototype to avoid an error.
27813 Use char because int might match the return type of a GCC
27814 builtin and then its argument prototype would still apply. */
27827 if ac_fn_c_try_link
"$LINENO"; then :
27828 ac_cv_lib_GL_glBegin
=yes
27830 ac_cv_lib_GL_glBegin
=no
27832 rm -f core conftest.err conftest.
$ac_objext \
27833 conftest
$ac_exeext conftest.
$ac_ext
27834 LIBS
=$ac_check_lib_save_LIBS
27836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27837 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27838 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27839 ac_find_libraries
="std"
27845 if test "x$ac_find_libraries" = "x"; then
27846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27847 $as_echo_n "checking elsewhere... " >&6; }
27850 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27852 for ac_extension
in a so sl dylib dll.a
; do
27853 if test -f "$ac_dir/libGL.$ac_extension"; then
27854 ac_find_libraries
=$ac_dir
27860 if test "x$ac_find_libraries" != "x"; then
27861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27862 $as_echo "yes" >&6; }
27864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27865 $as_echo "no" >&6; }
27870 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
27871 GL_LIBS
=$pkg_cv_GL_LIBS
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27873 $as_echo "yes" >&6; }
27875 ac_find_libraries
="std"
27877 eval ac_find_cflags
=\
$GL_CFLAGS
27878 eval fl_libs
=\
$GL_LIBS
27880 for fl_path
in $fl_libs
27882 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27883 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27889 if test "$ac_find_libraries" != "" ; then
27890 if test "$ac_find_libraries" != "std" ; then
27892 if test "$ac_find_libraries" = "default location"; then
27895 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27897 if test $result = 0; then
27900 ac_path_to_link
=" -L$ac_find_libraries"
27904 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27905 LDFLAGS_GL
="$ac_path_to_link"
27912 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
27915 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27916 if test -n "$ac_tool_prefix"; then
27917 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27918 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27920 $as_echo_n "checking for $ac_word... " >&6; }
27921 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27922 $as_echo_n "(cached) " >&6
27924 case $PKG_CONFIG in
27926 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27930 for as_dir
in $PATH
27933 test -z "$as_dir" && as_dir
=.
27934 for ac_exec_ext
in '' $ac_executable_extensions; do
27935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27936 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27947 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27948 if test -n "$PKG_CONFIG"; then
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27950 $as_echo "$PKG_CONFIG" >&6; }
27952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27953 $as_echo "no" >&6; }
27958 if test -z "$ac_cv_path_PKG_CONFIG"; then
27959 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27960 # Extract the first word of "pkg-config", so it can be a program name with args.
27961 set dummy pkg
-config; ac_word
=$2
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27963 $as_echo_n "checking for $ac_word... " >&6; }
27964 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27965 $as_echo_n "(cached) " >&6
27967 case $ac_pt_PKG_CONFIG in
27969 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27973 for as_dir
in $PATH
27976 test -z "$as_dir" && as_dir
=.
27977 for ac_exec_ext
in '' $ac_executable_extensions; do
27978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27979 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27990 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27991 if test -n "$ac_pt_PKG_CONFIG"; then
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27993 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27996 $as_echo "no" >&6; }
27999 if test "x$ac_pt_PKG_CONFIG" = x
; then
28002 case $cross_compiling:$ac_tool_warned in
28004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28006 ac_tool_warned
=yes ;;
28008 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28011 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28015 if test -n "$PKG_CONFIG"; then
28016 _pkg_min_version
=0.9.0
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28018 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28019 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28021 $as_echo "yes" >&6; }
28023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28024 $as_echo "no" >&6; }
28031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28032 $as_echo_n "checking for GLU... " >&6; }
28034 if test -n "$PKG_CONFIG"; then
28035 if test -n "$GLU_CFLAGS"; then
28036 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28038 if test -n "$PKG_CONFIG" && \
28039 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28040 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28043 test $ac_status = 0; }; then
28044 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28052 if test -n "$PKG_CONFIG"; then
28053 if test -n "$GLU_LIBS"; then
28054 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28056 if test -n "$PKG_CONFIG" && \
28057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28058 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28061 test $ac_status = 0; }; then
28062 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28073 if test $pkg_failed = yes; then
28075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28076 _pkg_short_errors_supported
=yes
28078 _pkg_short_errors_supported
=no
28080 if test $_pkg_short_errors_supported = yes; then
28081 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28083 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28085 # Put the nasty error message in config.log where it belongs
28086 echo "$GLU_PKG_ERRORS" >&5
28089 if test "x$ac_find_libraries" = "x"; then
28090 if test "xgluBeginCurve" != "x"; then
28091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28092 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28093 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28094 $as_echo_n "(cached) " >&6
28096 ac_check_lib_save_LIBS
=$LIBS
28098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28099 /* end confdefs.h. */
28101 /* Override any GCC internal prototype to avoid an error.
28102 Use char because int might match the return type of a GCC
28103 builtin and then its argument prototype would still apply. */
28107 char gluBeginCurve ();
28111 return gluBeginCurve ();
28116 if ac_fn_c_try_link
"$LINENO"; then :
28117 ac_cv_lib_GLU_gluBeginCurve
=yes
28119 ac_cv_lib_GLU_gluBeginCurve
=no
28121 rm -f core conftest.err conftest.
$ac_objext \
28122 conftest
$ac_exeext conftest.
$ac_ext
28123 LIBS
=$ac_check_lib_save_LIBS
28125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28126 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28127 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28128 ac_find_libraries
="std"
28134 if test "x$ac_find_libraries" = "x"; then
28135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28136 $as_echo_n "checking elsewhere... " >&6; }
28139 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28141 for ac_extension
in a so sl dylib dll.a
; do
28142 if test -f "$ac_dir/libGLU.$ac_extension"; then
28143 ac_find_libraries
=$ac_dir
28149 if test "x$ac_find_libraries" != "x"; then
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28151 $as_echo "yes" >&6; }
28153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28154 $as_echo "no" >&6; }
28158 elif test $pkg_failed = untried
; then
28160 if test "x$ac_find_libraries" = "x"; then
28161 if test "xgluBeginCurve" != "x"; then
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28163 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28164 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28165 $as_echo_n "(cached) " >&6
28167 ac_check_lib_save_LIBS
=$LIBS
28169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28170 /* end confdefs.h. */
28172 /* Override any GCC internal prototype to avoid an error.
28173 Use char because int might match the return type of a GCC
28174 builtin and then its argument prototype would still apply. */
28178 char gluBeginCurve ();
28182 return gluBeginCurve ();
28187 if ac_fn_c_try_link
"$LINENO"; then :
28188 ac_cv_lib_GLU_gluBeginCurve
=yes
28190 ac_cv_lib_GLU_gluBeginCurve
=no
28192 rm -f core conftest.err conftest.
$ac_objext \
28193 conftest
$ac_exeext conftest.
$ac_ext
28194 LIBS
=$ac_check_lib_save_LIBS
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28197 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28198 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28199 ac_find_libraries
="std"
28205 if test "x$ac_find_libraries" = "x"; then
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28207 $as_echo_n "checking elsewhere... " >&6; }
28210 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28212 for ac_extension
in a so sl dylib dll.a
; do
28213 if test -f "$ac_dir/libGLU.$ac_extension"; then
28214 ac_find_libraries
=$ac_dir
28220 if test "x$ac_find_libraries" != "x"; then
28221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28222 $as_echo "yes" >&6; }
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28225 $as_echo "no" >&6; }
28230 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28231 GLU_LIBS
=$pkg_cv_GLU_LIBS
28232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28233 $as_echo "yes" >&6; }
28235 ac_find_libraries
="std"
28237 eval ac_find_cflags
=\
$GLU_CFLAGS
28238 eval fl_libs
=\
$GLU_LIBS
28240 for fl_path
in $fl_libs
28242 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28243 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28249 if test "$ac_find_libraries" != "" ; then
28250 if test "$ac_find_libraries" != "std" ; then
28252 if test "$ac_find_libraries" = "default location"; then
28255 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28257 if test $result = 0; then
28260 ac_path_to_link
=" -L$ac_find_libraries"
28264 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28265 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28266 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28271 OPENGL_LIBS
="-lGL -lGLU"
28275 if test "$found_gl" != 1; then
28279 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28282 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28283 if test -n "$ac_tool_prefix"; then
28284 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28285 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28287 $as_echo_n "checking for $ac_word... " >&6; }
28288 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28289 $as_echo_n "(cached) " >&6
28291 case $PKG_CONFIG in
28293 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28297 for as_dir
in $PATH
28300 test -z "$as_dir" && as_dir
=.
28301 for ac_exec_ext
in '' $ac_executable_extensions; do
28302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28303 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28314 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28315 if test -n "$PKG_CONFIG"; then
28316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28317 $as_echo "$PKG_CONFIG" >&6; }
28319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28320 $as_echo "no" >&6; }
28325 if test -z "$ac_cv_path_PKG_CONFIG"; then
28326 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28327 # Extract the first word of "pkg-config", so it can be a program name with args.
28328 set dummy pkg
-config; ac_word
=$2
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28330 $as_echo_n "checking for $ac_word... " >&6; }
28331 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28332 $as_echo_n "(cached) " >&6
28334 case $ac_pt_PKG_CONFIG in
28336 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28340 for as_dir
in $PATH
28343 test -z "$as_dir" && as_dir
=.
28344 for ac_exec_ext
in '' $ac_executable_extensions; do
28345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28346 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28357 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28358 if test -n "$ac_pt_PKG_CONFIG"; then
28359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28360 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28363 $as_echo "no" >&6; }
28366 if test "x$ac_pt_PKG_CONFIG" = x
; then
28369 case $cross_compiling:$ac_tool_warned in
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28373 ac_tool_warned
=yes ;;
28375 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28378 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28382 if test -n "$PKG_CONFIG"; then
28383 _pkg_min_version
=0.9.0
28384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28385 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28386 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28388 $as_echo "yes" >&6; }
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28391 $as_echo "no" >&6; }
28398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28399 $as_echo_n "checking for MesaGL... " >&6; }
28401 if test -n "$PKG_CONFIG"; then
28402 if test -n "$MesaGL_CFLAGS"; then
28403 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28405 if test -n "$PKG_CONFIG" && \
28406 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28407 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28410 test $ac_status = 0; }; then
28411 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28419 if test -n "$PKG_CONFIG"; then
28420 if test -n "$MesaGL_LIBS"; then
28421 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28423 if test -n "$PKG_CONFIG" && \
28424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28425 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28428 test $ac_status = 0; }; then
28429 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28440 if test $pkg_failed = yes; then
28442 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28443 _pkg_short_errors_supported
=yes
28445 _pkg_short_errors_supported
=no
28447 if test $_pkg_short_errors_supported = yes; then
28448 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28450 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28452 # Put the nasty error message in config.log where it belongs
28453 echo "$MesaGL_PKG_ERRORS" >&5
28456 if test "x$ac_find_libraries" = "x"; then
28457 if test "xglEnable" != "x"; then
28458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28459 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28460 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28461 $as_echo_n "(cached) " >&6
28463 ac_check_lib_save_LIBS
=$LIBS
28464 LIBS
="-lMesaGL $LIBS"
28465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28466 /* end confdefs.h. */
28468 /* Override any GCC internal prototype to avoid an error.
28469 Use char because int might match the return type of a GCC
28470 builtin and then its argument prototype would still apply. */
28478 return glEnable ();
28483 if ac_fn_c_try_link
"$LINENO"; then :
28484 ac_cv_lib_MesaGL_glEnable
=yes
28486 ac_cv_lib_MesaGL_glEnable
=no
28488 rm -f core conftest.err conftest.
$ac_objext \
28489 conftest
$ac_exeext conftest.
$ac_ext
28490 LIBS
=$ac_check_lib_save_LIBS
28492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28493 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28494 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28495 ac_find_libraries
="std"
28501 if test "x$ac_find_libraries" = "x"; then
28502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28503 $as_echo_n "checking elsewhere... " >&6; }
28506 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28508 for ac_extension
in a so sl dylib dll.a
; do
28509 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28510 ac_find_libraries
=$ac_dir
28516 if test "x$ac_find_libraries" != "x"; then
28517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28518 $as_echo "yes" >&6; }
28520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28521 $as_echo "no" >&6; }
28525 elif test $pkg_failed = untried
; then
28527 if test "x$ac_find_libraries" = "x"; then
28528 if test "xglEnable" != "x"; then
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28530 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28531 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28532 $as_echo_n "(cached) " >&6
28534 ac_check_lib_save_LIBS
=$LIBS
28535 LIBS
="-lMesaGL $LIBS"
28536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28537 /* end confdefs.h. */
28539 /* Override any GCC internal prototype to avoid an error.
28540 Use char because int might match the return type of a GCC
28541 builtin and then its argument prototype would still apply. */
28549 return glEnable ();
28554 if ac_fn_c_try_link
"$LINENO"; then :
28555 ac_cv_lib_MesaGL_glEnable
=yes
28557 ac_cv_lib_MesaGL_glEnable
=no
28559 rm -f core conftest.err conftest.
$ac_objext \
28560 conftest
$ac_exeext conftest.
$ac_ext
28561 LIBS
=$ac_check_lib_save_LIBS
28563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28564 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28565 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28566 ac_find_libraries
="std"
28572 if test "x$ac_find_libraries" = "x"; then
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28574 $as_echo_n "checking elsewhere... " >&6; }
28577 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28579 for ac_extension
in a so sl dylib dll.a
; do
28580 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28581 ac_find_libraries
=$ac_dir
28587 if test "x$ac_find_libraries" != "x"; then
28588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28589 $as_echo "yes" >&6; }
28591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28592 $as_echo "no" >&6; }
28597 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28598 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28600 $as_echo "yes" >&6; }
28602 ac_find_libraries
="std"
28604 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28605 eval fl_libs
=\
$MesaGL_LIBS
28607 for fl_path
in $fl_libs
28609 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28610 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28616 if test "$ac_find_libraries" != "" ; then
28617 if test "$ac_find_libraries" != "std" ; then
28619 if test "$ac_find_libraries" = "default location"; then
28622 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28624 if test $result = 0; then
28627 ac_path_to_link
=" -L$ac_find_libraries"
28631 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28632 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28635 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28647 if test "x$OPENGL_LIBS" = "x"; then
28648 if test "$wxUSE_OPENGL" = "yes"; then
28649 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28652 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28659 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28663 if test "$wxUSE_OPENGL" = "auto"; then
28667 if test "$wxUSE_OPENGL" = "yes"; then
28669 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28671 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28678 if test -n "$TOOLKIT" ; then
28679 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28684 if test "$wxUSE_SHARED" = "yes"; then
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28689 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28694 if test "$wxUSE_SHARED" = "yes"; then
28698 *-*-cygwin* | *-*-mingw* )
28699 wx_cv_version_script
=no
28703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28704 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28705 if ${wx_cv_version_script+:} false
; then :
28706 $as_echo_n "(cached) " >&6
28709 echo "VER_1 { *; };" >conftest.sym
28710 echo "int main() { return 0; }" >conftest.cpp
28713 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28714 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28715 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28716 (eval $ac_try) 2>&5
28718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28719 test $ac_status = 0; }; } ; then
28720 if test -s conftest.stderr
; then
28721 wx_cv_version_script
=no
28723 wx_cv_version_script
=yes
28726 wx_cv_version_script
=no
28729 if test $wx_cv_version_script = yes
28731 echo "struct B { virtual ~B() { } }; \
28732 struct D : public B { }; \
28733 void F() { D d; }" > conftest.cpp
28736 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28737 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28738 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28739 (eval $ac_try) 2>&5
28741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28742 test $ac_status = 0; }; } &&
28744 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28745 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28746 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28747 (eval $ac_try) 2>&5
28749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28750 test $ac_status = 0; }; }
28753 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28754 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28755 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28756 (eval $ac_try) 2>&5
28758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28759 test $ac_status = 0; }; }
28761 wx_cv_version_script
=yes
28763 wx_cv_version_script
=no
28768 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28769 rm -f conftest1.output conftest2.output conftest3.output
28772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28773 $as_echo "$wx_cv_version_script" >&6; }
28775 if test $wx_cv_version_script = yes ; then
28776 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28782 if test "$wxUSE_VISIBILITY" != "no"; then
28785 if test -n "$GCC"; then
28786 CFLAGS_VISIBILITY
="-fvisibility=hidden"
28787 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
28788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28789 $as_echo_n "checking for symbols visibility support... " >&6; }
28790 if ${wx_cv_cc_visibility+:} false
; then :
28791 $as_echo_n "(cached) " >&6
28794 wx_save_CXXFLAGS
="$CXXFLAGS"
28795 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28797 ac_cpp
='$CXXCPP $CPPFLAGS'
28798 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28799 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28800 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28803 /* end confdefs.h. */
28805 /* we need gcc >= 4.0, older versions with visibility support
28806 didn't have class visibility: */
28807 #if defined(__GNUC__) && __GNUC__ < 4
28808 error this gcc is too old;
28811 /* visibility only makes sense for ELF shared libs: */
28812 #if !defined(__ELF__) && !defined(__APPLE__)
28813 error this platform has no visibility;
28816 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28817 #if defined(__clang__)
28818 clang compiler is still broken w.r.t. visibility;
28821 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28822 extern __attribute__((__visibility__("default"))) int exportedvar;
28823 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28824 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28825 class __attribute__((__visibility__("default"))) Foo {
28837 if ac_fn_cxx_try_compile
"$LINENO"; then :
28838 wx_cv_cc_visibility
=yes
28840 wx_cv_cc_visibility
=no
28842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28844 ac_cpp
='$CPP $CPPFLAGS'
28845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28849 CXXFLAGS
="$wx_save_CXXFLAGS"
28852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28853 $as_echo "$wx_cv_cc_visibility" >&6; }
28854 if test $wx_cv_cc_visibility = yes; then
28855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28856 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28857 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
28858 $as_echo_n "(cached) " >&6
28861 wx_save_CXXFLAGS
="$CXXFLAGS"
28862 wx_save_LDFLAGS
="$LDFLAGS"
28863 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28864 LDFLAGS
="$LDFLAGS -shared -fPIC"
28866 ac_cpp
='$CXXCPP $CPPFLAGS'
28867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28872 /* end confdefs.h. */
28880 std::string s("hello");
28887 if ac_fn_cxx_try_link
"$LINENO"; then :
28888 wx_cv_cc_broken_libstdcxx_visibility
=no
28890 wx_cv_cc_broken_libstdcxx_visibility
=yes
28892 rm -f core conftest.err conftest.
$ac_objext \
28893 conftest
$ac_exeext conftest.
$ac_ext
28895 ac_cpp
='$CPP $CPPFLAGS'
28896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28900 CXXFLAGS
="$wx_save_CXXFLAGS"
28901 LDFLAGS
="$wx_save_LDFLAGS"
28904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28905 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28907 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28909 $as_echo_n "checking whether we can work around it... " >&6; }
28910 if ${wx_cv_cc_visibility_workaround+:} false
; then :
28911 $as_echo_n "(cached) " >&6
28915 ac_cpp
='$CXXCPP $CPPFLAGS'
28916 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28917 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28918 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28921 /* end confdefs.h. */
28923 #pragma GCC visibility push(default)
28925 #pragma GCC visibility pop
28931 std::string s("hello");
28938 if ac_fn_cxx_try_link
"$LINENO"; then :
28939 wx_cv_cc_visibility_workaround
=no
28941 wx_cv_cc_visibility_workaround
=yes
28943 rm -f core conftest.err conftest.
$ac_objext \
28944 conftest
$ac_exeext conftest.
$ac_ext
28946 ac_cpp
='$CPP $CPPFLAGS'
28947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28955 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28957 if test $wx_cv_cc_visibility_workaround = no
; then
28958 wx_cv_cc_visibility
=no
28963 if test $wx_cv_cc_visibility = yes; then
28964 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28966 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28967 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28971 CFLAGS_VISIBILITY
=""
28972 CXXFLAGS_VISIBILITY
=""
28980 if test "x$SUNCXX" = xyes
; then
28981 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
28982 WXCONFIG_RPATH
="-R\$libdir"
28985 *-*-linux* | *-*-gnu* )
28986 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
28987 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28992 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
28994 saveLdflags
="$LDFLAGS"
28995 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
28997 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
28998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28999 /* end confdefs.h. */
29009 if ac_fn_c_try_link
"$LINENO"; then :
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29012 $as_echo "yes" >&6; }
29013 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29014 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29019 $as_echo "no" >&6; }
29020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29021 $as_echo_n "checking if the linker accepts -R... " >&6; }
29022 LDFLAGS
="$saveLdflags -Wl,-R,/"
29023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29024 /* end confdefs.h. */
29034 if ac_fn_c_try_link
"$LINENO"; then :
29036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29037 $as_echo "yes" >&6; }
29038 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29039 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29044 $as_echo "no" >&6; }
29047 rm -f core conftest.err conftest.
$ac_objext \
29048 conftest
$ac_exeext conftest.
$ac_ext
29051 rm -f core conftest.err conftest.
$ac_objext \
29052 conftest
$ac_exeext conftest.
$ac_ext
29053 LDFLAGS
="$saveLdflags"
29057 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29058 if test "$install_name_tool" -a -x "$install_name_tool"; then
29059 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29060 cat <<EOF >change-install-names
29062 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29063 for i in \${libnames} ; do
29064 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29065 for dep in \${libnames} ; do
29066 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29070 chmod +x change
-install-names
29071 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29074 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29077 *-*-cygwin* | *-*-mingw32* )
29081 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29082 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29088 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29090 if test $wxUSE_RPATH = "no"; then
29091 SAMPLES_RPATH_FLAG
=''
29092 DYLIB_PATH_POSTLINK
=''
29100 config_linkage_component
="-static"
29107 lib_unicode_suffix
=
29109 if test "$wxUSE_UNICODE" = "yes"; then
29110 lib_unicode_suffix
=u
29111 WX_CHARTYPE
="unicode"
29115 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29116 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29119 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29123 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29125 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29127 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29130 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29131 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29133 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29135 if test "${TOOLKIT_DIR}" = "os2"; then
29136 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29138 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29143 if test "$wxUSE_OLD_COCOA" = 1; then
29146 ac_cpp
='$CPP $CPPFLAGS'
29147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29154 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29156 /* end confdefs.h. */
29157 #include <AppKit/NSEvent.h>
29158 #include <CoreFoundation/CoreFoundation.h>
29168 if ac_fn_c_try_compile
"$LINENO"; then :
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29170 $as_echo "no" >&6; }
29172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29173 $as_echo "yes" >&6; }
29174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29175 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29177 /* end confdefs.h. */
29178 #define __Point__ 1
29179 #include <AppKit/NSEvent.h>
29180 #include <CoreFoundation/CoreFoundation.h>
29190 if ac_fn_c_try_compile
"$LINENO"; then :
29191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29192 $as_echo "yes" >&6; }
29193 $as_echo "#define __Point__ 1" >>confdefs.h
29197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29200 See \`config.log' for more details" "$LINENO" 5; }
29203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29208 ac_cpp
='$CPP $CPPFLAGS'
29209 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29210 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29211 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29216 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29217 if test "x$ac_cv_type_mode_t" = xyes
; then :
29221 cat >>confdefs.h
<<_ACEOF
29227 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29228 if test "x$ac_cv_type_off_t" = xyes
; then :
29232 cat >>confdefs.h
<<_ACEOF
29233 #define off_t long int
29238 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29239 if test "x$ac_cv_type_pid_t" = xyes
; then :
29243 cat >>confdefs.h
<<_ACEOF
29249 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29250 if test "x$ac_cv_type_size_t" = xyes
; then :
29254 cat >>confdefs.h
<<_ACEOF
29255 #define size_t unsigned int
29261 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29262 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29264 cat >>confdefs.h
<<_ACEOF
29265 #define HAVE_SSIZE_T 1
29273 ac_cpp
='$CXXCPP $CPPFLAGS'
29274 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29275 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29276 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29278 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29279 if ${wx_cv_size_t_is_uint+:} false
; then :
29280 $as_echo_n "(cached) " >&6
29283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29284 /* end confdefs.h. */
29285 #include <stddef.h>
29292 struct Foo { void foo(size_t); void foo(unsigned int); };
29300 if ac_fn_cxx_try_compile
"$LINENO"; then :
29301 wx_cv_size_t_is_uint
=no
29303 wx_cv_size_t_is_uint
=yes
29306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29311 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29313 if test "$wx_cv_size_t_is_uint" = "yes"; then
29314 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29318 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29319 if ${wx_cv_size_t_is_ulong+:} false
; then :
29320 $as_echo_n "(cached) " >&6
29322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29323 /* end confdefs.h. */
29324 #include <stddef.h>
29331 struct Foo { void foo(size_t); void foo(unsigned long); };
29339 if ac_fn_cxx_try_compile
"$LINENO"; then :
29340 wx_cv_size_t_is_ulong
=no
29342 wx_cv_size_t_is_ulong
=yes
29345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29349 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29351 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29352 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29358 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29359 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29360 $as_echo_n "(cached) " >&6
29362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29363 /* end confdefs.h. */
29371 struct Foo { void foo(wchar_t);
29372 void foo(unsigned short);
29373 void foo(unsigned int);
29374 void foo(unsigned long); };
29382 if ac_fn_cxx_try_compile
"$LINENO"; then :
29383 wx_cv_wchar_t_is_separate_type
=yes
29385 wx_cv_wchar_t_is_separate_type
=no
29388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29392 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29394 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29395 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29398 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29403 ac_cpp
='$CPP $CPPFLAGS'
29404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29410 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29411 if ${wx_cv_struct_pw_gecos+:} false
; then :
29412 $as_echo_n "(cached) " >&6
29415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29416 /* end confdefs.h. */
29430 if ac_fn_c_try_compile
"$LINENO"; then :
29432 wx_cv_struct_pw_gecos
=yes
29436 wx_cv_struct_pw_gecos
=no
29440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29445 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29447 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29448 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29455 for ac_func
in wcslen
29457 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29458 if test "x$ac_cv_func_wcslen" = xyes
; then :
29459 cat >>confdefs.h
<<_ACEOF
29460 #define HAVE_WCSLEN 1
29467 if test "$WCSLEN_FOUND" = 0; then
29468 if test "$TOOLKIT" = "MSW"; then
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29470 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29471 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29472 $as_echo_n "(cached) " >&6
29474 ac_check_lib_save_LIBS
=$LIBS
29475 LIBS
="-lmsvcrt $LIBS"
29476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29477 /* end confdefs.h. */
29479 /* Override any GCC internal prototype to avoid an error.
29480 Use char because int might match the return type of a GCC
29481 builtin and then its argument prototype would still apply. */
29494 if ac_fn_c_try_link
"$LINENO"; then :
29495 ac_cv_lib_msvcrt_wcslen
=yes
29497 ac_cv_lib_msvcrt_wcslen
=no
29499 rm -f core conftest.err conftest.
$ac_objext \
29500 conftest
$ac_exeext conftest.
$ac_ext
29501 LIBS
=$ac_check_lib_save_LIBS
29503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29504 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29505 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29511 $as_echo_n "checking for wcslen in -lw... " >&6; }
29512 if ${ac_cv_lib_w_wcslen+:} false
; then :
29513 $as_echo_n "(cached) " >&6
29515 ac_check_lib_save_LIBS
=$LIBS
29517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29518 /* end confdefs.h. */
29520 /* Override any GCC internal prototype to avoid an error.
29521 Use char because int might match the return type of a GCC
29522 builtin and then its argument prototype would still apply. */
29535 if ac_fn_c_try_link
"$LINENO"; then :
29536 ac_cv_lib_w_wcslen
=yes
29538 ac_cv_lib_w_wcslen
=no
29540 rm -f core conftest.err conftest.
$ac_objext \
29541 conftest
$ac_exeext conftest.
$ac_ext
29542 LIBS
=$ac_check_lib_save_LIBS
29544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29545 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29546 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29556 if test "$WCSLEN_FOUND" = 1; then
29557 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29561 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29563 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29564 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29565 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29566 cat >>confdefs.h
<<_ACEOF
29567 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29574 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29575 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29578 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29580 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29582 cat >>confdefs.h
<<_ACEOF
29583 #define HAVE_MBSTATE_T 1
29586 for ac_func
in wcsrtombs
29588 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29589 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29590 cat >>confdefs.h
<<_ACEOF
29591 #define HAVE_WCSRTOMBS 1
29600 for ac_func
in snprintf vsnprintf vsscanf
29602 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29603 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29604 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29605 cat >>confdefs.h
<<_ACEOF
29606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29614 ac_cpp
='$CXXCPP $CPPFLAGS'
29615 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29619 if test "$ac_cv_func_vsnprintf" = "yes"; then
29620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29621 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29622 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29623 $as_echo_n "(cached) " >&6
29626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29627 /* end confdefs.h. */
29630 #include <stdarg.h>
29638 vsnprintf(buf, 10u, "%s", ap);
29644 if ac_fn_cxx_try_compile
"$LINENO"; then :
29645 wx_cv_func_vsnprintf_decl
=yes
29647 wx_cv_func_vsnprintf_decl
=no
29650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29655 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29657 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29658 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29662 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29663 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29664 $as_echo_n "(cached) " >&6
29667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h. */
29671 #include <stdarg.h>
29673 #if __MSL__ >= 0x6000
29675 using namespace std;
29685 const char *fmt = "%s";
29686 vsnprintf(buf, 10u, fmt, ap);
29692 if ac_fn_cxx_try_compile
"$LINENO"; then :
29693 wx_cv_func_broken_vsnprintf_decl
=no
29695 wx_cv_func_broken_vsnprintf_decl
=yes
29698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29703 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29705 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29706 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29712 if test "$ac_cv_func_snprintf" = "yes"; then
29713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29714 $as_echo_n "checking for snprintf declaration... " >&6; }
29715 if ${wx_cv_func_snprintf_decl+:} false
; then :
29716 $as_echo_n "(cached) " >&6
29719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29720 /* end confdefs.h. */
29723 #include <stdarg.h>
29725 #if __MSL__ >= 0x6000
29727 using namespace std;
29736 snprintf(buf, 10u, "%s", "wx");
29742 if ac_fn_cxx_try_compile
"$LINENO"; then :
29743 wx_cv_func_snprintf_decl
=yes
29745 wx_cv_func_snprintf_decl
=no
29748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29753 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29755 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29756 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29760 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29763 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29764 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
29765 $as_echo_n "(cached) " >&6
29768 if test "$cross_compiling" = yes; then :
29770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29771 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29772 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29773 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29774 wx_cv_func_snprintf_pos_params
=no
29778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29779 /* end confdefs.h. */
29786 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29787 if (strcmp ("2 3 1", buffer) == 0)
29793 if ac_fn_cxx_try_run
"$LINENO"; then :
29794 wx_cv_func_snprintf_pos_params
=no
29796 wx_cv_func_snprintf_pos_params
=yes
29798 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
29799 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
29805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29806 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29808 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29809 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29815 if test "$ac_cv_func_vsscanf" = "yes"; then
29816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29817 $as_echo_n "checking for vsscanf declaration... " >&6; }
29818 if ${wx_cv_func_vsscanf_decl+:} false
; then :
29819 $as_echo_n "(cached) " >&6
29822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29823 /* end confdefs.h. */
29826 #include <stdarg.h>
29828 #if __MSL__ >= 0x6000
29830 using namespace std;
29840 vsscanf(buf, "%s", args);
29846 if ac_fn_cxx_try_compile
"$LINENO"; then :
29847 wx_cv_func_vsscanf_decl
=yes
29849 wx_cv_func_vsscanf_decl
=no
29852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29857 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29859 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29860 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29865 ac_cpp
='$CPP $CPPFLAGS'
29866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29871 if test "$wxUSE_UNICODE" = yes; then
29873 wchar_headers
="#include <stdio.h>
29874 #include <wchar.h>"
29877 for ac_header
in widec.h
29879 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29881 if test "x$ac_cv_header_widec_h" = xyes
; then :
29882 cat >>confdefs.h
<<_ACEOF
29883 #define HAVE_WIDEC_H 1
29890 if test "$ac_cv_header_widec_h" = "yes"; then
29891 wchar_headers
="$wchar_headers
29892 #include <widec.h>"
29897 for wx_func
in putws fputws wprintf vswprintf vswscanf
29899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29900 $as_echo_n "checking for $wx_func... " >&6; }
29901 if eval \
${wx_cv_func_$wx_func+:} false
; then :
29902 $as_echo_n "(cached) " >&6
29905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29906 /* end confdefs.h. */
29910 $ac_includes_default
29926 if ac_fn_c_try_link
"$LINENO"; then :
29927 eval wx_cv_func_
$wx_func=yes
29929 eval wx_cv_func_
$wx_func=no
29931 rm -f core conftest.err conftest.
$ac_objext \
29932 conftest
$ac_exeext conftest.
$ac_ext
29935 eval ac_res
=\
$wx_cv_func_$wx_func
29936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29937 $as_echo "$ac_res" >&6; }
29939 if eval test \
$wx_cv_func_$wx_func = yes
29941 cat >>confdefs.h
<<_ACEOF
29942 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29954 $as_echo_n "checking for _vsnwprintf... " >&6; }
29955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29956 /* end confdefs.h. */
29966 if ac_fn_c_try_compile
"$LINENO"; then :
29967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29968 $as_echo "yes" >&6; }
29969 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29973 $as_echo "no" >&6; }
29975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29978 if test "$wxUSE_FILE" = "yes"; then
29980 for wx_func
in fsync
29982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29983 $as_echo_n "checking for $wx_func... " >&6; }
29984 if eval \
${wx_cv_func_$wx_func+:} false
; then :
29985 $as_echo_n "(cached) " >&6
29988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29989 /* end confdefs.h. */
29993 $ac_includes_default
30009 if ac_fn_c_try_link
"$LINENO"; then :
30010 eval wx_cv_func_
$wx_func=yes
30012 eval wx_cv_func_
$wx_func=no
30014 rm -f core conftest.err conftest.
$ac_objext \
30015 conftest
$ac_exeext conftest.
$ac_ext
30018 eval ac_res
=\
$wx_cv_func_$wx_func
30019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30020 $as_echo "$ac_res" >&6; }
30022 if eval test \
$wx_cv_func_$wx_func = yes
30024 cat >>confdefs.h
<<_ACEOF
30025 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30038 ac_cpp
='$CXXCPP $CPPFLAGS'
30039 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30040 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30041 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30044 for wx_func
in round
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30047 $as_echo_n "checking for $wx_func... " >&6; }
30048 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30049 $as_echo_n "(cached) " >&6
30052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30053 /* end confdefs.h. */
30057 $ac_includes_default
30073 if ac_fn_cxx_try_link
"$LINENO"; then :
30074 eval wx_cv_func_
$wx_func=yes
30076 eval wx_cv_func_
$wx_func=no
30078 rm -f core conftest.err conftest.
$ac_objext \
30079 conftest
$ac_exeext conftest.
$ac_ext
30082 eval ac_res
=\
$wx_cv_func_$wx_func
30083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30084 $as_echo "$ac_res" >&6; }
30086 if eval test \
$wx_cv_func_$wx_func = yes
30088 cat >>confdefs.h
<<_ACEOF
30089 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30100 ac_cpp
='$CPP $CPPFLAGS'
30101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30106 if test "$TOOLKIT" != "MSW"; then
30108 if test "$wxUSE_LIBICONV" != "no" ; then
30112 # Check whether --with-libiconv-prefix was given.
30113 if test "${with_libiconv_prefix+set}" = set; then :
30114 withval
=$with_libiconv_prefix;
30115 for dir
in `echo "$withval" | tr : ' '`; do
30116 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30117 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30124 $as_echo_n "checking for iconv... " >&6; }
30125 if ${am_cv_func_iconv+:} false
; then :
30126 $as_echo_n "(cached) " >&6
30129 am_cv_func_iconv
="no, consider installing GNU libiconv"
30131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30132 /* end confdefs.h. */
30133 #include <stdlib.h>
30138 iconv_t cd = iconv_open("","");
30139 iconv(cd,NULL,NULL,NULL,NULL);
30145 if ac_fn_c_try_link
"$LINENO"; then :
30146 am_cv_func_iconv
=yes
30148 rm -f core conftest.err conftest.
$ac_objext \
30149 conftest
$ac_exeext conftest.
$ac_ext
30150 if test "$am_cv_func_iconv" != yes; then
30151 am_save_LIBS
="$LIBS"
30152 LIBS
="$LIBS -liconv"
30153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30154 /* end confdefs.h. */
30155 #include <stdlib.h>
30160 iconv_t cd = iconv_open("","");
30161 iconv(cd,NULL,NULL,NULL,NULL);
30167 if ac_fn_c_try_link
"$LINENO"; then :
30168 am_cv_lib_iconv
=yes
30169 am_cv_func_iconv
=yes
30171 rm -f core conftest.err conftest.
$ac_objext \
30172 conftest
$ac_exeext conftest.
$ac_ext
30173 LIBS
="$am_save_LIBS"
30177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30178 $as_echo "$am_cv_func_iconv" >&6; }
30179 if test "$am_cv_func_iconv" = yes; then
30181 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30184 $as_echo_n "checking if iconv needs const... " >&6; }
30185 if ${wx_cv_func_iconv_const+:} false
; then :
30186 $as_echo_n "(cached) " >&6
30188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30189 /* end confdefs.h. */
30191 #include <stdlib.h>
30197 #if defined(__STDC__) || defined(__cplusplus)
30198 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30211 if ac_fn_c_try_compile
"$LINENO"; then :
30212 wx_cv_func_iconv_const
="no"
30214 wx_cv_func_iconv_const
="yes"
30217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30221 $as_echo "$wx_cv_func_iconv_const" >&6; }
30224 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30225 iconv_const
="const"
30229 cat >>confdefs.h
<<_ACEOF
30230 #define ICONV_CONST $iconv_const
30235 if test "$am_cv_lib_iconv" = yes; then
30240 LIBS
="$LIBICONV $LIBS"
30243 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30244 for ac_func
in sigaction
30246 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30247 if test "x$ac_cv_func_sigaction" = xyes
; then :
30248 cat >>confdefs.h
<<_ACEOF
30249 #define HAVE_SIGACTION 1
30256 if test "$ac_cv_func_sigaction" = "no"; then
30257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30258 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30259 wxUSE_ON_FATAL_EXCEPTION
=no
30262 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30264 $as_echo_n "checking for sa_handler type... " >&6; }
30265 if ${wx_cv_type_sa_handler+:} false
; then :
30266 $as_echo_n "(cached) " >&6
30270 ac_cpp
='$CXXCPP $CPPFLAGS'
30271 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30276 /* end confdefs.h. */
30277 #include <signal.h>
30282 extern void testSigHandler(int);
30284 struct sigaction sa;
30285 sa.sa_handler = testSigHandler;
30291 if ac_fn_cxx_try_compile
"$LINENO"; then :
30293 wx_cv_type_sa_handler
=int
30297 wx_cv_type_sa_handler
=void
30300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30302 ac_cpp
='$CPP $CPPFLAGS'
30303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30310 $as_echo "$wx_cv_type_sa_handler" >&6; }
30312 cat >>confdefs.h
<<_ACEOF
30313 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30319 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30321 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30322 if ${wx_cv_func_backtrace+:} false
; then :
30323 $as_echo_n "(cached) " >&6
30327 ac_cpp
='$CXXCPP $CPPFLAGS'
30328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30333 /* end confdefs.h. */
30334 #include <execinfo.h>
30342 backtrace(trace, 1);
30343 messages = backtrace_symbols(trace, 1);
30349 if ac_fn_cxx_try_compile
"$LINENO"; then :
30350 wx_cv_func_backtrace
=yes
30352 wx_cv_func_backtrace
=no
30355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30357 ac_cpp
='$CPP $CPPFLAGS'
30358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30366 $as_echo "$wx_cv_func_backtrace" >&6; }
30369 if test "$wx_cv_func_backtrace" = "no"; then
30370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30371 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30372 wxUSE_STACKWALKER
=no
30374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30375 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30376 if ${wx_cv_func_cxa_demangle+:} false
; then :
30377 $as_echo_n "(cached) " >&6
30381 ac_cpp
='$CXXCPP $CPPFLAGS'
30382 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30383 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30384 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30387 /* end confdefs.h. */
30388 #include <cxxabi.h>
30394 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30400 if ac_fn_cxx_try_link
"$LINENO"; then :
30401 wx_cv_func_cxa_demangle
=yes
30403 wx_cv_func_cxa_demangle
=no
30406 rm -f core conftest.err conftest.
$ac_objext \
30407 conftest
$ac_exeext conftest.
$ac_ext
30409 ac_cpp
='$CPP $CPPFLAGS'
30410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30418 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30420 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30421 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30427 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30429 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30430 wxUSE_STACKWALKER
=no
30434 for ac_func
in mkstemp mktemp
30436 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30437 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30438 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30439 cat >>confdefs.h
<<_ACEOF
30440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30448 $as_echo_n "checking for statfs... " >&6; }
30449 if ${wx_cv_func_statfs+:} false
; then :
30450 $as_echo_n "(cached) " >&6
30452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30453 /* end confdefs.h. */
30455 #if defined(__BSD__)
30456 #include <sys/param.h>
30457 #include <sys/mount.h>
30459 #include <sys/vfs.h>
30477 if ac_fn_c_try_compile
"$LINENO"; then :
30478 wx_cv_func_statfs
=yes
30480 wx_cv_func_statfs
=no
30483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30487 $as_echo "$wx_cv_func_statfs" >&6; }
30489 if test "$wx_cv_func_statfs" = "yes"; then
30490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30491 $as_echo_n "checking for statfs declaration... " >&6; }
30492 if ${wx_cv_func_statfs_decl+:} false
; then :
30493 $as_echo_n "(cached) " >&6
30496 ac_cpp
='$CXXCPP $CPPFLAGS'
30497 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30498 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30499 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30502 /* end confdefs.h. */
30504 #if defined(__BSD__)
30505 #include <sys/param.h>
30506 #include <sys/mount.h>
30508 #include <sys/vfs.h>
30522 if ac_fn_cxx_try_compile
"$LINENO"; then :
30523 wx_cv_func_statfs_decl
=yes
30525 wx_cv_func_statfs_decl
=no
30528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30530 ac_cpp
='$CPP $CPPFLAGS'
30531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30538 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30540 if test "$wx_cv_func_statfs_decl" = "yes"; then
30541 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30545 wx_cv_type_statvfs_t
="struct statfs"
30546 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30550 $as_echo_n "checking for statvfs... " >&6; }
30551 if ${wx_cv_func_statvfs+:} false
; then :
30552 $as_echo_n "(cached) " >&6
30554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30555 /* end confdefs.h. */
30557 #include <stddef.h>
30558 #include <sys/statvfs.h>
30564 statvfs("/", NULL);
30570 if ac_fn_c_try_compile
"$LINENO"; then :
30571 wx_cv_func_statvfs
=yes
30573 wx_cv_func_statvfs
=no
30576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30580 $as_echo "$wx_cv_func_statvfs" >&6; }
30582 if test "$wx_cv_func_statvfs" = "yes"; then
30583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30584 $as_echo_n "checking for statvfs argument type... " >&6; }
30585 if ${wx_cv_type_statvfs_t+:} false
; then :
30586 $as_echo_n "(cached) " >&6
30589 ac_cpp
='$CXXCPP $CPPFLAGS'
30590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30595 /* end confdefs.h. */
30597 #include <sys/statvfs.h>
30614 if ac_fn_cxx_try_compile
"$LINENO"; then :
30615 wx_cv_type_statvfs_t
=statvfs_t
30618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30619 /* end confdefs.h. */
30621 #include <sys/statvfs.h>
30638 if ac_fn_cxx_try_compile
"$LINENO"; then :
30639 wx_cv_type_statvfs_t
="struct statvfs"
30641 wx_cv_type_statvfs_t
="unknown"
30644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30650 ac_cpp
='$CPP $CPPFLAGS'
30651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30658 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30660 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30661 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30665 wx_cv_type_statvfs_t
="unknown"
30669 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30670 cat >>confdefs.h
<<_ACEOF
30671 #define WX_STATFS_T $wx_cv_type_statvfs_t
30675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30676 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30679 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30680 for ac_func
in fcntl flock
30682 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30683 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30684 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30685 cat >>confdefs.h
<<_ACEOF
30686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30693 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30695 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30696 wxUSE_SNGLINST_CHECKER
=no
30700 for ac_func
in setenv putenv
30702 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30703 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30704 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30705 cat >>confdefs.h
<<_ACEOF
30706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30712 if test "$ac_cv_func_setenv" = "yes"; then
30713 for ac_func
in unsetenv
30715 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30716 if test "x$ac_cv_func_unsetenv" = xyes
; then :
30717 cat >>confdefs.h
<<_ACEOF
30718 #define HAVE_UNSETENV 1
30726 HAVE_SOME_SLEEP_FUNC
=0
30727 if test "$USE_BEOS" = 1; then
30728 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30730 HAVE_SOME_SLEEP_FUNC
=1
30733 if test "$USE_DARWIN" = 1; then
30734 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30736 HAVE_SOME_SLEEP_FUNC
=1
30739 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30741 for ac_func
in nanosleep
30743 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30744 if test "x$ac_cv_func_nanosleep" = xyes
; then :
30745 cat >>confdefs.h
<<_ACEOF
30746 #define HAVE_NANOSLEEP 1
30748 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30753 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30754 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
30755 $as_echo_n "(cached) " >&6
30757 ac_check_lib_save_LIBS
=$LIBS
30758 LIBS
="-lposix4 $LIBS"
30759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30760 /* end confdefs.h. */
30762 /* Override any GCC internal prototype to avoid an error.
30763 Use char because int might match the return type of a GCC
30764 builtin and then its argument prototype would still apply. */
30772 return nanosleep ();
30777 if ac_fn_c_try_link
"$LINENO"; then :
30778 ac_cv_lib_posix4_nanosleep
=yes
30780 ac_cv_lib_posix4_nanosleep
=no
30782 rm -f core conftest.err conftest.
$ac_objext \
30783 conftest
$ac_exeext conftest.
$ac_ext
30784 LIBS
=$ac_check_lib_save_LIBS
30786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30787 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30788 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
30790 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30792 POSIX4_LINK
=" -lposix4"
30797 for wx_func
in usleep
30799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30800 $as_echo_n "checking for $wx_func... " >&6; }
30801 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30802 $as_echo_n "(cached) " >&6
30805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30806 /* end confdefs.h. */
30810 $ac_includes_default
30826 if ac_fn_c_try_link
"$LINENO"; then :
30827 eval wx_cv_func_
$wx_func=yes
30829 eval wx_cv_func_
$wx_func=no
30831 rm -f core conftest.err conftest.
$ac_objext \
30832 conftest
$ac_exeext conftest.
$ac_ext
30835 eval ac_res
=\
$wx_cv_func_$wx_func
30836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30837 $as_echo "$ac_res" >&6; }
30839 if eval test \
$wx_cv_func_$wx_func = yes
30841 cat >>confdefs.h
<<_ACEOF
30842 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30849 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30866 for wx_func
in uname
30868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30869 $as_echo_n "checking for $wx_func... " >&6; }
30870 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30871 $as_echo_n "(cached) " >&6
30874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30875 /* end confdefs.h. */
30878 #include <sys/utsname.h>
30879 $ac_includes_default
30895 if ac_fn_c_try_link
"$LINENO"; then :
30896 eval wx_cv_func_
$wx_func=yes
30898 eval wx_cv_func_
$wx_func=no
30900 rm -f core conftest.err conftest.
$ac_objext \
30901 conftest
$ac_exeext conftest.
$ac_ext
30904 eval ac_res
=\
$wx_cv_func_$wx_func
30905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30906 $as_echo "$ac_res" >&6; }
30908 if eval test \
$wx_cv_func_$wx_func = yes
30910 cat >>confdefs.h
<<_ACEOF
30911 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30921 if test "$wx_cv_func_uname" != yes; then
30923 for wx_func
in gethostname
30925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30926 $as_echo_n "checking for $wx_func... " >&6; }
30927 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30928 $as_echo_n "(cached) " >&6
30931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h. */
30936 $ac_includes_default
30952 if ac_fn_c_try_link
"$LINENO"; then :
30953 eval wx_cv_func_
$wx_func=yes
30955 eval wx_cv_func_
$wx_func=no
30957 rm -f core conftest.err conftest.
$ac_objext \
30958 conftest
$ac_exeext conftest.
$ac_ext
30961 eval ac_res
=\
$wx_cv_func_$wx_func
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30963 $as_echo "$ac_res" >&6; }
30965 if eval test \
$wx_cv_func_$wx_func = yes
30967 cat >>confdefs.h
<<_ACEOF
30968 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30981 for wx_func
in strtok_r
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30984 $as_echo_n "checking for $wx_func... " >&6; }
30985 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30986 $as_echo_n "(cached) " >&6
30989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30990 /* end confdefs.h. */
30994 $ac_includes_default
31010 if ac_fn_c_try_link
"$LINENO"; then :
31011 eval wx_cv_func_
$wx_func=yes
31013 eval wx_cv_func_
$wx_func=no
31015 rm -f core conftest.err conftest.
$ac_objext \
31016 conftest
$ac_exeext conftest.
$ac_ext
31019 eval ac_res
=\
$wx_cv_func_$wx_func
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31021 $as_echo "$ac_res" >&6; }
31023 if eval test \
$wx_cv_func_$wx_func = yes
31025 cat >>confdefs.h
<<_ACEOF
31026 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31038 for ac_func
in inet_addr
31040 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31041 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31042 cat >>confdefs.h
<<_ACEOF
31043 #define HAVE_INET_ADDR 1
31045 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31050 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31051 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31052 $as_echo_n "(cached) " >&6
31054 ac_check_lib_save_LIBS
=$LIBS
31056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31057 /* end confdefs.h. */
31059 /* Override any GCC internal prototype to avoid an error.
31060 Use char because int might match the return type of a GCC
31061 builtin and then its argument prototype would still apply. */
31069 return inet_addr ();
31074 if ac_fn_c_try_link
"$LINENO"; then :
31075 ac_cv_lib_nsl_inet_addr
=yes
31077 ac_cv_lib_nsl_inet_addr
=no
31079 rm -f core conftest.err conftest.
$ac_objext \
31080 conftest
$ac_exeext conftest.
$ac_ext
31081 LIBS
=$ac_check_lib_save_LIBS
31083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31084 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31085 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31090 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31091 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31092 $as_echo_n "(cached) " >&6
31094 ac_check_lib_save_LIBS
=$LIBS
31095 LIBS
="-lresolv $LIBS"
31096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31097 /* end confdefs.h. */
31099 /* Override any GCC internal prototype to avoid an error.
31100 Use char because int might match the return type of a GCC
31101 builtin and then its argument prototype would still apply. */
31109 return inet_addr ();
31114 if ac_fn_c_try_link
"$LINENO"; then :
31115 ac_cv_lib_resolv_inet_addr
=yes
31117 ac_cv_lib_resolv_inet_addr
=no
31119 rm -f core conftest.err conftest.
$ac_objext \
31120 conftest
$ac_exeext conftest.
$ac_ext
31121 LIBS
=$ac_check_lib_save_LIBS
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31124 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31125 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31130 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31131 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31132 $as_echo_n "(cached) " >&6
31134 ac_check_lib_save_LIBS
=$LIBS
31135 LIBS
="-lsocket $LIBS"
31136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31137 /* end confdefs.h. */
31139 /* Override any GCC internal prototype to avoid an error.
31140 Use char because int might match the return type of a GCC
31141 builtin and then its argument prototype would still apply. */
31149 return inet_addr ();
31154 if ac_fn_c_try_link
"$LINENO"; then :
31155 ac_cv_lib_socket_inet_addr
=yes
31157 ac_cv_lib_socket_inet_addr
=no
31159 rm -f core conftest.err conftest.
$ac_objext \
31160 conftest
$ac_exeext conftest.
$ac_ext
31161 LIBS
=$ac_check_lib_save_LIBS
31163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31164 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31165 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31184 for ac_func
in inet_aton
31186 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31187 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31188 cat >>confdefs.h
<<_ACEOF
31189 #define HAVE_INET_ATON 1
31191 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31195 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31197 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31198 if eval \
${$as_ac_Lib+:} false
; then :
31199 $as_echo_n "(cached) " >&6
31201 ac_check_lib_save_LIBS
=$LIBS
31202 LIBS
="-l$INET_LINK $LIBS"
31203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31204 /* end confdefs.h. */
31206 /* Override any GCC internal prototype to avoid an error.
31207 Use char because int might match the return type of a GCC
31208 builtin and then its argument prototype would still apply. */
31216 return inet_aton ();
31221 if ac_fn_c_try_link
"$LINENO"; then :
31222 eval "$as_ac_Lib=yes"
31224 eval "$as_ac_Lib=no"
31226 rm -f core conftest.err conftest.
$ac_objext \
31227 conftest
$ac_exeext conftest.
$ac_ext
31228 LIBS
=$ac_check_lib_save_LIBS
31230 eval ac_res
=\$
$as_ac_Lib
31231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31232 $as_echo "$ac_res" >&6; }
31233 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31234 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31243 if test "x$INET_LINK" != "x"; then
31244 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31246 INET_LINK
=" -l$INET_LINK"
31250 for wx_func
in fdopen
31252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31253 $as_echo_n "checking for $wx_func... " >&6; }
31254 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31255 $as_echo_n "(cached) " >&6
31258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31259 /* end confdefs.h. */
31263 $ac_includes_default
31279 if ac_fn_c_try_link
"$LINENO"; then :
31280 eval wx_cv_func_
$wx_func=yes
31282 eval wx_cv_func_
$wx_func=no
31284 rm -f core conftest.err conftest.
$ac_objext \
31285 conftest
$ac_exeext conftest.
$ac_ext
31288 eval ac_res
=\
$wx_cv_func_$wx_func
31289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31290 $as_echo "$ac_res" >&6; }
31292 if eval test \
$wx_cv_func_$wx_func = yes
31294 cat >>confdefs.h
<<_ACEOF
31295 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31306 if test "$wxUSE_TARSTREAM" = "yes"; then
31308 for wx_func
in sysconf
31310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31311 $as_echo_n "checking for $wx_func... " >&6; }
31312 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31313 $as_echo_n "(cached) " >&6
31316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31317 /* end confdefs.h. */
31321 $ac_includes_default
31337 if ac_fn_c_try_link
"$LINENO"; then :
31338 eval wx_cv_func_
$wx_func=yes
31340 eval wx_cv_func_
$wx_func=no
31342 rm -f core conftest.err conftest.
$ac_objext \
31343 conftest
$ac_exeext conftest.
$ac_ext
31346 eval ac_res
=\
$wx_cv_func_$wx_func
31347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31348 $as_echo "$ac_res" >&6; }
31350 if eval test \
$wx_cv_func_$wx_func = yes
31352 cat >>confdefs.h
<<_ACEOF
31353 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31365 for wx_func
in getpwuid_r
31367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31368 $as_echo_n "checking for $wx_func... " >&6; }
31369 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31370 $as_echo_n "(cached) " >&6
31373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31374 /* end confdefs.h. */
31381 $ac_includes_default
31391 struct passwd pw, *ppw;
31393 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31401 if ac_fn_c_try_link
"$LINENO"; then :
31402 eval wx_cv_func_
$wx_func=yes
31404 eval wx_cv_func_
$wx_func=no
31406 rm -f core conftest.err conftest.
$ac_objext \
31407 conftest
$ac_exeext conftest.
$ac_ext
31410 eval ac_res
=\
$wx_cv_func_$wx_func
31411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31412 $as_echo "$ac_res" >&6; }
31414 if eval test \
$wx_cv_func_$wx_func = yes
31416 cat >>confdefs.h
<<_ACEOF
31417 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31429 for wx_func
in getgrgid_r
31431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31432 $as_echo_n "checking for $wx_func... " >&6; }
31433 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31434 $as_echo_n "(cached) " >&6
31437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31438 /* end confdefs.h. */
31445 $ac_includes_default
31455 struct group grp, *pgrp;
31457 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31465 if ac_fn_c_try_link
"$LINENO"; then :
31466 eval wx_cv_func_
$wx_func=yes
31468 eval wx_cv_func_
$wx_func=no
31470 rm -f core conftest.err conftest.
$ac_objext \
31471 conftest
$ac_exeext conftest.
$ac_ext
31474 eval ac_res
=\
$wx_cv_func_$wx_func
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31476 $as_echo "$ac_res" >&6; }
31478 if eval test \
$wx_cv_func_$wx_func = yes
31480 cat >>confdefs.h
<<_ACEOF
31481 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31497 cat >confcache
<<\_ACEOF
31498 # This file is a shell script that caches the results of configure
31499 # tests run on this system so they can be shared between configure
31500 # scripts and configure runs, see configure's option --config-cache.
31501 # It is not useful on other systems. If it contains results you don't
31502 # want to keep, you may remove or edit it.
31504 # config.status only pays attention to the cache file if you give it
31505 # the --recheck option to rerun configure.
31507 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31508 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31509 # following values.
31513 # The following way of writing the cache mishandles newlines in values,
31514 # but we know of no workaround that is simple, portable, and efficient.
31515 # So, we kill variables containing newlines.
31516 # Ultrix sh set writes to stderr and can't be redirected directly,
31517 # and sets the high bit in the cache file unless we assign to the vars.
31519 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31520 eval ac_val
=\$
$ac_var
31524 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31525 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31528 _
| IFS
| as_nl
) ;; #(
31529 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31530 *) { eval $ac_var=; unset $ac_var;} ;;
31536 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31537 *${as_nl}ac_space
=\
*)
31538 # `set' does not quote correctly, so add quotes: double-quote
31539 # substitution turns \\\\ into \\, and sed turns \\ into \.
31542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31545 # `set' quotes correctly as required by POSIX, so do not add quotes.
31546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31557 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31559 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31560 if test -w "$cache_file"; then
31561 if test "x$cache_file" != "x/dev/null"; then
31562 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31563 $as_echo "$as_me: updating cache $cache_file" >&6;}
31564 if test ! -f "$cache_file" || test -h "$cache_file"; then
31565 cat confcache
>"$cache_file"
31567 case $cache_file in #(
31569 mv -f confcache
"$cache_file"$$
&&
31570 mv -f "$cache_file"$$
"$cache_file" ;; #(
31572 mv -f confcache
"$cache_file" ;;
31577 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31578 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31584 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31590 if test "$wxUSE_THREADS" = "yes" ; then
31591 if test "$USE_BEOS" = 1; then
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31593 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31598 if test "$wxUSE_THREADS" = "yes" ; then
31601 THREAD_OPTS
="-pthread"
31602 if test "x$SUNCXX" = xyes
; then
31603 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31607 *-*-solaris2* | *-*-sunos4* )
31608 if test "x$GCC" = "xyes"; then
31609 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31613 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31615 *-*-darwin* | *-*-cygwin* )
31619 THREAD_OPTS
="pthreads"
31622 if test "x$GCC" = "xyes"; then
31623 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31631 if test "x$GCC" = "xyes"; then
31641 if test "x$GCC" != "xyes"; then
31642 THREAD_OPTS
="-Ethread"
31649 THREAD_OPTS
="none pthread"
31653 THREAD_OPTS
="$THREAD_OPTS pthread none"
31658 for flag
in $THREAD_OPTS; do
31661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31662 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31667 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31668 THREADS_CFLAGS
="$flag"
31672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31673 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31674 THREADS_LINK
="-l$flag"
31679 save_CFLAGS
="$CFLAGS"
31680 LIBS
="$THREADS_LINK $LIBS"
31681 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31684 /* end confdefs.h. */
31685 #include <pthread.h>
31689 pthread_create(0,0,0,0);
31694 if ac_fn_c_try_link
"$LINENO"; then :
31697 rm -f core conftest.err conftest.
$ac_objext \
31698 conftest
$ac_exeext conftest.
$ac_ext
31701 CFLAGS
="$save_CFLAGS"
31703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31704 $as_echo "$THREADS_OK" >&6; }
31705 if test "x$THREADS_OK" = "xyes"; then
31713 if test "x$THREADS_OK" != "xyes"; then
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31716 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31718 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31719 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31720 LIBS
="$THREADS_LINK $LIBS"
31722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31723 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31727 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31728 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31729 flag
="-D_THREAD_SAFE"
31732 flag
="-D_THREAD_SAFE"
31735 flag
="-D_REENTRANT"
31736 if test "x$GCC" != "xyes"; then
31737 flag
="$flag -D_RWSTD_MULTI_THREAD"
31740 *solaris
* | alpha
*-osf*)
31741 flag
="-D_REENTRANT"
31744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31745 $as_echo "${flag}" >&6; }
31746 if test "x$flag" != xno
; then
31747 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31750 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31754 if test "$wxUSE_THREADS" = "yes" ; then
31755 for ac_func
in pthread_setconcurrency
31757 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31758 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
31759 cat >>confdefs.h
<<_ACEOF
31760 #define HAVE_PTHREAD_SETCONCURRENCY 1
31762 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31766 for ac_func
in thr_setconcurrency
31768 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31769 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
31770 cat >>confdefs.h
<<_ACEOF
31771 #define HAVE_THR_SETCONCURRENCY 1
31773 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31777 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31787 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31788 if ${wx_cv_func_pthread_cleanup+:} false
; then :
31789 $as_echo_n "(cached) " >&6
31793 ac_cpp
='$CXXCPP $CPPFLAGS'
31794 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31795 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31796 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31799 /* end confdefs.h. */
31800 #include <pthread.h>
31801 void ThreadCleanupFunc(void *p);
31808 pthread_cleanup_push(ThreadCleanupFunc, p);
31809 pthread_cleanup_pop(0);
31815 if ac_fn_cxx_try_compile
"$LINENO"; then :
31817 wx_cv_func_pthread_cleanup
=yes
31821 wx_cv_func_pthread_cleanup
=no
31825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31827 ac_cpp
='$CPP $CPPFLAGS'
31828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31835 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31836 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31837 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31841 for ac_header
in sched.h
31843 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31845 if test "x$ac_cv_header_sched_h" = xyes
; then :
31846 cat >>confdefs.h
<<_ACEOF
31847 #define HAVE_SCHED_H 1
31854 if test "$ac_cv_header_sched_h" = "yes"; then
31855 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31856 if test "x$ac_cv_func_sched_yield" = xyes
; then :
31857 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31862 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31863 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
31864 $as_echo_n "(cached) " >&6
31866 ac_check_lib_save_LIBS
=$LIBS
31867 LIBS
="-lposix4 $LIBS"
31868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31869 /* end confdefs.h. */
31871 /* Override any GCC internal prototype to avoid an error.
31872 Use char because int might match the return type of a GCC
31873 builtin and then its argument prototype would still apply. */
31877 char sched_yield ();
31881 return sched_yield ();
31886 if ac_fn_c_try_link
"$LINENO"; then :
31887 ac_cv_lib_posix4_sched_yield
=yes
31889 ac_cv_lib_posix4_sched_yield
=no
31891 rm -f core conftest.err conftest.
$ac_objext \
31892 conftest
$ac_exeext conftest.
$ac_ext
31893 LIBS
=$ac_check_lib_save_LIBS
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31896 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31897 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
31898 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31899 POSIX4_LINK
=" -lposix4"
31901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31902 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31913 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31914 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
31915 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31916 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
31917 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31918 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
31921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31922 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31923 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
31924 $as_echo_n "(cached) " >&6
31926 ac_check_lib_save_LIBS
=$LIBS
31927 LIBS
="-lposix4 $LIBS"
31928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31929 /* end confdefs.h. */
31931 /* Override any GCC internal prototype to avoid an error.
31932 Use char because int might match the return type of a GCC
31933 builtin and then its argument prototype would still apply. */
31937 char sched_get_priority_max ();
31941 return sched_get_priority_max ();
31946 if ac_fn_c_try_link
"$LINENO"; then :
31947 ac_cv_lib_posix4_sched_get_priority_max
=yes
31949 ac_cv_lib_posix4_sched_get_priority_max
=no
31951 rm -f core conftest.err conftest.
$ac_objext \
31952 conftest
$ac_exeext conftest.
$ac_ext
31953 LIBS
=$ac_check_lib_save_LIBS
31955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31956 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31957 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
31960 POSIX4_LINK
=" -lposix4"
31974 if test "$HAVE_PRIOR_FUNCS" = 1; then
31975 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
31978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
31979 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
31982 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
31983 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
31984 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
31987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
31988 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
31992 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
31993 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
31994 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
31997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
31998 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32002 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32003 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32004 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32011 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32012 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32013 $as_echo_n "(cached) " >&6
32016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32017 /* end confdefs.h. */
32018 #include <pthread.h>
32023 pthread_mutexattr_t attr;
32024 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32030 if ac_fn_c_try_compile
"$LINENO"; then :
32031 wx_cv_type_pthread_mutexattr_t
=yes
32033 wx_cv_type_pthread_mutexattr_t
=no
32036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32040 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32042 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32043 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32047 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32048 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32049 $as_echo_n "(cached) " >&6
32052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32053 /* end confdefs.h. */
32054 #include <pthread.h>
32059 pthread_mutexattr_t attr;
32060 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32066 if ac_fn_c_try_compile
"$LINENO"; then :
32067 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32069 wx_cv_func_pthread_mutexattr_settype_decl
=no
32072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32076 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32077 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32078 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32083 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32084 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32085 $as_echo_n "(cached) " >&6
32088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32089 /* end confdefs.h. */
32090 #include <pthread.h>
32095 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32101 if ac_fn_c_try_compile
"$LINENO"; then :
32103 wx_cv_type_pthread_rec_mutex_init
=yes
32107 wx_cv_type_pthread_rec_mutex_init
=no
32111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32115 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32116 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32117 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32121 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32125 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32126 if test "$USE_NETBSD" = 1; then
32127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32128 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32129 wxUSE_COMPILER_TLS
=no
32131 wxUSE_COMPILER_TLS
=yes
32135 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32137 $as_echo_n "checking for __thread keyword... " >&6; }
32138 if ${wx_cv_cc___thread+:} false
; then :
32139 $as_echo_n "(cached) " >&6
32142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32143 /* end confdefs.h. */
32144 #include <pthread.h>
32149 static __thread int n = 0;
32150 static __thread int *p = 0;
32156 if ac_fn_c_try_compile
"$LINENO"; then :
32157 wx_cv_cc___thread
=yes
32159 wx_cv_cc___thread
=no
32162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32167 $as_echo "$wx_cv_cc___thread" >&6; }
32169 if test "$wx_cv_cc___thread" = "yes"; then
32175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32176 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32178 if test "x$GCC" = "xyes" ; then :
32180 if test -z "" ; then :
32182 ax_gcc_option_test
="int main()
32189 ax_gcc_option_test
=""
32193 # Dump the test program to file
32194 cat <<EOF > conftest.c
32195 $ax_gcc_option_test
32198 # Dump back the file to the log, useful for debugging purposes
32199 { ac_try
='cat conftest.c 1>&5'
32200 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32201 (eval $ac_try) 2>&5
32203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32204 test $ac_status = 0; }; }
32206 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32207 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32208 (eval $ac_try) 2>&5
32210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32211 test $ac_status = 0; }; } ; then :
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32214 $as_echo "yes" >&6; }
32216 ax_gcc_version_option
=yes
32221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32222 $as_echo "no" >&6; }
32224 ax_gcc_version_option
=no
32231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32232 $as_echo "no gcc available" >&6; }
32236 if test "x$GXX" = "xyes"; then :
32238 if test "x$ax_gxx_version_option" != "no"; then :
32240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32241 $as_echo_n "checking gxx version... " >&6; }
32242 if ${ax_cv_gxx_version+:} false
; then :
32243 $as_echo_n "(cached) " >&6
32246 ax_cv_gxx_version
="`$CXX -dumpversion`"
32247 if test "x$ax_cv_gxx_version" = "x"; then :
32249 ax_cv_gxx_version
=""
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32255 $as_echo "$ax_cv_gxx_version" >&6; }
32256 GXX_VERSION
=$ax_cv_gxx_version
32263 if test -n "$ax_cv_gxx_version"; then
32264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32265 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32266 case "$ax_cv_gxx_version" in
32268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32269 $as_echo "no, it's broken" >&6; }
32270 wx_cv_cc___thread
=no
32273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32274 $as_echo "yes, it works" >&6; }
32280 if test "$wx_cv_cc___thread" = "yes"; then
32281 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32288 if test "$wxUSE_THREADS" = "yes" ; then
32290 x86_64
-*-mingw32* )
32293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32294 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32295 if ${wx_cv_cflags_mthread+:} false
; then :
32296 $as_echo_n "(cached) " >&6
32299 CFLAGS_OLD
="$CFLAGS"
32300 CFLAGS
="-mthreads $CFLAGS"
32301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32302 /* end confdefs.h. */
32312 if ac_fn_c_try_compile
"$LINENO"; then :
32313 wx_cv_cflags_mthread
=yes
32315 wx_cv_cflags_mthread
=no
32318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32323 $as_echo "$wx_cv_cflags_mthread" >&6; }
32325 if test "$wx_cv_cflags_mthread" = "yes"; then
32326 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32327 LDFLAGS
="$LDFLAGS -mthreads"
32329 CFLAGS
="$CFLAGS_OLD"
32333 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32334 LDFLAGS
="$LDFLAGS -Zmt"
32340 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32341 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32342 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32346 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32347 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32348 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32356 ac_cpp
='$CPP $CPPFLAGS'
32357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32362 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32364 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32365 $as_echo_n "(cached) " >&6
32369 ################################################################
32371 ac_cv_func_which_gethostbyname_r
=unknown
32374 # ONE ARGUMENT (sanity check)
32377 # This should fail, as there is no variant of gethostbyname_r() that takes
32378 # a single argument. If it actually compiles, then we can assume that
32379 # netdb.h is not declaring the function, and the compiler is thereby
32380 # assuming an implicit prototype. In which case, we're out of luck.
32382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32383 /* end confdefs.h. */
32389 char *name = "www.gnu.org";
32390 (void)gethostbyname_r(name) /* ; */
32397 if ac_fn_c_try_compile
"$LINENO"; then :
32398 ac_cv_func_which_gethostbyname_r
=no
32401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32408 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32411 /* end confdefs.h. */
32417 char *name = "www.gnu.org";
32418 struct hostent ret, *retp;
32422 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32429 if ac_fn_c_try_compile
"$LINENO"; then :
32430 ac_cv_func_which_gethostbyname_r
=six
32433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32442 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32445 /* end confdefs.h. */
32451 char *name = "www.gnu.org";
32452 struct hostent ret;
32456 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32463 if ac_fn_c_try_compile
"$LINENO"; then :
32464 ac_cv_func_which_gethostbyname_r
=five
32467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32473 # (e.g. AIX, HP-UX, Tru64)
32476 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32479 /* end confdefs.h. */
32485 char *name = "www.gnu.org";
32486 struct hostent ret;
32487 struct hostent_data data;
32488 (void)gethostbyname_r(name, &ret, &data) /* ; */
32495 if ac_fn_c_try_compile
"$LINENO"; then :
32496 ac_cv_func_which_gethostbyname_r
=three
32499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32503 ################################################################
32508 case "$ac_cv_func_which_gethostbyname_r" in
32510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32511 $as_echo "three" >&6; }
32512 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32518 $as_echo "five" >&6; }
32519 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32525 $as_echo "six" >&6; }
32526 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32532 $as_echo "cannot find function declaration in netdb.h" >&6; }
32536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32537 $as_echo "can't tell" >&6; }
32541 as_fn_error $?
"internal error" "$LINENO" 5
32546 ac_cpp
='$CPP $CPPFLAGS'
32547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32553 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32554 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32555 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32556 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32557 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32564 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32565 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32566 $as_echo_n "(cached) " >&6
32570 ac_cpp
='$CXXCPP $CPPFLAGS'
32571 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32572 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32573 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32577 /* end confdefs.h. */
32585 struct servent *se, *res;
32588 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32594 if ac_fn_cxx_try_compile
"$LINENO"; then :
32595 ac_cv_func_which_getservbyname_r
=six
32598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32599 /* end confdefs.h. */
32607 struct servent *se;
32610 (void) getservbyname_r(name, proto, se, buffer, buflen)
32616 if ac_fn_cxx_try_compile
"$LINENO"; then :
32617 ac_cv_func_which_getservbyname_r
=five
32620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32621 /* end confdefs.h. */
32629 struct servent *se;
32630 struct servent_data data;
32631 (void) getservbyname_r(name, proto, se, &data);
32637 if ac_fn_cxx_try_compile
"$LINENO"; then :
32638 ac_cv_func_which_getservbyname_r
=four
32640 ac_cv_func_which_getservbyname_r
=no
32643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32653 ac_cpp
='$CPP $CPPFLAGS'
32654 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32662 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32664 if test $ac_cv_func_which_getservbyname_r = six
; then
32665 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32667 elif test $ac_cv_func_which_getservbyname_r = five
; then
32668 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32670 elif test $ac_cv_func_which_getservbyname_r = four
; then
32671 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32676 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32677 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32678 for ac_func
in getservbyname
32680 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32681 if test "x$ac_cv_func_getservbyname" = xyes
; then :
32682 cat >>confdefs.h
<<_ACEOF
32683 #define HAVE_GETSERVBYNAME 1
32685 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32692 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32695 if test "$wxUSE_THREADS" = "yes"; then
32696 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32701 if test "$wx_cv_func_strtok_r" = "yes"; then
32702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32703 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32704 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32705 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32707 $as_echo "yes" >&6; }
32709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32710 $as_echo "no" >&6; }
32715 if test "$WXGTK3" = 1 ; then
32716 cat >>confdefs.h
<<_ACEOF
32717 #define __WXGTK3__ 1
32722 if test "$WXGTK2" = 1 ; then
32723 cat >>confdefs.h
<<_ACEOF
32724 #define __WXGTK20__ $WXGTK2
32729 if test "$WXGTK127" = 1 ; then
32730 cat >>confdefs.h
<<_ACEOF
32731 #define __WXGTK127__ $WXGTK127
32736 if test "$WXGPE" = 1 ; then
32737 cat >>confdefs.h
<<_ACEOF
32738 #define __WXGPE__ $WXGPE
32744 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32746 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32747 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32751 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32752 wxUSE_DEBUG_INFO
=yes
32753 if test "$GCC" = yes; then
32754 DEBUG_CFLAGS
="-ggdb"
32758 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32759 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32761 if test "$wxUSE_GTK" = 1 ; then
32762 if test "$WXGTK2" = 1 ; then
32763 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32765 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32770 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32771 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32773 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32775 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32780 if test "$wxUSE_DMALLOC" = "yes" ; then
32781 DMALLOC_LIBS
="-ldmallocthcxx"
32785 if test "$wxUSE_PROFILE" = "yes" ; then
32786 PROFILE_FLAGS
=" -pg"
32789 if test "$GCC" = "yes" ; then
32790 if test "$wxUSE_NO_RTTI" = "yes" ; then
32791 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32793 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32794 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
32796 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32797 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
32802 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
32805 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
32811 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32813 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32815 if test "$wxUSE_OPTIMISE" = "no" ; then
32816 if test "$GCC" = yes ; then
32817 OPTIMISE_CFLAGS
="-O0"
32820 if test "$GCC" = yes ; then
32822 *-pc-os2_emx | *-pc-os2-emx )
32823 OPTIMISE_CFLAGS
="-O2"
32826 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
32830 OPTIMISE_CFLAGS
="-O"
32836 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32837 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32840 WXWIN_COMPATIBILITY_2_8
="yes"
32843 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32844 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32849 if test "$wxUSE_GUI" = "yes"; then
32850 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32856 if test "$wxUSE_UNIX" = "yes"; then
32857 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32862 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32866 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32867 if test "$USE_DOS" = 1; then
32870 for ac_func
in dlopen
32872 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
32873 if test "x$ac_cv_func_dlopen" = xyes
; then :
32874 cat >>confdefs.h
<<_ACEOF
32875 #define HAVE_DLOPEN 1
32878 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32885 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32886 if ${ac_cv_lib_dl_dlopen+:} false
; then :
32887 $as_echo_n "(cached) " >&6
32889 ac_check_lib_save_LIBS
=$LIBS
32891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32892 /* end confdefs.h. */
32894 /* Override any GCC internal prototype to avoid an error.
32895 Use char because int might match the return type of a GCC
32896 builtin and then its argument prototype would still apply. */
32909 if ac_fn_c_try_link
"$LINENO"; then :
32910 ac_cv_lib_dl_dlopen
=yes
32912 ac_cv_lib_dl_dlopen
=no
32914 rm -f core conftest.err conftest.
$ac_objext \
32915 conftest
$ac_exeext conftest.
$ac_ext
32916 LIBS
=$ac_check_lib_save_LIBS
32918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32919 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32920 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
32922 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32925 DL_LINK
=" -ldl$DL_LINK"
32929 for ac_func
in shl_load
32931 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
32932 if test "x$ac_cv_func_shl_load" = xyes
; then :
32933 cat >>confdefs.h
<<_ACEOF
32934 #define HAVE_SHL_LOAD 1
32937 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32944 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32945 if ${ac_cv_lib_shl_load_dld+:} false
; then :
32946 $as_echo_n "(cached) " >&6
32948 ac_check_lib_save_LIBS
=$LIBS
32949 LIBS
="-lshl_load $LIBS"
32950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32951 /* end confdefs.h. */
32953 /* Override any GCC internal prototype to avoid an error.
32954 Use char because int might match the return type of a GCC
32955 builtin and then its argument prototype would still apply. */
32968 if ac_fn_c_try_link
"$LINENO"; then :
32969 ac_cv_lib_shl_load_dld
=yes
32971 ac_cv_lib_shl_load_dld
=no
32973 rm -f core conftest.err conftest.
$ac_objext \
32974 conftest
$ac_exeext conftest.
$ac_ext
32975 LIBS
=$ac_check_lib_save_LIBS
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
32978 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
32979 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
32982 DL_LINK
=" -ldld$DL_LINK"
32998 if test "$HAVE_DL_FUNCS" = 1; then
32999 for ac_func
in dlerror
33001 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33002 if test "x$ac_cv_func_dlerror" = xyes
; then :
33003 cat >>confdefs.h
<<_ACEOF
33004 #define HAVE_DLERROR 1
33006 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33011 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33012 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33013 $as_echo_n "(cached) " >&6
33015 ac_check_lib_save_LIBS
=$LIBS
33017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33018 /* end confdefs.h. */
33020 /* Override any GCC internal prototype to avoid an error.
33021 Use char because int might match the return type of a GCC
33022 builtin and then its argument prototype would still apply. */
33035 if ac_fn_c_try_link
"$LINENO"; then :
33036 ac_cv_lib_dl_dlerror
=yes
33038 ac_cv_lib_dl_dlerror
=no
33040 rm -f core conftest.err conftest.
$ac_objext \
33041 conftest
$ac_exeext conftest.
$ac_ext
33042 LIBS
=$ac_check_lib_save_LIBS
33044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33045 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33046 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33047 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33059 if test "$USE_DARWIN" = 1; then
33063 if test "$HAVE_DL_FUNCS" = 0; then
33064 if test "$HAVE_SHL_FUNCS" = 0; then
33065 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33067 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33068 wxUSE_DYNAMIC_LOADER
=no
33069 wxUSE_DYNLIB_CLASS
=no
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33072 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33079 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33080 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33083 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33084 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33090 if test "$wxUSE_PLUGINS" = "yes" ; then
33091 if test "$wxUSE_SHARED" = "no" ; then
33092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33093 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33096 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33098 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33101 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33103 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33106 if test "$wxUSE_PLUGINS" = "yes" ; then
33107 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33113 if test "$wxUSE_FSWATCHER" = "yes"; then
33114 if test "$wxUSE_MSW" != "1"; then
33115 if test "$wxUSE_UNIX" = "yes"; then
33116 for ac_header
in sys
/inotify.h
33118 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33120 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33121 cat >>confdefs.h
<<_ACEOF
33122 #define HAVE_SYS_INOTIFY_H 1
33129 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33130 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33133 for ac_header
in sys
/event.h
33135 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33137 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33138 cat >>confdefs.h
<<_ACEOF
33139 #define HAVE_SYS_EVENT_H 1
33146 if test "$ac_cv_header_sys_event_h" = "yes"; then
33147 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33157 if test "$wxUSE_THREADS" != "yes"; then
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33159 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33164 if test "$wxUSE_FSWATCHER" = "yes"; then
33165 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33170 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33175 if test "$wxUSE_STL" = "yes"; then
33176 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33180 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33181 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33185 if test "$wxUSE_ANY" = "yes"; then
33186 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33190 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33191 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33195 if test "$wxUSE_TIMER" = "yes"; then
33196 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33200 if test "$USE_UNIX" = 1 ; then
33201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33202 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33203 if ${ac_cv_header_sys_soundcard+:} false
; then :
33204 $as_echo_n "(cached) " >&6
33207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33208 /* end confdefs.h. */
33210 #include <sys/ioctl.h>
33211 #include <sys/soundcard.h>
33217 ioctl(0, SNDCTL_DSP_SPEED, 0);
33223 if ac_fn_c_try_link
"$LINENO"; then :
33224 ac_cv_header_sys_soundcard
=yes
33228 LIBS
="$saveLibs -lossaudio"
33229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33230 /* end confdefs.h. */
33232 #include <sys/ioctl.h>
33233 #include <sys/soundcard.h>
33239 ioctl(0, SNDCTL_DSP_SPEED, 0);
33245 if ac_fn_c_try_link
"$LINENO"; then :
33246 ac_cv_header_sys_soundcard
=yes
33250 ac_cv_header_sys_soundcard
=no
33254 rm -f core conftest.err conftest.
$ac_objext \
33255 conftest
$ac_exeext conftest.
$ac_ext
33259 rm -f core conftest.err conftest.
$ac_objext \
33260 conftest
$ac_exeext conftest.
$ac_ext
33263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33264 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33266 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33267 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33273 if test "$wxUSE_SOUND" = "yes"; then
33274 if test "$USE_UNIX" = 1 ; then
33275 if test "$wxUSE_LIBSDL" != "no"; then
33277 # Check whether --with-sdl-prefix was given.
33278 if test "${with_sdl_prefix+set}" = set; then :
33279 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33285 # Check whether --with-sdl-exec-prefix was given.
33286 if test "${with_sdl_exec_prefix+set}" = set; then :
33287 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33292 # Check whether --enable-sdltest was given.
33293 if test "${enable_sdltest+set}" = set; then :
33294 enableval
=$enable_sdltest;
33300 if test x
$sdl_exec_prefix != x
; then
33301 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33302 if test x
${SDL_CONFIG+set} != xset
; then
33303 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33306 if test x
$sdl_prefix != x
; then
33307 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33308 if test x
${SDL_CONFIG+set} != xset
; then
33309 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33313 if test "x$prefix" != xNONE
; then
33314 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33316 # Extract the first word of "sdl-config", so it can be a program name with args.
33317 set dummy sdl
-config; ac_word
=$2
33318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33319 $as_echo_n "checking for $ac_word... " >&6; }
33320 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33321 $as_echo_n "(cached) " >&6
33323 case $SDL_CONFIG in
33325 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33329 for as_dir
in $PATH
33332 test -z "$as_dir" && as_dir
=.
33333 for ac_exec_ext
in '' $ac_executable_extensions; do
33334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33335 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33343 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33347 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33348 if test -n "$SDL_CONFIG"; then
33349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33350 $as_echo "$SDL_CONFIG" >&6; }
33352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33353 $as_echo "no" >&6; }
33357 min_sdl_version
=1.2.0
33358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33359 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33361 if test "$SDL_CONFIG" = "no" ; then
33364 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33365 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33367 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33368 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33369 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33370 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33371 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33373 if test "x$enable_sdltest" = "xyes" ; then
33374 ac_save_CFLAGS
="$CFLAGS"
33375 ac_save_CXXFLAGS
="$CXXFLAGS"
33376 ac_save_LIBS
="$LIBS"
33377 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33378 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33379 LIBS
="$LIBS $SDL_LIBS"
33381 if test "$cross_compiling" = yes; then :
33382 echo $ac_n "cross compiling; assumed OK... $ac_c"
33384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33385 /* end confdefs.h. */
33388 #include <stdlib.h>
33389 #include <string.h>
33393 my_strdup (char *str)
33399 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33400 strcpy (new_str, str);
33408 int main (int argc, char *argv[])
33410 int major, minor, micro;
33413 /* This hangs on some systems (?)
33414 system ("touch conf.sdltest");
33416 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33418 /* HP/UX 9 (%@#!) writes to sscanf strings */
33419 tmp_version = my_strdup("$min_sdl_version");
33420 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33421 printf("%s, bad version string\n", "$min_sdl_version");
33425 if (($sdl_major_version > major) ||
33426 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33427 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33433 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33434 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33435 printf("*** best to upgrade to the required version.\n");
33436 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33437 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33438 printf("*** config.cache before re-running configure\n");
33445 if ac_fn_c_try_run
"$LINENO"; then :
33450 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33451 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33454 CFLAGS
="$ac_save_CFLAGS"
33455 CXXFLAGS
="$ac_save_CXXFLAGS"
33456 LIBS
="$ac_save_LIBS"
33459 if test "x$no_sdl" = x
; then
33460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33461 $as_echo "yes" >&6; }
33463 EXTRALIBS_SDL
="$SDL_LIBS"
33464 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33465 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33466 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33471 $as_echo "no" >&6; }
33472 if test "$SDL_CONFIG" = "no" ; then
33473 echo "*** The sdl-config script installed by SDL could not be found"
33474 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33475 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33476 echo "*** full path to sdl-config."
33478 if test -f conf.sdltest
; then
33481 echo "*** Could not run SDL test program, checking why..."
33482 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33483 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33484 LIBS
="$LIBS $SDL_LIBS"
33485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33486 /* end confdefs.h. */
33491 int main(int argc, char *argv[])
33494 #define main K_and_R_C_main
33504 if ac_fn_c_try_link
"$LINENO"; then :
33505 echo "*** The test program compiled, but did not run. This usually means"
33506 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33507 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33508 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33509 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33510 echo "*** is required on your system"
33512 echo "*** If you have an old version installed, it is best to remove it, although"
33513 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33515 echo "*** The test program failed to compile or link. See the file config.log for the"
33516 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33517 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33518 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33520 rm -f core conftest.err conftest.
$ac_objext \
33521 conftest
$ac_exeext conftest.
$ac_ext
33522 CFLAGS
="$ac_save_CFLAGS"
33523 CXXFLAGS
="$ac_save_CXXFLAGS"
33524 LIBS
="$ac_save_LIBS"
33535 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33542 if test "$wxUSE_SOUND" = "yes"; then
33543 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33548 if test "$WXGTK2" = 1; then
33551 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33552 if test -n "$ac_tool_prefix"; then
33553 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33554 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33556 $as_echo_n "checking for $ac_word... " >&6; }
33557 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33558 $as_echo_n "(cached) " >&6
33560 case $PKG_CONFIG in
33562 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33566 for as_dir
in $PATH
33569 test -z "$as_dir" && as_dir
=.
33570 for ac_exec_ext
in '' $ac_executable_extensions; do
33571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33572 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33583 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33584 if test -n "$PKG_CONFIG"; then
33585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33586 $as_echo "$PKG_CONFIG" >&6; }
33588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33589 $as_echo "no" >&6; }
33594 if test -z "$ac_cv_path_PKG_CONFIG"; then
33595 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33596 # Extract the first word of "pkg-config", so it can be a program name with args.
33597 set dummy pkg
-config; ac_word
=$2
33598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33599 $as_echo_n "checking for $ac_word... " >&6; }
33600 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
33601 $as_echo_n "(cached) " >&6
33603 case $ac_pt_PKG_CONFIG in
33605 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33609 for as_dir
in $PATH
33612 test -z "$as_dir" && as_dir
=.
33613 for ac_exec_ext
in '' $ac_executable_extensions; do
33614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33615 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33626 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33627 if test -n "$ac_pt_PKG_CONFIG"; then
33628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33629 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33632 $as_echo "no" >&6; }
33635 if test "x$ac_pt_PKG_CONFIG" = x
; then
33638 case $cross_compiling:$ac_tool_warned in
33640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33642 ac_tool_warned
=yes ;;
33644 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33647 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33651 if test -n "$PKG_CONFIG"; then
33652 _pkg_min_version
=0.9.0
33653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33654 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33655 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33657 $as_echo "yes" >&6; }
33659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33660 $as_echo "no" >&6; }
33666 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33668 if test "$wxUSE_GTKPRINT" = "yes" ; then
33669 if test "$WXGTK3" = 1; then
33670 gtk_unix_print
="gtk+-unix-print-3.0"
33672 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33677 $as_echo_n "checking for GTKPRINT... " >&6; }
33679 if test -n "$PKG_CONFIG"; then
33680 if test -n "$GTKPRINT_CFLAGS"; then
33681 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
33683 if test -n "$PKG_CONFIG" && \
33684 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33685 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33688 test $ac_status = 0; }; then
33689 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33697 if test -n "$PKG_CONFIG"; then
33698 if test -n "$GTKPRINT_LIBS"; then
33699 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
33701 if test -n "$PKG_CONFIG" && \
33702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33703 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33706 test $ac_status = 0; }; then
33707 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33718 if test $pkg_failed = yes; then
33720 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33721 _pkg_short_errors_supported
=yes
33723 _pkg_short_errors_supported
=no
33725 if test $_pkg_short_errors_supported = yes; then
33726 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33728 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33730 # Put the nasty error message in config.log where it belongs
33731 echo "$GTKPRINT_PKG_ERRORS" >&5
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
33735 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33736 wxUSE_GTKPRINT
="no"
33739 elif test $pkg_failed = untried
; then
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
33742 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33743 wxUSE_GTKPRINT
="no"
33747 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
33748 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33750 $as_echo "yes" >&6; }
33752 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
33753 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
33754 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33760 if test "$WXGTK3" = 1; then
33761 wxUSE_LIBGNOMEPRINT
=no
33764 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33769 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33771 if test -n "$PKG_CONFIG"; then
33772 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33773 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
33775 if test -n "$PKG_CONFIG" && \
33776 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33777 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33780 test $ac_status = 0; }; then
33781 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33789 if test -n "$PKG_CONFIG"; then
33790 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33791 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
33793 if test -n "$PKG_CONFIG" && \
33794 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33795 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33798 test $ac_status = 0; }; then
33799 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33810 if test $pkg_failed = yes; then
33812 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33813 _pkg_short_errors_supported
=yes
33815 _pkg_short_errors_supported
=no
33817 if test $_pkg_short_errors_supported = yes; then
33818 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33820 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33822 # Put the nasty error message in config.log where it belongs
33823 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33826 if test "$wxUSE_GTKPRINT" = yes; then
33827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33828 $as_echo "no" >&6; }
33830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33831 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33833 wxUSE_LIBGNOMEPRINT
="no"
33836 elif test $pkg_failed = untried
; then
33838 if test "$wxUSE_GTKPRINT" = yes; then
33839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33840 $as_echo "no" >&6; }
33842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33843 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33845 wxUSE_LIBGNOMEPRINT
="no"
33849 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33850 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33852 $as_echo "yes" >&6; }
33854 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33855 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33856 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33863 if test "$wxUSE_MIMETYPE" = "yes" ; then
33864 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33869 $as_echo_n "checking for GNOMEVFS... " >&6; }
33871 if test -n "$PKG_CONFIG"; then
33872 if test -n "$GNOMEVFS_CFLAGS"; then
33873 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
33875 if test -n "$PKG_CONFIG" && \
33876 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33877 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33880 test $ac_status = 0; }; then
33881 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33889 if test -n "$PKG_CONFIG"; then
33890 if test -n "$GNOMEVFS_LIBS"; then
33891 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
33893 if test -n "$PKG_CONFIG" && \
33894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33895 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33898 test $ac_status = 0; }; then
33899 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33910 if test $pkg_failed = yes; then
33912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33913 _pkg_short_errors_supported
=yes
33915 _pkg_short_errors_supported
=no
33917 if test $_pkg_short_errors_supported = yes; then
33918 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33920 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33922 # Put the nasty error message in config.log where it belongs
33923 echo "$GNOMEVFS_PKG_ERRORS" >&5
33926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33927 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33928 wxUSE_LIBGNOMEVFS
="no"
33931 elif test $pkg_failed = untried
; then
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33934 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33935 wxUSE_LIBGNOMEVFS
="no"
33939 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
33940 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
33941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33942 $as_echo "yes" >&6; }
33944 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
33945 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
33946 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33953 if test "$wxUSE_LIBHILDON" = "yes" ; then
33956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33957 $as_echo_n "checking for HILDON... " >&6; }
33959 if test -n "$PKG_CONFIG"; then
33960 if test -n "$HILDON_CFLAGS"; then
33961 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
33963 if test -n "$PKG_CONFIG" && \
33964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33965 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33968 test $ac_status = 0; }; then
33969 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
33977 if test -n "$PKG_CONFIG"; then
33978 if test -n "$HILDON_LIBS"; then
33979 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
33981 if test -n "$PKG_CONFIG" && \
33982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33983 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33986 test $ac_status = 0; }; then
33987 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
33998 if test $pkg_failed = yes; then
34000 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34001 _pkg_short_errors_supported
=yes
34003 _pkg_short_errors_supported
=no
34005 if test $_pkg_short_errors_supported = yes; then
34006 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34008 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34010 # Put the nasty error message in config.log where it belongs
34011 echo "$HILDON_PKG_ERRORS" >&5
34014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34015 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34016 wxUSE_LIBHILDON
="no"
34020 elif test $pkg_failed = untried
; then
34022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34023 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34024 wxUSE_LIBHILDON
="no"
34029 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34030 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34032 $as_echo "yes" >&6; }
34034 EXTRALIBS_HILDON
="$HILDON_LIBS"
34035 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34036 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34037 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34043 if test "$ac_hildon_lgpl" = 0 ; then
34046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34047 $as_echo_n "checking for HILDON2... " >&6; }
34049 if test -n "$PKG_CONFIG"; then
34050 if test -n "$HILDON2_CFLAGS"; then
34051 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34053 if test -n "$PKG_CONFIG" && \
34054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34055 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34058 test $ac_status = 0; }; then
34059 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34067 if test -n "$PKG_CONFIG"; then
34068 if test -n "$HILDON2_LIBS"; then
34069 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34071 if test -n "$PKG_CONFIG" && \
34072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34073 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34076 test $ac_status = 0; }; then
34077 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34088 if test $pkg_failed = yes; then
34090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34091 _pkg_short_errors_supported
=yes
34093 _pkg_short_errors_supported
=no
34095 if test $_pkg_short_errors_supported = yes; then
34096 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34098 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34100 # Put the nasty error message in config.log where it belongs
34101 echo "$HILDON2_PKG_ERRORS" >&5
34104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34105 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34106 wxUSE_LIBHILDON2
="no"
34109 elif test $pkg_failed = untried
; then
34111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34112 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34113 wxUSE_LIBHILDON2
="no"
34117 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34118 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34120 $as_echo "yes" >&6; }
34122 EXTRALIBS_HILDON
="$HILDON2_LIBS"
34123 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34124 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34125 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34133 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34134 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34138 if test "$wxUSE_STOPWATCH" = "yes"; then
34139 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34143 if test "$wxUSE_DATETIME" = "yes"; then
34144 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34148 if test "$wxUSE_FILE" = "yes"; then
34149 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34153 if test "$wxUSE_FFILE" = "yes"; then
34154 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34158 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34159 if test "$wxUSE_STREAMS" != yes; then
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34161 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34162 wxUSE_ARCHIVE_STREAMS
=no
34164 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34169 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34170 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34172 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34173 elif test "$wxUSE_ZLIB" = "no"; then
34174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34175 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34177 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34182 if test "$wxUSE_TARSTREAM" = "yes"; then
34183 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34185 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34187 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34192 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34193 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34197 if test "$wxUSE_FILESYSTEM" = "yes"; then
34198 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34200 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34201 wxUSE_FILESYSTEM
=no
34203 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34208 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34209 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34211 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34213 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34218 if test "$wxUSE_FS_ZIP" = "yes"; then
34219 if test "$wxUSE_FS_ARCHIVE" != yes; then
34220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34221 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34223 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34228 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34229 if test "$USE_UNIX" != 1; then
34230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34231 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34232 wxUSE_ON_FATAL_EXCEPTION
=no
34234 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34239 if test "$wxUSE_STACKWALKER" = "yes"; then
34240 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34244 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34245 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34247 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34248 wxUSE_DEBUGREPORT
=no
34250 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34252 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34258 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34259 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34263 if test "$wxUSE_BUSYINFO" = "yes"; then
34264 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34268 if test "$wxUSE_HOTKEY" = "yes"; then
34269 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34271 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34274 elif test "$wxUSE_HOTKEY" = "auto"; then
34275 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34279 if test "$wxUSE_HOTKEY" = "yes"; then
34280 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34284 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34285 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34289 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34290 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34294 if test "$wxUSE_STD_STRING" = "yes"; then
34295 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34299 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34300 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34304 if test "$wxUSE_STDPATHS" = "yes"; then
34305 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34309 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34310 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34314 if test "$wxUSE_TEXTFILE" = "yes"; then
34315 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34317 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34319 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34324 if test "$wxUSE_CONFIG" = "yes" ; then
34325 if test "$wxUSE_TEXTFILE" != "yes"; then
34326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34327 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34329 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34331 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34337 if test "$wxUSE_INTL" = "yes" ; then
34338 if test "$wxUSE_FILE" != "yes"; then
34339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34340 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34342 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34345 GUIDIST
="$GUIDIST INTL_DIST"
34349 if test "$wxUSE_XLOCALE" = "yes" ; then
34350 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34352 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34353 #include <locale.h>
34355 if test "x$ac_cv_type_locale_t" = xyes
; then :
34357 cat >>confdefs.h
<<_ACEOF
34358 #define HAVE_LOCALE_T 1
34366 if test "$wxUSE_LOG" = "yes"; then
34367 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34370 if test "$wxUSE_LOGGUI" = "yes"; then
34371 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34375 if test "$wxUSE_LOGWINDOW" = "yes"; then
34376 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34380 if test "$wxUSE_LOGDIALOG" = "yes"; then
34381 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
34388 if test "$wxUSE_LONGLONG" = "yes"; then
34389 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34393 if test "$wxUSE_GEOMETRY" = "yes"; then
34394 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34398 if test "$wxUSE_BASE64" = "yes"; then
34399 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34403 if test "$wxUSE_STREAMS" = "yes" ; then
34404 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34408 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34409 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34413 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34414 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34419 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34420 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34423 if test "$wxUSE_UNIX" = "yes"; then
34424 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34425 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34429 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34430 for ac_header
in sys
/epoll.h
34432 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34434 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
34435 cat >>confdefs.h
<<_ACEOF
34436 #define HAVE_SYS_EPOLL_H 1
34443 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34444 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34448 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34455 for ac_func
in gettimeofday ftime
34457 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34458 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
34459 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
34460 cat >>confdefs.h
<<_ACEOF
34461 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34468 if test "$ac_cv_func_gettimeofday" = "yes"; then
34469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34470 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34471 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
34472 $as_echo_n "(cached) " >&6
34475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34476 /* end confdefs.h. */
34478 #include <sys/time.h>
34479 #include <unistd.h>
34486 gettimeofday(&tv, NULL);
34492 if ac_fn_c_try_compile
"$LINENO"; then :
34493 wx_cv_func_gettimeofday_has_2_args
=yes
34495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34496 /* end confdefs.h. */
34498 #include <sys/time.h>
34499 #include <unistd.h>
34512 if ac_fn_c_try_compile
"$LINENO"; then :
34513 wx_cv_func_gettimeofday_has_2_args
=no
34516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34517 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34518 wx_cv_func_gettimeofday_has_2_args
=unknown
34522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34529 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34531 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34532 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34537 if test "$wxUSE_DATETIME" = "yes"; then
34538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34539 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34540 if ${wx_cv_var_timezone+:} false
; then :
34541 $as_echo_n "(cached) " >&6
34545 ac_cpp
='$CXXCPP $CPPFLAGS'
34546 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34551 /* end confdefs.h. */
34566 if ac_fn_cxx_try_compile
"$LINENO"; then :
34568 wx_cv_var_timezone
=timezone
34572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34573 /* end confdefs.h. */
34588 if ac_fn_cxx_try_compile
"$LINENO"; then :
34590 wx_cv_var_timezone
=_timezone
34594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34595 /* end confdefs.h. */
34610 if ac_fn_cxx_try_compile
"$LINENO"; then :
34612 wx_cv_var_timezone
=__timezone
34616 if test "$USE_DOS" = 0 ; then
34617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34618 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34633 ac_cpp
='$CPP $CPPFLAGS'
34634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34642 $as_echo "$wx_cv_var_timezone" >&6; }
34644 if test "x$wx_cv_var_timezone" != x
; then
34645 cat >>confdefs.h
<<_ACEOF
34646 #define WX_TIMEZONE $wx_cv_var_timezone
34651 for ac_func
in localtime
34653 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
34654 if test "x$ac_cv_func_localtime" = xyes
; then :
34655 cat >>confdefs.h
<<_ACEOF
34656 #define HAVE_LOCALTIME 1
34663 if test "$ac_cv_func_localtime" = "yes"; then
34664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34665 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34666 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
34667 $as_echo_n "(cached) " >&6
34670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34671 /* end confdefs.h. */
34686 if ac_fn_c_try_compile
"$LINENO"; then :
34688 wx_cv_struct_tm_has_gmtoff
=yes
34691 wx_cv_struct_tm_has_gmtoff
=no
34694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34698 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34701 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34702 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
34710 if test "$wxUSE_SOCKETS" = "yes"; then
34711 if test "$TOOLKIT" != "MSW"; then
34712 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
34713 if test "x$ac_cv_func_socket" = xyes
; then :
34717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34718 $as_echo_n "checking for socket in -lsocket... " >&6; }
34719 if ${ac_cv_lib_socket_socket+:} false
; then :
34720 $as_echo_n "(cached) " >&6
34722 ac_check_lib_save_LIBS
=$LIBS
34723 LIBS
="-lsocket $LIBS"
34724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34725 /* end confdefs.h. */
34727 /* Override any GCC internal prototype to avoid an error.
34728 Use char because int might match the return type of a GCC
34729 builtin and then its argument prototype would still apply. */
34742 if ac_fn_c_try_link
"$LINENO"; then :
34743 ac_cv_lib_socket_socket
=yes
34745 ac_cv_lib_socket_socket
=no
34747 rm -f core conftest.err conftest.
$ac_objext \
34748 conftest
$ac_exeext conftest.
$ac_ext
34749 LIBS
=$ac_check_lib_save_LIBS
34751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34752 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34753 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
34754 if test "$INET_LINK" != " -lsocket"; then
34755 INET_LINK
="$INET_LINK -lsocket"
34759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34760 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34773 if test "$wxUSE_SOCKETS" = "yes" ; then
34774 if test "$TOOLKIT" != "MSW"; then
34775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34776 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34777 if ${wx_cv_type_getsockname3+:} false
; then :
34778 $as_echo_n "(cached) " >&6
34782 ac_cpp
='$CXXCPP $CPPFLAGS'
34783 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34784 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34785 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34788 /* end confdefs.h. */
34790 #include <sys/types.h>
34791 #include <sys/socket.h>
34798 getsockname(0, 0, &len);
34804 if ac_fn_cxx_try_compile
"$LINENO"; then :
34805 wx_cv_type_getsockname3
=socklen_t
34808 CFLAGS_OLD
="$CFLAGS"
34809 if test "$GCC" = yes ; then
34810 CFLAGS
="-Werror $CFLAGS"
34813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34814 /* end confdefs.h. */
34816 #include <sys/types.h>
34817 #include <sys/socket.h>
34824 getsockname(0, 0, &len);
34830 if ac_fn_cxx_try_compile
"$LINENO"; then :
34831 wx_cv_type_getsockname3
=size_t
34833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34834 /* end confdefs.h. */
34836 #include <sys/types.h>
34837 #include <sys/socket.h>
34844 getsockname(0, 0, &len);
34850 if ac_fn_cxx_try_compile
"$LINENO"; then :
34851 wx_cv_type_getsockname3
=int
34853 wx_cv_type_getsockname3
=unknown
34856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34861 CFLAGS
="$CFLAGS_OLD"
34865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34867 ac_cpp
='$CPP $CPPFLAGS'
34868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34875 $as_echo "$wx_cv_type_getsockname3" >&6; }
34877 if test "$wx_cv_type_getsockname3" = "unknown"; then
34879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34880 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34882 cat >>confdefs.h
<<_ACEOF
34883 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34888 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34889 if ${wx_cv_type_getsockopt5+:} false
; then :
34890 $as_echo_n "(cached) " >&6
34894 ac_cpp
='$CXXCPP $CPPFLAGS'
34895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34900 /* end confdefs.h. */
34902 #include <sys/types.h>
34903 #include <sys/socket.h>
34910 getsockopt(0, 0, 0, 0, &len);
34916 if ac_fn_cxx_try_compile
"$LINENO"; then :
34917 wx_cv_type_getsockopt5
=socklen_t
34920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34921 /* end confdefs.h. */
34923 #include <sys/types.h>
34924 #include <sys/socket.h>
34931 getsockopt(0, 0, 0, 0, &len);
34937 if ac_fn_cxx_try_compile
"$LINENO"; then :
34938 wx_cv_type_getsockopt5
=size_t
34940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34941 /* end confdefs.h. */
34943 #include <sys/types.h>
34944 #include <sys/socket.h>
34951 getsockopt(0, 0, 0, 0, &len);
34957 if ac_fn_cxx_try_compile
"$LINENO"; then :
34958 wx_cv_type_getsockopt5
=int
34960 wx_cv_type_getsockopt5
=unknown
34963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34972 ac_cpp
='$CPP $CPPFLAGS'
34973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
34980 $as_echo "$wx_cv_type_getsockopt5" >&6; }
34982 if test "$wx_cv_type_getsockopt5" = "unknown"; then
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34985 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34987 cat >>confdefs.h
<<_ACEOF
34988 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
34995 if test "$wxUSE_SOCKETS" = "yes" ; then
34996 if test "$wxUSE_IPV6" = "yes"; then
34997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
34998 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
34999 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35000 $as_echo_n "(cached) " >&6
35003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35004 /* end confdefs.h. */
35006 #include <sys/types.h>
35007 #include <sys/socket.h>
35008 #include <netinet/in.h>
35014 struct sockaddr_in6 sa6;
35020 if ac_fn_c_try_compile
"$LINENO"; then :
35021 wx_cv_type_sockaddr_in6
=yes
35023 wx_cv_type_sockaddr_in6
=no
35026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35031 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35033 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35034 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35038 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35042 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35047 if test "$wxUSE_PROTOCOL" = "yes"; then
35048 if test "$wxUSE_SOCKETS" != "yes"; then
35049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35050 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35055 if test "$wxUSE_PROTOCOL" = "yes"; then
35056 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35059 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35060 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35063 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35064 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35067 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35068 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35072 if test "$wxUSE_FS_INET" = "yes"; then
35073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35074 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35079 if test "$wxUSE_URL" = "yes"; then
35080 if test "$wxUSE_PROTOCOL" != "yes"; then
35081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35082 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35085 if test "$wxUSE_URL" = "yes"; then
35086 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35091 if test "$wxUSE_VARIANT" = "yes"; then
35092 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35096 if test "$wxUSE_FS_INET" = "yes"; then
35097 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35102 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35105 if test "$TOOLKIT" = "MSW"; then
35108 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35109 if test "$USE_DARWIN" = 1; then
35110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35111 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35113 ac_cpp
='$CXXCPP $CPPFLAGS'
35114 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35115 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35116 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35119 /* end confdefs.h. */
35120 #include <IOKit/hid/IOHIDLib.h>
35124 IOHIDQueueInterface *qi = NULL;
35125 IOHIDCallbackFunction cb = NULL;
35126 qi->setEventCallout(NULL, cb, NULL, NULL);
35131 if ac_fn_cxx_try_compile
"$LINENO"; then :
35135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35137 ac_cpp
='$CPP $CPPFLAGS'
35138 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35139 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35140 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35143 $as_echo "$wxUSE_JOYSTICK" >&6; }
35147 for ac_header
in linux
/joystick.h
35149 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35151 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35152 cat >>confdefs.h
<<_ACEOF
35153 #define HAVE_LINUX_JOYSTICK_H 1
35162 if test "$wxUSE_JOYSTICK" = "yes"; then
35163 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35168 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35174 if test "$wxUSE_FONTENUM" = "yes" ; then
35175 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35179 if test "$wxUSE_FONTMAP" = "yes" ; then
35180 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35184 if test "$wxUSE_UNICODE" = "yes" ; then
35185 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35188 if test "$USE_WIN32" != 1; then
35189 wxUSE_UNICODE_MSLU
=no
35192 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35194 $as_echo_n "checking for main in -lunicows... " >&6; }
35195 if ${ac_cv_lib_unicows_main+:} false
; then :
35196 $as_echo_n "(cached) " >&6
35198 ac_check_lib_save_LIBS
=$LIBS
35199 LIBS
="-lunicows $LIBS"
35200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35201 /* end confdefs.h. */
35212 if ac_fn_c_try_link
"$LINENO"; then :
35213 ac_cv_lib_unicows_main
=yes
35215 ac_cv_lib_unicows_main
=no
35217 rm -f core conftest.err conftest.
$ac_objext \
35218 conftest
$ac_exeext conftest.
$ac_ext
35219 LIBS
=$ac_check_lib_save_LIBS
35221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35222 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35223 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35225 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35231 Applications will only run on Windows NT/2000/XP!" >&5
35232 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35233 Applications will only run on Windows NT/2000/XP!" >&2;}
35234 wxUSE_UNICODE_MSLU
=no
35241 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35242 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35245 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35246 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35252 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35253 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35258 if test "$wxUSE_MDI" = "yes"; then
35259 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35262 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35263 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35269 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35270 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35275 if test "$wxUSE_HELP" = "yes"; then
35276 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35280 if test "$wxUSE_MSW" = 1; then
35281 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35282 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35287 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35288 if test "$wxUSE_HTML" = "yes"; then
35289 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35293 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35294 wxUSE_WXHTML_HELP
=no
35299 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35300 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35305 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35306 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35310 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35313 if test "$wxUSE_SVG" = "yes"; then
35314 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35319 if test "$wxUSE_METAFILE" = "yes"; then
35320 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35322 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35325 elif test "$wxUSE_METAFILE" = "auto"; then
35326 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35331 if test "$wxUSE_METAFILE" = "yes"; then
35332 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35334 if test "$wxUSE_MSW" = 1; then
35335 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35341 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35342 -o "$wxUSE_CLIPBOARD" = "yes" \
35343 -o "$wxUSE_OLE" = "yes" \
35344 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35345 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35347 if test "x$ac_cv_header_ole2_h" = xyes
; then :
35353 if test "$ac_cv_header_ole2_h" = "yes" ; then
35354 if test "$GCC" = yes ; then
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35356 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35358 /* end confdefs.h. */
35359 #include <windows.h>
35369 if ac_fn_c_try_compile
"$LINENO"; then :
35370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35371 $as_echo "no" >&6; }
35373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35374 $as_echo "yes" >&6; }
35375 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35378 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35379 if test "$wxUSE_OLE" = "yes" ; then
35380 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35382 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35384 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
35390 if test "$wxUSE_DATAOBJ" = "yes" ; then
35391 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35396 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35399 wxUSE_DRAG_AND_DROP
=no
35405 if test "$wxUSE_IPC" = "yes"; then
35406 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35408 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35412 if test "$wxUSE_IPC" = "yes"; then
35413 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
35419 if test "$wxUSE_DATAOBJ" = "yes"; then
35420 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35424 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35426 wxUSE_DRAG_AND_DROP
=no
35429 if test "$wxUSE_CLIPBOARD" = "yes"; then
35430 if test "$wxUSE_DFB" = 1; then
35431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35432 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35436 if test "$wxUSE_CLIPBOARD" = "yes"; then
35437 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35442 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35443 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35445 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35446 wxUSE_DRAG_AND_DROP
=no
35449 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35450 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35456 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35460 if test "$wxUSE_CLIPBOARD" = "yes"; then
35461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
35464 if test "$wxUSE_SPLINES" = "yes" ; then
35465 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35469 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35470 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35474 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35475 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
35480 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35481 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35487 if test "$wxUSE_CONTROLS" = "yes"; then
35491 if test "$wxUSE_MARKUP" = "yes"; then
35492 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35496 if test "$wxUSE_ACCEL" = "yes"; then
35497 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35502 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35503 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
35509 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35510 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35514 if test "$wxUSE_BUTTON" = "yes"; then
35515 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35520 if test "$wxUSE_BMPBUTTON" = "yes"; then
35521 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35526 if test "$wxUSE_CALCTRL" = "yes"; then
35527 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
35533 if test "$wxUSE_CARET" = "yes"; then
35534 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
35540 if test "$wxUSE_COLLPANE" = "yes"; then
35541 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
35547 if test "$wxUSE_COMBOBOX" = "yes"; then
35548 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35553 if test "$wxUSE_COMBOCTRL" = "yes"; then
35554 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35559 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35560 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35565 if test "$wxUSE_CHOICE" = "yes"; then
35566 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35571 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35572 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35577 if test "$wxUSE_CHECKBOX" = "yes"; then
35578 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35583 if test "$wxUSE_CHECKLST" = "yes"; then
35584 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35589 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35590 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35595 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35596 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35601 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35602 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35607 if test "$wxUSE_FILECTRL" = "yes"; then
35608 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35613 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35614 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35619 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35620 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35625 if test "$wxUSE_DISPLAY" = "yes"; then
35626 if test "$wxUSE_DFB" = 1; then
35627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35628 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35631 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
35637 if test "$wxUSE_DETECT_SM" = "yes"; then
35638 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35642 if test "$wxUSE_GAUGE" = "yes"; then
35643 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35648 if test "$wxUSE_GRID" = "yes"; then
35649 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
35655 if test "$wxUSE_HEADERCTRL" = "yes"; then
35656 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35661 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35662 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35667 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35668 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35673 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35674 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35677 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
35680 if test "$wxUSE_IMAGLIST" = "yes"; then
35681 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35685 if test "$wxUSE_INFOBAR" = "yes"; then
35686 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35690 if test "$wxUSE_LISTBOOK" = "yes"; then
35691 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35696 if test "$wxUSE_LISTBOX" = "yes"; then
35697 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35702 if test "$wxUSE_LISTCTRL" = "yes"; then
35703 if test "$wxUSE_IMAGLIST" = "yes"; then
35704 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35710 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35714 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35715 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35720 if test "$wxUSE_NOTEBOOK" = "yes"; then
35721 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
35727 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35728 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35732 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35733 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
35739 if test "$wxUSE_RADIOBOX" = "yes"; then
35740 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35745 if test "$wxUSE_RADIOBTN" = "yes"; then
35746 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35751 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35752 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35756 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35757 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35761 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35762 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35766 if test "$wxUSE_SASH" = "yes"; then
35767 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
35772 if test "$wxUSE_SCROLLBAR" = "yes"; then
35773 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
35779 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35780 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35785 if test "$wxUSE_SLIDER" = "yes"; then
35786 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35791 if test "$wxUSE_SPINBTN" = "yes"; then
35792 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35797 if test "$wxUSE_SPINCTRL" = "yes"; then
35798 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35803 if test "$wxUSE_SPLITTER" = "yes"; then
35804 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
35809 if test "$wxUSE_STATBMP" = "yes"; then
35810 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35815 if test "$wxUSE_STATBOX" = "yes"; then
35816 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35821 if test "$wxUSE_STATTEXT" = "yes"; then
35822 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35827 if test "$wxUSE_STATLINE" = "yes"; then
35828 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35833 if test "$wxUSE_STATUSBAR" = "yes"; then
35834 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35836 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
35843 if test "$wxUSE_TEXTCTRL" = "yes"; then
35844 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
35849 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35851 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35855 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35856 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35861 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35862 if test "$wxUSE_OLD_COCOA" = 1 ; then
35863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35864 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35868 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35869 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35875 if test "$wxUSE_TOOLBAR" = "yes"; then
35876 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35880 if test "$wxUSE_UNIVERSAL" = "yes"; then
35881 wxUSE_TOOLBAR_NATIVE
="no"
35883 wxUSE_TOOLBAR_NATIVE
="yes"
35884 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
35891 if test "$wxUSE_TOOLTIPS" = "yes"; then
35892 if test "$wxUSE_MOTIF" = 1; then
35893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35894 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35896 if test "$wxUSE_UNIVERSAL" = "yes"; then
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35898 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35900 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35906 if test "$wxUSE_TREEBOOK" = "yes"; then
35907 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35912 if test "$wxUSE_TOOLBOOK" = "yes"; then
35913 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35918 if test "$wxUSE_TREECTRL" = "yes"; then
35919 if test "$wxUSE_IMAGLIST" = "yes"; then
35920 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
35925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35926 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35930 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35931 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
35937 if test "$wxUSE_POPUPWIN" = "yes"; then
35938 if test "$wxUSE_OLD_COCOA" = 1 ; then
35939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35940 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35942 if test "$wxUSE_PM" = 1; then
35943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35944 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35946 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
35955 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35956 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35958 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35960 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35966 if test "$wxUSE_TIPWINDOW" = "yes"; then
35967 if test "$wxUSE_PM" = 1; then
35968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35969 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35971 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
35976 if test "$USES_CONTROLS" = 1; then
35977 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
35982 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35983 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
35985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
35988 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
35989 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
35993 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
35994 if test "$wxUSE_GTK" != 1; then
35995 if test "$wxUSE_LIBPNG" != no
-a \
35996 "$wxUSE_IMAGE" = yes -a \
35997 "$wxUSE_STREAMS" = yes; then
35998 wxUSE_ARTPROVIDER_TANGO
="yes"
36003 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36004 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36008 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36009 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36014 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36015 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36017 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36019 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36026 if test "$wxUSE_HTML" = "yes"; then
36027 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36032 if test "$wxUSE_WEBKIT" = "yes"; then
36033 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36034 old_CPPFLAGS
="$CPPFLAGS"
36035 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36036 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36037 #include <Carbon/Carbon.h>
36038 #include <WebKit/WebKit.h>
36041 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36043 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36045 WEBKIT_LINK
="-framework WebKit"
36049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36050 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36056 CPPFLAGS
="$old_CPPFLAGS"
36057 elif test "$wxUSE_OLD_COCOA" = 1; then
36058 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36063 if test "$wxUSE_WEBKIT" = "yes"; then
36064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36069 if test "$wxUSE_XRC" = "yes"; then
36070 if test "$wxUSE_XML" != "yes"; then
36071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36072 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36075 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36083 if test "$wxUSE_AUI" = "yes"; then
36084 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36091 if test "$wxUSE_PROPGRID" = "yes"; then
36092 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36099 if test "$wxUSE_RIBBON" = "yes"; then
36100 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36107 if test "$wxUSE_STC" = "yes"; then
36108 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36113 # Extract the first word of "python", so it can be a program name with args.
36114 set dummy python
; ac_word
=$2
36115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36116 $as_echo_n "checking for $ac_word... " >&6; }
36117 if ${ac_cv_path_PYTHON+:} false
; then :
36118 $as_echo_n "(cached) " >&6
36122 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36126 for as_dir
in $PATH
36129 test -z "$as_dir" && as_dir
=.
36130 for ac_exec_ext
in '' $ac_executable_extensions; do
36131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36132 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36143 PYTHON
=$ac_cv_path_PYTHON
36144 if test -n "$PYTHON"; then
36145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36146 $as_echo "$PYTHON" >&6; }
36148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36149 $as_echo "no" >&6; }
36153 if test "x$PYTHON" = "x"; then
36159 if test "$wxUSE_MENUS" = "yes"; then
36160 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36165 if test "$wxUSE_MIMETYPE" = "yes"; then
36166 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36170 if test "$wxUSE_MINIFRAME" = "yes"; then
36171 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36175 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36176 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36180 if test "$wxUSE_TASKBARICON" = "yes"; then
36181 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36183 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36189 if test "$wxUSE_VALIDATORS" = "yes"; then
36190 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36195 if test "$wxUSE_PALETTE" = "yes" ; then
36196 if test "$wxUSE_DFB" = 1; then
36197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36198 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36201 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36206 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36207 LIBS
=" -lunicows $LIBS"
36211 if test "$wxUSE_RICHTEXT" = "yes"; then
36212 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36218 if test "$wxUSE_WEBVIEW" = "yes"; then
36219 USE_WEBVIEW_WEBKIT
=0
36220 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36221 if test "$wxUSE_GTK" = 1; then
36222 webkitgtk
=webkit
-1.0
36223 if test "$WXGTK3" = 1; then
36224 webkitgtk
=webkitgtk
-3.0
36228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36229 $as_echo_n "checking for WEBKIT... " >&6; }
36231 if test -n "$PKG_CONFIG"; then
36232 if test -n "$WEBKIT_CFLAGS"; then
36233 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36235 if test -n "$PKG_CONFIG" && \
36236 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36237 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36240 test $ac_status = 0; }; then
36241 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36249 if test -n "$PKG_CONFIG"; then
36250 if test -n "$WEBKIT_LIBS"; then
36251 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36253 if test -n "$PKG_CONFIG" && \
36254 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36255 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36258 test $ac_status = 0; }; then
36259 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36270 if test $pkg_failed = yes; then
36272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36273 _pkg_short_errors_supported
=yes
36275 _pkg_short_errors_supported
=no
36277 if test $_pkg_short_errors_supported = yes; then
36278 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36280 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36282 # Put the nasty error message in config.log where it belongs
36283 echo "$WEBKIT_PKG_ERRORS" >&5
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36287 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36289 elif test $pkg_failed = untried
; then
36291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36292 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36295 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36296 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36298 $as_echo "yes" >&6; }
36300 USE_WEBVIEW_WEBKIT
=1
36301 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36302 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36305 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36306 old_CPPFLAGS
="$CPPFLAGS"
36307 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36308 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36309 #include <Carbon/Carbon.h>
36310 #include <WebKit/WebKit.h>
36313 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36315 USE_WEBVIEW_WEBKIT
=1
36316 WEBKIT_LINK
="-framework WebKit"
36320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36321 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36326 CPPFLAGS
="$old_CPPFLAGS"
36331 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36332 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36333 wxUSE_WEBVIEW
="yes"
36334 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36338 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36340 elif test "$wxUSE_MSW" = 1; then
36341 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36342 wxUSE_WEBVIEW
="yes"
36343 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36349 if test "$wxUSE_WEBVIEW" = "yes"; then
36351 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
36359 if test "$wxUSE_IMAGE" = "yes" ; then
36360 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36363 if test "$wxUSE_GIF" = "yes" ; then
36364 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36368 if test "$wxUSE_PCX" = "yes" ; then
36369 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36373 if test "$wxUSE_TGA" = "yes" ; then
36374 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36378 if test "$wxUSE_IFF" = "yes" ; then
36379 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36383 if test "$wxUSE_PNM" = "yes" ; then
36384 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36388 if test "$wxUSE_XPM" = "yes" ; then
36389 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36393 if test "$wxUSE_ICO_CUR" = "yes" ; then
36394 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36400 if test "$wxUSE_ABOUTDLG" = "yes"; then
36401 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36405 if test "$wxUSE_CHOICEDLG" = "yes"; then
36406 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36410 if test "$wxUSE_COLOURDLG" = "yes"; then
36411 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36415 if test "$wxUSE_FILEDLG" = "yes"; then
36416 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36420 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36421 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36425 if test "$wxUSE_FONTDLG" = "yes"; then
36426 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36430 if test "$wxUSE_DIRDLG" = "yes"; then
36431 if test "$wxUSE_TREECTRL" != "yes"; then
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36433 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36435 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36440 if test "$wxUSE_MSGDLG" = "yes"; then
36441 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36445 if test "$wxUSE_NUMBERDLG" = "yes"; then
36446 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36450 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36451 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36455 if test "$wxUSE_SPLASH" = "yes"; then
36456 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
36461 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36462 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36466 if test "$wxUSE_TEXTDLG" = "yes"; then
36467 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36471 if test "$wxUSE_WIZARDDLG" = "yes"; then
36472 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36478 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36479 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36480 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36486 if test "$wxUSE_MSW" = 1 ; then
36488 if test "$wxUSE_DC_CACHEING" = "yes"; then
36489 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36493 if test "$wxUSE_DIB" = "yes"; then
36494 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36498 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36499 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36503 if test "$wxUSE_UXTHEME" = "yes"; then
36504 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36510 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36511 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36515 if test "$USE_WIN32" = 1 ; then
36516 if test "$wxUSE_INICONF" = "yes"; then
36517 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36521 if test "$wxUSE_REGKEY" = "yes"; then
36522 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36528 if test "$wxUSE_MAC" = 1; then
36529 wxUSE_GRAPHICS_CONTEXT
="yes"
36532 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36534 if test "$wxUSE_MSW" = 1; then
36535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36536 $as_echo_n "checking if GDI+ is available... " >&6; }
36537 if ${wx_cv_lib_gdiplus+:} false
; then :
36538 $as_echo_n "(cached) " >&6
36542 ac_cpp
='$CXXCPP $CPPFLAGS'
36543 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36544 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36545 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36548 /* end confdefs.h. */
36549 #include <windows.h>
36550 #include <gdiplus.h>
36555 using namespace Gdiplus;
36561 if ac_fn_cxx_try_compile
"$LINENO"; then :
36562 wx_cv_lib_gdiplus
=yes
36564 wx_cv_lib_gdiplus
=no
36567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36569 ac_cpp
='$CPP $CPPFLAGS'
36570 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36571 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36572 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36578 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36579 if test "$wx_cv_lib_gdiplus" = "yes"; then
36582 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36586 $as_echo_n "checking for CAIRO... " >&6; }
36588 if test -n "$PKG_CONFIG"; then
36589 if test -n "$CAIRO_CFLAGS"; then
36590 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
36592 if test -n "$PKG_CONFIG" && \
36593 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36594 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36597 test $ac_status = 0; }; then
36598 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36606 if test -n "$PKG_CONFIG"; then
36607 if test -n "$CAIRO_LIBS"; then
36608 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
36610 if test -n "$PKG_CONFIG" && \
36611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36612 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36615 test $ac_status = 0; }; then
36616 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36627 if test $pkg_failed = yes; then
36629 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36630 _pkg_short_errors_supported
=yes
36632 _pkg_short_errors_supported
=no
36634 if test $_pkg_short_errors_supported = yes; then
36635 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36637 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36639 # Put the nasty error message in config.log where it belongs
36640 echo "$CAIRO_PKG_ERRORS" >&5
36642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36643 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36645 elif test $pkg_failed = untried
; then
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36647 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36650 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
36651 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
36652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36653 $as_echo "yes" >&6; }
36656 if test "$wx_has_graphics" = 1; then
36658 LIBS
="$LIBS $CAIRO_LIBS"
36659 for ac_func
in cairo_push_group
36661 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36662 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
36663 cat >>confdefs.h
<<_ACEOF
36664 #define HAVE_CAIRO_PUSH_GROUP 1
36671 if test "$ac_cv_func_cairo_push_group" = "no"; then
36673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36674 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36676 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36679 if test "$wxUSE_GTK" != 1; then
36680 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
36681 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
36689 if test "$wx_has_graphics" = 1; then
36690 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36694 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36701 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36704 if test "$wxUSE_GTK" = 1; then
36705 wxUSE_GSTREAMER
="no"
36707 GST_VERSION_MAJOR
=0
36708 GST_VERSION_MINOR
=10
36709 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
36711 if test "$wxUSE_GSTREAMER8" = "no"; then
36714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36715 $as_echo_n "checking for GST... " >&6; }
36717 if test -n "$PKG_CONFIG"; then
36718 if test -n "$GST_CFLAGS"; then
36719 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
36721 if test -n "$PKG_CONFIG" && \
36722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36723 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36726 test $ac_status = 0; }; then
36727 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36735 if test -n "$PKG_CONFIG"; then
36736 if test -n "$GST_LIBS"; then
36737 pkg_cv_GST_LIBS
="$GST_LIBS"
36739 if test -n "$PKG_CONFIG" && \
36740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36741 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36744 test $ac_status = 0; }; then
36745 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36756 if test $pkg_failed = yes; then
36758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36759 _pkg_short_errors_supported
=yes
36761 _pkg_short_errors_supported
=no
36763 if test $_pkg_short_errors_supported = yes; then
36764 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36766 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36768 # Put the nasty error message in config.log where it belongs
36769 echo "$GST_PKG_ERRORS" >&5
36772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36773 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36774 GST_VERSION_MINOR
=8
36777 elif test $pkg_failed = untried
; then
36779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36780 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36781 GST_VERSION_MINOR
=8
36785 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
36786 GST_LIBS
=$pkg_cv_GST_LIBS
36787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36788 $as_echo "yes" >&6; }
36790 wxUSE_GSTREAMER
="yes"
36791 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36795 GST_VERSION_MINOR
=8
36798 if test $GST_VERSION_MINOR = "8"; then
36799 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
36802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36803 $as_echo_n "checking for GST... " >&6; }
36805 if test -n "$PKG_CONFIG"; then
36806 if test -n "$GST_CFLAGS"; then
36807 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
36809 if test -n "$PKG_CONFIG" && \
36810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36811 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36814 test $ac_status = 0; }; then
36815 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36823 if test -n "$PKG_CONFIG"; then
36824 if test -n "$GST_LIBS"; then
36825 pkg_cv_GST_LIBS
="$GST_LIBS"
36827 if test -n "$PKG_CONFIG" && \
36828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36829 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36832 test $ac_status = 0; }; then
36833 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36844 if test $pkg_failed = yes; then
36846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36847 _pkg_short_errors_supported
=yes
36849 _pkg_short_errors_supported
=no
36851 if test $_pkg_short_errors_supported = yes; then
36852 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36854 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36856 # Put the nasty error message in config.log where it belongs
36857 echo "$GST_PKG_ERRORS" >&5
36860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36861 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36863 elif test $pkg_failed = untried
; then
36865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36866 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36869 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
36870 GST_LIBS
=$pkg_cv_GST_LIBS
36871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36872 $as_echo "yes" >&6; }
36873 wxUSE_GSTREAMER
="yes"
36878 if test "$wxUSE_GSTREAMER" = "yes"; then
36879 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
36880 EXTRALIBS_MEDIA
="$GST_LIBS"
36882 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36889 if test $USE_MEDIA = 1; then
36890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
36891 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36894 if test "$wxUSE_MEDIACTRL" = "yes"; then
36895 as_fn_error $?
"GStreamer not available" "$LINENO" 5
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36898 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36904 if test "$cross_compiling" != "no"; then
36907 OSINFO
=`uname -s -r -m`
36908 OSINFO
="\"$OSINFO\""
36911 cat >>confdefs.h
<<_ACEOF
36912 #define WXWIN_OS_DESCRIPTION $OSINFO
36917 if test "x$prefix" != "xNONE"; then
36920 wxPREFIX
=$ac_default_prefix
36923 cat >>confdefs.h
<<_ACEOF
36924 #define wxINSTALL_PREFIX "$wxPREFIX"
36930 STD_BASE_LIBS
="base"
36932 BUILT_WX_LIBS
="base"
36933 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
36935 if test "$wxUSE_SOCKETS" = "yes" ; then
36936 STD_BASE_LIBS
="net $STD_BASE_LIBS"
36937 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
36939 if test "$wxUSE_XML" = "yes" ; then
36940 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
36941 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
36944 if test "$wxUSE_GUI" = "yes"; then
36945 STD_GUI_LIBS
="adv core"
36946 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
36948 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36949 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
36950 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
36952 if test "$wxUSE_HTML" = "yes" ; then
36953 STD_GUI_LIBS
="html $STD_GUI_LIBS"
36954 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
36956 if test "$wxUSE_MEDIACTRL" = "yes" ; then
36957 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
36959 if test "$wxUSE_OPENGL" = "yes" ; then
36960 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
36962 if test "$wxUSE_AUI" = "yes" ; then
36963 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
36965 if test "$wxUSE_PROPGRID" = "yes" ; then
36966 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
36968 if test "$wxUSE_RIBBON" = "yes" ; then
36969 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
36971 if test "$wxUSE_RICHTEXT" = "yes" ; then
36972 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
36974 if test "$wxUSE_STC" = "yes" ; then
36975 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
36977 if test "$wxUSE_WEBVIEW" = "yes" ; then
36978 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
36979 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
36981 if test "$wxUSE_XRC" = "yes" ; then
36982 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
36983 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
36994 if test "$wxUSE_MAC" = 1 ; then
36995 if test "$USE_DARWIN" = 1; then
36996 if test "$wxUSE_OSX_IPHONE" = 1; then
36997 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
36999 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37002 if test "$cross_compiling" != "no"; then
37003 wx_cv_target_x86_64
=no
37005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37006 $as_echo_n "checking if we target only x86_64... " >&6; }
37007 if ${wx_cv_target_x86_64+:} false
; then :
37008 $as_echo_n "(cached) " >&6
37010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37011 /* end confdefs.h. */
37012 int main() { return 0; }
37014 if ac_fn_c_try_link
"$LINENO"; then :
37015 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37016 wx_cv_target_x86_64
=no
37018 wx_cv_target_x86_64
=yes
37022 rm -f core conftest.err conftest.
$ac_objext \
37023 conftest
$ac_exeext conftest.
$ac_ext
37026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37027 $as_echo "$wx_cv_target_x86_64" >&6; }
37030 if test "$wx_cv_target_x86_64" != "yes"; then
37031 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37036 if test "$wxUSE_OLD_COCOA" = 1 ; then
37037 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37038 if test "$wxUSE_MEDIACTRL" = "yes"; then
37039 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37042 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37043 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37046 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37047 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37049 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37051 if test "$wxUSE_GUI" = "yes"; then
37054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37055 erase event exec font image minimal render \
37056 shaped svg taborder vscroll widgets wrapsizer"
37058 if test "$wxUSE_MONOLITHIC" != "yes"; then
37059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37061 if test "$TOOLKIT" = "MSW"; then
37062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37063 if test "$wxUSE_UNIVERSAL" != "yes"; then
37064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37067 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37071 SAMPLES_SUBDIRS
="console"
37072 if test "$wxUSE_SOCKETS" = "yes" ; then
37073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37075 if test "$wxUSE_IPC" = "yes" ; then
37076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37081 if test "x$INTELCC" = "xyes" ; then
37082 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37083 elif test "$GCC" = yes ; then
37084 CWARNINGS
="-Wall -Wundef"
37087 if test "x$INTELCXX" = "xyes" ; then
37088 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37089 elif test "$GXX" = yes ; then
37090 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37092 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37093 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37094 $as_echo_n "(cached) " >&6
37096 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37099 ac_cpp
='$CXXCPP $CPPFLAGS'
37100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37104 ac_save_CXXFLAGS
="$CXXFLAGS"
37105 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37106 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37108 /* end confdefs.h. */
37118 if ac_fn_cxx_try_compile
"$LINENO"; then :
37119 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37123 CXXFLAGS
="$ac_save_CXXFLAGS"
37125 ac_cpp
='$CPP $CPPFLAGS'
37126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37133 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37134 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37138 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37139 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37140 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37143 test $ac_status = 0; }
37144 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37145 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37148 test $ac_status = 0; }
37149 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37155 if test "$wxUSE_MAC" = 1 ; then
37156 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37161 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37162 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37165 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37166 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37167 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37170 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37171 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37172 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37173 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37174 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37176 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37179 if test "x$MWCC" = "xyes"; then
37181 CC
="$CC -cwd source -I-"
37182 CXX
="$CXX -cwd source -I-"
37187 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37188 EXTRALIBS_XML
="$EXPAT_LINK"
37189 EXTRALIBS_HTML
="$MSPACK_LINK"
37190 EXTRALIBS_MEDIA
="$GST_LIBS"
37191 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37192 if test "$wxUSE_GUI" = "yes"; then
37193 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
37195 if test "$wxUSE_OPENGL" = "yes"; then
37196 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37199 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37201 WXCONFIG_LIBS
="$LIBS"
37203 if test "$wxUSE_REGEX" = "builtin" ; then
37204 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37206 if test "$wxUSE_EXPAT" = "builtin" ; then
37207 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37209 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37210 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37212 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37213 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37215 if test "$wxUSE_LIBPNG" = "builtin" ; then
37216 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37218 if test "$wxUSE_ZLIB" = "builtin" ; then
37219 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37222 for i
in $wxconfig_3rdparty ; do
37223 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37227 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37230 case "$wxUNIV_THEMES" in
37232 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37237 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37238 cat >>confdefs.h
<<_ACEOF
37239 #define wxUSE_THEME_$t 1
37255 if test $wxUSE_MONOLITHIC = "yes" ; then
37261 if test $wxUSE_PLUGINS = "yes" ; then
37267 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37273 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37305 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37318 TOOLKIT_DESC
="GTK+"
37319 if test "$WXGTK2" = 1; then
37320 if test "$WXGTK3" = 1; then
37321 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37323 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37325 if test "$wxUSE_GTKPRINT" = "yes" ; then
37326 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37328 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37329 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
37331 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37332 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37334 if test "$wxUSE_LIBHILDON" = "yes"; then
37335 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37337 if test "$wxUSE_LIBHILDON2" = "yes"; then
37338 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37341 if test "$TOOLKIT_EXTRA" != ""; then
37342 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37348 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
37352 TOOLKIT_DESC
="base only"
37356 if test "$wxUSE_WINE" = "yes"; then
37357 BAKEFILE_FORCE_PLATFORM
=win32
37360 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37363 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37364 if ${wx_cv_gcc_pch_bug+:} false
; then :
37365 $as_echo_n "(cached) " >&6
37368 echo '#include <stdio.h>
37369 const wchar_t test_var[] = L"awidetest";' > conftest.h
37371 echo '#include "conftest.h"
37374 printf("%ls", test_var);
37378 wx_cv_gcc_pch_bug
="pch not supported"
37380 if $CXX conftest.h
>/dev
/null
2>&1
37384 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
37386 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
37387 grep awidetest
>/dev
/null
37389 wx_cv_gcc_pch_bug
=no
37391 wx_cv_gcc_pch_bug
=yes
37396 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
37399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37400 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37402 if test "$wx_cv_gcc_pch_bug" = yes; then
37407 # Find a good install program. We prefer a C program (faster),
37408 # so one script is as good as another. But avoid the broken or
37409 # incompatible versions:
37410 # SysV /etc/install, /usr/sbin/install
37411 # SunOS /usr/etc/install
37412 # IRIX /sbin/install
37414 # AmigaOS /C/install, which installs bootblocks on floppy discs
37415 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37416 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37417 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37418 # OS/2's system install, which has a completely different semantic
37419 # ./install, which can be erroneously created by make from ./install.sh.
37420 # Reject install programs that cannot install multiple files.
37421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37422 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37423 if test -z "$INSTALL"; then
37424 if ${ac_cv_path_install+:} false
; then :
37425 $as_echo_n "(cached) " >&6
37427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37428 for as_dir
in $PATH
37431 test -z "$as_dir" && as_dir
=.
37432 # Account for people who put trailing slashes in PATH elements.
37433 case $as_dir/ in #((
37434 .
/ | .
// | /[cC
]/* | \
37435 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37436 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
37439 # OSF1 and SCO ODT 3.0 have their own names for install.
37440 # Don't use installbsd from OSF since it installs stuff as root
37442 for ac_prog
in ginstall scoinst
install; do
37443 for ac_exec_ext
in '' $ac_executable_extensions; do
37444 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
37445 if test $ac_prog = install &&
37446 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37447 # AIX install. It has an incompatible calling convention.
37449 elif test $ac_prog = install &&
37450 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37451 # program-specific install script used by HP pwplus--don't use.
37454 rm -rf conftest.one conftest.two conftest.dir
37455 echo one
> conftest.one
37456 echo two
> conftest.two
37458 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
37459 test -s conftest.one
&& test -s conftest.two
&&
37460 test -s conftest.dir
/conftest.one
&&
37461 test -s conftest.dir
/conftest.two
37463 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37476 rm -rf conftest.one conftest.two conftest.dir
37479 if test "${ac_cv_path_install+set}" = set; then
37480 INSTALL
=$ac_cv_path_install
37482 # As a last resort, use the slow shell script. Don't cache a
37483 # value for INSTALL within a source directory, because that will
37484 # break other packages using the cache if that directory is
37485 # removed, or if the value is a relative name.
37486 INSTALL
=$ac_install_sh
37489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37490 $as_echo "$INSTALL" >&6; }
37492 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37493 # It thinks the first close brace ends the variable substitution.
37494 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37496 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37498 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37506 if test "x$BAKEFILE_HOST" = "x"; then
37507 if test "x${host}" = "x" ; then
37508 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37511 BAKEFILE_HOST
="${host}"
37514 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37516 if test -n "$ac_tool_prefix"; then
37517 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37518 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37520 $as_echo_n "checking for $ac_word... " >&6; }
37521 if ${ac_cv_prog_RANLIB+:} false
; then :
37522 $as_echo_n "(cached) " >&6
37524 if test -n "$RANLIB"; then
37525 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37528 for as_dir
in $PATH
37531 test -z "$as_dir" && as_dir
=.
37532 for ac_exec_ext
in '' $ac_executable_extensions; do
37533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37534 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37544 RANLIB
=$ac_cv_prog_RANLIB
37545 if test -n "$RANLIB"; then
37546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37547 $as_echo "$RANLIB" >&6; }
37549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37550 $as_echo "no" >&6; }
37555 if test -z "$ac_cv_prog_RANLIB"; then
37556 ac_ct_RANLIB
=$RANLIB
37557 # Extract the first word of "ranlib", so it can be a program name with args.
37558 set dummy ranlib
; ac_word
=$2
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37560 $as_echo_n "checking for $ac_word... " >&6; }
37561 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
37562 $as_echo_n "(cached) " >&6
37564 if test -n "$ac_ct_RANLIB"; then
37565 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37568 for as_dir
in $PATH
37571 test -z "$as_dir" && as_dir
=.
37572 for ac_exec_ext
in '' $ac_executable_extensions; do
37573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37574 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37584 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37585 if test -n "$ac_ct_RANLIB"; then
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37587 $as_echo "$ac_ct_RANLIB" >&6; }
37589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37590 $as_echo "no" >&6; }
37593 if test "x$ac_ct_RANLIB" = x
; then
37596 case $cross_compiling:$ac_tool_warned in
37598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37600 ac_tool_warned
=yes ;;
37602 RANLIB
=$ac_ct_RANLIB
37605 RANLIB
="$ac_cv_prog_RANLIB"
37609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37610 $as_echo_n "checking whether ln -s works... " >&6; }
37612 if test "$LN_S" = "ln -s"; then
37613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37614 $as_echo "yes" >&6; }
37616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37617 $as_echo "no, using $LN_S" >&6; }
37621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37622 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37624 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37625 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
37626 $as_echo_n "(cached) " >&6
37628 cat >conftest.
make <<\_ACEOF
37631 @
echo '@@@%%%=$(MAKE)=@@@%%%'
37633 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37634 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37635 *@@@
%%%=?
*=@@@
%%%*)
37636 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
37638 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
37640 rm -f conftest.
make
37642 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
37643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37644 $as_echo "yes" >&6; }
37647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37648 $as_echo "no" >&6; }
37649 SET_MAKE
="MAKE=${MAKE-make}"
37654 if test "x$SUNCXX" = "xyes"; then
37656 AROPTIONS
="-xar -o"
37658 elif test "x$SGICC" = "xyes"; then
37663 if test -n "$ac_tool_prefix"; then
37664 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37665 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37667 $as_echo_n "checking for $ac_word... " >&6; }
37668 if ${ac_cv_prog_AR+:} false
; then :
37669 $as_echo_n "(cached) " >&6
37671 if test -n "$AR"; then
37672 ac_cv_prog_AR
="$AR" # Let the user override the test.
37674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37675 for as_dir
in $PATH
37678 test -z "$as_dir" && as_dir
=.
37679 for ac_exec_ext
in '' $ac_executable_extensions; do
37680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37681 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37692 if test -n "$AR"; then
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37694 $as_echo "$AR" >&6; }
37696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37697 $as_echo "no" >&6; }
37702 if test -z "$ac_cv_prog_AR"; then
37704 # Extract the first word of "ar", so it can be a program name with args.
37705 set dummy
ar; ac_word
=$2
37706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37707 $as_echo_n "checking for $ac_word... " >&6; }
37708 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
37709 $as_echo_n "(cached) " >&6
37711 if test -n "$ac_ct_AR"; then
37712 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
37714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37715 for as_dir
in $PATH
37718 test -z "$as_dir" && as_dir
=.
37719 for ac_exec_ext
in '' $ac_executable_extensions; do
37720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37721 ac_cv_prog_ac_ct_AR
="ar"
37722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37731 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
37732 if test -n "$ac_ct_AR"; then
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37734 $as_echo "$ac_ct_AR" >&6; }
37736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37737 $as_echo "no" >&6; }
37740 if test "x$ac_ct_AR" = x
; then
37743 case $cross_compiling:$ac_tool_warned in
37745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37747 ac_tool_warned
=yes ;;
37752 AR
="$ac_cv_prog_AR"
37759 if test -n "$ac_tool_prefix"; then
37760 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37761 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
37762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37763 $as_echo_n "checking for $ac_word... " >&6; }
37764 if ${ac_cv_prog_STRIP+:} false
; then :
37765 $as_echo_n "(cached) " >&6
37767 if test -n "$STRIP"; then
37768 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
37770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37771 for as_dir
in $PATH
37774 test -z "$as_dir" && as_dir
=.
37775 for ac_exec_ext
in '' $ac_executable_extensions; do
37776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37777 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
37778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37787 STRIP
=$ac_cv_prog_STRIP
37788 if test -n "$STRIP"; then
37789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37790 $as_echo "$STRIP" >&6; }
37792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37793 $as_echo "no" >&6; }
37798 if test -z "$ac_cv_prog_STRIP"; then
37800 # Extract the first word of "strip", so it can be a program name with args.
37801 set dummy strip
; ac_word
=$2
37802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37803 $as_echo_n "checking for $ac_word... " >&6; }
37804 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
37805 $as_echo_n "(cached) " >&6
37807 if test -n "$ac_ct_STRIP"; then
37808 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
37810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37811 for as_dir
in $PATH
37814 test -z "$as_dir" && as_dir
=.
37815 for ac_exec_ext
in '' $ac_executable_extensions; do
37816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37817 ac_cv_prog_ac_ct_STRIP
="strip"
37818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37827 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
37828 if test -n "$ac_ct_STRIP"; then
37829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37830 $as_echo "$ac_ct_STRIP" >&6; }
37832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37833 $as_echo "no" >&6; }
37836 if test "x$ac_ct_STRIP" = x
; then
37839 case $cross_compiling:$ac_tool_warned in
37841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37843 ac_tool_warned
=yes ;;
37848 STRIP
="$ac_cv_prog_STRIP"
37851 if test -n "$ac_tool_prefix"; then
37852 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37853 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37855 $as_echo_n "checking for $ac_word... " >&6; }
37856 if ${ac_cv_prog_NM+:} false
; then :
37857 $as_echo_n "(cached) " >&6
37859 if test -n "$NM"; then
37860 ac_cv_prog_NM
="$NM" # Let the user override the test.
37862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37863 for as_dir
in $PATH
37866 test -z "$as_dir" && as_dir
=.
37867 for ac_exec_ext
in '' $ac_executable_extensions; do
37868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37869 ac_cv_prog_NM
="${ac_tool_prefix}nm"
37870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37880 if test -n "$NM"; then
37881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37882 $as_echo "$NM" >&6; }
37884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37885 $as_echo "no" >&6; }
37890 if test -z "$ac_cv_prog_NM"; then
37892 # Extract the first word of "nm", so it can be a program name with args.
37893 set dummy nm
; ac_word
=$2
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37895 $as_echo_n "checking for $ac_word... " >&6; }
37896 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
37897 $as_echo_n "(cached) " >&6
37899 if test -n "$ac_ct_NM"; then
37900 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
37902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37903 for as_dir
in $PATH
37906 test -z "$as_dir" && as_dir
=.
37907 for ac_exec_ext
in '' $ac_executable_extensions; do
37908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37909 ac_cv_prog_ac_ct_NM
="nm"
37910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37919 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
37920 if test -n "$ac_ct_NM"; then
37921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37922 $as_echo "$ac_ct_NM" >&6; }
37924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37925 $as_echo "no" >&6; }
37928 if test "x$ac_ct_NM" = x
; then
37931 case $cross_compiling:$ac_tool_warned in
37933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37935 ac_tool_warned
=yes ;;
37940 NM
="$ac_cv_prog_NM"
37944 INSTALL_DIR
="mkdir -p"
37948 case ${BAKEFILE_HOST} in
37949 *-*-cygwin* | *-*-mingw32* )
37950 LDFLAGS_GUI
="-mwindows"
37956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37957 $as_echo_n "checking if make is GNU make... " >&6; }
37958 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
37959 $as_echo_n "(cached) " >&6
37962 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
37963 egrep -s GNU
> /dev
/null
); then
37964 bakefile_cv_prog_makeisgnu
="yes"
37966 bakefile_cv_prog_makeisgnu
="no"
37970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37971 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
37973 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37990 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
37991 case "${BAKEFILE_HOST}" in
37998 *-pc-os2_emx | *-pc-os2-emx )
38008 powerpc
-apple-macos* )
38017 case "$BAKEFILE_FORCE_PLATFORM" in
38038 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38053 # Check whether --enable-omf was given.
38054 if test "${enable_omf+set}" = set; then :
38055 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38059 case "${BAKEFILE_HOST}" in
38061 if test "x$GCC" = "xyes"; then
38062 CFLAGS
="$CFLAGS -fno-common"
38063 CXXFLAGS
="$CXXFLAGS -fno-common"
38065 if test "x$XLCC" = "xyes"; then
38066 CFLAGS
="$CFLAGS -qnocommon"
38067 CXXFLAGS
="$CXXFLAGS -qnocommon"
38071 *-pc-os2_emx | *-pc-os2-emx )
38072 if test "x$bk_os2_use_omf" = "xyes" ; then
38075 LDFLAGS
="-Zomf $LDFLAGS"
38076 CFLAGS
="-Zomf $CFLAGS"
38077 CXXFLAGS
="-Zomf $CXXFLAGS"
38085 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38091 SO_SUFFIX_MODULE
="so"
38096 DLLPREFIX_MODULE
=""
38100 case "${BAKEFILE_HOST}" in
38105 SO_SUFFIX_MODULE
="sl"
38109 SO_SUFFIX_MODULE
="a"
38113 SO_SUFFIX_MODULE
="dll"
38114 DLLIMP_SUFFIX
="dll.a"
38121 SO_SUFFIX_MODULE
="dll"
38122 DLLIMP_SUFFIX
="dll.a"
38132 *-pc-os2_emx | *-pc-os2-emx )
38134 SO_SUFFIX_MODULE
="dll"
38135 DLLIMP_SUFFIX
=$OS2_LIBEXT
38139 LIBEXT
=".$OS2_LIBEXT"
38144 SO_SUFFIX_MODULE
="bundle"
38148 if test "x$DLLIMP_SUFFIX" = "x" ; then
38149 DLLIMP_SUFFIX
="$SO_SUFFIX"
38164 if test "x$GCC" = "xyes"; then
38168 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38169 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38172 case "${BAKEFILE_HOST}" in
38174 if test "x$GCC" != "xyes"; then
38175 LDFLAGS
="$LDFLAGS -L/usr/lib"
38177 SHARED_LD_CC
="${CC} -b -o"
38178 SHARED_LD_CXX
="${CXX} -b -o"
38184 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38186 elif test "x$SUNCXX" = "xyes"; then
38187 SHARED_LD_CC
="${CC} -G -o"
38188 SHARED_LD_CXX
="${CXX} -G -o"
38194 if test "x$SUNCXX" = xyes
; then
38195 SHARED_LD_CC
="${CC} -G -o"
38196 SHARED_LD_CXX
="${CXX} -G -o"
38204 cat <<EOF >shared-ld-sh
38206 #-----------------------------------------------------------------------------
38207 #-- Name: distrib/mac/shared-ld-sh
38208 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38209 #-- Author: Gilles Depeyrot
38210 #-- Copyright: (c) 2002 Gilles Depeyrot
38211 #-- Licence: any use permitted
38212 #-----------------------------------------------------------------------------
38217 linking_flag="-dynamiclib"
38218 ldargs="-r -keep_private_externs -nostdlib"
38220 if test "x${D}CXX" = "x"; then
38224 while test ${D}# -gt 0; do
38231 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38232 # collect these options and values
38233 args="${D}{args} ${D}1 ${D}2"
38238 # collect these options and values
38239 ldargs="${D}{ldargs} ${D}1 ${D}2"
38244 # collect these load args
38245 ldargs="${D}{ldargs} ${D}1"
38248 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38249 # collect these options
38250 args="${D}{args} ${D}1"
38253 -dynamiclib|-bundle)
38254 linking_flag="${D}1"
38258 echo "shared-ld: unhandled option '${D}1'"
38262 *.o | *.a | *.dylib)
38263 # collect object files
38264 objects="${D}{objects} ${D}1"
38268 echo "shared-ld: unhandled argument '${D}1'"
38279 # Link one module containing all the others
38281 if test ${D}{verbose} = 1; then
38282 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38284 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38288 # Link the shared library from the single module created, but only if the
38289 # previous command didn't fail:
38291 if test ${D}{status} = 0; then
38292 if test ${D}{verbose} = 1; then
38293 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38295 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38300 # Remove intermediate module
38302 rm -f master.${D}${D}.o
38307 chmod +x shared
-ld-sh
38309 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38310 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38314 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38315 if ${bakefile_cv_gcc31+:} false
; then :
38316 $as_echo_n "(cached) " >&6
38319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38320 /* end confdefs.h. */
38326 #if (__GNUC__ < 3) || \
38327 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38335 if ac_fn_c_try_compile
"$LINENO"; then :
38337 bakefile_cv_gcc31
=yes
38341 bakefile_cv_gcc31
=no
38345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38349 $as_echo "$bakefile_cv_gcc31" >&6; }
38350 if test "$bakefile_cv_gcc31" = "no"; then
38351 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38352 SHARED_LD_CXX
="$SHARED_LD_CC"
38354 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38355 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38358 if test "x$GCC" == "xyes"; then
38359 PIC_FLAG
="-dynamic -fPIC"
38361 if test "x$XLCC" = "xyes"; then
38362 PIC_FLAG
="-dynamic -DPIC"
38367 if test "x$GCC" = "xyes"; then
38370 case "${BAKEFILE_HOST}" in
38372 LD_EXPFULL
="-Wl,-bexpfull"
38376 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
38377 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
38379 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38380 set dummy makeC
++SharedLib
; ac_word
=$2
38381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38382 $as_echo_n "checking for $ac_word... " >&6; }
38383 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
38384 $as_echo_n "(cached) " >&6
38386 if test -n "$AIX_CXX_LD"; then
38387 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38390 for as_dir
in $PATH
38393 test -z "$as_dir" && as_dir
=.
38394 for ac_exec_ext
in '' $ac_executable_extensions; do
38395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38396 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38404 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38407 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38408 if test -n "$AIX_CXX_LD"; then
38409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38410 $as_echo "$AIX_CXX_LD" >&6; }
38412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38413 $as_echo "no" >&6; }
38417 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38418 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38423 SHARED_LD_CC
="${LD} -nostart -o"
38424 SHARED_LD_CXX
="${LD} -nostart -o"
38428 if test "x$GCC" != "xyes"; then
38433 *-*-cygwin* | *-*-mingw32* )
38435 SHARED_LD_CC
="\$(CC) -shared -o"
38436 SHARED_LD_CXX
="\$(CXX) -shared -o"
38440 *-pc-os2_emx | *-pc-os2-emx )
38441 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38442 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38446 cat <<EOF >dllar.sh
38449 # dllar - a tool to build both a .dll and an .a file
38450 # from a set of object (.o) files for EMX/OS2.
38452 # Written by Andrew Zabolotny, bit@freya.etu.ru
38453 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38455 # This script will accept a set of files on the command line.
38456 # All the public symbols from the .o files will be exported into
38457 # a .DEF file, then linker will be run (through gcc) against them to
38458 # build a shared library consisting of all given .o files. All libraries
38459 # (.a) will be first decompressed into component .o files then act as
38460 # described above. You can optionally give a description (-d "description")
38461 # which will be put into .DLL. To see the list of accepted options (as well
38462 # as command-line format) simply run this program without options. The .DLL
38463 # is built to be imported by name (there is no guarantee that new versions
38464 # of the library you build will have same ordinals for same symbols).
38466 # dllar is free software; you can redistribute it and/or modify
38467 # it under the terms of the GNU General Public License as published by
38468 # the Free Software Foundation; either version 2, or (at your option)
38469 # any later version.
38471 # dllar is distributed in the hope that it will be useful,
38472 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38473 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38474 # GNU General Public License for more details.
38476 # You should have received a copy of the GNU General Public License
38477 # along with dllar; see the file COPYING. If not, write to the Free
38478 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38481 # To successfuly run this program you will need:
38482 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38483 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38485 # (used to build the .dll)
38487 # (used to create .def file from .o files)
38489 # (used to create .a file from .def file)
38490 # - GNU text utilites (cat, sort, uniq)
38491 # used to process emxexp output
38492 # - GNU file utilities (mv, rm)
38494 # - lxlite (optional, see flag below)
38495 # (used for general .dll cleanup)
38502 # basnam, variant of basename, which does _not_ remove the path, _iff_
38503 # second argument (suffix to remove) is given
38507 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38510 echo ${D}1 | sed 's/'${D}2'${D}//'
38513 echo "error in basnam ${D}*"
38519 # Cleanup temporary files and output
38522 for i in ${D}inputFiles ; do
38525 rm -rf \`basnam ${D}i !\`
38532 # Kill result in case of failure as there is just to many stupid make/nmake
38533 # things out there which doesn't do this.
38534 if [ ${D}# -eq 0 ]; then
38535 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38539 # Print usage and exit script with rc=1.
38541 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38542 echo ' [-name-mangler-script script.sh]'
38543 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38544 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38545 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38546 echo ' [*.o] [*.a]'
38547 echo '*> "output_file" should have no extension.'
38548 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38549 echo ' The import library name is derived from this and is set to "name".a,'
38550 echo ' unless overridden by -import'
38551 echo '*> "importlib_name" should have no extension.'
38552 echo ' If it has the .o, or .a extension, it is automatically removed.'
38553 echo ' This name is used as the import library name and may be longer and'
38554 echo ' more descriptive than the DLL name which has to follow the old '
38555 echo ' 8.3 convention of FAT.'
38556 echo '*> "script.sh may be given to override the output_file name by a'
38557 echo ' different name. It is mainly useful if the regular make process'
38558 echo ' of some package does not take into account OS/2 restriction of'
38559 echo ' DLL name lengths. It takes the importlib name as input and is'
38560 echo ' supposed to procude a shorter name as output. The script should'
38561 echo ' expect to get importlib_name without extension and should produce'
38562 echo ' a (max.) 8 letter name without extension.'
38563 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38564 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38565 echo ' These flags will be put at the start of GCC command line.'
38566 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38567 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38568 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38569 echo ' If the last character of a symbol is "*", all symbols beginning'
38570 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38571 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38572 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38573 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38574 echo ' C runtime DLLs.'
38575 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38576 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38577 echo ' unchanged to GCC at the end of command line.'
38578 echo '*> If you create a DLL from a library and you do not specify -o,'
38579 echo ' the basename for DLL and import library will be set to library name,'
38580 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38581 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38582 echo ' library will be renamed into gcc_s.a.'
38585 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38586 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38591 # Execute a command.
38592 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38593 # @Uses Whatever CleanUp() uses.
38599 if [ ${D}rcCmd -ne 0 ]; then
38600 echo "command failed, exit code="${D}rcCmd
38615 CFLAGS="-s -Zcrtdll"
38617 EXPORT_BY_ORDINALS=0
38622 case ${D}curDirS in
38626 curDirS=${D}{curDirS}"/"
38629 # Parse commandline
38632 while [ ${D}1 ]; do
38635 EXPORT_BY_ORDINALS=1;
38645 -name-mangler-script)
38666 exclude_symbols=${D}{exclude_symbols}${D}1" "
38670 library_flags=${D}{library_flags}${D}1" "
38689 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38692 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38693 if [ ${D}omfLinking -eq 1 ]; then
38694 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38696 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38701 if [ ${D}libsToLink -ne 0 ]; then
38702 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38704 for file in ${D}1 ; do
38705 if [ -f ${D}file ]; then
38706 inputFiles="${D}{inputFiles} ${D}file"
38710 if [ ${D}found -eq 0 ]; then
38711 echo "ERROR: No file(s) found: "${D}1
38718 done # iterate cmdline words
38721 if [ -z "${D}inputFiles" ]; then
38722 echo "dllar: no input files"
38726 # Now extract all .o files from .a files
38728 for file in ${D}inputFiles ; do
38739 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38744 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38746 if [ ${D}? -ne 0 ]; then
38747 echo "Failed to create subdirectory ./${D}dirname"
38751 # Append '!' to indicate archive
38752 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38753 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38756 for subfile in ${D}dirname/*.o* ; do
38757 if [ -f ${D}subfile ]; then
38759 if [ -s ${D}subfile ]; then
38760 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38761 newInputFiles="${D}newInputFiles ${D}subfile"
38765 if [ ${D}found -eq 0 ]; then
38766 echo "WARNING: there are no files in archive \\'${D}file\\'"
38770 newInputFiles="${D}{newInputFiles} ${D}file"
38774 inputFiles="${D}newInputFiles"
38776 # Output filename(s).
38778 if [ -z ${D}outFile ]; then
38780 set outFile ${D}inputFiles; outFile=${D}2
38783 # If it is an archive, remove the '!' and the '_%' suffixes
38784 case ${D}outFile in
38786 outFile=\`basnam ${D}outFile _%!\`
38791 case ${D}outFile in
38793 outFile=\`basnam ${D}outFile .dll\`
38796 outFile=\`basnam ${D}outFile .DLL\`
38799 outFile=\`basnam ${D}outFile .o\`
38802 outFile=\`basnam ${D}outFile .obj\`
38805 outFile=\`basnam ${D}outFile .a\`
38808 outFile=\`basnam ${D}outFile .lib\`
38813 case ${D}outimpFile in
38815 outimpFile=\`basnam ${D}outimpFile .a\`
38818 outimpFile=\`basnam ${D}outimpFile .lib\`
38823 if [ -z ${D}outimpFile ]; then
38824 outimpFile=${D}outFile
38826 defFile="${D}{outFile}.def"
38827 arcFile="${D}{outimpFile}.a"
38828 arcFile2="${D}{outimpFile}.lib"
38830 #create ${D}dllFile as something matching 8.3 restrictions,
38831 if [ -z ${D}renameScript ] ; then
38832 dllFile="${D}outFile"
38834 dllFile=\`${D}renameScript ${D}outimpFile\`
38837 if [ ${D}do_backup -ne 0 ] ; then
38838 if [ -f ${D}arcFile ] ; then
38839 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38841 if [ -f ${D}arcFile2 ] ; then
38842 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38846 # Extract public symbols from all the object files.
38847 tmpdefFile=${D}{defFile}_%
38848 rm -f ${D}tmpdefFile
38849 for file in ${D}inputFiles ; do
38854 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38859 # Create the def file.
38861 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38862 dllFile="${D}{dllFile}.dll"
38863 if [ ! -z ${D}description ]; then
38864 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
38866 echo "EXPORTS" >> ${D}defFile
38868 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38869 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38871 # Checks if the export is ok or not.
38872 for word in ${D}exclude_symbols; do
38873 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38874 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38878 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38879 sed "=" < ${D}tmpdefFile | \\
38883 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38885 ' > ${D}{tmpdefFile}%
38886 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38888 rm -f ${D}{tmpdefFile}%
38890 cat ${D}tmpdefFile >> ${D}defFile
38891 rm -f ${D}tmpdefFile
38893 # Do linking, create implib, and apply lxlite.
38895 for file in ${D}inputFiles ; do
38900 gccCmdl="${D}gccCmdl ${D}file"
38904 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38905 touch "${D}{outFile}.dll"
38907 doCommand "emximp -o ${D}arcFile ${D}defFile"
38908 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38910 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38913 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38915 doCommand "emxomf -s -l ${D}arcFile"
38925 powerpc
-apple-macos* | \
38926 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
38936 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
38939 if test "x$PIC_FLAG" != "x" ; then
38940 PIC_FLAG
="$PIC_FLAG -DPIC"
38943 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38944 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38946 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38947 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38962 USE_SOTWOSYMLINKS
=0
38966 case "${BAKEFILE_HOST}" in
38967 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38968 *-*-k*bsd
*-gnu | *-*-mirbsd* )
38969 if test "x$SUNCXX" = "xyes"; then
38972 SONAME_FLAG
="-Wl,-soname,"
38976 USE_SOTWOSYMLINKS
=1
38988 USE_SOTWOSYMLINKS
=1
39006 # Check whether --enable-dependency-tracking was given.
39007 if test "${enable_dependency_tracking+set}" = set; then :
39008 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39013 $as_echo_n "checking for dependency tracking method... " >&6; }
39016 if test "x$bk_use_trackdeps" = "xno" ; then
39018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39019 $as_echo "disabled" >&6; }
39023 if test "x$GCC" = "xyes"; then
39026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39027 $as_echo "gcc" >&6; }
39028 elif test "x$MWCC" = "xyes"; then
39031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39032 $as_echo "mwcc" >&6; }
39033 elif test "x$SUNCC" = "xyes"; then
39036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39037 $as_echo "Sun cc" >&6; }
39038 elif test "x$SGICC" = "xyes"; then
39041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39042 $as_echo "SGI cc" >&6; }
39043 elif test "x$HPCC" = "xyes"; then
39046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39047 $as_echo "HP cc" >&6; }
39048 elif test "x$COMPAQCC" = "xyes"; then
39051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39052 $as_echo "Compaq cc" >&6; }
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39056 $as_echo "none" >&6; }
39059 if test $DEPS_TRACKING = 1 ; then
39065 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39066 # script. It is used to track C/C++ files dependencies in portable way.
39068 # Permission is given to use this file in any way.
39070 DEPSMODE=${DEPSMODE}
39071 DEPSFLAG="${DEPSFLAG}"
39074 if test ${D}DEPSMODE = gcc ; then
39075 ${D}* ${D}{DEPSFLAG}
39078 # determine location of created files:
39079 while test ${D}# -gt 0; do
39093 objfilebase=\`basename ${D}objfile\`
39094 builddir=\`dirname ${D}objfile\`
39095 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39096 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39097 depsdir=${D}builddir/${D}DEPSDIRBASE
39098 mkdir -p ${D}depsdir
39100 # if the compiler failed, we're done:
39101 if test ${D}{status} != 0 ; then
39106 # move created file to the location we want it in:
39107 if test -f ${D}depfile ; then
39108 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39111 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39112 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39113 if test ! -f ${D}depfile ; then
39114 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39115 depfile="${D}objfile.d"
39117 if test -f ${D}depfile ; then
39118 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39124 elif test ${D}DEPSMODE = mwcc ; then
39125 ${D}* || exit ${D}?
39126 # Run mwcc again with -MM and redirect into the dep file we want
39127 # NOTE: We can't use shift here because we need ${D}* to be valid
39129 for arg in ${D}* ; do
39130 if test "${D}prevarg" = "-o"; then
39144 objfilebase=\`basename ${D}objfile\`
39145 builddir=\`dirname ${D}objfile\`
39146 depsdir=${D}builddir/${D}DEPSDIRBASE
39147 mkdir -p ${D}depsdir
39149 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39152 elif test ${D}DEPSMODE = unixcc; then
39153 ${D}* || exit ${D}?
39154 # Run compiler again with deps flag and redirect into the dep file.
39155 # It doesn't work if the '-o FILE' option is used, but without it the
39156 # dependency file will contain the wrong name for the object. So it is
39157 # removed from the command line, and the dep file is fixed with sed.
39159 while test ${D}# -gt 0; do
39166 eval arg${D}#=\\${D}1
39167 cmd="${D}cmd \\${D}arg${D}#"
39173 objfilebase=\`basename ${D}objfile\`
39174 builddir=\`dirname ${D}objfile\`
39175 depsdir=${D}builddir/${D}DEPSDIRBASE
39176 mkdir -p ${D}depsdir
39178 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39188 BK_DEPS
="`pwd`/bk-deps"
39196 case ${BAKEFILE_HOST} in
39197 *-*-cygwin* | *-*-mingw32* )
39198 if test -n "$ac_tool_prefix"; then
39199 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39200 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39202 $as_echo_n "checking for $ac_word... " >&6; }
39203 if ${ac_cv_prog_WINDRES+:} false
; then :
39204 $as_echo_n "(cached) " >&6
39206 if test -n "$WINDRES"; then
39207 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39210 for as_dir
in $PATH
39213 test -z "$as_dir" && as_dir
=.
39214 for ac_exec_ext
in '' $ac_executable_extensions; do
39215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39216 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39226 WINDRES
=$ac_cv_prog_WINDRES
39227 if test -n "$WINDRES"; then
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39229 $as_echo "$WINDRES" >&6; }
39231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39232 $as_echo "no" >&6; }
39237 if test -z "$ac_cv_prog_WINDRES"; then
39238 ac_ct_WINDRES
=$WINDRES
39239 # Extract the first word of "windres", so it can be a program name with args.
39240 set dummy windres
; ac_word
=$2
39241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39242 $as_echo_n "checking for $ac_word... " >&6; }
39243 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39244 $as_echo_n "(cached) " >&6
39246 if test -n "$ac_ct_WINDRES"; then
39247 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39250 for as_dir
in $PATH
39253 test -z "$as_dir" && as_dir
=.
39254 for ac_exec_ext
in '' $ac_executable_extensions; do
39255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39256 ac_cv_prog_ac_ct_WINDRES
="windres"
39257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39266 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39267 if test -n "$ac_ct_WINDRES"; then
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39269 $as_echo "$ac_ct_WINDRES" >&6; }
39271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39272 $as_echo "no" >&6; }
39275 if test "x$ac_ct_WINDRES" = x
; then
39278 case $cross_compiling:$ac_tool_warned in
39280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39282 ac_tool_warned
=yes ;;
39284 WINDRES
=$ac_ct_WINDRES
39287 WINDRES
="$ac_cv_prog_WINDRES"
39292 *-*-darwin* | powerpc
-apple-macos* )
39293 # Extract the first word of "Rez", so it can be a program name with args.
39294 set dummy Rez
; ac_word
=$2
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39296 $as_echo_n "checking for $ac_word... " >&6; }
39297 if ${ac_cv_prog_REZ+:} false
; then :
39298 $as_echo_n "(cached) " >&6
39300 if test -n "$REZ"; then
39301 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39304 for as_dir
in $PATH
39307 test -z "$as_dir" && as_dir
=.
39308 for ac_exec_ext
in '' $ac_executable_extensions; do
39309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39310 ac_cv_prog_REZ
="Rez"
39311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39318 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39321 REZ
=$ac_cv_prog_REZ
39322 if test -n "$REZ"; then
39323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39324 $as_echo "$REZ" >&6; }
39326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39327 $as_echo "no" >&6; }
39331 # Extract the first word of "SetFile", so it can be a program name with args.
39332 set dummy SetFile
; ac_word
=$2
39333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39334 $as_echo_n "checking for $ac_word... " >&6; }
39335 if ${ac_cv_prog_SETFILE+:} false
; then :
39336 $as_echo_n "(cached) " >&6
39338 if test -n "$SETFILE"; then
39339 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39342 for as_dir
in $PATH
39345 test -z "$as_dir" && as_dir
=.
39346 for ac_exec_ext
in '' $ac_executable_extensions; do
39347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39348 ac_cv_prog_SETFILE
="SetFile"
39349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39356 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39359 SETFILE
=$ac_cv_prog_SETFILE
39360 if test -n "$SETFILE"; then
39361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39362 $as_echo "$SETFILE" >&6; }
39364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39365 $as_echo "no" >&6; }
39380 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
39383 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
39387 # Check whether --enable-precomp-headers was given.
39388 if test "${enable_precomp_headers+set}" = set; then :
39389 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
39398 case ${BAKEFILE_HOST} in
39404 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39405 if test "x$GCC" = "xyes"; then
39406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39407 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39409 /* end confdefs.h. */
39415 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39416 There is no PCH support
39419 There is no PCH support
39421 #if (__GNUC__ == 3) && \
39422 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39423 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39424 ( defined(__INTEL_COMPILER) )
39425 There is no PCH support
39432 if ac_fn_c_try_compile
"$LINENO"; then :
39434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39435 $as_echo "yes" >&6; }
39440 if test "$INTELCXX8" = "yes"; then
39441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39442 $as_echo "yes" >&6; }
39444 if test "$INTELCXX10" = "yes"; then
39445 ICC_PCH_CREATE_SWITCH
="-pch-create"
39446 ICC_PCH_USE_SWITCH
="-pch-use"
39448 ICC_PCH_CREATE_SWITCH
="-create-pch"
39449 ICC_PCH_USE_SWITCH
="-use-pch"
39452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39453 $as_echo "no" >&6; }
39457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39458 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39462 cat <<EOF >bk-make-pch
39465 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39466 # script. It is used to generated precompiled headers.
39468 # Permission is given to use this file in any way.
39475 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39480 while test ${D}{#} -gt 0; do
39484 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39485 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39486 headerfile="${D}{incdir}/${D}{header}"
39489 -use-pch|-use_pch|-pch-use )
39494 if test ${D}add_to_cmdline = 1 ; then
39495 compiler="${D}{compiler} ${D}{1}"
39500 if test "x${D}{headerfile}" = "x" ; then
39501 echo "error: can't find header ${D}{header} in include paths" >&2
39503 if test -f ${D}{outfile} ; then
39504 rm -f ${D}{outfile}
39506 mkdir -p \`dirname ${D}{outfile}\`
39508 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39509 mkdir -p ${D}{builddir}/.deps
39510 if test "x${GCC_PCH}" = "x1" ; then
39511 # can do this because gcc is >= 3.4:
39512 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39513 elif test "x${ICC_PCH}" = "x1" ; then
39514 filename=pch_gen-${D}${D}
39515 file=${D}{filename}.c
39516 dfile=${D}{filename}.d
39517 cat > ${D}file <<EOT
39518 #include "${D}header"
39520 # using -MF icc complains about differing command lines in creation/use
39521 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39522 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39523 rm -f ${D}file ${D}dfile ${D}{filename}.o
39529 chmod +x bk
-make-pch
39530 BK_MAKE_PCH
="`pwd`/bk-make-pch"
39541 COND_BUILD_DEBUG
="#"
39542 if test "x$BUILD" = "xdebug" ; then
39543 COND_BUILD_DEBUG
=""
39546 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39547 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39548 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39551 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39552 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39553 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39556 COND_BUILD_DEBUG_UNICODE_0
="#"
39557 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39558 COND_BUILD_DEBUG_UNICODE_0
=""
39561 COND_BUILD_DEBUG_UNICODE_1
="#"
39562 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39563 COND_BUILD_DEBUG_UNICODE_1
=""
39566 COND_BUILD_RELEASE
="#"
39567 if test "x$BUILD" = "xrelease" ; then
39568 COND_BUILD_RELEASE
=""
39571 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39572 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39573 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39576 COND_BUILD_RELEASE_UNICODE_0
="#"
39577 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39578 COND_BUILD_RELEASE_UNICODE_0
=""
39581 COND_BUILD_RELEASE_UNICODE_1
="#"
39582 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39583 COND_BUILD_RELEASE_UNICODE_1
=""
39586 COND_BUILD_debug
="#"
39587 if test "x$BUILD" = "xdebug" ; then
39588 COND_BUILD_debug
=""
39591 COND_BUILD_debug_DEBUG_FLAG_default
="#"
39592 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39593 COND_BUILD_debug_DEBUG_FLAG_default
=""
39596 COND_BUILD_debug_DEBUG_INFO_default
="#"
39597 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39598 COND_BUILD_debug_DEBUG_INFO_default
=""
39601 COND_BUILD_debug_UNICODE_0
="#"
39602 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39603 COND_BUILD_debug_UNICODE_0
=""
39606 COND_BUILD_debug_UNICODE_1
="#"
39607 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39608 COND_BUILD_debug_UNICODE_1
=""
39611 COND_BUILD_release
="#"
39612 if test "x$BUILD" = "xrelease" ; then
39613 COND_BUILD_release
=""
39616 COND_BUILD_release_DEBUG_INFO_default
="#"
39617 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39618 COND_BUILD_release_DEBUG_INFO_default
=""
39621 COND_BUILD_release_UNICODE_0
="#"
39622 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39623 COND_BUILD_release_UNICODE_0
=""
39626 COND_BUILD_release_UNICODE_1
="#"
39627 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39628 COND_BUILD_release_UNICODE_1
=""
39631 COND_DEBUG_FLAG_0
="#"
39632 if test "x$DEBUG_FLAG" = "x0" ; then
39633 COND_DEBUG_FLAG_0
=""
39636 COND_DEBUG_FLAG_1
="#"
39637 if test "x$DEBUG_FLAG" = "x1" ; then
39638 COND_DEBUG_FLAG_1
=""
39641 COND_DEBUG_INFO_0
="#"
39642 if test "x$DEBUG_INFO" = "x0" ; then
39643 COND_DEBUG_INFO_0
=""
39646 COND_DEBUG_INFO_1
="#"
39647 if test "x$DEBUG_INFO" = "x1" ; then
39648 COND_DEBUG_INFO_1
=""
39651 COND_DEPS_TRACKING_0
="#"
39652 if test "x$DEPS_TRACKING" = "x0" ; then
39653 COND_DEPS_TRACKING_0
=""
39656 COND_DEPS_TRACKING_1
="#"
39657 if test "x$DEPS_TRACKING" = "x1" ; then
39658 COND_DEPS_TRACKING_1
=""
39662 if test "x$GCC_PCH" = "x1" ; then
39667 if test "x$ICC_PCH" = "x1" ; then
39671 COND_MONOLITHIC_0
="#"
39672 if test "x$MONOLITHIC" = "x0" ; then
39673 COND_MONOLITHIC_0
=""
39676 COND_MONOLITHIC_0_SHARED_0
="#"
39677 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39678 COND_MONOLITHIC_0_SHARED_0
=""
39681 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
39682 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39683 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
39686 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39687 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39688 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39691 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
39692 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39693 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
39696 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
39697 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39698 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
39701 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
39702 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39703 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
39706 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
39707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39708 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
39711 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
39712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39713 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
39716 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
39717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39718 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
39721 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
39722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39723 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
39726 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
39727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39728 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
39731 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
39732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39733 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
39736 COND_MONOLITHIC_0_SHARED_1
="#"
39737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39738 COND_MONOLITHIC_0_SHARED_1
=""
39741 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
39742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39743 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
39746 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39748 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39751 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
39752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39753 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
39756 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
39757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39758 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
39761 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
39762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39763 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
39766 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
39767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39768 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
39771 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
39772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39773 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
39776 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
39777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39778 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
39781 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
39782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39783 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
39786 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
39787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39788 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
39791 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
39792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39793 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
39796 COND_MONOLITHIC_0_USE_AUI_1
="#"
39797 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39798 COND_MONOLITHIC_0_USE_AUI_1
=""
39801 COND_MONOLITHIC_0_USE_GUI_1
="#"
39802 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39803 COND_MONOLITHIC_0_USE_GUI_1
=""
39806 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
39807 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39808 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
39811 COND_MONOLITHIC_0_USE_HTML_1
="#"
39812 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39813 COND_MONOLITHIC_0_USE_HTML_1
=""
39816 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
39817 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39818 COND_MONOLITHIC_0_USE_MEDIA_1
=""
39821 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
39822 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39823 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
39826 COND_MONOLITHIC_0_USE_QA_1
="#"
39827 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39828 COND_MONOLITHIC_0_USE_QA_1
=""
39831 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
39832 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39833 COND_MONOLITHIC_0_USE_RIBBON_1
=""
39836 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
39837 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39838 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
39841 COND_MONOLITHIC_0_USE_STC_1
="#"
39842 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39843 COND_MONOLITHIC_0_USE_STC_1
=""
39846 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
39847 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39848 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
39851 COND_MONOLITHIC_0_USE_XRC_1
="#"
39852 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39853 COND_MONOLITHIC_0_USE_XRC_1
=""
39856 COND_MONOLITHIC_1
="#"
39857 if test "x$MONOLITHIC" = "x1" ; then
39858 COND_MONOLITHIC_1
=""
39861 COND_MONOLITHIC_1_SHARED_0
="#"
39862 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39863 COND_MONOLITHIC_1_SHARED_0
=""
39866 COND_MONOLITHIC_1_SHARED_1
="#"
39867 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39868 COND_MONOLITHIC_1_SHARED_1
=""
39871 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39872 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39873 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39877 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39878 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39881 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
39882 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
39886 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39887 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39888 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39891 COND_PLATFORM_MACOSX_1
="#"
39892 if test "x$PLATFORM_MACOSX" = "x1" ; then
39893 COND_PLATFORM_MACOSX_1
=""
39896 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
39897 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39898 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
39901 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
39902 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39903 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
39906 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
39907 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39908 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
39911 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
39912 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39913 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
39916 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
39917 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39918 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
39921 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
39922 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39923 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
39926 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
39927 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39928 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
39931 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
39932 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39933 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
39936 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39938 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39941 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
39942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39943 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
39946 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39947 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39948 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39951 COND_PLATFORM_MACOS_1
="#"
39952 if test "x$PLATFORM_MACOS" = "x1" ; then
39953 COND_PLATFORM_MACOS_1
=""
39956 COND_PLATFORM_MAC_0
="#"
39957 if test "x$PLATFORM_MAC" = "x0" ; then
39958 COND_PLATFORM_MAC_0
=""
39961 COND_PLATFORM_MAC_1
="#"
39962 if test "x$PLATFORM_MAC" = "x1" ; then
39963 COND_PLATFORM_MAC_1
=""
39966 COND_PLATFORM_MSDOS_0
="#"
39967 if test "x$PLATFORM_MSDOS" = "x0" ; then
39968 COND_PLATFORM_MSDOS_0
=""
39971 COND_PLATFORM_MSDOS_1
="#"
39972 if test "x$PLATFORM_MSDOS" = "x1" ; then
39973 COND_PLATFORM_MSDOS_1
=""
39976 COND_PLATFORM_OS2_1
="#"
39977 if test "x$PLATFORM_OS2" = "x1" ; then
39978 COND_PLATFORM_OS2_1
=""
39981 COND_PLATFORM_UNIX_0
="#"
39982 if test "x$PLATFORM_UNIX" = "x0" ; then
39983 COND_PLATFORM_UNIX_0
=""
39986 COND_PLATFORM_UNIX_1
="#"
39987 if test "x$PLATFORM_UNIX" = "x1" ; then
39988 COND_PLATFORM_UNIX_1
=""
39991 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
39992 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39993 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
39996 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
39997 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39998 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40001 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40002 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40003 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40006 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40007 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40008 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40011 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40012 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40013 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40016 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40017 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40018 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40021 COND_PLATFORM_WIN32_0
="#"
40022 if test "x$PLATFORM_WIN32" = "x0" ; then
40023 COND_PLATFORM_WIN32_0
=""
40026 COND_PLATFORM_WIN32_1
="#"
40027 if test "x$PLATFORM_WIN32" = "x1" ; then
40028 COND_PLATFORM_WIN32_1
=""
40031 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40032 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40033 COND_PLATFORM_WIN32_1_SHARED_0
=""
40037 if test "x$SHARED" = "x0" ; then
40041 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40042 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40043 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40046 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40047 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40048 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40051 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40052 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40053 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40056 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40057 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40058 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40061 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40062 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40063 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40066 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40067 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40068 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40071 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40072 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40073 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40076 COND_SHARED_0_USE_STC_1
="#"
40077 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40078 COND_SHARED_0_USE_STC_1
=""
40081 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40082 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40083 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40086 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40087 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40088 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40091 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40092 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40093 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40097 if test "x$SHARED" = "x1" ; then
40101 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40102 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40103 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40107 if test "x$TOOLKIT" = "x" ; then
40111 COND_TOOLKIT_COCOA
="#"
40112 if test "x$TOOLKIT" = "xCOCOA" ; then
40113 COND_TOOLKIT_COCOA
=""
40116 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40117 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40118 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40121 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40122 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40123 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40126 COND_TOOLKIT_DFB
="#"
40127 if test "x$TOOLKIT" = "xDFB" ; then
40128 COND_TOOLKIT_DFB
=""
40131 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40132 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40133 COND_TOOLKIT_DFB_USE_GUI_1
=""
40136 COND_TOOLKIT_GTK
="#"
40137 if test "x$TOOLKIT" = "xGTK" ; then
40138 COND_TOOLKIT_GTK
=""
40141 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40142 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40143 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40146 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40147 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40148 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40151 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40152 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40153 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40156 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40157 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40158 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40161 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40162 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40163 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40166 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40167 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40168 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40171 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40172 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40173 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40176 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40177 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40178 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40181 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40182 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40183 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40186 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40187 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40188 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40191 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40192 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40193 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40196 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40197 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40198 COND_TOOLKIT_GTK_USE_GUI_1
=""
40201 COND_TOOLKIT_MAC
="#"
40202 if test "x$TOOLKIT" = "xMAC" ; then
40203 COND_TOOLKIT_MAC
=""
40206 COND_TOOLKIT_MOTIF
="#"
40207 if test "x$TOOLKIT" = "xMOTIF" ; then
40208 COND_TOOLKIT_MOTIF
=""
40211 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40212 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40213 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40216 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40217 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40218 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40221 COND_TOOLKIT_MSW
="#"
40222 if test "x$TOOLKIT" = "xMSW" ; then
40223 COND_TOOLKIT_MSW
=""
40226 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40227 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40228 COND_TOOLKIT_MSW_USE_GUI_1
=""
40231 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40232 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40233 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40236 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40237 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40238 COND_TOOLKIT_MSW_WXUNIV_0
=""
40241 COND_TOOLKIT_OSX_CARBON
="#"
40242 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40243 COND_TOOLKIT_OSX_CARBON
=""
40246 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40247 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40248 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40251 COND_TOOLKIT_OSX_COCOA
="#"
40252 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40253 COND_TOOLKIT_OSX_COCOA
=""
40256 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40257 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40258 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40261 COND_TOOLKIT_OSX_IPHONE
="#"
40262 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40263 COND_TOOLKIT_OSX_IPHONE
=""
40266 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40267 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40268 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40271 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40272 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40273 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40276 COND_TOOLKIT_PM
="#"
40277 if test "x$TOOLKIT" = "xPM" ; then
40281 COND_TOOLKIT_PM_USE_GUI_1
="#"
40282 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40283 COND_TOOLKIT_PM_USE_GUI_1
=""
40286 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40287 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40288 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40291 COND_TOOLKIT_WINCE
="#"
40292 if test "x$TOOLKIT" = "xWINCE" ; then
40293 COND_TOOLKIT_WINCE
=""
40296 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40297 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40298 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40301 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40302 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40303 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40306 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40307 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40308 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40311 COND_TOOLKIT_X11
="#"
40312 if test "x$TOOLKIT" = "xX11" ; then
40313 COND_TOOLKIT_X11
=""
40316 COND_TOOLKIT_X11_USE_GUI_1
="#"
40317 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40318 COND_TOOLKIT_X11_USE_GUI_1
=""
40322 if test "x$UNICODE" = "x1" ; then
40326 COND_USE_CAIRO_1
="#"
40327 if test "x$USE_CAIRO" = "x1" ; then
40328 COND_USE_CAIRO_1
=""
40331 COND_USE_EXCEPTIONS_0
="#"
40332 if test "x$USE_EXCEPTIONS" = "x0" ; then
40333 COND_USE_EXCEPTIONS_0
=""
40336 COND_USE_EXCEPTIONS_1
="#"
40337 if test "x$USE_EXCEPTIONS" = "x1" ; then
40338 COND_USE_EXCEPTIONS_1
=""
40342 if test "x$USE_GUI" = "x0" ; then
40347 if test "x$USE_GUI" = "x1" ; then
40351 COND_USE_GUI_1_USE_OPENGL_1
="#"
40352 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40353 COND_USE_GUI_1_USE_OPENGL_1
=""
40356 COND_USE_GUI_1_WXUNIV_0
="#"
40357 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40358 COND_USE_GUI_1_WXUNIV_0
=""
40361 COND_USE_GUI_1_WXUNIV_1
="#"
40362 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40363 COND_USE_GUI_1_WXUNIV_1
=""
40366 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40367 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40368 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40371 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40372 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40373 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40376 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40377 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40378 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40381 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40382 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40383 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40386 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40387 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40388 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40391 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40392 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40393 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40396 COND_USE_OPENGL_1
="#"
40397 if test "x$USE_OPENGL" = "x1" ; then
40398 COND_USE_OPENGL_1
=""
40402 if test "x$USE_PCH" = "x1" ; then
40406 COND_USE_PLUGINS_0
="#"
40407 if test "x$USE_PLUGINS" = "x0" ; then
40408 COND_USE_PLUGINS_0
=""
40411 COND_USE_RTTI_0
="#"
40412 if test "x$USE_RTTI" = "x0" ; then
40416 COND_USE_RTTI_1
="#"
40417 if test "x$USE_RTTI" = "x1" ; then
40421 COND_USE_SOTWOSYMLINKS_1
="#"
40422 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40423 COND_USE_SOTWOSYMLINKS_1
=""
40426 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
40427 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40428 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
40431 COND_USE_SOVERLINUX_1
="#"
40432 if test "x$USE_SOVERLINUX" = "x1" ; then
40433 COND_USE_SOVERLINUX_1
=""
40436 COND_USE_SOVERSION_0
="#"
40437 if test "x$USE_SOVERSION" = "x0" ; then
40438 COND_USE_SOVERSION_0
=""
40441 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
40442 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40443 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
40446 COND_USE_SOVERSOLARIS_1
="#"
40447 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40448 COND_USE_SOVERSOLARIS_1
=""
40452 if test "x$USE_STC" = "x1" ; then
40456 COND_USE_THREADS_0
="#"
40457 if test "x$USE_THREADS" = "x0" ; then
40458 COND_USE_THREADS_0
=""
40461 COND_USE_THREADS_1
="#"
40462 if test "x$USE_THREADS" = "x1" ; then
40463 COND_USE_THREADS_1
=""
40467 if test "x$USE_XRC" = "x1" ; then
40471 COND_WINDOWS_IMPLIB_1
="#"
40472 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40473 COND_WINDOWS_IMPLIB_1
=""
40476 COND_WITH_PLUGIN_SDL_1
="#"
40477 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40478 COND_WITH_PLUGIN_SDL_1
=""
40482 if test "x$WXUNIV" = "x0" ; then
40487 if test "x$WXUNIV" = "x1" ; then
40491 COND_WXUSE_EXPAT_BUILTIN
="#"
40492 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40493 COND_WXUSE_EXPAT_BUILTIN
=""
40496 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40497 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40498 COND_WXUSE_LIBJPEG_BUILTIN
=""
40501 COND_WXUSE_LIBPNG_BUILTIN
="#"
40502 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40503 COND_WXUSE_LIBPNG_BUILTIN
=""
40506 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40507 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40508 COND_WXUSE_LIBTIFF_BUILTIN
=""
40511 COND_WXUSE_REGEX_BUILTIN
="#"
40512 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40513 COND_WXUSE_REGEX_BUILTIN
=""
40516 COND_WXUSE_ZLIB_BUILTIN
="#"
40517 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40518 COND_WXUSE_ZLIB_BUILTIN
=""
40521 COND_wxUSE_EXPAT_builtin
="#"
40522 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40523 COND_wxUSE_EXPAT_builtin
=""
40526 COND_wxUSE_LIBJPEG_builtin
="#"
40527 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40528 COND_wxUSE_LIBJPEG_builtin
=""
40531 COND_wxUSE_LIBPNG_builtin
="#"
40532 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40533 COND_wxUSE_LIBPNG_builtin
=""
40536 COND_wxUSE_LIBTIFF_builtin
="#"
40537 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40538 COND_wxUSE_LIBTIFF_builtin
=""
40541 COND_wxUSE_REGEX_builtin
="#"
40542 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40543 COND_wxUSE_REGEX_builtin
=""
40546 COND_wxUSE_ZLIB_builtin
="#"
40547 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40548 COND_wxUSE_ZLIB_builtin
=""
40553 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40554 as_fn_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)?" "$LINENO" 5
40557 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40558 as_fn_error $?
"Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." "$LINENO" 5
40565 ?
:* ) # Drive letter, considered as absolute.
40568 INSTALL
=`pwd`/${INSTALL} ;;
40571 if test "$wxUSE_GUI" = "yes"; then
40573 if test "$wxUSE_MSW" = 1 ; then
40574 if test "x$WINDRES" = "x"; then
40575 as_fn_error $?
"Required windres program not found" "$LINENO" 5
40581 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40582 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40583 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40585 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40587 # Extract the first word of "DeRez", so it can be a program name with args.
40588 set dummy DeRez
; ac_word
=$2
40589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40590 $as_echo_n "checking for $ac_word... " >&6; }
40591 if ${ac_cv_prog_DEREZ+:} false
; then :
40592 $as_echo_n "(cached) " >&6
40594 if test -n "$DEREZ"; then
40595 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
40597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40598 for as_dir
in $PATH
40601 test -z "$as_dir" && as_dir
=.
40602 for ac_exec_ext
in '' $ac_executable_extensions; do
40603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40604 ac_cv_prog_DEREZ
="DeRez"
40605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40612 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
40615 DEREZ
=$ac_cv_prog_DEREZ
40616 if test -n "$DEREZ"; then
40617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40618 $as_echo "$DEREZ" >&6; }
40620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40621 $as_echo "no" >&6; }
40626 MACSETFILE
="\$(SETFILE)"
40628 if test "$wxUSE_OSX_CARBON" = 1; then
40629 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40631 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
40633 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40634 RESCOMP
="cat /dev/null \| $REZ"
40635 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40641 if test "$wxUSE_PM" = 1; then
40643 WXCONFIG_RESFLAGS
="-ep"
40645 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
40647 POSTLINK_COMMAND
="@true"
40654 if test $GCC_PCH = 1
40656 if test "$wx_cv_gcc_pch_bug" = yes; then
40657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40658 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40660 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40662 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40665 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40666 # the headers that benefit from precompilation are mostly C++ headers.
40667 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
40668 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40669 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40673 if test "$wxUSE_MAC" = 1 ; then
40674 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40675 if test "x$disable_macosx_deps" = "xyes"; then
40676 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
40683 if test "$wxUSE_SHARED" = "yes"; then
40685 *-pc-os2_emx | *-pc-os2-emx )
40686 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40687 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40688 cp -p ${srcdir}/src
/os
2/dllnames.sh .
40689 cp -p ${srcdir}/src
/os
2/dllar.sh .
40693 if test "$wxUSE_OMF" = "yes"; then
40695 *-pc-os2_emx | *-pc-os2-emx )
40696 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
40697 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
40698 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
40703 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40708 if test "$GCC" = yes; then
40709 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
40710 LIBS
=`echo $LIBS | sed 's/-mt//g'`
40711 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40716 if test "x$SUNCXX" = xyes
; then
40717 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
40718 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
40719 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40724 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
40725 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40726 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
40727 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40729 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40791 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40793 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40794 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
40795 $as_echo_n "(cached) " >&6
40797 cat >conftest.
make <<\_ACEOF
40800 @
echo '@@@%%%=$(MAKE)=@@@%%%'
40802 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40803 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40804 *@@@
%%%=?
*=@@@
%%%*)
40805 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
40807 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
40809 rm -f conftest.
make
40811 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
40812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40813 $as_echo "yes" >&6; }
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40817 $as_echo "no" >&6; }
40818 SET_MAKE
="MAKE=${MAKE-make}"
40823 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40826 if test "$USE_WIN32" = 1; then
40827 ac_config_commands
="$ac_config_commands rcdefs.h"
40831 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40834 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40837 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
40840 if test "$wx_cv_version_script" = "yes"; then
40841 ac_config_files
="$ac_config_files version-script"
40844 ac_config_files
="$ac_config_files Makefile"
40847 ac_config_commands
="$ac_config_commands wx-config"
40851 if test "$wxWITH_SUBDIRS" != "no"; then
40852 if test "$wxUSE_GUI" = "yes"; then
40853 SUBDIRS
="samples demos utils"
40855 SUBDIRS
="samples utils"
40860 # Check whether --with-cppunit-prefix was given.
40861 if test "${with_cppunit_prefix+set}" = set; then :
40862 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
40864 cppunit_config_prefix
=""
40868 # Check whether --with-cppunit-exec-prefix was given.
40869 if test "${with_cppunit_exec_prefix+set}" = set; then :
40870 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
40872 cppunit_config_exec_prefix
=""
40876 if test x
$cppunit_config_exec_prefix != x
; then
40877 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40878 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40879 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
40882 if test x
$cppunit_config_prefix != x
; then
40883 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
40884 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40885 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
40889 # Extract the first word of "cppunit-config", so it can be a program name with args.
40890 set dummy cppunit
-config; ac_word
=$2
40891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40892 $as_echo_n "checking for $ac_word... " >&6; }
40893 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
40894 $as_echo_n "(cached) " >&6
40896 case $CPPUNIT_CONFIG in
40898 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40902 for as_dir
in $PATH
40905 test -z "$as_dir" && as_dir
=.
40906 for ac_exec_ext
in '' $ac_executable_extensions; do
40907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40908 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40916 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
40920 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
40921 if test -n "$CPPUNIT_CONFIG"; then
40922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40923 $as_echo "$CPPUNIT_CONFIG" >&6; }
40925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40926 $as_echo "no" >&6; }
40930 cppunit_version_min
=1.8.0
40932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40933 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40935 if test "$CPPUNIT_CONFIG" = "no" ; then
40936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40937 $as_echo "no" >&6; }
40940 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
40941 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
40942 cppunit_version
=`$CPPUNIT_CONFIG --version`
40944 cppunit_major_version
=`echo $cppunit_version | \
40945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40946 cppunit_minor_version
=`echo $cppunit_version | \
40947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40948 cppunit_micro_version
=`echo $cppunit_version | \
40949 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40951 cppunit_major_min
=`echo $cppunit_version_min | \
40952 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40953 cppunit_minor_min
=`echo $cppunit_version_min | \
40954 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40955 cppunit_micro_min
=`echo $cppunit_version_min | \
40956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40958 cppunit_version_proper
=`expr \
40959 $cppunit_major_version \> $cppunit_major_min \| \
40960 $cppunit_major_version \= $cppunit_major_min \& \
40961 $cppunit_minor_version \> $cppunit_minor_min \| \
40962 $cppunit_major_version \= $cppunit_major_min \& \
40963 $cppunit_minor_version \= $cppunit_minor_min \& \
40964 $cppunit_micro_version \>= $cppunit_micro_min `
40966 if test "$cppunit_version_proper" = "1" ; then
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40968 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
40970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40971 $as_echo "no" >&6; }
40976 if test "x$no_cppunit" = x
; then
40977 SUBDIRS
="$SUBDIRS tests"
40988 for subdir
in $SUBDIRS; do
40989 if test -d ${srcdir}/${subdir} ; then
40990 if test "$wxUSE_GUI" = "yes"; then
40991 if test ${subdir} = "samples"; then
40992 makefiles
="samples/Makefile.in $makefiles"
40993 for sample
in $SAMPLES_SUBDIRS; do
40994 if test -d $srcdir/samples
/$sample; then
40995 makefiles
="samples/$sample/Makefile.in $makefiles"
40999 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41000 eval "disabled=\$$disabled_var"
41001 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41002 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41005 if test ${subdir} = "samples"; then
41006 makefiles
="samples/Makefile.in $makefiles"
41007 for sample
in `echo $SAMPLES_SUBDIRS`; do
41008 if test -d $srcdir/samples
/$sample; then
41009 makefiles
="samples/$sample/Makefile.in $makefiles"
41012 elif test ${subdir} = "utils"; then
41014 for util
in ifacecheck
; do
41015 if test -d $srcdir/utils
/$util ; then
41016 makefiles
="utils/$util/src/Makefile.in \
41021 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41025 for mkin
in $makefiles ; do
41026 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41027 ac_config_files
="$ac_config_files $mk"
41033 cat >confcache
<<\_ACEOF
41034 # This file is a shell script that caches the results of configure
41035 # tests run on this system so they can be shared between configure
41036 # scripts and configure runs, see configure's option --config-cache.
41037 # It is not useful on other systems. If it contains results you don't
41038 # want to keep, you may remove or edit it.
41040 # config.status only pays attention to the cache file if you give it
41041 # the --recheck option to rerun configure.
41043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41045 # following values.
41049 # The following way of writing the cache mishandles newlines in values,
41050 # but we know of no workaround that is simple, portable, and efficient.
41051 # So, we kill variables containing newlines.
41052 # Ultrix sh set writes to stderr and can't be redirected directly,
41053 # and sets the high bit in the cache file unless we assign to the vars.
41055 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41056 eval ac_val
=\$
$ac_var
41060 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41061 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41064 _
| IFS
| as_nl
) ;; #(
41065 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41066 *) { eval $ac_var=; unset $ac_var;} ;;
41072 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41073 *${as_nl}ac_space
=\
*)
41074 # `set' does not quote correctly, so add quotes: double-quote
41075 # substitution turns \\\\ into \\, and sed turns \\ into \.
41078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41081 # `set' quotes correctly as required by POSIX, so do not add quotes.
41082 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41091 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41093 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41095 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41096 if test -w "$cache_file"; then
41097 if test "x$cache_file" != "x/dev/null"; then
41098 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41099 $as_echo "$as_me: updating cache $cache_file" >&6;}
41100 if test ! -f "$cache_file" || test -h "$cache_file"; then
41101 cat confcache
>"$cache_file"
41103 case $cache_file in #(
41105 mv -f confcache
"$cache_file"$$
&&
41106 mv -f "$cache_file"$$
"$cache_file" ;; #(
41108 mv -f confcache
"$cache_file" ;;
41113 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41114 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41119 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41120 # Let make expand exec_prefix.
41121 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41123 DEFS
=-DHAVE_CONFIG_H
41128 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41129 # 1. Remove the extension, and $U if already installed.
41130 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41131 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41132 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41133 # will be set to the directory where LIBOBJS objects are built.
41134 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41135 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41137 LIBOBJS
=$ac_libobjs
41139 LTLIBOBJS
=$ac_ltlibobjs
41143 : "${CONFIG_STATUS=./config.status}"
41145 ac_clean_files_save
=$ac_clean_files
41146 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41147 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41148 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41150 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41152 # Generated by $as_me.
41153 # Run this file to recreate the current configuration.
41154 # Compiler output produced by configure, useful for debugging
41155 # configure, is in config.log if it exists.
41158 ac_cs_recheck=false
41161 SHELL=\${CONFIG_SHELL-$SHELL}
41164 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41165 ## -------------------- ##
41166 ## M4sh Initialization. ##
41167 ## -------------------- ##
41169 # Be more Bourne compatible
41170 DUALCASE
=1; export DUALCASE
# for MKS sh
41171 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41174 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41175 # is contrary to our usage. Disable this feature.
41176 alias -g '${1+"$@"}'='"$@"'
41177 setopt NO_GLOB_SUBST
41179 case `(set -o) 2>/dev/null` in #(
41191 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41192 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41193 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41195 # Prefer a ksh shell builtin over an external printf program on Solaris,
41196 # but without wasting forks for bash or zsh.
41197 if test -z "$BASH_VERSION$ZSH_VERSION" \
41198 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41199 as_echo='print
-r --'
41200 as_echo_n='print
-rn --'
41201 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41202 as_echo='printf %s
\n'
41203 as_echo_n='printf %s
'
41205 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41206 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41207 as_echo_n='/usr
/ucb
/echo -n'
41209 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41210 as_echo_n_body='eval
41214 expr "X$arg" : "X\\(.*\\)$as_nl";
41215 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41217 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41219 export as_echo_n_body
41220 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41222 export as_echo_body
41223 as_echo='sh
-c $as_echo_body as_echo
'
41226 # The user is always right.
41227 if test "${PATH_SEPARATOR+set}" != set; then
41229 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41230 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41237 # We need space, tab and new line, in precisely that order. Quoting is
41238 # there to prevent editors from complaining about space-tab.
41239 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41240 # splitting by setting IFS to empty value.)
41243 # Find who we are. Look in the path if we contain no directory separator.
41246 *[\\/]* ) as_myself=$0 ;;
41247 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41248 for as_dir in $PATH
41251 test -z "$as_dir" && as_dir=.
41252 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41258 # We did not find ourselves, most probably we were run as `sh COMMAND'
41259 # in which case we are not to be found in the path.
41260 if test "x$as_myself" = x
; then
41263 if test ! -f "$as_myself"; then
41264 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41268 # Unset variables that we do not need and which cause bugs (e.g. in
41269 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41270 # suppresses any "Segmentation fault" message there. '((' could
41271 # trigger a bug in pdksh 5.2.14.
41272 for as_var
in BASH_ENV ENV MAIL MAILPATH
41273 do eval test x\
${$as_var+set} = xset \
41274 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41287 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41290 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41291 # ----------------------------------------
41292 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41293 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41294 # script with STATUS, using 1 if that was 0.
41297 as_status
=$1; test $as_status -eq 0 && as_status
=1
41299 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41300 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41302 $as_echo "$as_me: error: $2" >&2
41303 as_fn_exit
$as_status
41307 # as_fn_set_status STATUS
41308 # -----------------------
41309 # Set $? to STATUS, without forking.
41310 as_fn_set_status
()
41313 } # as_fn_set_status
41315 # as_fn_exit STATUS
41316 # -----------------
41317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41321 as_fn_set_status
$1
41327 # Portably unset VAR.
41330 { eval $1=; unset $1;}
41332 as_unset
=as_fn_unset
41333 # as_fn_append VAR VALUE
41334 # ----------------------
41335 # Append the text in VALUE to the end of the definition contained in VAR. Take
41336 # advantage of any shell optimizations that allow amortized linear growth over
41337 # repeated appends, instead of the typical quadratic growth present in naive
41339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41340 eval 'as_fn_append ()
41351 # as_fn_arith ARG...
41352 # ------------------
41353 # Perform arithmetic evaluation on the ARGs, and store the result in the
41354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41355 # must be portable across $(()) and expr.
41356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41357 eval 'as_fn_arith ()
41364 as_val
=`expr "$@" || test $? -eq 1`
41369 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41370 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41376 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41377 as_basename
=basename
41382 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41388 as_me
=`$as_basename -- "$0" ||
41389 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41390 X"$0" : 'X\(//\)$' \| \
41391 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41393 sed '/^.*\/\([^/][^/]*\)\/*$/{
41407 # Avoid depending upon Character Ranges.
41408 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41409 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41410 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41411 as_cr_digits
='0123456789'
41412 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41414 ECHO_C
= ECHO_N
= ECHO_T
=
41415 case `echo -n x` in #(((((
41417 case `echo 'xy\c'` in
41418 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
41420 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
41427 rm -f conf$$ conf$$.exe conf$$.
file
41428 if test -d conf$$.dir
; then
41429 rm -f conf$$.dir
/conf$$.
file
41432 mkdir conf$$.dir
2>/dev
/null
41434 if (echo >conf$$.
file) 2>/dev
/null
; then
41435 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41437 # ... but there are two gotchas:
41438 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41439 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41440 # In both cases, we have to default to `cp -p'.
41441 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
41443 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41451 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
41452 rmdir conf$$.dir
2>/dev
/null
41457 # Create "$as_dir" as a directory, including parents if necessary.
41462 -*) as_dir
=.
/$as_dir;;
41464 test -d "$as_dir" || eval $as_mkdir_p || {
41468 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41469 *) as_qdir
=$as_dir;;
41471 as_dirs
="'$as_qdir' $as_dirs"
41472 as_dir
=`$as_dirname -- "$as_dir" ||
41473 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41474 X"$as_dir" : 'X\(//\)[^/]' \| \
41475 X"$as_dir" : 'X\(//\)$' \| \
41476 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41477 $as_echo X"$as_dir" |
41478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41482 /^X\(\/\/\)[^/].*/{
41495 test -d "$as_dir" && break
41497 test -z "$as_dirs" || eval "mkdir $as_dirs"
41498 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
41502 if mkdir -p .
2>/dev
/null
; then
41503 as_mkdir_p
='mkdir -p "$as_dir"'
41505 test -d .
/-p && rmdir .
/-p
41509 if test -x / >/dev
/null
2>&1; then
41510 as_test_x
='test -x'
41512 if ls -dL / >/dev
/null
2>&1; then
41519 if test -d "$1"; then
41525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
41526 ???[sx]*):;;*)false;;esac;fi
41530 as_executable_p
=$as_test_x
41532 # Sed expression to map a string onto a valid CPP name.
41533 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41535 # Sed expression to map a string onto a valid variable name.
41536 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41540 ## ----------------------------------- ##
41541 ## Main body of $CONFIG_STATUS script. ##
41542 ## ----------------------------------- ##
41544 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
41546 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41547 # Save the log message, to keep $0 and so on meaningful, and to
41548 # report actual input values of CONFIG_FILES etc. instead of their
41549 # values after options handling.
41551 This file was extended by wxWidgets $as_me 2.9.5, which was
41552 generated by GNU Autoconf 2.68. Invocation command line was
41554 CONFIG_FILES = $CONFIG_FILES
41555 CONFIG_HEADERS = $CONFIG_HEADERS
41556 CONFIG_LINKS = $CONFIG_LINKS
41557 CONFIG_COMMANDS = $CONFIG_COMMANDS
41560 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41565 case $ac_config_files in *"
41566 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
41569 case $ac_config_headers in *"
41570 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
41574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41575 # Files that config.status was made for.
41576 config_files="$ac_config_files"
41577 config_headers="$ac_config_headers"
41578 config_commands="$ac_config_commands"
41582 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41584 \`$as_me' instantiates files and other configuration actions
41585 from templates according to the current configuration. Unless the files
41586 and actions are specified as TAGs, all are instantiated by default.
41588 Usage: $0 [OPTION]... [TAG]...
41590 -h, --help print this help, then exit
41591 -V, --version print version number and configuration settings, then exit
41592 --config print configuration, then exit
41593 -q, --quiet, --silent
41594 do not print progress messages
41595 -d, --debug don't remove temporary files
41596 --recheck update $as_me by reconfiguring in the same conditions
41597 --file=FILE[:TEMPLATE]
41598 instantiate the configuration file FILE
41599 --header=FILE[:TEMPLATE]
41600 instantiate the configuration header FILE
41602 Configuration files:
41605 Configuration headers:
41608 Configuration commands:
41611 Report bugs to <wx-dev@lists.wxwidgets.org>."
41614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41615 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41617 wxWidgets config.status 2.9.5
41618 configured by $0, generated by GNU Autoconf 2.68,
41619 with options \\"\$ac_cs_config\\"
41621 Copyright (C) 2010 Free Software Foundation, Inc.
41622 This config.status script is free software; the Free Software Foundation
41623 gives unlimited permission to copy, distribute and modify it."
41628 test -n "\$AWK" || AWK=awk
41631 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41632 # The default lists apply if the user does not specify any file.
41638 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41639 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
41643 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41655 # Handling of the options.
41656 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41658 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41659 $as_echo "$ac_cs_version"; exit ;;
41660 --config | --confi | --conf | --con | --co | --c )
41661 $as_echo "$ac_cs_config"; exit ;;
41662 --debug | --debu | --deb | --de | --d | -d )
41664 --file | --fil | --fi | --f )
41667 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41668 '') as_fn_error $?
"missing file argument" ;;
41670 as_fn_append CONFIG_FILES
" '$ac_optarg'"
41671 ac_need_defaults
=false
;;
41672 --header | --heade | --head | --hea )
41675 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41677 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
41678 ac_need_defaults
=false
;;
41680 # Conflict between --help and --header
41681 as_fn_error $?
"ambiguous option: \`$1'
41682 Try \`$0 --help' for more information.";;
41683 --help | --hel | -h )
41684 $as_echo "$ac_cs_usage"; exit ;;
41685 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41686 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41689 # This is an error.
41690 -*) as_fn_error $?
"unrecognized option: \`$1'
41691 Try \`$0 --help' for more information." ;;
41693 *) as_fn_append ac_config_targets
" $1"
41694 ac_need_defaults
=false
;;
41700 ac_configure_extra_args
=
41702 if $ac_cs_silent; then
41704 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41709 if \$ac_cs_recheck; then
41710 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41712 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41713 CONFIG_SHELL='$SHELL'
41714 export CONFIG_SHELL
41719 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41723 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41724 ## Running $as_me. ##
41730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41736 infile="$srcdir/include/wx/msw/genrcdefs.h"
41737 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41740 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41741 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41742 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41748 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41750 # Handling of arguments.
41751 for ac_config_target
in $ac_config_targets
41753 case $ac_config_target in
41754 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41755 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
41756 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41757 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41758 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41759 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41760 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41761 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
41762 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41764 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
41769 # If the user did not use the arguments to specify the items to instantiate,
41770 # then the envvar interface is used. Set only those that are not.
41771 # We use the long form for the default assignment because of an extremely
41772 # bizarre bug on SunOS 4.1.3.
41773 if $ac_need_defaults; then
41774 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41775 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41776 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41779 # Have a temporary directory for convenience. Make it in the build tree
41780 # simply because there is no reason against having it here, and in addition,
41781 # creating and moving files from /tmp can sometimes cause problems.
41782 # Hook for its removal unless debugging.
41783 # Note that there is a small window in which the directory will not be cleaned:
41784 # after its creation but before its name has been assigned to `$tmp'.
41788 trap 'exit_status=$?
41789 : "${ac_tmp:=$tmp}"
41790 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
41792 trap 'as_fn_exit 1' 1 2 13 15
41794 # Create a (secure) tmp directory for tmp files.
41797 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41801 tmp
=.
/conf$$
-$RANDOM
41802 (umask 077 && mkdir "$tmp")
41803 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
41806 # Set up the scripts for CONFIG_FILES section.
41807 # No need to generate them if there are no CONFIG_FILES.
41808 # This happens for instance with `./config.status config.h'.
41809 if test -n "$CONFIG_FILES"; then
41812 ac_cr
=`echo X | tr X '\015'`
41813 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41814 # But we know of no other shell where ac_cr would be empty at this
41815 # point, so we can use a bashism as a fallback.
41816 if test "x$ac_cr" = x
; then
41817 eval ac_cr
=\$
\'\\r
\'
41819 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41820 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41823 ac_cs_awk_cr
=$ac_cr
41826 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
41831 echo "cat >conf$$subs.awk <<_ACEOF" &&
41832 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41834 } >conf$$subs.sh ||
41835 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41836 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41838 for ac_last_try in false false false false false :; do
41839 . ./conf$$subs.sh ||
41840 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41842 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
41843 if test $ac_delim_n = $ac_delim_num; then
41845 elif $ac_last_try; then
41846 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41848 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
41851 rm -f conf$$subs.sh
41853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41854 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
41858 s/^/S["/; s
/!.
*/"]=/
41868 s/\(.\{148\}\)..*/\1/
41870 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
41875 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
41882 s/\(.\{148\}\)..*/\1/
41884 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
41888 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
41893 ' <conf$$subs.awk | sed '
41898 ' >>$CONFIG_STATUS || ac_write_fail=1
41899 rm -f conf$$subs.awk
41900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41902 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
41903 for (key in S) S_is_set[key] = 1
41909 nfields = split(line, field, "@
")
41911 len = length(field[1])
41912 for (i = 2; i < nfields; i++) {
41914 keylen = length(key)
41915 if (S_is_set[key]) {
41917 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41918 len += length(value) + length(field[++i])
41929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41930 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41931 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
41934 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
41935 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
41938 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41939 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
41940 # trailing colons and then remove the whole line if VPATH becomes empty
41941 # (actually we leave an empty line to preserve line numbers).
41942 if test "x
$srcdir" = x.; then
41943 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
41961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41962 fi # test -n "$CONFIG_FILES"
41964 # Set up the scripts for CONFIG_HEADERS section.
41965 # No need to generate them if there are no CONFIG_HEADERS.
41966 # This happens for instance with `./config.status Makefile'.
41967 if test -n "$CONFIG_HEADERS"; then
41968 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
41972 # Transform confdefs.h into an awk script `defines.awk', embedded as
41973 # here-document in config.status, that substitutes the proper values into
41974 # config.h.in to produce config.h.
41976 # Create a delimiter string that does not exist in confdefs.h, to ease
41977 # handling of long lines.
41979 for ac_last_try in false false :; do
41980 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
41981 if test -z "$ac_tt"; then
41983 elif $ac_last_try; then
41984 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
41986 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
41990 # For the awk script, D is an array of macro values keyed by name,
41991 # likewise P contains macro parameters if any. Preserve backslash
41992 # newline sequences.
41994 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
41996 s/.\{148\}/&'"$ac_delim"'/g
41999 s/^[ ]*#[ ]*define[ ][ ]*/ /
42006 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42008 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42012 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42013 D["\
1"]=" \
3\\\\\\n
"\\/p
42015 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42020 s/.\{148\}/&'"$ac_delim"'/g
42025 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42028 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42030 ' <confdefs.h | sed '
42031 s/'"$ac_delim"'/"\\\
42032 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42035 for (key in D) D_is_set[key] = 1
42038 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42040 split(line, arg, " ")
42041 if (arg[1] == "#") {
42045 defundef
= substr
(arg
[1], 2)
42048 split(mac1
, mac2
, "(") #)
42050 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42051 if (D_is_set
[macro
]) {
42052 # Preserve the white space surrounding the "#".
42053 print prefix
"define", macro P
[macro
] D
[macro
]
42056 # Replace #undef with comments. This is necessary, for example,
42057 # in the case of _POSIX_SOURCE, which is predefined and required
42058 # on some systems where configure will not decide to define it.
42059 if (defundef
== "undef") {
42060 print
"/*", prefix defundef
, macro
, "*/"
42068 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42069 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42070 fi # test -n "$CONFIG_HEADERS"
42073 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42078 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42080 case $ac_mode$ac_tag in
42082 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42083 :[FH
]-) ac_tag
=-:-;;
42084 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42101 -) ac_f
="$ac_tmp/stdin";;
42102 *) # Look for the file first in the build tree, then in the source tree
42103 # (if the path is not absolute). The absolute path cannot be DOS-style,
42104 # because $ac_f cannot contain `:'.
42108 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42110 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42112 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42113 as_fn_append ac_file_inputs
" '$ac_f'"
42116 # Let's still pretend it is `configure' which instantiates (i.e., don't
42117 # use $as_me), people would be surprised to read:
42118 # /* config.h. Generated by config.status. */
42119 configure_input
='Generated from '`
42120 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42122 if test x
"$ac_file" != x
-; then
42123 configure_input
="$ac_file. $configure_input"
42124 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42125 $as_echo "$as_me: creating $ac_file" >&6;}
42127 # Neutralize special characters interpreted by sed in replacement strings.
42128 case $configure_input in #(
42129 *\
&* | *\
|* | *\\* )
42130 ac_sed_conf_input
=`$as_echo "$configure_input" |
42131 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42132 *) ac_sed_conf_input
=$configure_input;;
42136 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42137 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42142 ac_dir
=`$as_dirname -- "$ac_file" ||
42143 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42144 X"$ac_file" : 'X\(//\)[^/]' \| \
42145 X"$ac_file" : 'X\(//\)$' \| \
42146 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42147 $as_echo X"$ac_file" |
42148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42152 /^X\(\/\/\)[^/].*/{
42165 as_dir
="$ac_dir"; as_fn_mkdir_p
42169 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42171 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42172 # A ".." for each directory in $ac_dir_suffix.
42173 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42174 case $ac_top_builddir_sub in
42175 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42176 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42179 ac_abs_top_builddir
=$ac_pwd
42180 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42181 # for backward compatibility:
42182 ac_top_builddir
=$ac_top_build_prefix
42185 .
) # We are building in place.
42187 ac_top_srcdir
=$ac_top_builddir_sub
42188 ac_abs_top_srcdir
=$ac_pwd ;;
42189 [\\/]* | ?
:[\\/]* ) # Absolute name.
42190 ac_srcdir
=$srcdir$ac_dir_suffix;
42191 ac_top_srcdir
=$srcdir
42192 ac_abs_top_srcdir
=$srcdir ;;
42193 *) # Relative name.
42194 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42195 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42196 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42198 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42208 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42209 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42213 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42214 # If the template does not know about datarootdir, expand it.
42215 # FIXME: This hack should be removed a few years after 2.60.
42216 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42227 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42228 *datarootdir
*) ac_datarootdir_seen
=yes;;
42229 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42231 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42234 ac_datarootdir_hack='
42235 s&@datadir@&$datadir&g
42236 s&@docdir@&$docdir&g
42237 s&@infodir@&$infodir&g
42238 s&@localedir@&$localedir&g
42239 s&@mandir@&$mandir&g
42240 s&\\\${datarootdir}&$datarootdir&g' ;;
42244 # Neutralize VPATH when `$srcdir' = `.'.
42245 # Shell code in configure.ac might set extrasub.
42246 # FIXME: do we really want to maintain this feature?
42247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42248 ac_sed_extra="$ac_vpsub
42251 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42253 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42254 s
|@configure_input@
|$ac_sed_conf_input|;t t
42255 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42256 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42257 s
&@srcdir@
&$ac_srcdir&;t t
42258 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42259 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42260 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42261 s
&@builddir@
&$ac_builddir&;t t
42262 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42263 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42264 s
&@INSTALL@
&$ac_INSTALL&;t t
42265 $ac_datarootdir_hack
42267 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42268 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42270 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42271 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42272 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42273 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42275 which seems to be undefined. Please make sure it is defined" >&5
42276 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42277 which seems to be undefined. Please make sure it is defined" >&2;}
42279 rm -f "$ac_tmp/stdin"
42281 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42282 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42284 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42290 if test x"$ac_file" != x-; then
42292 $as_echo "/* $configure_input */" \
42293 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42294 } >"$ac_tmp/config.h" \
42295 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42296 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42297 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42298 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42301 mv "$ac_tmp/config.h" "$ac_file" \
42302 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42305 $as_echo "/* $configure_input */" \
42306 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42307 || as_fn_error $? "could not create -" "$LINENO" 5
42311 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42312 $as_echo "$as_me: executing $ac_file commands" >&6;}
42317 case $ac_file$ac_mode in
42319 mkdir -p $outdir &&
42320 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42322 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42323 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42324 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42325 "wx-config":C
) rm -f wx
-config
42326 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42335 ac_clean_files
=$ac_clean_files_save
42337 test $ac_write_fail = 0 ||
42338 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42341 # configure is writing to config.log, and then calls config.status.
42342 # config.status does its own redirection, appending to config.log.
42343 # Unfortunately, on DOS this fails, as config.log is still kept open
42344 # by configure, so config.status won't be able to write to it; its
42345 # output is simply discarded. So we exec the FD to /dev/null,
42346 # effectively closing config.log, so it can be properly (re)opened and
42347 # appended to by config.status. When coming back to configure, we
42348 # need to make the FD available again.
42349 if test "$no_create" != yes; then
42351 ac_config_status_args
=
42352 test "$silent" = yes &&
42353 ac_config_status_args
="$ac_config_status_args --quiet"
42355 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42357 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42358 # would make configure fail if this is the last instruction.
42359 $ac_cs_success || as_fn_exit
1
42363 # CONFIG_SUBDIRS section.
42365 if test "$no_recursion" != yes; then
42367 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42368 # so they do not pile up.
42369 ac_sub_configure_args
=
42371 eval "set x $ac_configure_args"
42375 if test -n "$ac_prev"; then
42380 -cache-file | --cache-file | --cache-fil | --cache-fi \
42381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42382 ac_prev
=cache_file
;;
42383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42387 --config-cache | -C)
42389 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42391 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42393 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42395 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42397 --disable-option-checking)
42401 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42403 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42407 # Always prepend --prefix to ensure using the same prefix
42408 # in subdir configurations.
42409 ac_arg
="--prefix=$prefix"
42411 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42413 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42416 if test "$silent" = yes; then
42417 ac_sub_configure_args
="--silent $ac_sub_configure_args"
42420 # Always prepend --disable-option-checking to silence warnings, since
42421 # different subdirs can have different --enable and --with options.
42422 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
42425 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42427 # Do not complain, so a configure script can configure whichever
42428 # parts of a large source tree are present.
42429 test -d "$srcdir/$ac_dir" || continue
42431 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42432 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42433 $as_echo "$ac_msg" >&6
42434 as_dir
="$ac_dir"; as_fn_mkdir_p
42438 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42440 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42441 # A ".." for each directory in $ac_dir_suffix.
42442 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42443 case $ac_top_builddir_sub in
42444 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42445 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42448 ac_abs_top_builddir
=$ac_pwd
42449 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42450 # for backward compatibility:
42451 ac_top_builddir
=$ac_top_build_prefix
42454 .
) # We are building in place.
42456 ac_top_srcdir
=$ac_top_builddir_sub
42457 ac_abs_top_srcdir
=$ac_pwd ;;
42458 [\\/]* | ?
:[\\/]* ) # Absolute name.
42459 ac_srcdir
=$srcdir$ac_dir_suffix;
42460 ac_top_srcdir
=$srcdir
42461 ac_abs_top_srcdir
=$srcdir ;;
42462 *) # Relative name.
42463 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42464 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42465 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42467 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42472 # Check for guested configure; otherwise get Cygnus style configure.
42473 if test -f "$ac_srcdir/configure.gnu"; then
42474 ac_sub_configure
=$ac_srcdir/configure.gnu
42475 elif test -f "$ac_srcdir/configure"; then
42476 ac_sub_configure
=$ac_srcdir/configure
42477 elif test -f "$ac_srcdir/configure.in"; then
42478 # This should be Cygnus configure.
42479 ac_sub_configure
=$ac_aux_dir/configure
42481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42486 # The recursion is here.
42487 if test -n "$ac_sub_configure"; then
42488 # Make the cache file name correct relative to the subdirectory.
42489 case $cache_file in
42490 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42491 *) # Relative name.
42492 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
42495 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42496 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42497 # The eval makes quoting arguments work.
42498 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42499 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42500 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42506 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
42507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42508 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42513 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42515 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42516 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42517 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42518 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42519 if test "$wxUSE_UNICODE" = "yes"; then
42520 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42521 echo " (using UTF-8)"
42523 echo " (using wchar_t)"
42529 echo " What level of wxWidgets compatibility should be enabled?"
42530 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42531 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42533 echo " Which libraries should wxWidgets use?"
42534 echo " STL ${wxUSE_STL}"
42535 echo " jpeg ${wxUSE_LIBJPEG-none}"
42536 echo " png ${wxUSE_LIBPNG-none}"
42537 echo " regex ${wxUSE_REGEX}"
42538 echo " tiff ${wxUSE_LIBTIFF-none}"
42539 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42540 echo " xpm ${wxUSE_LIBXPM-none}"
42542 echo " zlib ${wxUSE_ZLIB}"
42543 echo " expat ${wxUSE_EXPAT}"
42544 echo " libmspack ${wxUSE_LIBMSPACK}"
42545 echo " sdl ${wxUSE_LIBSDL}"