diff --git a/build/cmake/init.cmake b/build/cmake/init.cmake index 16ffc0f035..c9604fb48b 100644 --- a/build/cmake/init.cmake +++ b/build/cmake/init.cmake @@ -444,15 +444,21 @@ if(wxUSE_GUI) if(wxUSE_WEBVIEW) if(WXGTK) if(wxUSE_WEBVIEW_WEBKIT) - find_package(LIBSOUP) + set(WEBKIT_LIBSOUP_VERSION 2.4) if(WXGTK2) find_package(WEBKIT 1.0) elseif(WXGTK3) - find_package(WEBKIT2) + find_package(WEBKIT2 4.1) + if(WEBKIT2_FOUND) + set(WEBKIT_LIBSOUP_VERSION 3.0) + else() + find_package(WEBKIT2 4.0) + endif() if(NOT WEBKIT2_FOUND) find_package(WEBKIT 3.0) endif() endif() + find_package(LIBSOUP ${WEBKIT_LIBSOUP_VERSION}) endif() set(wxUSE_WEBVIEW_WEBKIT OFF) set(wxUSE_WEBVIEW_WEBKIT2 OFF) diff --git a/build/cmake/modules/FindLIBSOUP.cmake b/build/cmake/modules/FindLIBSOUP.cmake index cbfba1cf93..2433d141ea 100644 --- a/build/cmake/modules/FindLIBSOUP.cmake +++ b/build/cmake/modules/FindLIBSOUP.cmake @@ -31,19 +31,27 @@ # LibSoup does not provide an easy way to retrieve its version other than its # .pc file, so we need to rely on PC_LIBSOUP_VERSION and REQUIRE the .pc file # to be found. +SET(LIBSOUP_VERSION 2.4) +if(DEFINED LIBSOUP_FIND_VERSION) + SET(LIBSOUP_VERSION ${LIBSOUP_FIND_VERSION}) +endif() + +set(LIBSOUP_INCLUDE_DIRS LIBSOUP_INCLUDE_DIRS-NOTFOUND) +set(LIBSOUP_LIBRARIES LIBSOUP_LIBRARIES-NOTFOUND) + FIND_PACKAGE(PkgConfig) -PKG_CHECK_MODULES(PC_LIBSOUP QUIET libsoup-2.4) +PKG_CHECK_MODULES(PC_LIBSOUP QUIET libsoup-${LIBSOUP_VERSION}) if(PC_LIBSOUP_FOUND) FIND_PATH(LIBSOUP_INCLUDE_DIRS NAMES libsoup/soup.h HINTS ${PC_LIBSOUP_INCLUDEDIR} ${PC_LIBSOUP_INCLUDE_DIRS} - PATH_SUFFIXES libsoup-2.4 + PATH_SUFFIXES libsoup-${LIBSOUP_VERSION} ) FIND_LIBRARY(LIBSOUP_LIBRARIES - NAMES soup-2.4 + NAMES soup-${LIBSOUP_VERSION} HINTS ${PC_LIBSOUP_LIBDIR} ${PC_LIBSOUP_LIBRARY_DIRS} ) diff --git a/build/cmake/modules/FindWEBKIT2.cmake b/build/cmake/modules/FindWEBKIT2.cmake index 133e7a4563..e39077ac4a 100644 --- a/build/cmake/modules/FindWEBKIT2.cmake +++ b/build/cmake/modules/FindWEBKIT2.cmake @@ -5,7 +5,10 @@ # WEBKIT2_LIBRARIES - List of libraries when using Webkit2. # WEBKIT2_FOUND - True if Webkit2 found. -SET( WEBKIT2_VERSION 4.0) +SET(WEBKIT2_VERSION 4.0) +if(DEFINED WEBKIT2_FIND_VERSION) + SET(WEBKIT2_VERSION ${WEBKIT2_FIND_VERSION}) +endif() set(WEBKIT2_INCLUDE_DIR WEBKIT2_INCLUDE_DIR-NOTFOUND) set(WEBKIT2_LIBRARY WEBKIT2_LIBRARY-NOTFOUND) diff --git a/configure b/configure index 879c62bf5b..96b2232b99 100755 --- a/configure +++ b/configure @@ -1,11 +1,12 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for wxWidgets 3.3.0. +# Generated by GNU Autoconf 2.71 for wxWidgets 3.3.0. # # Report bugs to . # # -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -16,14 +17,16 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -33,46 +36,46 @@ esac fi + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi +IFS=" "" $as_nl" + +PS1='$ ' +PS2='> ' +PS4='+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -81,13 +84,6 @@ if test "${PATH_SEPARATOR+set}" != set; then fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -96,8 +92,12 @@ case $0 in #(( for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS @@ -109,30 +109,10 @@ if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. @@ -154,20 +134,22 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + as_bourne_compatible="as_nop=: +if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST -else +else \$as_nop case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( @@ -187,42 +169,53 @@ as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : +if ( set x; as_fn_ret_success y && test x = \"\$1\" ) +then : -else +else \$as_nop exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 +blah=\$(echo \$(echo blah)) +test x\"\$blah\" = xblah || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : + if (eval "$as_required") 2>/dev/null +then : as_have_required=yes -else +else $as_nop as_have_required=no fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null +then : -else +else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base + as_shell=$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null +then : CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null +then : break 2 fi fi @@ -230,14 +223,21 @@ fi esac as_found=false done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } IFS=$as_save_IFS +if $as_found +then : + +else $as_nop + if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null +then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi +fi - if test "x$CONFIG_SHELL" != x; then : + if test "x$CONFIG_SHELL" != x +then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also @@ -255,18 +255,19 @@ esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." + if test x$as_have_required = xno +then : + printf "%s\n" "$0: This script requires a shell more modern than all" + printf "%s\n" "$0: the shells that I found on your system." + if test ${ZSH_VERSION+y} ; then + printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" + printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else - $as_echo "$0: Please tell bug-autoconf@gnu.org and + printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and $0: wx-dev@googlegroups.com about your system, including $0: any error possibly output before this message. Then $0: install a modern shell, or manually run the script @@ -294,6 +295,7 @@ as_fn_unset () } as_unset=as_fn_unset + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -311,6 +313,14 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=as_fn_nop # as_fn_mkdir_p # ------------- @@ -325,7 +335,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -334,7 +344,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -373,12 +383,13 @@ as_fn_executable_p () # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=\$2 }' -else +else $as_nop as_fn_append () { eval $1=\$$1\$2 @@ -390,18 +401,27 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith +# as_fn_nop +# --------- +# Do nothing but, unlike ":", preserve the value of $?. +as_fn_nop () +{ + return $? +} +as_nop=as_fn_nop # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -413,9 +433,9 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -442,7 +462,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -486,7 +506,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall @@ -500,6 +520,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits exit } + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed +# for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) @@ -513,6 +537,13 @@ case `echo -n x` in #((((( ECHO_N='-n';; esac +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo='printf %s\n' +as_echo_n='printf %s' + + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -588,40 +619,36 @@ PACKAGE_URL='' ac_unique_file="wx-config.in" # Factoring default headers for most tests. ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include +#include +#ifdef HAVE_STDIO_H +# include #endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS +#ifdef HAVE_STDLIB_H # include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif #endif #ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif # include #endif -#ifdef HAVE_STRINGS_H -# include -#endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif #ifdef HAVE_UNISTD_H # include #endif" +ac_header_c_list= enable_option_checking=no enable_option_checking=fatal ac_subst_vars='subdirs_extra @@ -1509,8 +1536,6 @@ do *) ac_optarg=yes ;; esac - # Accept the important Cygnus configure options, so we can diagnose typos. - case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; @@ -1551,9 +1576,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1577,9 +1602,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + as_fn_error $? "invalid feature name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1790,9 +1815,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1806,9 +1831,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + as_fn_error $? "invalid package name: \`$ac_useropt'" ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1852,9 +1877,9 @@ Try \`$0 --help' for more information" *) # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; @@ -1870,7 +1895,7 @@ if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1934,7 +1959,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | +printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -2509,9 +2534,9 @@ if test "$ac_init_help" = "recursive"; then case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -2539,7 +2564,8 @@ esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. + # Check for configure.gnu first; this name is used for a wrapper for + # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive @@ -2547,7 +2573,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix echo && $SHELL "$ac_srcdir/configure" --help=recursive else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done @@ -2557,9 +2583,9 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF wxWidgets configure 3.3.0 -generated by GNU Autoconf 2.69 +generated by GNU Autoconf 2.71 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -2576,14 +2602,14 @@ fi ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext + rm -f conftest.$ac_objext conftest.beam if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2591,14 +2617,15 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err - } && test -s conftest.$ac_objext; then : + } && test -s conftest.$ac_objext +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2620,7 +2647,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2628,14 +2655,15 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err - }; then : + } +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2651,14 +2679,14 @@ fi ac_fn_cxx_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext + rm -f conftest.$ac_objext conftest.beam if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2666,14 +2694,15 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err - } && test -s conftest.$ac_objext; then : + } && test -s conftest.$ac_objext +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2689,14 +2718,14 @@ fi ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2704,17 +2733,18 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext - }; then : + } +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2735,14 +2765,14 @@ fi ac_fn_cxx_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext + rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2750,17 +2780,18 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext - }; then : + } +then : ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2782,34 +2813,69 @@ fi ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : eval "$3=yes" -else +else $as_nop eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile +# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES +# --------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_cxx_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_cxx_try_compile "$LINENO" +then : + eval "$3=yes" +else $as_nop + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_cxx_check_header_compile + # ac_fn_c_try_run LINENO # ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. +# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that +# executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack @@ -2819,25 +2885,26 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } +then : ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: program exited with status $ac_status" >&5 + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status @@ -2848,37 +2915,6 @@ fi } # ac_fn_c_try_run -# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES -# --------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_cxx_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_header_compile - # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES # -------------------------------------------- # Tries to find the compile-time value of EXPR in a program that includes @@ -2893,7 +2929,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { static int test_array [1 - 2 * !(($2) >= 0)]; test_array [0] = 0; @@ -2903,14 +2939,15 @@ return test_array [0]; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_lo=0 ac_mid=0 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; @@ -2920,9 +2957,10 @@ return test_array [0]; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_hi=$ac_mid; break -else +else $as_nop as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= @@ -2930,14 +2968,14 @@ else fi as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { static int test_array [1 - 2 * !(($2) < 0)]; test_array [0] = 0; @@ -2947,14 +2985,15 @@ return test_array [0]; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_hi=-1 ac_mid=-1 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; test_array [0] = 0; @@ -2964,9 +3003,10 @@ return test_array [0]; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_lo=$ac_mid; break -else +else $as_nop as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= @@ -2974,14 +3014,14 @@ else fi as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done -else +else $as_nop ac_lo= ac_hi= fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val @@ -2989,7 +3029,7 @@ while test "x$ac_lo" != "x$ac_hi"; do /* end confdefs.h. */ $4 int -main () +main (void) { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; @@ -2999,12 +3039,13 @@ return test_array [0]; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_hi=$ac_mid -else +else $as_nop as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done case $ac_lo in #(( ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; @@ -3014,12 +3055,12 @@ esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 -static long int longval () { return $2; } -static unsigned long int ulongval () { return $2; } +static long int longval (void) { return $2; } +static unsigned long int ulongval (void) { return $2; } #include #include int -main () +main (void) { FILE *f = fopen ("conftest.val", "w"); @@ -3047,9 +3088,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : echo >>conftest.val; read $3 &5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. @@ -3080,16 +3123,9 @@ else #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif + which can conflict with char $2 (); below. */ +#include #undef $2 /* Override any GCC internal prototype to avoid an error. @@ -3107,24 +3143,25 @@ choke me #endif int -main () +main (void) { return $2 (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$3=yes" -else +else $as_nop eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func @@ -3136,17 +3173,18 @@ $as_echo "$ac_res" >&6; } ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else $as_nop eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { if (sizeof ($2)) return 0; @@ -3154,12 +3192,13 @@ if (sizeof ($2)) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { if (sizeof (($2))) return 0; @@ -3167,117 +3206,27 @@ if (sizeof (($2))) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -else +else $as_nop eval "$3=yes" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval \${$3+:} false; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( $as_echo "## -------------------------------------- ## -## Report this to wx-dev@googlegroups.com ## -## -------------------------------------- ##" - ) | sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_mongrel - # ac_fn_cxx_try_run LINENO # ------------------------ -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. +# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that +# executables *can* be run. ac_fn_cxx_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack @@ -3287,25 +3236,26 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; } +then : ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: program exited with status $ac_status" >&5 + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status @@ -3315,14 +3265,34 @@ fi as_fn_set_status $ac_retval } # ac_fn_cxx_try_run +ac_configure_args_raw= +for ac_arg +do + case $ac_arg in + *\'*) + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append ac_configure_args_raw " '$ac_arg'" +done + +case $ac_configure_args_raw in + *$as_nl*) + ac_safe_unquote= ;; + *) + ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. + ac_unsafe_a="$ac_unsafe_z#~" + ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" + ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; +esac + cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by wxWidgets $as_me 3.3.0, which was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was - $ $0 $@ + $ $0$ac_configure_args_raw _ACEOF exec 5>>config.log @@ -3355,8 +3325,12 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + printf "%s\n" "PATH: $as_dir" done IFS=$as_save_IFS @@ -3391,7 +3365,7 @@ do | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -3426,11 +3400,13 @@ done # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? + # Sanitize IFS. + IFS=" "" $as_nl" # Save into config.log some information that might help in debugging. { echo - $as_echo "## ---------------- ## + printf "%s\n" "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo @@ -3441,8 +3417,8 @@ trap 'exit_status=$? case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -3466,7 +3442,7 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ) echo - $as_echo "## ----------------- ## + printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo @@ -3474,14 +3450,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - $as_echo "$ac_var='\''$ac_val'\''" + printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## + printf "%s\n" "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo @@ -3489,15 +3465,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - $as_echo "$ac_var='\''$ac_val'\''" + printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then - $as_echo "## ----------- ## + printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo @@ -3505,8 +3481,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; echo fi test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" + printf "%s\n" "$as_me: caught signal $ac_signal" + printf "%s\n" "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && @@ -3520,63 +3496,48 @@ ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h -$as_echo "/* confdefs.h */" > confdefs.h +printf "%s\n" "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF +printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF +printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF +printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF +printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF +printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF +printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=./$CONFIG_SITE;; - */*) ac_site_file1=$CONFIG_SITE;; - *) ac_site_file1=./$CONFIG_SITE;; - esac + ac_site_files="$CONFIG_SITE" elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site + ac_site_files="$prefix/share/config.site $prefix/etc/config.site" else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site + ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" + +for ac_site_file in $ac_site_files do - test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} + case $ac_site_file in #( + */*) : + ;; #( + *) : + ac_site_file=./$ac_site_file ;; +esac + if test -f "$ac_site_file" && test -r "$ac_site_file"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi @@ -3586,19 +3547,650 @@ if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +# Test code for whether the C compiler supports C89 (global declarations) +ac_c_conftest_c89_globals=' +/* Does the compiler advertise C89 conformance? + Do not test the value of __STDC__, because some compilers set it to 0 + while being otherwise adequately conformant. */ +#if !defined __STDC__ +# error "Compiler does not advertise C89 conformance" +#endif + +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ +struct buf { int x; }; +struct buf * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not \xHH hex character constants. + These do not provoke an error unfortunately, instead are silently treated + as an "x". The following induces an error, until -std is added to get + proper ANSI mode. Curiously \x00 != x always comes out true, for an + array size at least. It is necessary to write \x00 == 0 to get something + that is true only with -std. */ +int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) '\''x'\'' +int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), + int, int);' + +# Test code for whether the C compiler supports C89 (body of main). +ac_c_conftest_c89_main=' +ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); +' + +# Test code for whether the C compiler supports C99 (global declarations) +ac_c_conftest_c99_globals=' +// Does the compiler advertise C99 conformance? +#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L +# error "Compiler does not advertise C99 conformance" +#endif + +#include +extern int puts (const char *); +extern int printf (const char *, ...); +extern int dprintf (int, const char *, ...); +extern void *malloc (size_t); + +// Check varargs macros. These examples are taken from C99 6.10.3.5. +// dprintf is used instead of fprintf to avoid needing to declare +// FILE and stderr. +#define debug(...) dprintf (2, __VA_ARGS__) +#define showlist(...) puts (#__VA_ARGS__) +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +static void +test_varargs_macros (void) +{ + int x = 1234; + int y = 5678; + debug ("Flag"); + debug ("X = %d\n", x); + showlist (The first, second, and third items.); + report (x>y, "x is %d but y is %d", x, y); +} + +// Check long long types. +#define BIG64 18446744073709551615ull +#define BIG32 4294967295ul +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) +#if !BIG_OK + #error "your preprocessor is broken" +#endif +#if BIG_OK +#else + #error "your preprocessor is broken" +#endif +static long long int bignum = -9223372036854775807LL; +static unsigned long long int ubignum = BIG64; + +struct incomplete_array +{ + int datasize; + double data[]; +}; + +struct named_init { + int number; + const wchar_t *name; + double average; +}; + +typedef const char *ccp; + +static inline int +test_restrict (ccp restrict text) +{ + // See if C++-style comments work. + // Iterate through items via the restricted pointer. + // Also check for declarations in for loops. + for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) + continue; + return 0; +} + +// Check varargs and va_copy. +static bool +test_varargs (const char *format, ...) +{ + va_list args; + va_start (args, format); + va_list args_copy; + va_copy (args_copy, args); + + const char *str = ""; + int number = 0; + float fnumber = 0; + + while (*format) + { + switch (*format++) + { + case '\''s'\'': // string + str = va_arg (args_copy, const char *); + break; + case '\''d'\'': // int + number = va_arg (args_copy, int); + break; + case '\''f'\'': // float + fnumber = va_arg (args_copy, double); + break; + default: + break; + } + } + va_end (args_copy); + va_end (args); + + return *str && number && fnumber; +} +' + +# Test code for whether the C compiler supports C99 (body of main). +ac_c_conftest_c99_main=' + // Check bool. + _Bool success = false; + success |= (argc != 0); + + // Check restrict. + if (test_restrict ("String literal") == 0) + success = true; + char *restrict newvar = "Another string"; + + // Check varargs. + success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); + test_varargs_macros (); + + // Check flexible array members. + struct incomplete_array *ia = + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + ia->datasize = 10; + for (int i = 0; i < ia->datasize; ++i) + ia->data[i] = i * 1.234; + + // Check named initializers. + struct named_init ni = { + .number = 34, + .name = L"Test wide string", + .average = 543.34343, + }; + + ni.number = 58; + + int dynamic_array[ni.number]; + dynamic_array[0] = argv[0][0]; + dynamic_array[ni.number - 1] = 543; + + // work around unused variable warnings + ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' + || dynamic_array[ni.number - 1] != 543); +' + +# Test code for whether the C compiler supports C11 (global declarations) +ac_c_conftest_c11_globals=' +// Does the compiler advertise C11 conformance? +#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L +# error "Compiler does not advertise C11 conformance" +#endif + +// Check _Alignas. +char _Alignas (double) aligned_as_double; +char _Alignas (0) no_special_alignment; +extern char aligned_as_int; +char _Alignas (0) _Alignas (int) aligned_as_int; + +// Check _Alignof. +enum +{ + int_alignment = _Alignof (int), + int_array_alignment = _Alignof (int[100]), + char_alignment = _Alignof (char) +}; +_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); + +// Check _Noreturn. +int _Noreturn does_not_return (void) { for (;;) continue; } + +// Check _Static_assert. +struct test_static_assert +{ + int x; + _Static_assert (sizeof (int) <= sizeof (long int), + "_Static_assert does not work in struct"); + long int y; +}; + +// Check UTF-8 literals. +#define u8 syntax error! +char const utf8_literal[] = u8"happens to be ASCII" "another string"; + +// Check duplicate typedefs. +typedef long *long_ptr; +typedef long int *long_ptr; +typedef long_ptr long_ptr; + +// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. +struct anonymous +{ + union { + struct { int i; int j; }; + struct { int k; long int l; } w; + }; + int m; +} v1; +' + +# Test code for whether the C compiler supports C11 (body of main). +ac_c_conftest_c11_main=' + _Static_assert ((offsetof (struct anonymous, i) + == offsetof (struct anonymous, w.k)), + "Anonymous union alignment botch"); + v1.i = 2; + v1.w.k = 5; + ok |= v1.i != 5; +' + +# Test code for whether the C compiler supports C11 (complete). +ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} +${ac_c_conftest_c99_globals} +${ac_c_conftest_c11_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_c_conftest_c89_main} + ${ac_c_conftest_c99_main} + ${ac_c_conftest_c11_main} + return ok; +} +" + +# Test code for whether the C compiler supports C99 (complete). +ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} +${ac_c_conftest_c99_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_c_conftest_c89_main} + ${ac_c_conftest_c99_main} + return ok; +} +" + +# Test code for whether the C compiler supports C89 (complete). +ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_c_conftest_c89_main} + return ok; +} +" + +# Test code for whether the C++ compiler supports C++98 (global declarations) +ac_cxx_conftest_cxx98_globals=' +// Does the compiler advertise C++98 conformance? +#if !defined __cplusplus || __cplusplus < 199711L +# error "Compiler does not advertise C++98 conformance" +#endif + +// These inclusions are to reject old compilers that +// lack the unsuffixed header files. +#include +#include + +// and are *not* freestanding headers in C++98. +extern void assert (int); +namespace std { + extern int strcmp (const char *, const char *); +} + +// Namespaces, exceptions, and templates were all added after "C++ 2.0". +using std::exception; +using std::strcmp; + +namespace { + +void test_exception_syntax() +{ + try { + throw "test"; + } catch (const char *s) { + // Extra parentheses suppress a warning when building autoconf itself, + // due to lint rules shared with more typical C programs. + assert (!(strcmp) (s, "test")); + } +} + +template struct test_template +{ + T const val; + explicit test_template(T t) : val(t) {} + template T add(U u) { return static_cast(u) + val; } +}; + +} // anonymous namespace +' + +# Test code for whether the C++ compiler supports C++98 (body of main) +ac_cxx_conftest_cxx98_main=' + assert (argc); + assert (! argv[0]); +{ + test_exception_syntax (); + test_template tt (2.0); + assert (tt.add (4) == 6.0); + assert (true && !false); +} +' + +# Test code for whether the C++ compiler supports C++11 (global declarations) +ac_cxx_conftest_cxx11_globals=' +// Does the compiler advertise C++ 2011 conformance? +#if !defined __cplusplus || __cplusplus < 201103L +# error "Compiler does not advertise C++11 conformance" +#endif + +namespace cxx11test +{ + constexpr int get_val() { return 20; } + + struct testinit + { + int i; + double d; + }; + + class delegate + { + public: + delegate(int n) : n(n) {} + delegate(): delegate(2354) {} + + virtual int getval() { return this->n; }; + protected: + int n; + }; + + class overridden : public delegate + { + public: + overridden(int n): delegate(n) {} + virtual int getval() override final { return this->n * 2; } + }; + + class nocopy + { + public: + nocopy(int i): i(i) {} + nocopy() = default; + nocopy(const nocopy&) = delete; + nocopy & operator=(const nocopy&) = delete; + private: + int i; + }; + + // for testing lambda expressions + template Ret eval(Fn f, Ret v) + { + return f(v); + } + + // for testing variadic templates and trailing return types + template auto sum(V first) -> V + { + return first; + } + template auto sum(V first, Args... rest) -> V + { + return first + sum(rest...); + } +} +' + +# Test code for whether the C++ compiler supports C++11 (body of main) +ac_cxx_conftest_cxx11_main=' +{ + // Test auto and decltype + auto a1 = 6538; + auto a2 = 48573953.4; + auto a3 = "String literal"; + + int total = 0; + for (auto i = a3; *i; ++i) { total += *i; } + + decltype(a2) a4 = 34895.034; +} +{ + // Test constexpr + short sa[cxx11test::get_val()] = { 0 }; +} +{ + // Test initializer lists + cxx11test::testinit il = { 4323, 435234.23544 }; +} +{ + // Test range-based for + int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, + 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; + for (auto &x : array) { x += 23; } +} +{ + // Test lambda expressions + using cxx11test::eval; + assert (eval ([](int x) { return x*2; }, 21) == 42); + double d = 2.0; + assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); + assert (d == 5.0); + assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); + assert (d == 5.0); +} +{ + // Test use of variadic templates + using cxx11test::sum; + auto a = sum(1); + auto b = sum(1, 2); + auto c = sum(1.0, 2.0, 3.0); +} +{ + // Test constructor delegation + cxx11test::delegate d1; + cxx11test::delegate d2(); + cxx11test::delegate d3(45); +} +{ + // Test override and final + cxx11test::overridden o1(55464); +} +{ + // Test nullptr + char *c = nullptr; +} +{ + // Test template brackets + test_template<::test_template> v(test_template(12)); +} +{ + // Unicode literals + char const *utf8 = u8"UTF-8 string \u2500"; + char16_t const *utf16 = u"UTF-8 string \u2500"; + char32_t const *utf32 = U"UTF-32 string \u2500"; +} +' + +# Test code for whether the C compiler supports C++11 (complete). +ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} +${ac_cxx_conftest_cxx11_globals} + +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_cxx_conftest_cxx98_main} + ${ac_cxx_conftest_cxx11_main} + return ok; +} +" + +# Test code for whether the C compiler supports C++98 (complete). +ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} +int +main (int argc, char **argv) +{ + int ok = 0; + ${ac_cxx_conftest_cxx98_main} + return ok; +} +" + +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" + +# Auxiliary files required by this configure script. +ac_aux_files="install-sh config.guess config.sub" + +# Locations in which to look for auxiliary files. +ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." + +# Search for a directory containing all of the required auxiliary files, +# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. +# If we don't find one directory that contains all the files we need, +# we report the set of missing files from the *first* directory in +# $ac_aux_dir_candidates and give up. +ac_missing_aux_files="" +ac_first_candidate=: +printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in $ac_aux_dir_candidates +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + as_found=: + + printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 + ac_aux_dir_found=yes + ac_install_sh= + for ac_aux in $ac_aux_files + do + # As a special case, if "install-sh" is required, that requirement + # can be satisfied by any of "install-sh", "install.sh", or "shtool", + # and $ac_install_sh is set appropriately for whichever one is found. + if test x"$ac_aux" = x"install-sh" + then + if test -f "${as_dir}install-sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 + ac_install_sh="${as_dir}install-sh -c" + elif test -f "${as_dir}install.sh"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 + ac_install_sh="${as_dir}install.sh -c" + elif test -f "${as_dir}shtool"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 + ac_install_sh="${as_dir}shtool install -c" + else + ac_aux_dir_found=no + if $ac_first_candidate; then + ac_missing_aux_files="${ac_missing_aux_files} install-sh" + else + break + fi + fi + else + if test -f "${as_dir}${ac_aux}"; then + printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 + else + ac_aux_dir_found=no + if $ac_first_candidate; then + ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" + else + break + fi + fi + fi + done + if test "$ac_aux_dir_found" = yes; then + ac_aux_dir="$as_dir" + break + fi + ac_first_candidate=false + + as_found=false +done +IFS=$as_save_IFS +if $as_found +then : + +else $as_nop + as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 +fi + + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +if test -f "${ac_aux_dir}config.guess"; then + ac_config_guess="$SHELL ${ac_aux_dir}config.guess" +fi +if test -f "${ac_aux_dir}config.sub"; then + ac_config_sub="$SHELL ${ac_aux_dir}config.sub" +fi +if test -f "$ac_aux_dir/configure"; then + ac_configure="$SHELL ${ac_aux_dir}configure" +fi + # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3609,12 +4201,12 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) @@ -3623,24 +4215,24 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in @@ -3650,11 +4242,12 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi done if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' + and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## @@ -3670,55 +4263,30 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -$as_echo_n "checking build system type... " >&6; } -if ${ac_cv_build+:} false; then : - $as_echo_n "(cached) " >&6 -else + # Make sure we can run config.sub. +$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 + +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +printf %s "checking build system type... " >&6; } +if test ${ac_cv_build+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_build_alias=$build_alias test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` + ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 +ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -$as_echo "$ac_cv_build" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +printf "%s\n" "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; @@ -3737,21 +4305,22 @@ IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -$as_echo_n "checking host system type... " >&6; } -if ${ac_cv_host+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +printf %s "checking host system type... " >&6; } +if test ${ac_cv_host+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 + ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || + as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -$as_echo "$ac_cv_host" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +printf "%s\n" "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; @@ -3853,14 +4422,14 @@ case "${host}" in USE_HPUX=1 DEFAULT_DEFAULT_wxUSE_GTK=1 NEEDS_D_REENTRANT_FOR_R_FUNCS=1 - $as_echo "#define __HPUX__ 1" >>confdefs.h + printf "%s\n" "#define __HPUX__ 1" >>confdefs.h CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS" ;; *-*-linux* ) USE_LINUX=1 - $as_echo "#define __LINUX__ 1" >>confdefs.h + printf "%s\n" "#define __LINUX__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; @@ -3871,15 +4440,15 @@ case "${host}" in *-*-irix5* | *-*-irix6* ) USE_SGI=1 USE_SVR4=1 - $as_echo "#define __SGI__ 1" >>confdefs.h + printf "%s\n" "#define __SGI__ 1" >>confdefs.h - $as_echo "#define __SVR4__ 1" >>confdefs.h + printf "%s\n" "#define __SVR4__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-qnx*) USE_QNX=1 - $as_echo "#define __QNX__ 1" >>confdefs.h + printf "%s\n" "#define __QNX__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_X11=1 ;; @@ -3887,11 +4456,11 @@ case "${host}" in USE_SUN=1 USE_SOLARIS=1 USE_SVR4=1 - $as_echo "#define __SUN__ 1" >>confdefs.h + printf "%s\n" "#define __SUN__ 1" >>confdefs.h - $as_echo "#define __SOLARIS__ 1" >>confdefs.h + printf "%s\n" "#define __SOLARIS__ 1" >>confdefs.h - $as_echo "#define __SVR4__ 1" >>confdefs.h + printf "%s\n" "#define __SVR4__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 NEEDS_D_REENTRANT_FOR_R_FUNCS=1 @@ -3900,38 +4469,38 @@ case "${host}" in USE_SUN=1 USE_SUNOS=1 USE_BSD=1 - $as_echo "#define __SUN__ 1" >>confdefs.h + printf "%s\n" "#define __SUN__ 1" >>confdefs.h - $as_echo "#define __SUNOS__ 1" >>confdefs.h + printf "%s\n" "#define __SUNOS__ 1" >>confdefs.h - $as_echo "#define __BSD__ 1" >>confdefs.h + printf "%s\n" "#define __BSD__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-freebsd*) USE_BSD=1 USE_FREEBSD=1 - $as_echo "#define __FREEBSD__ 1" >>confdefs.h + printf "%s\n" "#define __FREEBSD__ 1" >>confdefs.h - $as_echo "#define __BSD__ 1" >>confdefs.h + printf "%s\n" "#define __BSD__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-openbsd*|*-*-mirbsd*) USE_BSD=1 USE_OPENBSD=1 - $as_echo "#define __OPENBSD__ 1" >>confdefs.h + printf "%s\n" "#define __OPENBSD__ 1" >>confdefs.h - $as_echo "#define __BSD__ 1" >>confdefs.h + printf "%s\n" "#define __BSD__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-netbsd*) USE_BSD=1 USE_NETBSD=1 - $as_echo "#define __NETBSD__ 1" >>confdefs.h + printf "%s\n" "#define __NETBSD__ 1" >>confdefs.h - $as_echo "#define __BSD__ 1" >>confdefs.h + printf "%s\n" "#define __BSD__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 NEEDS_D_REENTRANT_FOR_R_FUNCS=1 @@ -3940,23 +4509,23 @@ case "${host}" in ;; *-*-osf* ) USE_OSF=1 - $as_echo "#define __OSF__ 1" >>confdefs.h + printf "%s\n" "#define __OSF__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 NEEDS_D_REENTRANT_FOR_R_FUNCS=1 ;; *-*-dgux5* ) USE_SVR4=1 - $as_echo "#define __SVR4__ 1" >>confdefs.h + printf "%s\n" "#define __SVR4__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-sysv5* ) USE_SYSV=1 USE_SVR4=1 - $as_echo "#define __SYSV__ 1" >>confdefs.h + printf "%s\n" "#define __SYSV__ 1" >>confdefs.h - $as_echo "#define __SVR4__ 1" >>confdefs.h + printf "%s\n" "#define __SVR4__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; @@ -3964,11 +4533,11 @@ case "${host}" in USE_AIX=1 USE_SYSV=1 USE_SVR4=1 - $as_echo "#define __AIX__ 1" >>confdefs.h + printf "%s\n" "#define __AIX__ 1" >>confdefs.h - $as_echo "#define __SYSV__ 1" >>confdefs.h + printf "%s\n" "#define __SYSV__ 1" >>confdefs.h - $as_echo "#define __SVR4__ 1" >>confdefs.h + printf "%s\n" "#define __SVR4__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; @@ -3977,7 +4546,7 @@ case "${host}" in USE_SYSV=1 USE_SVR4=1 USE_UNIXWARE=1 - $as_echo "#define __UNIXWARE__ 1" >>confdefs.h + printf "%s\n" "#define __UNIXWARE__ 1" >>confdefs.h ;; @@ -3989,31 +4558,31 @@ case "${host}" in *-*-darwin* ) USE_BSD=1 USE_DARWIN=1 - $as_echo "#define __BSD__ 1" >>confdefs.h + printf "%s\n" "#define __BSD__ 1" >>confdefs.h - $as_echo "#define __DARWIN__ 1" >>confdefs.h + printf "%s\n" "#define __DARWIN__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_OSX_COCOA=1 ;; *-*-beos* ) USE_BEOS=1 - $as_echo "#define __BEOS__ 1" >>confdefs.h + printf "%s\n" "#define __BEOS__ 1" >>confdefs.h ;; *-*-haiku* ) USE_HAIKU=1 - $as_echo "#define __HAIKU__ 1" >>confdefs.h + printf "%s\n" "#define __HAIKU__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_QT=1 ;; *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5 -$as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@googlegroups.com." >&5 -$as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@googlegroups.com." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5 +printf "%s\n" "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@googlegroups.com." >&5 +printf "%s\n" "$as_me: WARNING: *** Please report the build results to wx-dev@googlegroups.com." >&2;} DEFAULT_DEFAULT_wxUSE_X11=1 DEFAULT_wxUSE_SHARED=no @@ -4064,7 +4633,8 @@ DEFAULT_wxUSE_OBJC_UNIQUIFYING=no fi # Check whether --enable-gui was given. -if test "${enable_gui+set}" = set; then : +if test ${enable_gui+y} +then : enableval=$enable_gui; if test "$enableval" = yes; then wx_cv_use_gui='wxUSE_GUI=yes' @@ -4072,7 +4642,7 @@ if test "${enable_gui+set}" = set; then : wx_cv_use_gui='wxUSE_GUI=no' fi -else +else $as_nop wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}" @@ -4093,7 +4663,8 @@ fi fi # Check whether --enable-monolithic was given. -if test "${enable_monolithic+set}" = set; then : +if test ${enable_monolithic+y} +then : enableval=$enable_monolithic; if test "$enableval" = yes; then wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes' @@ -4101,7 +4672,7 @@ if test "${enable_monolithic+set}" = set; then : wx_cv_use_monolithic='wxUSE_MONOLITHIC=no' fi -else +else $as_nop wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}" @@ -4122,7 +4693,8 @@ fi fi # Check whether --enable-plugins was given. -if test "${enable_plugins+set}" = set; then : +if test ${enable_plugins+y} +then : enableval=$enable_plugins; if test "$enableval" = yes; then wx_cv_use_plugins='wxUSE_PLUGINS=yes' @@ -4130,7 +4702,7 @@ if test "${enable_plugins+set}" = set; then : wx_cv_use_plugins='wxUSE_PLUGINS=no' fi -else +else $as_nop wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}" @@ -4151,7 +4723,8 @@ fi fi # Check whether --with-subdirs was given. -if test "${with_subdirs+set}" = set; then : +if test ${with_subdirs+y} +then : withval=$with_subdirs; if test "$withval" = yes; then wx_cv_use_subdirs='wxWITH_SUBDIRS=yes' @@ -4159,7 +4732,7 @@ if test "${with_subdirs+set}" = set; then : wx_cv_use_subdirs='wxWITH_SUBDIRS=no' fi -else +else $as_nop wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}" @@ -4170,7 +4743,8 @@ fi # Check whether --with-flavour was given. -if test "${with_flavour+set}" = set; then : +if test ${with_flavour+y} +then : withval=$with_flavour; WX_FLAVOUR="$withval" fi @@ -4186,7 +4760,8 @@ fi fi # Check whether --enable-official_build was given. -if test "${enable_official_build+set}" = set; then : +if test ${enable_official_build+y} +then : enableval=$enable_official_build; if test "$enableval" = yes; then wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes' @@ -4194,7 +4769,7 @@ if test "${enable_official_build+set}" = set; then : wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no' fi -else +else $as_nop wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}" @@ -4204,7 +4779,8 @@ fi eval "$wx_cv_use_official_build" # Check whether --enable-vendor was given. -if test "${enable_vendor+set}" = set; then : +if test ${enable_vendor+y} +then : enableval=$enable_vendor; VENDOR="$enableval" fi @@ -4224,7 +4800,8 @@ fi fi # Check whether --enable-all-features was given. -if test "${enable_all_features+set}" = set; then : +if test ${enable_all_features+y} +then : enableval=$enable_all_features; if test "$enableval" = yes; then wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes' @@ -4232,7 +4809,7 @@ if test "${enable_all_features+set}" = set; then : wx_cv_use_all_features='wxUSE_ALL_FEATURES=no' fi -else +else $as_nop wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}" @@ -4253,7 +4830,8 @@ fi fi # Check whether --enable-sys-libs was given. -if test "${enable_sys_libs+set}" = set; then : +if test ${enable_sys_libs+y} +then : enableval=$enable_sys_libs; if test "$enableval" = yes; then wx_cv_use_sys_libs='wxUSE_SYS_LIBS=yes' @@ -4261,7 +4839,7 @@ if test "${enable_sys_libs+set}" = set; then : wx_cv_use_sys_libs='wxUSE_SYS_LIBS=no' fi -else +else $as_nop wx_cv_use_sys_libs='wxUSE_SYS_LIBS=${'DEFAULT_wxUSE_SYS_LIBS":-$defaultval}" @@ -4282,7 +4860,8 @@ fi fi # Check whether --enable-tests was given. -if test "${enable_tests+set}" = set; then : +if test ${enable_tests+y} +then : enableval=$enable_tests; if test "$enableval" = yes; then wx_cv_use_tests='wxUSE_TESTS_SUBDIR=yes' @@ -4290,7 +4869,7 @@ if test "${enable_tests+set}" = set; then : wx_cv_use_tests='wxUSE_TESTS_SUBDIR=no' fi -else +else $as_nop wx_cv_use_tests='wxUSE_TESTS_SUBDIR=${'DEFAULT_wxUSE_TESTS_SUBDIR":-$defaultval}" @@ -4307,7 +4886,8 @@ fi # Check whether --with-dpi was given. -if test "${with_dpi+set}" = set; then : +if test ${with_dpi+y} +then : withval=$with_dpi; wxWITH_DPI_MANIFEST="$withval" fi @@ -4327,7 +4907,8 @@ if test "$wxUSE_GUI" = "yes"; then fi # Check whether --enable-universal was given. -if test "${enable_universal+set}" = set; then : +if test ${enable_universal+y} +then : enableval=$enable_universal; if test "$enableval" = yes; then wx_cv_use_universal='wxUSE_UNIVERSAL=yes' @@ -4335,7 +4916,7 @@ if test "${enable_universal+set}" = set; then : wx_cv_use_universal='wxUSE_UNIVERSAL=no' fi -else +else $as_nop wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}" @@ -4347,7 +4928,8 @@ fi if test "$wxUSE_UNIVERSAL" = "yes"; then # Check whether --with-themes was given. -if test "${with_themes+set}" = set; then : +if test ${with_themes+y} +then : withval=$with_themes; wxUNIV_THEMES="$withval" fi @@ -4355,14 +4937,16 @@ fi # Check whether --with-gtk was given. -if test "${with_gtk+set}" = set; then : +if test ${with_gtk+y} +then : withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1 fi # Check whether --with-osx_cocoa was given. -if test "${with_osx_cocoa+set}" = set; then : +if test ${with_osx_cocoa+y} +then : withval=$with_osx_cocoa; if test "$withval" != yes; then as_fn_error $? "Option --with-osx_cocoa doesn't accept any arguments" "$LINENO" 5 @@ -4375,7 +4959,8 @@ fi # Check whether --with-osx_iphone was given. -if test "${with_osx_iphone+set}" = set; then : +if test ${with_osx_iphone+y} +then : withval=$with_osx_iphone; if test "$withval" != yes; then as_fn_error $? "Option --with-osx_iphone doesn't accept any arguments" "$LINENO" 5 @@ -4388,7 +4973,8 @@ fi # Check whether --with-osx was given. -if test "${with_osx+set}" = set; then : +if test ${with_osx+y} +then : withval=$with_osx; if test "$withval" != yes; then as_fn_error $? "Option --with-osx doesn't accept any arguments" "$LINENO" 5 @@ -4401,7 +4987,8 @@ fi # Check whether --with-cocoa was given. -if test "${with_cocoa+set}" = set; then : +if test ${with_cocoa+y} +then : withval=$with_cocoa; if test "$withval" != yes; then as_fn_error $? "Option --with-cocoa doesn't accept any arguments" "$LINENO" 5 @@ -4414,7 +5001,8 @@ fi # Check whether --with-iphone was given. -if test "${with_iphone+set}" = set; then : +if test ${with_iphone+y} +then : withval=$with_iphone; if test "$withval" != yes; then as_fn_error $? "Option --with-iphone doesn't accept any arguments" "$LINENO" 5 @@ -4427,7 +5015,8 @@ fi # Check whether --with-mac was given. -if test "${with_mac+set}" = set; then : +if test ${with_mac+y} +then : withval=$with_mac; if test "$withval" != yes; then as_fn_error $? "Option --with-mac doesn't accept any arguments" "$LINENO" 5 @@ -4440,7 +5029,8 @@ fi # Check whether --with-wine was given. -if test "${with_wine+set}" = set; then : +if test ${with_wine+y} +then : withval=$with_wine; if test "$withval" != yes; then as_fn_error $? "Option --with-wine doesn't accept any arguments" "$LINENO" 5 @@ -4453,7 +5043,8 @@ fi # Check whether --with-msw was given. -if test "${with_msw+set}" = set; then : +if test ${with_msw+y} +then : withval=$with_msw; if test "$withval" != yes; then as_fn_error $? "Option --with-msw doesn't accept any arguments" "$LINENO" 5 @@ -4466,7 +5057,8 @@ fi # Check whether --with-directfb was given. -if test "${with_directfb+set}" = set; then : +if test ${with_directfb+y} +then : withval=$with_directfb; if test "$withval" != yes; then as_fn_error $? "Option --with-directfb doesn't accept any arguments" "$LINENO" 5 @@ -4479,7 +5071,8 @@ fi # Check whether --with-x11 was given. -if test "${with_x11+set}" = set; then : +if test ${with_x11+y} +then : withval=$with_x11; if test "$withval" != yes; then as_fn_error $? "Option --with-x11 doesn't accept any arguments" "$LINENO" 5 @@ -4492,7 +5085,8 @@ fi # Check whether --with-qt was given. -if test "${with_qt+set}" = set; then : +if test ${with_qt+y} +then : withval=$with_qt; if test "$withval" != yes; then as_fn_error $? "Option --with-qt doesn't accept any arguments" "$LINENO" 5 @@ -4514,7 +5108,8 @@ fi fi # Check whether --enable-nanox was given. -if test "${enable_nanox+set}" = set; then : +if test ${enable_nanox+y} +then : enableval=$enable_nanox; if test "$enableval" = yes; then wx_cv_use_nanox='wxUSE_NANOX=yes' @@ -4522,7 +5117,7 @@ if test "${enable_nanox+set}" = set; then : wx_cv_use_nanox='wxUSE_NANOX=no' fi -else +else $as_nop wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}" @@ -4533,8 +5128,8 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5 -$as_echo_n "checking for toolkit... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5 +printf %s "checking for toolkit... " >&6; } @@ -4596,17 +5191,17 @@ if test "$wxUSE_GUI" = "yes"; then eval "value=\$${var}" if test "$value" = 1; then toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5 -$as_echo "$toolkit_echo" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5 +printf "%s\n" "$toolkit_echo" >&6; } fi done else if test "x$host_alias" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5 -$as_echo "base ($host_alias hosted) only" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5 +printf "%s\n" "base ($host_alias hosted) only" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5 -$as_echo "base only" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: base only" >&5 +printf "%s\n" "base only" >&6; } fi fi @@ -4620,7 +5215,8 @@ fi # Check whether --with-libpng was given. -if test "${with_libpng+set}" = set; then : +if test ${with_libpng+y} +then : withval=$with_libpng; if test "$withval" = yes; then wx_cv_use_libpng='wxUSE_LIBPNG=yes' @@ -4634,7 +5230,7 @@ if test "${with_libpng+set}" = set; then : as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else +else $as_nop if test "DEFAULT_wxUSE_LIBPNG" = no; then value=no @@ -4656,7 +5252,8 @@ fi # Check whether --with-libjpeg was given. -if test "${with_libjpeg+set}" = set; then : +if test ${with_libjpeg+y} +then : withval=$with_libjpeg; if test "$withval" = yes; then wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes' @@ -4670,7 +5267,7 @@ if test "${with_libjpeg+set}" = set; then : as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else +else $as_nop if test "DEFAULT_wxUSE_LIBJPEG" = no; then value=no @@ -4692,7 +5289,8 @@ fi # Check whether --with-libtiff was given. -if test "${with_libtiff+set}" = set; then : +if test ${with_libtiff+y} +then : withval=$with_libtiff; if test "$withval" = yes; then wx_cv_use_libtiff='wxUSE_LIBTIFF=yes' @@ -4706,7 +5304,7 @@ if test "${with_libtiff+set}" = set; then : as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else +else $as_nop if test "DEFAULT_wxUSE_LIBTIFF" = no; then value=no @@ -4741,7 +5339,8 @@ else fi # Check whether --with-libjbig was given. -if test "${with_libjbig+set}" = set; then : +if test ${with_libjbig+y} +then : withval=$with_libjbig; if test "$withval" = yes; then wx_cv_use_libjbig='wxUSE_LIBJBIG=yes' @@ -4749,7 +5348,7 @@ if test "${with_libjbig+set}" = set; then : wx_cv_use_libjbig='wxUSE_LIBJBIG=no' fi -else +else $as_nop wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}" @@ -4763,7 +5362,8 @@ fi # Check whether --with-libxpm was given. -if test "${with_libxpm+set}" = set; then : +if test ${with_libxpm+y} +then : withval=$with_libxpm; if test "$withval" = yes; then wx_cv_use_libxpm='wxUSE_LIBXPM=yes' @@ -4777,7 +5377,7 @@ if test "${with_libxpm+set}" = set; then : as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else +else $as_nop if test "DEFAULT_wxUSE_LIBXPM" = no; then value=no @@ -4808,7 +5408,8 @@ fi fi # Check whether --with-libiconv was given. -if test "${with_libiconv+set}" = set; then : +if test ${with_libiconv+y} +then : withval=$with_libiconv; if test "$withval" = yes; then wx_cv_use_libiconv='wxUSE_LIBICONV=yes' @@ -4816,7 +5417,7 @@ if test "${with_libiconv+set}" = set; then : wx_cv_use_libiconv='wxUSE_LIBICONV=no' fi -else +else $as_nop wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}" @@ -4837,7 +5438,8 @@ fi fi # Check whether --with-libmspack was given. -if test "${with_libmspack+set}" = set; then : +if test ${with_libmspack+y} +then : withval=$with_libmspack; if test "$withval" = yes; then wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes' @@ -4845,7 +5447,7 @@ if test "${with_libmspack+set}" = set; then : wx_cv_use_libmspack='wxUSE_LIBMSPACK=no' fi -else +else $as_nop wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}" @@ -4866,7 +5468,8 @@ fi fi # Check whether --with-gtkprint was given. -if test "${with_gtkprint+set}" = set; then : +if test ${with_gtkprint+y} +then : withval=$with_gtkprint; if test "$withval" = yes; then wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes' @@ -4874,7 +5477,7 @@ if test "${with_gtkprint+set}" = set; then : wx_cv_use_gtkprint='wxUSE_GTKPRINT=no' fi -else +else $as_nop wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}" @@ -4895,7 +5498,8 @@ fi fi # Check whether --with-gnomevfs was given. -if test "${with_gnomevfs+set}" = set; then : +if test ${with_gnomevfs+y} +then : withval=$with_gnomevfs; if test "$withval" = yes; then wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes' @@ -4903,7 +5507,7 @@ if test "${with_gnomevfs+set}" = set; then : wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no' fi -else +else $as_nop wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}" @@ -4924,7 +5528,8 @@ fi fi # Check whether --with-libnotify was given. -if test "${with_libnotify+set}" = set; then : +if test ${with_libnotify+y} +then : withval=$with_libnotify; if test "$withval" = yes; then wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes' @@ -4932,7 +5537,7 @@ if test "${with_libnotify+set}" = set; then : wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no' fi -else +else $as_nop wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}" @@ -4953,7 +5558,8 @@ fi fi # Check whether --with-opengl was given. -if test "${with_opengl+set}" = set; then : +if test ${with_opengl+y} +then : withval=$with_opengl; if test "$withval" = yes; then wx_cv_use_opengl='wxUSE_OPENGL=yes' @@ -4961,7 +5567,7 @@ if test "${with_opengl+set}" = set; then : wx_cv_use_opengl='wxUSE_OPENGL=no' fi -else +else $as_nop wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}" @@ -4982,7 +5588,8 @@ fi fi # Check whether --with-xtest was given. -if test "${with_xtest+set}" = set; then : +if test ${with_xtest+y} +then : withval=$with_xtest; if test "$withval" = yes; then wx_cv_use_xtest='wxUSE_XTEST=yes' @@ -4990,7 +5597,7 @@ if test "${with_xtest+set}" = set; then : wx_cv_use_xtest='wxUSE_XTEST=no' fi -else +else $as_nop wx_cv_use_xtest='wxUSE_XTEST=${'DEFAULT_wxUSE_XTEST":-$defaultval}" @@ -5011,7 +5618,8 @@ fi fi # Check whether --with-nanosvg was given. -if test "${with_nanosvg+set}" = set; then : +if test ${with_nanosvg+y} +then : withval=$with_nanosvg; if test "$withval" = yes; then wx_cv_use_nanosvg='wxUSE_NANOSVG=yes' @@ -5019,7 +5627,7 @@ if test "${with_nanosvg+set}" = set; then : wx_cv_use_nanosvg='wxUSE_NANOSVG=no' fi -else +else $as_nop wx_cv_use_nanosvg='wxUSE_NANOSVG=${'DEFAULT_wxUSE_NANOSVG":-$defaultval}" @@ -5046,7 +5654,8 @@ if test "$wx_needs_cairo_for_gc" != 1; then fi # Check whether --with-cairo was given. -if test "${with_cairo+set}" = set; then : +if test ${with_cairo+y} +then : withval=$with_cairo; if test "$withval" = yes; then wx_cv_use_cairo='wxUSE_CAIRO=yes' @@ -5054,7 +5663,7 @@ if test "${with_cairo+set}" = set; then : wx_cv_use_cairo='wxUSE_CAIRO=no' fi -else +else $as_nop wx_cv_use_cairo='wxUSE_CAIRO=${'DEFAULT_wxUSE_CAIRO":-$defaultval}" @@ -5079,7 +5688,8 @@ fi fi # Check whether --with-dmalloc was given. -if test "${with_dmalloc+set}" = set; then : +if test ${with_dmalloc+y} +then : withval=$with_dmalloc; if test "$withval" = yes; then wx_cv_use_dmalloc='wxUSE_DMALLOC=yes' @@ -5087,7 +5697,7 @@ if test "${with_dmalloc+set}" = set; then : wx_cv_use_dmalloc='wxUSE_DMALLOC=no' fi -else +else $as_nop wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}" @@ -5108,7 +5718,8 @@ fi fi # Check whether --with-sdl was given. -if test "${with_sdl+set}" = set; then : +if test ${with_sdl+y} +then : withval=$with_sdl; if test "$withval" = yes; then wx_cv_use_sdl='wxUSE_LIBSDL=yes' @@ -5116,7 +5727,7 @@ if test "${with_sdl+set}" = set; then : wx_cv_use_sdl='wxUSE_LIBSDL=no' fi -else +else $as_nop wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}" @@ -5128,7 +5739,8 @@ fi # Check whether --with-regex was given. -if test "${with_regex+set}" = set; then : +if test ${with_regex+y} +then : withval=$with_regex; if test "$withval" = yes; then wx_cv_use_regex='wxUSE_REGEX=yes' @@ -5142,7 +5754,7 @@ if test "${with_regex+set}" = set; then : as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else +else $as_nop if test "DEFAULT_wxUSE_REGEX" = no; then value=no @@ -5173,7 +5785,8 @@ fi fi # Check whether --with-liblzma was given. -if test "${with_liblzma+set}" = set; then : +if test ${with_liblzma+y} +then : withval=$with_liblzma; if test "$withval" = yes; then wx_cv_use_liblzma='wxUSE_LIBLZMA=yes' @@ -5181,7 +5794,7 @@ if test "${with_liblzma+set}" = set; then : wx_cv_use_liblzma='wxUSE_LIBLZMA=no' fi -else +else $as_nop wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}" @@ -5193,7 +5806,8 @@ fi # Check whether --with-zlib was given. -if test "${with_zlib+set}" = set; then : +if test ${with_zlib+y} +then : withval=$with_zlib; if test "$withval" = yes; then wx_cv_use_zlib='wxUSE_ZLIB=yes' @@ -5207,7 +5821,7 @@ if test "${with_zlib+set}" = set; then : as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else +else $as_nop if test "DEFAULT_wxUSE_ZLIB" = no; then value=no @@ -5229,7 +5843,8 @@ fi # Check whether --with-expat was given. -if test "${with_expat+set}" = set; then : +if test ${with_expat+y} +then : withval=$with_expat; if test "$withval" = yes; then wx_cv_use_expat='wxUSE_EXPAT=yes' @@ -5243,7 +5858,7 @@ if test "${with_expat+set}" = set; then : as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else +else $as_nop if test "DEFAULT_wxUSE_EXPAT" = no; then value=no @@ -5275,7 +5890,8 @@ fi fi # Check whether --with-libcurl was given. -if test "${with_libcurl+set}" = set; then : +if test ${with_libcurl+y} +then : withval=$with_libcurl; if test "$withval" = yes; then wx_cv_use_libcurl='wxUSE_LIBCURL=yes' @@ -5283,7 +5899,7 @@ if test "${with_libcurl+set}" = set; then : wx_cv_use_libcurl='wxUSE_LIBCURL=no' fi -else +else $as_nop wx_cv_use_libcurl='wxUSE_LIBCURL=${'DEFAULT_wxUSE_LIBCURL":-$defaultval}" @@ -5304,7 +5920,8 @@ fi fi # Check whether --with-winhttp was given. -if test "${with_winhttp+set}" = set; then : +if test ${with_winhttp+y} +then : withval=$with_winhttp; if test "$withval" = yes; then wx_cv_use_winhttp='wxUSE_WINHTTP=yes' @@ -5312,7 +5929,7 @@ if test "${with_winhttp+set}" = set; then : wx_cv_use_winhttp='wxUSE_WINHTTP=no' fi -else +else $as_nop wx_cv_use_winhttp='wxUSE_WINHTTP=${'DEFAULT_wxUSE_WINHTTP":-$defaultval}" @@ -5334,7 +5951,8 @@ if test "$USE_DARWIN" = 1; then fi # Check whether --with-urlsession was given. -if test "${with_urlsession+set}" = set; then : +if test ${with_urlsession+y} +then : withval=$with_urlsession; if test "$withval" = yes; then wx_cv_use_urlsession='wxUSE_URLSESSION=yes' @@ -5342,7 +5960,7 @@ if test "${with_urlsession+set}" = set; then : wx_cv_use_urlsession='wxUSE_URLSESSION=no' fi -else +else $as_nop wx_cv_use_urlsession='wxUSE_URLSESSION=${'DEFAULT_wxUSE_URLSESSION":-$defaultval}" @@ -5357,7 +5975,8 @@ if test "$USE_DARWIN" = 1; then # Check whether --with-macosx-sdk was given. -if test "${with_macosx_sdk+set}" = set; then : +if test ${with_macosx_sdk+y} +then : withval=$with_macosx_sdk; wxUSE_MACOSX_SDK=$withval wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval" @@ -5367,7 +5986,8 @@ fi # Check whether --with-macosx-version-min was given. -if test "${with_macosx_version_min+set}" = set; then : +if test ${with_macosx_version_min+y} +then : withval=$with_macosx_version_min; wxUSE_MACOSX_VERSION_MIN=$withval wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval" @@ -5378,7 +5998,8 @@ fi fi # Check whether --enable-debug was given. -if test "${enable_debug+set}" = set; then : +if test ${enable_debug+y} +then : enableval=$enable_debug; if test "$enableval" = yes; then wxUSE_DEBUG=yes @@ -5391,7 +6012,7 @@ if test "${enable_debug+set}" = set; then : as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5 fi -else +else $as_nop wxUSE_DEBUG=default fi @@ -5428,7 +6049,8 @@ esac fi # Check whether --enable-debug_flag was given. -if test "${enable_debug_flag+set}" = set; then : +if test ${enable_debug_flag+y} +then : enableval=$enable_debug_flag; if test "$enableval" = yes; then wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes' @@ -5436,7 +6058,7 @@ if test "${enable_debug_flag+set}" = set; then : wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no' fi -else +else $as_nop wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}" @@ -5457,7 +6079,8 @@ fi fi # Check whether --enable-debug_info was given. -if test "${enable_debug_info+set}" = set; then : +if test ${enable_debug_info+y} +then : enableval=$enable_debug_info; if test "$enableval" = yes; then wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes' @@ -5465,7 +6088,7 @@ if test "${enable_debug_info+set}" = set; then : wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no' fi -else +else $as_nop wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}" @@ -5488,7 +6111,8 @@ fi fi # Check whether --enable-debug_gdb was given. -if test "${enable_debug_gdb+set}" = set; then : +if test ${enable_debug_gdb+y} +then : enableval=$enable_debug_gdb; if test "$enableval" = yes; then wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes' @@ -5496,7 +6120,7 @@ if test "${enable_debug_gdb+set}" = set; then : wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no' fi -else +else $as_nop wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}" @@ -5519,7 +6143,8 @@ fi fi # Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then : +if test ${enable_shared+y} +then : enableval=$enable_shared; if test "$enableval" = yes; then wx_cv_use_shared='wxUSE_SHARED=yes' @@ -5527,7 +6152,7 @@ if test "${enable_shared+set}" = set; then : wx_cv_use_shared='wxUSE_SHARED=no' fi -else +else $as_nop wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}" @@ -5537,13 +6162,15 @@ fi eval "$wx_cv_use_shared" # Check whether --enable-cxx11 was given. -if test "${enable_cxx11+set}" = set; then : +if test ${enable_cxx11+y} +then : enableval=$enable_cxx11; fi # Check whether --with-cxx was given. -if test "${with_cxx+set}" = set; then : +if test ${with_cxx+y} +then : withval=$with_cxx; wxWITH_CXX="$withval" fi @@ -5559,7 +6186,8 @@ fi fi # Check whether --enable-stl was given. -if test "${enable_stl+set}" = set; then : +if test ${enable_stl+y} +then : enableval=$enable_stl; if test "$enableval" = yes; then wx_cv_use_stl='wxUSE_STL=yes' @@ -5567,7 +6195,7 @@ if test "${enable_stl+set}" = set; then : wx_cv_use_stl='wxUSE_STL=no' fi -else +else $as_nop wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}" @@ -5588,7 +6216,8 @@ fi fi # Check whether --enable-std_containers was given. -if test "${enable_std_containers+set}" = set; then : +if test ${enable_std_containers+y} +then : enableval=$enable_std_containers; if test "$enableval" = yes; then wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes' @@ -5596,7 +6225,7 @@ if test "${enable_std_containers+set}" = set; then : wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no' fi -else +else $as_nop wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}" @@ -5617,7 +6246,8 @@ fi fi # Check whether --enable-std_iostreams was given. -if test "${enable_std_iostreams+set}" = set; then : +if test ${enable_std_iostreams+y} +then : enableval=$enable_std_iostreams; if test "$enableval" = yes; then wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes' @@ -5625,7 +6255,7 @@ if test "${enable_std_iostreams+set}" = set; then : wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no' fi -else +else $as_nop wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}" @@ -5646,7 +6276,8 @@ fi fi # Check whether --enable-std_string_conv_in_wxstring was given. -if test "${enable_std_string_conv_in_wxstring+set}" = set; then : +if test ${enable_std_string_conv_in_wxstring+y} +then : enableval=$enable_std_string_conv_in_wxstring; if test "$enableval" = yes; then wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes' @@ -5654,7 +6285,7 @@ if test "${enable_std_string_conv_in_wxstring+set}" = set; then : wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no' fi -else +else $as_nop wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}" @@ -5675,7 +6306,8 @@ fi fi # Check whether --enable-unsafe_conv_in_wxstring was given. -if test "${enable_unsafe_conv_in_wxstring+set}" = set; then : +if test ${enable_unsafe_conv_in_wxstring+y} +then : enableval=$enable_unsafe_conv_in_wxstring; if test "$enableval" = yes; then wx_cv_use_unsafe_conv_in_wxstring='wxUSE_UNSAFE_WXSTRING_CONV=yes' @@ -5683,7 +6315,7 @@ if test "${enable_unsafe_conv_in_wxstring+set}" = set; then : wx_cv_use_unsafe_conv_in_wxstring='wxUSE_UNSAFE_WXSTRING_CONV=no' fi -else +else $as_nop wx_cv_use_unsafe_conv_in_wxstring='wxUSE_UNSAFE_WXSTRING_CONV=${'DEFAULT_wxUSE_UNSAFE_WXSTRING_CONV":-$defaultval}" @@ -5695,11 +6327,12 @@ fi enablestring= # Check whether --enable-utf8 was given. -if test "${enable_utf8+set}" = set; then : +if test ${enable_utf8+y} +then : enableval=$enable_utf8; wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'" -else +else $as_nop wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8 @@ -5720,7 +6353,8 @@ fi fi # Check whether --enable-utf8only was given. -if test "${enable_utf8only+set}" = set; then : +if test ${enable_utf8only+y} +then : enableval=$enable_utf8only; if test "$enableval" = yes; then wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes' @@ -5728,7 +6362,7 @@ if test "${enable_utf8only+set}" = set; then : wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no' fi -else +else $as_nop wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}" @@ -5749,7 +6383,8 @@ fi fi # Check whether --enable-extended_rtti was given. -if test "${enable_extended_rtti+set}" = set; then : +if test ${enable_extended_rtti+y} +then : enableval=$enable_extended_rtti; if test "$enableval" = yes; then wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes' @@ -5757,7 +6392,7 @@ if test "${enable_extended_rtti+set}" = set; then : wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no' fi -else +else $as_nop wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}" @@ -5779,7 +6414,8 @@ fi fi # Check whether --enable-optimise was given. -if test "${enable_optimise+set}" = set; then : +if test ${enable_optimise+y} +then : enableval=$enable_optimise; if test "$enableval" = yes; then wx_cv_use_optimise='wxUSE_OPTIMISE=yes' @@ -5787,7 +6423,7 @@ if test "${enable_optimise+set}" = set; then : wx_cv_use_optimise='wxUSE_OPTIMISE=no' fi -else +else $as_nop wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}" @@ -5809,7 +6445,8 @@ fi fi # Check whether --enable-profile was given. -if test "${enable_profile+set}" = set; then : +if test ${enable_profile+y} +then : enableval=$enable_profile; if test "$enableval" = yes; then wx_cv_use_profile='wxUSE_PROFILE=yes' @@ -5817,7 +6454,7 @@ if test "${enable_profile+set}" = set; then : wx_cv_use_profile='wxUSE_PROFILE=no' fi -else +else $as_nop wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}" @@ -5838,7 +6475,8 @@ fi fi # Check whether --enable-pic was given. -if test "${enable_pic+set}" = set; then : +if test ${enable_pic+y} +then : enableval=$enable_pic; if test "$enableval" = yes; then wx_cv_use_pic='wxUSE_PIC=yes' @@ -5846,7 +6484,7 @@ if test "${enable_pic+set}" = set; then : wx_cv_use_pic='wxUSE_PIC=no' fi -else +else $as_nop wx_cv_use_pic='wxUSE_PIC=${'DEFAULT_wxUSE_PIC":-$defaultval}" @@ -5867,7 +6505,8 @@ fi fi # Check whether --enable-no_rtti was given. -if test "${enable_no_rtti+set}" = set; then : +if test ${enable_no_rtti+y} +then : enableval=$enable_no_rtti; if test "$enableval" = yes; then wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes' @@ -5875,7 +6514,7 @@ if test "${enable_no_rtti+set}" = set; then : wx_cv_use_no_rtti='wxUSE_NO_RTTI=no' fi -else +else $as_nop wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}" @@ -5896,7 +6535,8 @@ fi fi # Check whether --enable-no_exceptions was given. -if test "${enable_no_exceptions+set}" = set; then : +if test ${enable_no_exceptions+y} +then : enableval=$enable_no_exceptions; if test "$enableval" = yes; then wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes' @@ -5904,7 +6544,7 @@ if test "${enable_no_exceptions+set}" = set; then : wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no' fi -else +else $as_nop wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}" @@ -5925,7 +6565,8 @@ fi fi # Check whether --enable-permissive was given. -if test "${enable_permissive+set}" = set; then : +if test ${enable_permissive+y} +then : enableval=$enable_permissive; if test "$enableval" = yes; then wx_cv_use_permissive='wxUSE_PERMISSIVE=yes' @@ -5933,7 +6574,7 @@ if test "${enable_permissive+set}" = set; then : wx_cv_use_permissive='wxUSE_PERMISSIVE=no' fi -else +else $as_nop wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}" @@ -5954,7 +6595,8 @@ fi fi # Check whether --enable-vararg_macros was given. -if test "${enable_vararg_macros+set}" = set; then : +if test ${enable_vararg_macros+y} +then : enableval=$enable_vararg_macros; if test "$enableval" = yes; then wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes' @@ -5962,7 +6604,7 @@ if test "${enable_vararg_macros+set}" = set; then : wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no' fi -else +else $as_nop wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}" @@ -5976,11 +6618,12 @@ if test "$USE_DARWIN" = 1; then enablestring= # Check whether --enable-universal_binary was given. -if test "${enable_universal_binary+set}" = set; then : +if test ${enable_universal_binary+y} +then : enableval=$enable_universal_binary; wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'" -else +else $as_nop wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY @@ -5992,11 +6635,12 @@ fi enablestring= # Check whether --enable-macosx_arch was given. -if test "${enable_macosx_arch+set}" = set; then : +if test ${enable_macosx_arch+y} +then : enableval=$enable_macosx_arch; wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'" -else +else $as_nop wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH @@ -6018,7 +6662,8 @@ fi fi # Check whether --enable-compat30 was given. -if test "${enable_compat30+set}" = set; then : +if test ${enable_compat30+y} +then : enableval=$enable_compat30; if test "$enableval" = yes; then wx_cv_use_compat30='WXWIN_COMPATIBILITY_3_0=yes' @@ -6026,7 +6671,7 @@ if test "${enable_compat30+set}" = set; then : wx_cv_use_compat30='WXWIN_COMPATIBILITY_3_0=no' fi -else +else $as_nop wx_cv_use_compat30='WXWIN_COMPATIBILITY_3_0=${'DEFAULT_WXWIN_COMPATIBILITY_3_0":-$defaultval}" @@ -6047,7 +6692,8 @@ fi fi # Check whether --enable-compat32 was given. -if test "${enable_compat32+set}" = set; then : +if test ${enable_compat32+y} +then : enableval=$enable_compat32; if test "$enableval" = yes; then wx_cv_use_compat32='WXWIN_COMPATIBILITY_3_2=yes' @@ -6055,7 +6701,7 @@ if test "${enable_compat32+set}" = set; then : wx_cv_use_compat32='WXWIN_COMPATIBILITY_3_2=no' fi -else +else $as_nop wx_cv_use_compat32='WXWIN_COMPATIBILITY_3_2=${'DEFAULT_WXWIN_COMPATIBILITY_3_2":-$defaultval}" @@ -6077,7 +6723,8 @@ fi fi # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" = set; then : +if test ${enable_rpath+y} +then : enableval=$enable_rpath; if test "$enableval" = yes; then wx_cv_use_rpath='wxUSE_RPATH=yes' @@ -6085,7 +6732,7 @@ if test "${enable_rpath+set}" = set; then : wx_cv_use_rpath='wxUSE_RPATH=no' fi -else +else $as_nop wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}" @@ -6107,7 +6754,8 @@ fi fi # Check whether --enable-visibility was given. -if test "${enable_visibility+set}" = set; then : +if test ${enable_visibility+y} +then : enableval=$enable_visibility; if test "$enableval" = yes; then wx_cv_use_visibility='wxUSE_VISIBILITY=yes' @@ -6115,7 +6763,7 @@ if test "${enable_visibility+set}" = set; then : wx_cv_use_visibility='wxUSE_VISIBILITY=no' fi -else +else $as_nop wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}" @@ -6137,7 +6785,8 @@ fi fi # Check whether --enable-repro_build was given. -if test "${enable_repro_build+set}" = set; then : +if test ${enable_repro_build+y} +then : enableval=$enable_repro_build; if test "$enableval" = yes; then wx_cv_use_repro_build='wxUSE_REPRODUCIBLE_BUILD=yes' @@ -6145,7 +6794,7 @@ if test "${enable_repro_build+set}" = set; then : wx_cv_use_repro_build='wxUSE_REPRODUCIBLE_BUILD=no' fi -else +else $as_nop wx_cv_use_repro_build='wxUSE_REPRODUCIBLE_BUILD=${'DEFAULT_wxUSE_REPRODUCIBLE_BUILD":-$defaultval}" @@ -6166,7 +6815,8 @@ fi fi # Check whether --enable-pch was given. -if test "${enable_pch+set}" = set; then : +if test ${enable_pch+y} +then : enableval=$enable_pch; if test "$enableval" = yes; then wx_cv_use_pch='wxUSE_PCH=yes' @@ -6174,7 +6824,7 @@ if test "${enable_pch+set}" = set; then : wx_cv_use_pch='wxUSE_PCH=no' fi -else +else $as_nop wx_cv_use_pch='wxUSE_PCH=${'DEFAULT_wxUSE_PCH":-$defaultval}" @@ -6197,7 +6847,8 @@ fi fi # Check whether --enable-intl was given. -if test "${enable_intl+set}" = set; then : +if test ${enable_intl+y} +then : enableval=$enable_intl; if test "$enableval" = yes; then wx_cv_use_intl='wxUSE_INTL=yes' @@ -6205,7 +6856,7 @@ if test "${enable_intl+set}" = set; then : wx_cv_use_intl='wxUSE_INTL=no' fi -else +else $as_nop wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}" @@ -6226,7 +6877,8 @@ fi fi # Check whether --enable-xlocale was given. -if test "${enable_xlocale+set}" = set; then : +if test ${enable_xlocale+y} +then : enableval=$enable_xlocale; if test "$enableval" = yes; then wx_cv_use_xlocale='wxUSE_XLOCALE=yes' @@ -6234,7 +6886,7 @@ if test "${enable_xlocale+set}" = set; then : wx_cv_use_xlocale='wxUSE_XLOCALE=no' fi -else +else $as_nop wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}" @@ -6255,7 +6907,8 @@ fi fi # Check whether --enable-config was given. -if test "${enable_config+set}" = set; then : +if test ${enable_config+y} +then : enableval=$enable_config; if test "$enableval" = yes; then wx_cv_use_config='wxUSE_CONFIG=yes' @@ -6263,7 +6916,7 @@ if test "${enable_config+set}" = set; then : wx_cv_use_config='wxUSE_CONFIG=no' fi -else +else $as_nop wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}" @@ -6285,7 +6938,8 @@ fi fi # Check whether --enable-protocols was given. -if test "${enable_protocols+set}" = set; then : +if test ${enable_protocols+y} +then : enableval=$enable_protocols; if test "$enableval" = yes; then wx_cv_use_protocols='wxUSE_PROTOCOL=yes' @@ -6293,7 +6947,7 @@ if test "${enable_protocols+set}" = set; then : wx_cv_use_protocols='wxUSE_PROTOCOL=no' fi -else +else $as_nop wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}" @@ -6314,7 +6968,8 @@ fi fi # Check whether --enable-ftp was given. -if test "${enable_ftp+set}" = set; then : +if test ${enable_ftp+y} +then : enableval=$enable_ftp; if test "$enableval" = yes; then wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes' @@ -6322,7 +6977,7 @@ if test "${enable_ftp+set}" = set; then : wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no' fi -else +else $as_nop wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}" @@ -6343,7 +6998,8 @@ fi fi # Check whether --enable-http was given. -if test "${enable_http+set}" = set; then : +if test ${enable_http+y} +then : enableval=$enable_http; if test "$enableval" = yes; then wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes' @@ -6351,7 +7007,7 @@ if test "${enable_http+set}" = set; then : wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no' fi -else +else $as_nop wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}" @@ -6372,7 +7028,8 @@ fi fi # Check whether --enable-fileproto was given. -if test "${enable_fileproto+set}" = set; then : +if test ${enable_fileproto+y} +then : enableval=$enable_fileproto; if test "$enableval" = yes; then wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes' @@ -6380,7 +7037,7 @@ if test "${enable_fileproto+set}" = set; then : wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no' fi -else +else $as_nop wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}" @@ -6401,7 +7058,8 @@ fi fi # Check whether --enable-sockets was given. -if test "${enable_sockets+set}" = set; then : +if test ${enable_sockets+y} +then : enableval=$enable_sockets; if test "$enableval" = yes; then wx_cv_use_sockets='wxUSE_SOCKETS=yes' @@ -6409,7 +7067,7 @@ if test "${enable_sockets+set}" = set; then : wx_cv_use_sockets='wxUSE_SOCKETS=no' fi -else +else $as_nop wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}" @@ -6430,7 +7088,8 @@ fi fi # Check whether --enable-ipv6 was given. -if test "${enable_ipv6+set}" = set; then : +if test ${enable_ipv6+y} +then : enableval=$enable_ipv6; if test "$enableval" = yes; then wx_cv_use_ipv6='wxUSE_IPV6=yes' @@ -6438,7 +7097,7 @@ if test "${enable_ipv6+set}" = set; then : wx_cv_use_ipv6='wxUSE_IPV6=no' fi -else +else $as_nop wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}" @@ -6459,7 +7118,8 @@ fi fi # Check whether --enable-ole was given. -if test "${enable_ole+set}" = set; then : +if test ${enable_ole+y} +then : enableval=$enable_ole; if test "$enableval" = yes; then wx_cv_use_ole='wxUSE_OLE=yes' @@ -6467,7 +7127,7 @@ if test "${enable_ole+set}" = set; then : wx_cv_use_ole='wxUSE_OLE=no' fi -else +else $as_nop wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}" @@ -6488,7 +7148,8 @@ fi fi # Check whether --enable-dataobj was given. -if test "${enable_dataobj+set}" = set; then : +if test ${enable_dataobj+y} +then : enableval=$enable_dataobj; if test "$enableval" = yes; then wx_cv_use_dataobj='wxUSE_DATAOBJ=yes' @@ -6496,7 +7157,7 @@ if test "${enable_dataobj+set}" = set; then : wx_cv_use_dataobj='wxUSE_DATAOBJ=no' fi -else +else $as_nop wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}" @@ -6517,7 +7178,8 @@ fi fi # Check whether --enable-webrequest was given. -if test "${enable_webrequest+set}" = set; then : +if test ${enable_webrequest+y} +then : enableval=$enable_webrequest; if test "$enableval" = yes; then wx_cv_use_webrequest='wxUSE_WEBREQUEST=yes' @@ -6525,7 +7187,7 @@ if test "${enable_webrequest+set}" = set; then : wx_cv_use_webrequest='wxUSE_WEBREQUEST=no' fi -else +else $as_nop wx_cv_use_webrequest='wxUSE_WEBREQUEST=${'DEFAULT_wxUSE_WEBREQUEST":-$defaultval}" @@ -6547,7 +7209,8 @@ fi fi # Check whether --enable-ipc was given. -if test "${enable_ipc+set}" = set; then : +if test ${enable_ipc+y} +then : enableval=$enable_ipc; if test "$enableval" = yes; then wx_cv_use_ipc='wxUSE_IPC=yes' @@ -6555,7 +7218,7 @@ if test "${enable_ipc+set}" = set; then : wx_cv_use_ipc='wxUSE_IPC=no' fi -else +else $as_nop wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}" @@ -6577,7 +7240,8 @@ fi fi # Check whether --enable-baseevtloop was given. -if test "${enable_baseevtloop+set}" = set; then : +if test ${enable_baseevtloop+y} +then : enableval=$enable_baseevtloop; if test "$enableval" = yes; then wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes' @@ -6585,7 +7249,7 @@ if test "${enable_baseevtloop+set}" = set; then : wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no' fi -else +else $as_nop wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}" @@ -6606,7 +7270,8 @@ fi fi # Check whether --enable-epollloop was given. -if test "${enable_epollloop+set}" = set; then : +if test ${enable_epollloop+y} +then : enableval=$enable_epollloop; if test "$enableval" = yes; then wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes' @@ -6614,7 +7279,7 @@ if test "${enable_epollloop+set}" = set; then : wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no' fi -else +else $as_nop wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}" @@ -6635,7 +7300,8 @@ fi fi # Check whether --enable-selectloop was given. -if test "${enable_selectloop+set}" = set; then : +if test ${enable_selectloop+y} +then : enableval=$enable_selectloop; if test "$enableval" = yes; then wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes' @@ -6643,7 +7309,7 @@ if test "${enable_selectloop+set}" = set; then : wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no' fi -else +else $as_nop wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}" @@ -6665,7 +7331,8 @@ fi fi # Check whether --enable-any was given. -if test "${enable_any+set}" = set; then : +if test ${enable_any+y} +then : enableval=$enable_any; if test "$enableval" = yes; then wx_cv_use_any='wxUSE_ANY=yes' @@ -6673,7 +7340,7 @@ if test "${enable_any+set}" = set; then : wx_cv_use_any='wxUSE_ANY=no' fi -else +else $as_nop wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}" @@ -6694,7 +7361,8 @@ fi fi # Check whether --enable-apple_ieee was given. -if test "${enable_apple_ieee+set}" = set; then : +if test ${enable_apple_ieee+y} +then : enableval=$enable_apple_ieee; if test "$enableval" = yes; then wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes' @@ -6702,7 +7370,7 @@ if test "${enable_apple_ieee+set}" = set; then : wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no' fi -else +else $as_nop wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}" @@ -6723,7 +7391,8 @@ fi fi # Check whether --enable-arcstream was given. -if test "${enable_arcstream+set}" = set; then : +if test ${enable_arcstream+y} +then : enableval=$enable_arcstream; if test "$enableval" = yes; then wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes' @@ -6731,7 +7400,7 @@ if test "${enable_arcstream+set}" = set; then : wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no' fi -else +else $as_nop wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}" @@ -6752,7 +7421,8 @@ fi fi # Check whether --enable-base64 was given. -if test "${enable_base64+set}" = set; then : +if test ${enable_base64+y} +then : enableval=$enable_base64; if test "$enableval" = yes; then wx_cv_use_base64='wxUSE_BASE64=yes' @@ -6760,7 +7430,7 @@ if test "${enable_base64+set}" = set; then : wx_cv_use_base64='wxUSE_BASE64=no' fi -else +else $as_nop wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}" @@ -6781,7 +7451,8 @@ fi fi # Check whether --enable-backtrace was given. -if test "${enable_backtrace+set}" = set; then : +if test ${enable_backtrace+y} +then : enableval=$enable_backtrace; if test "$enableval" = yes; then wx_cv_use_backtrace='wxUSE_STACKWALKER=yes' @@ -6789,7 +7460,7 @@ if test "${enable_backtrace+set}" = set; then : wx_cv_use_backtrace='wxUSE_STACKWALKER=no' fi -else +else $as_nop wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}" @@ -6810,7 +7481,8 @@ fi fi # Check whether --enable-catch_segvs was given. -if test "${enable_catch_segvs+set}" = set; then : +if test ${enable_catch_segvs+y} +then : enableval=$enable_catch_segvs; if test "$enableval" = yes; then wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes' @@ -6818,7 +7490,7 @@ if test "${enable_catch_segvs+set}" = set; then : wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no' fi -else +else $as_nop wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}" @@ -6839,7 +7511,8 @@ fi fi # Check whether --enable-cmdline was given. -if test "${enable_cmdline+set}" = set; then : +if test ${enable_cmdline+y} +then : enableval=$enable_cmdline; if test "$enableval" = yes; then wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes' @@ -6847,7 +7520,7 @@ if test "${enable_cmdline+set}" = set; then : wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no' fi -else +else $as_nop wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}" @@ -6868,7 +7541,8 @@ fi fi # Check whether --enable-datetime was given. -if test "${enable_datetime+set}" = set; then : +if test ${enable_datetime+y} +then : enableval=$enable_datetime; if test "$enableval" = yes; then wx_cv_use_datetime='wxUSE_DATETIME=yes' @@ -6876,7 +7550,7 @@ if test "${enable_datetime+set}" = set; then : wx_cv_use_datetime='wxUSE_DATETIME=no' fi -else +else $as_nop wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}" @@ -6897,7 +7571,8 @@ fi fi # Check whether --enable-debugreport was given. -if test "${enable_debugreport+set}" = set; then : +if test ${enable_debugreport+y} +then : enableval=$enable_debugreport; if test "$enableval" = yes; then wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes' @@ -6905,7 +7580,7 @@ if test "${enable_debugreport+set}" = set; then : wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no' fi -else +else $as_nop wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}" @@ -6926,7 +7601,8 @@ fi fi # Check whether --enable-dialupman was given. -if test "${enable_dialupman+set}" = set; then : +if test ${enable_dialupman+y} +then : enableval=$enable_dialupman; if test "$enableval" = yes; then wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes' @@ -6934,7 +7610,7 @@ if test "${enable_dialupman+set}" = set; then : wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no' fi -else +else $as_nop wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}" @@ -6955,7 +7631,8 @@ fi fi # Check whether --enable-dynlib was given. -if test "${enable_dynlib+set}" = set; then : +if test ${enable_dynlib+y} +then : enableval=$enable_dynlib; if test "$enableval" = yes; then wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes' @@ -6963,7 +7640,7 @@ if test "${enable_dynlib+set}" = set; then : wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no' fi -else +else $as_nop wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}" @@ -6984,7 +7661,8 @@ fi fi # Check whether --enable-dynamicloader was given. -if test "${enable_dynamicloader+set}" = set; then : +if test ${enable_dynamicloader+y} +then : enableval=$enable_dynamicloader; if test "$enableval" = yes; then wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes' @@ -6992,7 +7670,7 @@ if test "${enable_dynamicloader+set}" = set; then : wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no' fi -else +else $as_nop wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}" @@ -7013,7 +7691,8 @@ fi fi # Check whether --enable-exceptions was given. -if test "${enable_exceptions+set}" = set; then : +if test ${enable_exceptions+y} +then : enableval=$enable_exceptions; if test "$enableval" = yes; then wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes' @@ -7021,7 +7700,7 @@ if test "${enable_exceptions+set}" = set; then : wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no' fi -else +else $as_nop wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}" @@ -7042,7 +7721,8 @@ fi fi # Check whether --enable-ffile was given. -if test "${enable_ffile+set}" = set; then : +if test ${enable_ffile+y} +then : enableval=$enable_ffile; if test "$enableval" = yes; then wx_cv_use_ffile='wxUSE_FFILE=yes' @@ -7050,7 +7730,7 @@ if test "${enable_ffile+set}" = set; then : wx_cv_use_ffile='wxUSE_FFILE=no' fi -else +else $as_nop wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}" @@ -7071,7 +7751,8 @@ fi fi # Check whether --enable-file was given. -if test "${enable_file+set}" = set; then : +if test ${enable_file+y} +then : enableval=$enable_file; if test "$enableval" = yes; then wx_cv_use_file='wxUSE_FILE=yes' @@ -7079,7 +7760,7 @@ if test "${enable_file+set}" = set; then : wx_cv_use_file='wxUSE_FILE=no' fi -else +else $as_nop wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}" @@ -7100,7 +7781,8 @@ fi fi # Check whether --enable-filehistory was given. -if test "${enable_filehistory+set}" = set; then : +if test ${enable_filehistory+y} +then : enableval=$enable_filehistory; if test "$enableval" = yes; then wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes' @@ -7108,7 +7790,7 @@ if test "${enable_filehistory+set}" = set; then : wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no' fi -else +else $as_nop wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}" @@ -7129,7 +7811,8 @@ fi fi # Check whether --enable-filesystem was given. -if test "${enable_filesystem+set}" = set; then : +if test ${enable_filesystem+y} +then : enableval=$enable_filesystem; if test "$enableval" = yes; then wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes' @@ -7137,7 +7820,7 @@ if test "${enable_filesystem+set}" = set; then : wx_cv_use_filesystem='wxUSE_FILESYSTEM=no' fi -else +else $as_nop wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}" @@ -7158,7 +7841,8 @@ fi fi # Check whether --enable-fontenum was given. -if test "${enable_fontenum+set}" = set; then : +if test ${enable_fontenum+y} +then : enableval=$enable_fontenum; if test "$enableval" = yes; then wx_cv_use_fontenum='wxUSE_FONTENUM=yes' @@ -7166,7 +7850,7 @@ if test "${enable_fontenum+set}" = set; then : wx_cv_use_fontenum='wxUSE_FONTENUM=no' fi -else +else $as_nop wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}" @@ -7187,7 +7871,8 @@ fi fi # Check whether --enable-fontmap was given. -if test "${enable_fontmap+set}" = set; then : +if test ${enable_fontmap+y} +then : enableval=$enable_fontmap; if test "$enableval" = yes; then wx_cv_use_fontmap='wxUSE_FONTMAP=yes' @@ -7195,7 +7880,7 @@ if test "${enable_fontmap+set}" = set; then : wx_cv_use_fontmap='wxUSE_FONTMAP=no' fi -else +else $as_nop wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}" @@ -7216,7 +7901,8 @@ fi fi # Check whether --enable-fs_archive was given. -if test "${enable_fs_archive+set}" = set; then : +if test ${enable_fs_archive+y} +then : enableval=$enable_fs_archive; if test "$enableval" = yes; then wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes' @@ -7224,7 +7910,7 @@ if test "${enable_fs_archive+set}" = set; then : wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no' fi -else +else $as_nop wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}" @@ -7245,7 +7931,8 @@ fi fi # Check whether --enable-fs_inet was given. -if test "${enable_fs_inet+set}" = set; then : +if test ${enable_fs_inet+y} +then : enableval=$enable_fs_inet; if test "$enableval" = yes; then wx_cv_use_fs_inet='wxUSE_FS_INET=yes' @@ -7253,7 +7940,7 @@ if test "${enable_fs_inet+set}" = set; then : wx_cv_use_fs_inet='wxUSE_FS_INET=no' fi -else +else $as_nop wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}" @@ -7274,7 +7961,8 @@ fi fi # Check whether --enable-fs_zip was given. -if test "${enable_fs_zip+set}" = set; then : +if test ${enable_fs_zip+y} +then : enableval=$enable_fs_zip; if test "$enableval" = yes; then wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes' @@ -7282,7 +7970,7 @@ if test "${enable_fs_zip+set}" = set; then : wx_cv_use_fs_zip='wxUSE_FS_ZIP=no' fi -else +else $as_nop wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}" @@ -7303,7 +7991,8 @@ fi fi # Check whether --enable-fsvolume was given. -if test "${enable_fsvolume+set}" = set; then : +if test ${enable_fsvolume+y} +then : enableval=$enable_fsvolume; if test "$enableval" = yes; then wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes' @@ -7311,7 +8000,7 @@ if test "${enable_fsvolume+set}" = set; then : wx_cv_use_fsvolume='wxUSE_FSVOLUME=no' fi -else +else $as_nop wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}" @@ -7332,7 +8021,8 @@ fi fi # Check whether --enable-fswatcher was given. -if test "${enable_fswatcher+set}" = set; then : +if test ${enable_fswatcher+y} +then : enableval=$enable_fswatcher; if test "$enableval" = yes; then wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes' @@ -7340,7 +8030,7 @@ if test "${enable_fswatcher+set}" = set; then : wx_cv_use_fswatcher='wxUSE_FSWATCHER=no' fi -else +else $as_nop wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}" @@ -7361,7 +8051,8 @@ fi fi # Check whether --enable-geometry was given. -if test "${enable_geometry+set}" = set; then : +if test ${enable_geometry+y} +then : enableval=$enable_geometry; if test "$enableval" = yes; then wx_cv_use_geometry='wxUSE_GEOMETRY=yes' @@ -7369,7 +8060,7 @@ if test "${enable_geometry+set}" = set; then : wx_cv_use_geometry='wxUSE_GEOMETRY=no' fi -else +else $as_nop wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}" @@ -7390,7 +8081,8 @@ fi fi # Check whether --enable-log was given. -if test "${enable_log+set}" = set; then : +if test ${enable_log+y} +then : enableval=$enable_log; if test "$enableval" = yes; then wx_cv_use_log='wxUSE_LOG=yes' @@ -7398,7 +8090,7 @@ if test "${enable_log+set}" = set; then : wx_cv_use_log='wxUSE_LOG=no' fi -else +else $as_nop wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}" @@ -7419,7 +8111,8 @@ fi fi # Check whether --enable-longlong was given. -if test "${enable_longlong+set}" = set; then : +if test ${enable_longlong+y} +then : enableval=$enable_longlong; if test "$enableval" = yes; then wx_cv_use_longlong='wxUSE_LONGLONG=yes' @@ -7427,7 +8120,7 @@ if test "${enable_longlong+set}" = set; then : wx_cv_use_longlong='wxUSE_LONGLONG=no' fi -else +else $as_nop wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}" @@ -7448,7 +8141,8 @@ fi fi # Check whether --enable-mimetype was given. -if test "${enable_mimetype+set}" = set; then : +if test ${enable_mimetype+y} +then : enableval=$enable_mimetype; if test "$enableval" = yes; then wx_cv_use_mimetype='wxUSE_MIMETYPE=yes' @@ -7456,7 +8150,7 @@ if test "${enable_mimetype+set}" = set; then : wx_cv_use_mimetype='wxUSE_MIMETYPE=no' fi -else +else $as_nop wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}" @@ -7477,7 +8171,8 @@ fi fi # Check whether --enable-printfposparam was given. -if test "${enable_printfposparam+set}" = set; then : +if test ${enable_printfposparam+y} +then : enableval=$enable_printfposparam; if test "$enableval" = yes; then wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes' @@ -7485,7 +8180,7 @@ if test "${enable_printfposparam+set}" = set; then : wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no' fi -else +else $as_nop wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}" @@ -7506,7 +8201,8 @@ fi fi # Check whether --enable-secretstore was given. -if test "${enable_secretstore+set}" = set; then : +if test ${enable_secretstore+y} +then : enableval=$enable_secretstore; if test "$enableval" = yes; then wx_cv_use_secretstore='wxUSE_SECRETSTORE=yes' @@ -7514,7 +8210,7 @@ if test "${enable_secretstore+set}" = set; then : wx_cv_use_secretstore='wxUSE_SECRETSTORE=no' fi -else +else $as_nop wx_cv_use_secretstore='wxUSE_SECRETSTORE=${'DEFAULT_wxUSE_SECRETSTORE":-$defaultval}" @@ -7535,7 +8231,8 @@ fi fi # Check whether --enable-snglinst was given. -if test "${enable_snglinst+set}" = set; then : +if test ${enable_snglinst+y} +then : enableval=$enable_snglinst; if test "$enableval" = yes; then wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes' @@ -7543,7 +8240,7 @@ if test "${enable_snglinst+set}" = set; then : wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no' fi -else +else $as_nop wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}" @@ -7564,7 +8261,8 @@ fi fi # Check whether --enable-sound was given. -if test "${enable_sound+set}" = set; then : +if test ${enable_sound+y} +then : enableval=$enable_sound; if test "$enableval" = yes; then wx_cv_use_sound='wxUSE_SOUND=yes' @@ -7572,7 +8270,7 @@ if test "${enable_sound+set}" = set; then : wx_cv_use_sound='wxUSE_SOUND=no' fi -else +else $as_nop wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}" @@ -7593,7 +8291,8 @@ fi fi # Check whether --enable-spellcheck was given. -if test "${enable_spellcheck+set}" = set; then : +if test ${enable_spellcheck+y} +then : enableval=$enable_spellcheck; if test "$enableval" = yes; then wx_cv_use_spellcheck='wxUSE_SPELLCHECK=yes' @@ -7601,7 +8300,7 @@ if test "${enable_spellcheck+set}" = set; then : wx_cv_use_spellcheck='wxUSE_SPELLCHECK=no' fi -else +else $as_nop wx_cv_use_spellcheck='wxUSE_SPELLCHECK=${'DEFAULT_wxUSE_SPELLCHECK":-$defaultval}" @@ -7622,7 +8321,8 @@ fi fi # Check whether --enable-stdpaths was given. -if test "${enable_stdpaths+set}" = set; then : +if test ${enable_stdpaths+y} +then : enableval=$enable_stdpaths; if test "$enableval" = yes; then wx_cv_use_stdpaths='wxUSE_STDPATHS=yes' @@ -7630,7 +8330,7 @@ if test "${enable_stdpaths+set}" = set; then : wx_cv_use_stdpaths='wxUSE_STDPATHS=no' fi -else +else $as_nop wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}" @@ -7651,7 +8351,8 @@ fi fi # Check whether --enable-stopwatch was given. -if test "${enable_stopwatch+set}" = set; then : +if test ${enable_stopwatch+y} +then : enableval=$enable_stopwatch; if test "$enableval" = yes; then wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes' @@ -7659,7 +8360,7 @@ if test "${enable_stopwatch+set}" = set; then : wx_cv_use_stopwatch='wxUSE_STOPWATCH=no' fi -else +else $as_nop wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}" @@ -7680,7 +8381,8 @@ fi fi # Check whether --enable-streams was given. -if test "${enable_streams+set}" = set; then : +if test ${enable_streams+y} +then : enableval=$enable_streams; if test "$enableval" = yes; then wx_cv_use_streams='wxUSE_STREAMS=yes' @@ -7688,7 +8390,7 @@ if test "${enable_streams+set}" = set; then : wx_cv_use_streams='wxUSE_STREAMS=no' fi -else +else $as_nop wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}" @@ -7709,7 +8411,8 @@ fi fi # Check whether --enable-sysoptions was given. -if test "${enable_sysoptions+set}" = set; then : +if test ${enable_sysoptions+y} +then : enableval=$enable_sysoptions; if test "$enableval" = yes; then wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes' @@ -7717,7 +8420,7 @@ if test "${enable_sysoptions+set}" = set; then : wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no' fi -else +else $as_nop wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}" @@ -7738,7 +8441,8 @@ fi fi # Check whether --enable-tarstream was given. -if test "${enable_tarstream+set}" = set; then : +if test ${enable_tarstream+y} +then : enableval=$enable_tarstream; if test "$enableval" = yes; then wx_cv_use_tarstream='wxUSE_TARSTREAM=yes' @@ -7746,7 +8450,7 @@ if test "${enable_tarstream+set}" = set; then : wx_cv_use_tarstream='wxUSE_TARSTREAM=no' fi -else +else $as_nop wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}" @@ -7767,7 +8471,8 @@ fi fi # Check whether --enable-textbuf was given. -if test "${enable_textbuf+set}" = set; then : +if test ${enable_textbuf+y} +then : enableval=$enable_textbuf; if test "$enableval" = yes; then wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes' @@ -7775,7 +8480,7 @@ if test "${enable_textbuf+set}" = set; then : wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no' fi -else +else $as_nop wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}" @@ -7796,7 +8501,8 @@ fi fi # Check whether --enable-textfile was given. -if test "${enable_textfile+set}" = set; then : +if test ${enable_textfile+y} +then : enableval=$enable_textfile; if test "$enableval" = yes; then wx_cv_use_textfile='wxUSE_TEXTFILE=yes' @@ -7804,7 +8510,7 @@ if test "${enable_textfile+set}" = set; then : wx_cv_use_textfile='wxUSE_TEXTFILE=no' fi -else +else $as_nop wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}" @@ -7825,7 +8531,8 @@ fi fi # Check whether --enable-timer was given. -if test "${enable_timer+set}" = set; then : +if test ${enable_timer+y} +then : enableval=$enable_timer; if test "$enableval" = yes; then wx_cv_use_timer='wxUSE_TIMER=yes' @@ -7833,7 +8540,7 @@ if test "${enable_timer+set}" = set; then : wx_cv_use_timer='wxUSE_TIMER=no' fi -else +else $as_nop wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}" @@ -7854,7 +8561,8 @@ fi fi # Check whether --enable-variant was given. -if test "${enable_variant+set}" = set; then : +if test ${enable_variant+y} +then : enableval=$enable_variant; if test "$enableval" = yes; then wx_cv_use_variant='wxUSE_VARIANT=yes' @@ -7862,7 +8570,7 @@ if test "${enable_variant+set}" = set; then : wx_cv_use_variant='wxUSE_VARIANT=no' fi -else +else $as_nop wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}" @@ -7883,7 +8591,8 @@ fi fi # Check whether --enable-zipstream was given. -if test "${enable_zipstream+set}" = set; then : +if test ${enable_zipstream+y} +then : enableval=$enable_zipstream; if test "$enableval" = yes; then wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes' @@ -7891,7 +8600,7 @@ if test "${enable_zipstream+set}" = set; then : wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no' fi -else +else $as_nop wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}" @@ -7913,7 +8622,8 @@ fi fi # Check whether --enable-url was given. -if test "${enable_url+set}" = set; then : +if test ${enable_url+y} +then : enableval=$enable_url; if test "$enableval" = yes; then wx_cv_use_url='wxUSE_URL=yes' @@ -7921,7 +8631,7 @@ if test "${enable_url+set}" = set; then : wx_cv_use_url='wxUSE_URL=no' fi -else +else $as_nop wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}" @@ -7942,7 +8652,8 @@ fi fi # Check whether --enable-protocol was given. -if test "${enable_protocol+set}" = set; then : +if test ${enable_protocol+y} +then : enableval=$enable_protocol; if test "$enableval" = yes; then wx_cv_use_protocol='wxUSE_PROTOCOL=yes' @@ -7950,7 +8661,7 @@ if test "${enable_protocol+set}" = set; then : wx_cv_use_protocol='wxUSE_PROTOCOL=no' fi -else +else $as_nop wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}" @@ -7971,7 +8682,8 @@ fi fi # Check whether --enable-protocol_http was given. -if test "${enable_protocol_http+set}" = set; then : +if test ${enable_protocol_http+y} +then : enableval=$enable_protocol_http; if test "$enableval" = yes; then wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes' @@ -7979,7 +8691,7 @@ if test "${enable_protocol_http+set}" = set; then : wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no' fi -else +else $as_nop wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}" @@ -8000,7 +8712,8 @@ fi fi # Check whether --enable-protocol_ftp was given. -if test "${enable_protocol_ftp+set}" = set; then : +if test ${enable_protocol_ftp+y} +then : enableval=$enable_protocol_ftp; if test "$enableval" = yes; then wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes' @@ -8008,7 +8721,7 @@ if test "${enable_protocol_ftp+set}" = set; then : wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no' fi -else +else $as_nop wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}" @@ -8029,7 +8742,8 @@ fi fi # Check whether --enable-protocol_file was given. -if test "${enable_protocol_file+set}" = set; then : +if test ${enable_protocol_file+y} +then : enableval=$enable_protocol_file; if test "$enableval" = yes; then wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes' @@ -8037,7 +8751,7 @@ if test "${enable_protocol_file+set}" = set; then : wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no' fi -else +else $as_nop wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}" @@ -8059,7 +8773,8 @@ fi fi # Check whether --enable-threads was given. -if test "${enable_threads+set}" = set; then : +if test ${enable_threads+y} +then : enableval=$enable_threads; if test "$enableval" = yes; then wx_cv_use_threads='wxUSE_THREADS=yes' @@ -8067,7 +8782,7 @@ if test "${enable_threads+set}" = set; then : wx_cv_use_threads='wxUSE_THREADS=no' fi -else +else $as_nop wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}" @@ -8090,7 +8805,8 @@ if test "$wxUSE_MSW" = 1 ; then fi # Check whether --enable-dbghelp was given. -if test "${enable_dbghelp+set}" = set; then : +if test ${enable_dbghelp+y} +then : enableval=$enable_dbghelp; if test "$enableval" = yes; then wx_cv_use_dbghelp='wxUSE_DBGHELP=yes' @@ -8098,7 +8814,7 @@ if test "${enable_dbghelp+set}" = set; then : wx_cv_use_dbghelp='wxUSE_DBGHELP=no' fi -else +else $as_nop wx_cv_use_dbghelp='wxUSE_DBGHELP=${'DEFAULT_wxUSE_DBGHELP":-$defaultval}" @@ -8119,7 +8835,8 @@ fi fi # Check whether --enable-iniconf was given. -if test "${enable_iniconf+set}" = set; then : +if test ${enable_iniconf+y} +then : enableval=$enable_iniconf; if test "$enableval" = yes; then wx_cv_use_iniconf='wxUSE_INICONF=yes' @@ -8127,7 +8844,7 @@ if test "${enable_iniconf+set}" = set; then : wx_cv_use_iniconf='wxUSE_INICONF=no' fi -else +else $as_nop wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}" @@ -8150,7 +8867,8 @@ fi fi # Check whether --enable-regkey was given. -if test "${enable_regkey+set}" = set; then : +if test ${enable_regkey+y} +then : enableval=$enable_regkey; if test "$enableval" = yes; then wx_cv_use_regkey='wxUSE_REGKEY=yes' @@ -8158,7 +8876,7 @@ if test "${enable_regkey+set}" = set; then : wx_cv_use_regkey='wxUSE_REGKEY=no' fi -else +else $as_nop wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}" @@ -8183,7 +8901,8 @@ if test "$wxUSE_GUI" = "yes"; then fi # Check whether --enable-docview was given. -if test "${enable_docview+set}" = set; then : +if test ${enable_docview+y} +then : enableval=$enable_docview; if test "$enableval" = yes; then wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes' @@ -8191,7 +8910,7 @@ if test "${enable_docview+set}" = set; then : wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no' fi -else +else $as_nop wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}" @@ -8212,7 +8931,8 @@ fi fi # Check whether --enable-help was given. -if test "${enable_help+set}" = set; then : +if test ${enable_help+y} +then : enableval=$enable_help; if test "$enableval" = yes; then wx_cv_use_help='wxUSE_HELP=yes' @@ -8220,7 +8940,7 @@ if test "${enable_help+set}" = set; then : wx_cv_use_help='wxUSE_HELP=no' fi -else +else $as_nop wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}" @@ -8241,7 +8961,8 @@ fi fi # Check whether --enable-mshtmlhelp was given. -if test "${enable_mshtmlhelp+set}" = set; then : +if test ${enable_mshtmlhelp+y} +then : enableval=$enable_mshtmlhelp; if test "$enableval" = yes; then wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes' @@ -8249,7 +8970,7 @@ if test "${enable_mshtmlhelp+set}" = set; then : wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no' fi -else +else $as_nop wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}" @@ -8270,7 +8991,8 @@ fi fi # Check whether --enable-html was given. -if test "${enable_html+set}" = set; then : +if test ${enable_html+y} +then : enableval=$enable_html; if test "$enableval" = yes; then wx_cv_use_html='wxUSE_HTML=yes' @@ -8278,7 +9000,7 @@ if test "${enable_html+set}" = set; then : wx_cv_use_html='wxUSE_HTML=no' fi -else +else $as_nop wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}" @@ -8299,7 +9021,8 @@ fi fi # Check whether --enable-htmlhelp was given. -if test "${enable_htmlhelp+set}" = set; then : +if test ${enable_htmlhelp+y} +then : enableval=$enable_htmlhelp; if test "$enableval" = yes; then wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes' @@ -8307,7 +9030,7 @@ if test "${enable_htmlhelp+set}" = set; then : wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no' fi -else +else $as_nop wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}" @@ -8328,7 +9051,8 @@ fi fi # Check whether --enable-xrc was given. -if test "${enable_xrc+set}" = set; then : +if test ${enable_xrc+y} +then : enableval=$enable_xrc; if test "$enableval" = yes; then wx_cv_use_xrc='wxUSE_XRC=yes' @@ -8336,7 +9060,7 @@ if test "${enable_xrc+set}" = set; then : wx_cv_use_xrc='wxUSE_XRC=no' fi -else +else $as_nop wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}" @@ -8357,7 +9081,8 @@ fi fi # Check whether --enable-aui was given. -if test "${enable_aui+set}" = set; then : +if test ${enable_aui+y} +then : enableval=$enable_aui; if test "$enableval" = yes; then wx_cv_use_aui='wxUSE_AUI=yes' @@ -8365,7 +9090,7 @@ if test "${enable_aui+set}" = set; then : wx_cv_use_aui='wxUSE_AUI=no' fi -else +else $as_nop wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}" @@ -8386,7 +9111,8 @@ fi fi # Check whether --enable-propgrid was given. -if test "${enable_propgrid+set}" = set; then : +if test ${enable_propgrid+y} +then : enableval=$enable_propgrid; if test "$enableval" = yes; then wx_cv_use_propgrid='wxUSE_PROPGRID=yes' @@ -8394,7 +9120,7 @@ if test "${enable_propgrid+set}" = set; then : wx_cv_use_propgrid='wxUSE_PROPGRID=no' fi -else +else $as_nop wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}" @@ -8415,7 +9141,8 @@ fi fi # Check whether --enable-ribbon was given. -if test "${enable_ribbon+set}" = set; then : +if test ${enable_ribbon+y} +then : enableval=$enable_ribbon; if test "$enableval" = yes; then wx_cv_use_ribbon='wxUSE_RIBBON=yes' @@ -8423,7 +9150,7 @@ if test "${enable_ribbon+set}" = set; then : wx_cv_use_ribbon='wxUSE_RIBBON=no' fi -else +else $as_nop wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}" @@ -8444,7 +9171,8 @@ fi fi # Check whether --enable-stc was given. -if test "${enable_stc+set}" = set; then : +if test ${enable_stc+y} +then : enableval=$enable_stc; if test "$enableval" = yes; then wx_cv_use_stc='wxUSE_STC=yes' @@ -8452,7 +9180,7 @@ if test "${enable_stc+set}" = set; then : wx_cv_use_stc='wxUSE_STC=no' fi -else +else $as_nop wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}" @@ -8473,7 +9201,8 @@ fi fi # Check whether --enable-constraints was given. -if test "${enable_constraints+set}" = set; then : +if test ${enable_constraints+y} +then : enableval=$enable_constraints; if test "$enableval" = yes; then wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes' @@ -8481,7 +9210,7 @@ if test "${enable_constraints+set}" = set; then : wx_cv_use_constraints='wxUSE_CONSTRAINTS=no' fi -else +else $as_nop wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}" @@ -8502,7 +9231,8 @@ fi fi # Check whether --enable-loggui was given. -if test "${enable_loggui+set}" = set; then : +if test ${enable_loggui+y} +then : enableval=$enable_loggui; if test "$enableval" = yes; then wx_cv_use_loggui='wxUSE_LOGGUI=yes' @@ -8510,7 +9240,7 @@ if test "${enable_loggui+set}" = set; then : wx_cv_use_loggui='wxUSE_LOGGUI=no' fi -else +else $as_nop wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}" @@ -8531,7 +9261,8 @@ fi fi # Check whether --enable-logwin was given. -if test "${enable_logwin+set}" = set; then : +if test ${enable_logwin+y} +then : enableval=$enable_logwin; if test "$enableval" = yes; then wx_cv_use_logwin='wxUSE_LOGWINDOW=yes' @@ -8539,7 +9270,7 @@ if test "${enable_logwin+set}" = set; then : wx_cv_use_logwin='wxUSE_LOGWINDOW=no' fi -else +else $as_nop wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}" @@ -8560,7 +9291,8 @@ fi fi # Check whether --enable-logdialog was given. -if test "${enable_logdialog+set}" = set; then : +if test ${enable_logdialog+y} +then : enableval=$enable_logdialog; if test "$enableval" = yes; then wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes' @@ -8568,7 +9300,7 @@ if test "${enable_logdialog+set}" = set; then : wx_cv_use_logdialog='wxUSE_LOGDIALOG=no' fi -else +else $as_nop wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}" @@ -8589,7 +9321,8 @@ fi fi # Check whether --enable-mdi was given. -if test "${enable_mdi+set}" = set; then : +if test ${enable_mdi+y} +then : enableval=$enable_mdi; if test "$enableval" = yes; then wx_cv_use_mdi='wxUSE_MDI=yes' @@ -8597,7 +9330,7 @@ if test "${enable_mdi+set}" = set; then : wx_cv_use_mdi='wxUSE_MDI=no' fi -else +else $as_nop wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}" @@ -8618,7 +9351,8 @@ fi fi # Check whether --enable-mdidoc was given. -if test "${enable_mdidoc+set}" = set; then : +if test ${enable_mdidoc+y} +then : enableval=$enable_mdidoc; if test "$enableval" = yes; then wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes' @@ -8626,7 +9360,7 @@ if test "${enable_mdidoc+set}" = set; then : wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no' fi -else +else $as_nop wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}" @@ -8647,7 +9381,8 @@ fi fi # Check whether --enable-mediactrl was given. -if test "${enable_mediactrl+set}" = set; then : +if test ${enable_mediactrl+y} +then : enableval=$enable_mediactrl; if test "$enableval" = yes; then wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes' @@ -8655,7 +9390,7 @@ if test "${enable_mediactrl+set}" = set; then : wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no' fi -else +else $as_nop wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}" @@ -8676,7 +9411,8 @@ fi fi # Check whether --enable-richtext was given. -if test "${enable_richtext+set}" = set; then : +if test ${enable_richtext+y} +then : enableval=$enable_richtext; if test "$enableval" = yes; then wx_cv_use_richtext='wxUSE_RICHTEXT=yes' @@ -8684,7 +9420,7 @@ if test "${enable_richtext+set}" = set; then : wx_cv_use_richtext='wxUSE_RICHTEXT=no' fi -else +else $as_nop wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}" @@ -8705,7 +9441,8 @@ fi fi # Check whether --enable-postscript was given. -if test "${enable_postscript+set}" = set; then : +if test ${enable_postscript+y} +then : enableval=$enable_postscript; if test "$enableval" = yes; then wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes' @@ -8713,7 +9450,7 @@ if test "${enable_postscript+set}" = set; then : wx_cv_use_postscript='wxUSE_POSTSCRIPT=no' fi -else +else $as_nop wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}" @@ -8734,7 +9471,8 @@ fi fi # Check whether --enable-printarch was given. -if test "${enable_printarch+set}" = set; then : +if test ${enable_printarch+y} +then : enableval=$enable_printarch; if test "$enableval" = yes; then wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes' @@ -8742,7 +9480,7 @@ if test "${enable_printarch+set}" = set; then : wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no' fi -else +else $as_nop wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}" @@ -8763,7 +9501,8 @@ fi fi # Check whether --enable-svg was given. -if test "${enable_svg+set}" = set; then : +if test ${enable_svg+y} +then : enableval=$enable_svg; if test "$enableval" = yes; then wx_cv_use_svg='wxUSE_SVG=yes' @@ -8771,7 +9510,7 @@ if test "${enable_svg+set}" = set; then : wx_cv_use_svg='wxUSE_SVG=no' fi -else +else $as_nop wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}" @@ -8792,7 +9531,8 @@ fi fi # Check whether --enable-webview was given. -if test "${enable_webview+set}" = set; then : +if test ${enable_webview+y} +then : enableval=$enable_webview; if test "$enableval" = yes; then wx_cv_use_webview='wxUSE_WEBVIEW=yes' @@ -8800,7 +9540,7 @@ if test "${enable_webview+set}" = set; then : wx_cv_use_webview='wxUSE_WEBVIEW=no' fi -else +else $as_nop wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}" @@ -8823,7 +9563,8 @@ if test "$wxUSE_MAC" != 1; then fi # Check whether --enable-graphics_ctx was given. -if test "${enable_graphics_ctx+set}" = set; then : +if test ${enable_graphics_ctx+y} +then : enableval=$enable_graphics_ctx; if test "$enableval" = yes; then wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes' @@ -8831,7 +9572,7 @@ if test "${enable_graphics_ctx+set}" = set; then : wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no' fi -else +else $as_nop wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}" @@ -8855,7 +9596,8 @@ if test "$wxUSE_MSW" = 1 ; then fi # Check whether --enable-graphics_d2d was given. -if test "${enable_graphics_d2d+set}" = set; then : +if test ${enable_graphics_d2d+y} +then : enableval=$enable_graphics_d2d; if test "$enableval" = yes; then wx_cv_use_graphics_d2d='wxUSE_GRAPHICS_DIRECT2D=yes' @@ -8863,7 +9605,7 @@ if test "${enable_graphics_d2d+set}" = set; then : wx_cv_use_graphics_d2d='wxUSE_GRAPHICS_DIRECT2D=no' fi -else +else $as_nop wx_cv_use_graphics_d2d='wxUSE_GRAPHICS_DIRECT2D=${'DEFAULT_wxUSE_GRAPHICS_DIRECT2D":-$defaultval}" @@ -8887,7 +9629,8 @@ fi fi # Check whether --enable-clipboard was given. -if test "${enable_clipboard+set}" = set; then : +if test ${enable_clipboard+y} +then : enableval=$enable_clipboard; if test "$enableval" = yes; then wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes' @@ -8895,7 +9638,7 @@ if test "${enable_clipboard+set}" = set; then : wx_cv_use_clipboard='wxUSE_CLIPBOARD=no' fi -else +else $as_nop wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}" @@ -8916,7 +9659,8 @@ fi fi # Check whether --enable-dnd was given. -if test "${enable_dnd+set}" = set; then : +if test ${enable_dnd+y} +then : enableval=$enable_dnd; if test "$enableval" = yes; then wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes' @@ -8924,7 +9668,7 @@ if test "${enable_dnd+set}" = set; then : wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no' fi -else +else $as_nop wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}" @@ -8948,7 +9692,8 @@ DEFAULT_wxUSE_CONTROLS=none fi # Check whether --enable-controls was given. -if test "${enable_controls+set}" = set; then : +if test ${enable_controls+y} +then : enableval=$enable_controls; if test "$enableval" = yes; then wx_cv_use_controls='wxUSE_CONTROLS=yes' @@ -8956,7 +9701,7 @@ if test "${enable_controls+set}" = set; then : wx_cv_use_controls='wxUSE_CONTROLS=no' fi -else +else $as_nop wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}" @@ -9042,7 +9787,8 @@ fi fi # Check whether --enable-markup was given. -if test "${enable_markup+set}" = set; then : +if test ${enable_markup+y} +then : enableval=$enable_markup; if test "$enableval" = yes; then wx_cv_use_markup='wxUSE_MARKUP=yes' @@ -9050,7 +9796,7 @@ if test "${enable_markup+set}" = set; then : wx_cv_use_markup='wxUSE_MARKUP=no' fi -else +else $as_nop wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}" @@ -9072,7 +9818,8 @@ fi fi # Check whether --enable-accel was given. -if test "${enable_accel+set}" = set; then : +if test ${enable_accel+y} +then : enableval=$enable_accel; if test "$enableval" = yes; then wx_cv_use_accel='wxUSE_ACCEL=yes' @@ -9080,7 +9827,7 @@ if test "${enable_accel+set}" = set; then : wx_cv_use_accel='wxUSE_ACCEL=no' fi -else +else $as_nop wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}" @@ -9101,7 +9848,8 @@ fi fi # Check whether --enable-actindicator was given. -if test "${enable_actindicator+set}" = set; then : +if test ${enable_actindicator+y} +then : enableval=$enable_actindicator; if test "$enableval" = yes; then wx_cv_use_actindicator='wxUSE_ACTIVITYINDICATOR=yes' @@ -9109,7 +9857,7 @@ if test "${enable_actindicator+set}" = set; then : wx_cv_use_actindicator='wxUSE_ACTIVITYINDICATOR=no' fi -else +else $as_nop wx_cv_use_actindicator='wxUSE_ACTIVITYINDICATOR=${'DEFAULT_wxUSE_ACTIVITYINDICATOR":-$defaultval}" @@ -9130,7 +9878,8 @@ fi fi # Check whether --enable-addremovectrl was given. -if test "${enable_addremovectrl+set}" = set; then : +if test ${enable_addremovectrl+y} +then : enableval=$enable_addremovectrl; if test "$enableval" = yes; then wx_cv_use_addremovectrl='wxUSE_ADDREMOVECTRL=yes' @@ -9138,7 +9887,7 @@ if test "${enable_addremovectrl+set}" = set; then : wx_cv_use_addremovectrl='wxUSE_ADDREMOVECTRL=no' fi -else +else $as_nop wx_cv_use_addremovectrl='wxUSE_ADDREMOVECTRL=${'DEFAULT_wxUSE_ADDREMOVECTRL":-$defaultval}" @@ -9159,7 +9908,8 @@ fi fi # Check whether --enable-animatectrl was given. -if test "${enable_animatectrl+set}" = set; then : +if test ${enable_animatectrl+y} +then : enableval=$enable_animatectrl; if test "$enableval" = yes; then wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes' @@ -9167,7 +9917,7 @@ if test "${enable_animatectrl+set}" = set; then : wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no' fi -else +else $as_nop wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}" @@ -9188,7 +9938,8 @@ fi fi # Check whether --enable-bannerwindow was given. -if test "${enable_bannerwindow+set}" = set; then : +if test ${enable_bannerwindow+y} +then : enableval=$enable_bannerwindow; if test "$enableval" = yes; then wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes' @@ -9196,7 +9947,7 @@ if test "${enable_bannerwindow+set}" = set; then : wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no' fi -else +else $as_nop wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}" @@ -9217,7 +9968,8 @@ fi fi # Check whether --enable-artstd was given. -if test "${enable_artstd+set}" = set; then : +if test ${enable_artstd+y} +then : enableval=$enable_artstd; if test "$enableval" = yes; then wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes' @@ -9225,7 +9977,7 @@ if test "${enable_artstd+set}" = set; then : wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no' fi -else +else $as_nop wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}" @@ -9246,7 +9998,8 @@ fi fi # Check whether --enable-arttango was given. -if test "${enable_arttango+set}" = set; then : +if test ${enable_arttango+y} +then : enableval=$enable_arttango; if test "$enableval" = yes; then wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes' @@ -9254,7 +10007,7 @@ if test "${enable_arttango+set}" = set; then : wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no' fi -else +else $as_nop wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}" @@ -9275,7 +10028,8 @@ fi fi # Check whether --enable-bmpbutton was given. -if test "${enable_bmpbutton+set}" = set; then : +if test ${enable_bmpbutton+y} +then : enableval=$enable_bmpbutton; if test "$enableval" = yes; then wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes' @@ -9283,7 +10037,7 @@ if test "${enable_bmpbutton+set}" = set; then : wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no' fi -else +else $as_nop wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}" @@ -9304,7 +10058,8 @@ fi fi # Check whether --enable-bmpcombobox was given. -if test "${enable_bmpcombobox+set}" = set; then : +if test ${enable_bmpcombobox+y} +then : enableval=$enable_bmpcombobox; if test "$enableval" = yes; then wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes' @@ -9312,7 +10067,7 @@ if test "${enable_bmpcombobox+set}" = set; then : wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no' fi -else +else $as_nop wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}" @@ -9333,7 +10088,8 @@ fi fi # Check whether --enable-button was given. -if test "${enable_button+set}" = set; then : +if test ${enable_button+y} +then : enableval=$enable_button; if test "$enableval" = yes; then wx_cv_use_button='wxUSE_BUTTON=yes' @@ -9341,7 +10097,7 @@ if test "${enable_button+set}" = set; then : wx_cv_use_button='wxUSE_BUTTON=no' fi -else +else $as_nop wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}" @@ -9362,7 +10118,8 @@ fi fi # Check whether --enable-calendar was given. -if test "${enable_calendar+set}" = set; then : +if test ${enable_calendar+y} +then : enableval=$enable_calendar; if test "$enableval" = yes; then wx_cv_use_calendar='wxUSE_CALCTRL=yes' @@ -9370,7 +10127,7 @@ if test "${enable_calendar+set}" = set; then : wx_cv_use_calendar='wxUSE_CALCTRL=no' fi -else +else $as_nop wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}" @@ -9391,7 +10148,8 @@ fi fi # Check whether --enable-caret was given. -if test "${enable_caret+set}" = set; then : +if test ${enable_caret+y} +then : enableval=$enable_caret; if test "$enableval" = yes; then wx_cv_use_caret='wxUSE_CARET=yes' @@ -9399,7 +10157,7 @@ if test "${enable_caret+set}" = set; then : wx_cv_use_caret='wxUSE_CARET=no' fi -else +else $as_nop wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}" @@ -9420,7 +10178,8 @@ fi fi # Check whether --enable-checkbox was given. -if test "${enable_checkbox+set}" = set; then : +if test ${enable_checkbox+y} +then : enableval=$enable_checkbox; if test "$enableval" = yes; then wx_cv_use_checkbox='wxUSE_CHECKBOX=yes' @@ -9428,7 +10187,7 @@ if test "${enable_checkbox+set}" = set; then : wx_cv_use_checkbox='wxUSE_CHECKBOX=no' fi -else +else $as_nop wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}" @@ -9449,7 +10208,8 @@ fi fi # Check whether --enable-checklst was given. -if test "${enable_checklst+set}" = set; then : +if test ${enable_checklst+y} +then : enableval=$enable_checklst; if test "$enableval" = yes; then wx_cv_use_checklst='wxUSE_CHECKLST=yes' @@ -9457,7 +10217,7 @@ if test "${enable_checklst+set}" = set; then : wx_cv_use_checklst='wxUSE_CHECKLST=no' fi -else +else $as_nop wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}" @@ -9478,7 +10238,8 @@ fi fi # Check whether --enable-choice was given. -if test "${enable_choice+set}" = set; then : +if test ${enable_choice+y} +then : enableval=$enable_choice; if test "$enableval" = yes; then wx_cv_use_choice='wxUSE_CHOICE=yes' @@ -9486,7 +10247,7 @@ if test "${enable_choice+set}" = set; then : wx_cv_use_choice='wxUSE_CHOICE=no' fi -else +else $as_nop wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}" @@ -9507,7 +10268,8 @@ fi fi # Check whether --enable-choicebook was given. -if test "${enable_choicebook+set}" = set; then : +if test ${enable_choicebook+y} +then : enableval=$enable_choicebook; if test "$enableval" = yes; then wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes' @@ -9515,7 +10277,7 @@ if test "${enable_choicebook+set}" = set; then : wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no' fi -else +else $as_nop wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}" @@ -9536,7 +10298,8 @@ fi fi # Check whether --enable-collpane was given. -if test "${enable_collpane+set}" = set; then : +if test ${enable_collpane+y} +then : enableval=$enable_collpane; if test "$enableval" = yes; then wx_cv_use_collpane='wxUSE_COLLPANE=yes' @@ -9544,7 +10307,7 @@ if test "${enable_collpane+set}" = set; then : wx_cv_use_collpane='wxUSE_COLLPANE=no' fi -else +else $as_nop wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}" @@ -9565,7 +10328,8 @@ fi fi # Check whether --enable-colourpicker was given. -if test "${enable_colourpicker+set}" = set; then : +if test ${enable_colourpicker+y} +then : enableval=$enable_colourpicker; if test "$enableval" = yes; then wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes' @@ -9573,7 +10337,7 @@ if test "${enable_colourpicker+set}" = set; then : wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no' fi -else +else $as_nop wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}" @@ -9594,7 +10358,8 @@ fi fi # Check whether --enable-combobox was given. -if test "${enable_combobox+set}" = set; then : +if test ${enable_combobox+y} +then : enableval=$enable_combobox; if test "$enableval" = yes; then wx_cv_use_combobox='wxUSE_COMBOBOX=yes' @@ -9602,7 +10367,7 @@ if test "${enable_combobox+set}" = set; then : wx_cv_use_combobox='wxUSE_COMBOBOX=no' fi -else +else $as_nop wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}" @@ -9623,7 +10388,8 @@ fi fi # Check whether --enable-comboctrl was given. -if test "${enable_comboctrl+set}" = set; then : +if test ${enable_comboctrl+y} +then : enableval=$enable_comboctrl; if test "$enableval" = yes; then wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes' @@ -9631,7 +10397,7 @@ if test "${enable_comboctrl+set}" = set; then : wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no' fi -else +else $as_nop wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}" @@ -9652,7 +10418,8 @@ fi fi # Check whether --enable-commandlinkbutton was given. -if test "${enable_commandlinkbutton+set}" = set; then : +if test ${enable_commandlinkbutton+y} +then : enableval=$enable_commandlinkbutton; if test "$enableval" = yes; then wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes' @@ -9660,7 +10427,7 @@ if test "${enable_commandlinkbutton+set}" = set; then : wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no' fi -else +else $as_nop wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}" @@ -9681,7 +10448,8 @@ fi fi # Check whether --enable-dataviewctrl was given. -if test "${enable_dataviewctrl+set}" = set; then : +if test ${enable_dataviewctrl+y} +then : enableval=$enable_dataviewctrl; if test "$enableval" = yes; then wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes' @@ -9689,7 +10457,7 @@ if test "${enable_dataviewctrl+set}" = set; then : wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no' fi -else +else $as_nop wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}" @@ -9710,7 +10478,8 @@ fi fi # Check whether --enable-nativedvc was given. -if test "${enable_nativedvc+set}" = set; then : +if test ${enable_nativedvc+y} +then : enableval=$enable_nativedvc; if test "$enableval" = yes; then wx_cv_use_nativedvc='wxUSE_NATIVE_DATAVIEWCTRL=yes' @@ -9718,7 +10487,7 @@ if test "${enable_nativedvc+set}" = set; then : wx_cv_use_nativedvc='wxUSE_NATIVE_DATAVIEWCTRL=no' fi -else +else $as_nop wx_cv_use_nativedvc='wxUSE_NATIVE_DATAVIEWCTRL=${'DEFAULT_wxUSE_NATIVE_DATAVIEWCTRL":-$defaultval}" @@ -9739,7 +10508,8 @@ fi fi # Check whether --enable-datepick was given. -if test "${enable_datepick+set}" = set; then : +if test ${enable_datepick+y} +then : enableval=$enable_datepick; if test "$enableval" = yes; then wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes' @@ -9747,7 +10517,7 @@ if test "${enable_datepick+set}" = set; then : wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no' fi -else +else $as_nop wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}" @@ -9768,7 +10538,8 @@ fi fi # Check whether --enable-detect_sm was given. -if test "${enable_detect_sm+set}" = set; then : +if test ${enable_detect_sm+y} +then : enableval=$enable_detect_sm; if test "$enableval" = yes; then wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes' @@ -9776,7 +10547,7 @@ if test "${enable_detect_sm+set}" = set; then : wx_cv_use_detect_sm='wxUSE_DETECT_SM=no' fi -else +else $as_nop wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}" @@ -9797,7 +10568,8 @@ fi fi # Check whether --enable-dirpicker was given. -if test "${enable_dirpicker+set}" = set; then : +if test ${enable_dirpicker+y} +then : enableval=$enable_dirpicker; if test "$enableval" = yes; then wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes' @@ -9805,7 +10577,7 @@ if test "${enable_dirpicker+set}" = set; then : wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no' fi -else +else $as_nop wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}" @@ -9826,7 +10598,8 @@ fi fi # Check whether --enable-display was given. -if test "${enable_display+set}" = set; then : +if test ${enable_display+y} +then : enableval=$enable_display; if test "$enableval" = yes; then wx_cv_use_display='wxUSE_DISPLAY=yes' @@ -9834,7 +10607,7 @@ if test "${enable_display+set}" = set; then : wx_cv_use_display='wxUSE_DISPLAY=no' fi -else +else $as_nop wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}" @@ -9855,7 +10628,8 @@ fi fi # Check whether --enable-editablebox was given. -if test "${enable_editablebox+set}" = set; then : +if test ${enable_editablebox+y} +then : enableval=$enable_editablebox; if test "$enableval" = yes; then wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes' @@ -9863,7 +10637,7 @@ if test "${enable_editablebox+set}" = set; then : wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no' fi -else +else $as_nop wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}" @@ -9884,7 +10658,8 @@ fi fi # Check whether --enable-filectrl was given. -if test "${enable_filectrl+set}" = set; then : +if test ${enable_filectrl+y} +then : enableval=$enable_filectrl; if test "$enableval" = yes; then wx_cv_use_filectrl='wxUSE_FILECTRL=yes' @@ -9892,7 +10667,7 @@ if test "${enable_filectrl+set}" = set; then : wx_cv_use_filectrl='wxUSE_FILECTRL=no' fi -else +else $as_nop wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}" @@ -9913,7 +10688,8 @@ fi fi # Check whether --enable-filepicker was given. -if test "${enable_filepicker+set}" = set; then : +if test ${enable_filepicker+y} +then : enableval=$enable_filepicker; if test "$enableval" = yes; then wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes' @@ -9921,7 +10697,7 @@ if test "${enable_filepicker+set}" = set; then : wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no' fi -else +else $as_nop wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}" @@ -9942,7 +10718,8 @@ fi fi # Check whether --enable-fontpicker was given. -if test "${enable_fontpicker+set}" = set; then : +if test ${enable_fontpicker+y} +then : enableval=$enable_fontpicker; if test "$enableval" = yes; then wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes' @@ -9950,7 +10727,7 @@ if test "${enable_fontpicker+set}" = set; then : wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no' fi -else +else $as_nop wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}" @@ -9971,7 +10748,8 @@ fi fi # Check whether --enable-gauge was given. -if test "${enable_gauge+set}" = set; then : +if test ${enable_gauge+y} +then : enableval=$enable_gauge; if test "$enableval" = yes; then wx_cv_use_gauge='wxUSE_GAUGE=yes' @@ -9979,7 +10757,7 @@ if test "${enable_gauge+set}" = set; then : wx_cv_use_gauge='wxUSE_GAUGE=no' fi -else +else $as_nop wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}" @@ -10000,7 +10778,8 @@ fi fi # Check whether --enable-grid was given. -if test "${enable_grid+set}" = set; then : +if test ${enable_grid+y} +then : enableval=$enable_grid; if test "$enableval" = yes; then wx_cv_use_grid='wxUSE_GRID=yes' @@ -10008,7 +10787,7 @@ if test "${enable_grid+set}" = set; then : wx_cv_use_grid='wxUSE_GRID=no' fi -else +else $as_nop wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}" @@ -10029,7 +10808,8 @@ fi fi # Check whether --enable-headerctrl was given. -if test "${enable_headerctrl+set}" = set; then : +if test ${enable_headerctrl+y} +then : enableval=$enable_headerctrl; if test "$enableval" = yes; then wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes' @@ -10037,7 +10817,7 @@ if test "${enable_headerctrl+set}" = set; then : wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no' fi -else +else $as_nop wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}" @@ -10058,7 +10838,8 @@ fi fi # Check whether --enable-hyperlink was given. -if test "${enable_hyperlink+set}" = set; then : +if test ${enable_hyperlink+y} +then : enableval=$enable_hyperlink; if test "$enableval" = yes; then wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes' @@ -10066,7 +10847,7 @@ if test "${enable_hyperlink+set}" = set; then : wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no' fi -else +else $as_nop wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}" @@ -10087,7 +10868,8 @@ fi fi # Check whether --enable-imaglist was given. -if test "${enable_imaglist+set}" = set; then : +if test ${enable_imaglist+y} +then : enableval=$enable_imaglist; if test "$enableval" = yes; then wx_cv_use_imaglist='wxUSE_IMAGLIST=yes' @@ -10095,7 +10877,7 @@ if test "${enable_imaglist+set}" = set; then : wx_cv_use_imaglist='wxUSE_IMAGLIST=no' fi -else +else $as_nop wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}" @@ -10116,7 +10898,8 @@ fi fi # Check whether --enable-infobar was given. -if test "${enable_infobar+set}" = set; then : +if test ${enable_infobar+y} +then : enableval=$enable_infobar; if test "$enableval" = yes; then wx_cv_use_infobar='wxUSE_INFOBAR=yes' @@ -10124,7 +10907,7 @@ if test "${enable_infobar+set}" = set; then : wx_cv_use_infobar='wxUSE_INFOBAR=no' fi -else +else $as_nop wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}" @@ -10145,7 +10928,8 @@ fi fi # Check whether --enable-listbook was given. -if test "${enable_listbook+set}" = set; then : +if test ${enable_listbook+y} +then : enableval=$enable_listbook; if test "$enableval" = yes; then wx_cv_use_listbook='wxUSE_LISTBOOK=yes' @@ -10153,7 +10937,7 @@ if test "${enable_listbook+set}" = set; then : wx_cv_use_listbook='wxUSE_LISTBOOK=no' fi -else +else $as_nop wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}" @@ -10174,7 +10958,8 @@ fi fi # Check whether --enable-listbox was given. -if test "${enable_listbox+set}" = set; then : +if test ${enable_listbox+y} +then : enableval=$enable_listbox; if test "$enableval" = yes; then wx_cv_use_listbox='wxUSE_LISTBOX=yes' @@ -10182,7 +10967,7 @@ if test "${enable_listbox+set}" = set; then : wx_cv_use_listbox='wxUSE_LISTBOX=no' fi -else +else $as_nop wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}" @@ -10203,7 +10988,8 @@ fi fi # Check whether --enable-listctrl was given. -if test "${enable_listctrl+set}" = set; then : +if test ${enable_listctrl+y} +then : enableval=$enable_listctrl; if test "$enableval" = yes; then wx_cv_use_listctrl='wxUSE_LISTCTRL=yes' @@ -10211,7 +10997,7 @@ if test "${enable_listctrl+set}" = set; then : wx_cv_use_listctrl='wxUSE_LISTCTRL=no' fi -else +else $as_nop wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}" @@ -10232,7 +11018,8 @@ fi fi # Check whether --enable-notebook was given. -if test "${enable_notebook+set}" = set; then : +if test ${enable_notebook+y} +then : enableval=$enable_notebook; if test "$enableval" = yes; then wx_cv_use_notebook='wxUSE_NOTEBOOK=yes' @@ -10240,7 +11027,7 @@ if test "${enable_notebook+set}" = set; then : wx_cv_use_notebook='wxUSE_NOTEBOOK=no' fi -else +else $as_nop wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}" @@ -10261,7 +11048,8 @@ fi fi # Check whether --enable-notifmsg was given. -if test "${enable_notifmsg+set}" = set; then : +if test ${enable_notifmsg+y} +then : enableval=$enable_notifmsg; if test "$enableval" = yes; then wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes' @@ -10269,7 +11057,7 @@ if test "${enable_notifmsg+set}" = set; then : wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no' fi -else +else $as_nop wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}" @@ -10290,7 +11078,8 @@ fi fi # Check whether --enable-odcombobox was given. -if test "${enable_odcombobox+set}" = set; then : +if test ${enable_odcombobox+y} +then : enableval=$enable_odcombobox; if test "$enableval" = yes; then wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes' @@ -10298,7 +11087,7 @@ if test "${enable_odcombobox+set}" = set; then : wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no' fi -else +else $as_nop wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}" @@ -10319,7 +11108,8 @@ fi fi # Check whether --enable-popupwin was given. -if test "${enable_popupwin+set}" = set; then : +if test ${enable_popupwin+y} +then : enableval=$enable_popupwin; if test "$enableval" = yes; then wx_cv_use_popupwin='wxUSE_POPUPWIN=yes' @@ -10327,7 +11117,7 @@ if test "${enable_popupwin+set}" = set; then : wx_cv_use_popupwin='wxUSE_POPUPWIN=no' fi -else +else $as_nop wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}" @@ -10348,7 +11138,8 @@ fi fi # Check whether --enable-prefseditor was given. -if test "${enable_prefseditor+set}" = set; then : +if test ${enable_prefseditor+y} +then : enableval=$enable_prefseditor; if test "$enableval" = yes; then wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=yes' @@ -10356,7 +11147,7 @@ if test "${enable_prefseditor+set}" = set; then : wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no' fi -else +else $as_nop wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}" @@ -10377,7 +11168,8 @@ fi fi # Check whether --enable-privatefonts was given. -if test "${enable_privatefonts+set}" = set; then : +if test ${enable_privatefonts+y} +then : enableval=$enable_privatefonts; if test "$enableval" = yes; then wx_cv_use_privatefonts='wxUSE_PRIVATE_FONTS=yes' @@ -10385,7 +11177,7 @@ if test "${enable_privatefonts+set}" = set; then : wx_cv_use_privatefonts='wxUSE_PRIVATE_FONTS=no' fi -else +else $as_nop wx_cv_use_privatefonts='wxUSE_PRIVATE_FONTS=${'DEFAULT_wxUSE_PRIVATE_FONTS":-$defaultval}" @@ -10406,7 +11198,8 @@ fi fi # Check whether --enable-radiobox was given. -if test "${enable_radiobox+set}" = set; then : +if test ${enable_radiobox+y} +then : enableval=$enable_radiobox; if test "$enableval" = yes; then wx_cv_use_radiobox='wxUSE_RADIOBOX=yes' @@ -10414,7 +11207,7 @@ if test "${enable_radiobox+set}" = set; then : wx_cv_use_radiobox='wxUSE_RADIOBOX=no' fi -else +else $as_nop wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}" @@ -10435,7 +11228,8 @@ fi fi # Check whether --enable-radiobtn was given. -if test "${enable_radiobtn+set}" = set; then : +if test ${enable_radiobtn+y} +then : enableval=$enable_radiobtn; if test "$enableval" = yes; then wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes' @@ -10443,7 +11237,7 @@ if test "${enable_radiobtn+set}" = set; then : wx_cv_use_radiobtn='wxUSE_RADIOBTN=no' fi -else +else $as_nop wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}" @@ -10464,7 +11258,8 @@ fi fi # Check whether --enable-richmsgdlg was given. -if test "${enable_richmsgdlg+set}" = set; then : +if test ${enable_richmsgdlg+y} +then : enableval=$enable_richmsgdlg; if test "$enableval" = yes; then wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes' @@ -10472,7 +11267,7 @@ if test "${enable_richmsgdlg+set}" = set; then : wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no' fi -else +else $as_nop wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}" @@ -10493,7 +11288,8 @@ fi fi # Check whether --enable-richtooltip was given. -if test "${enable_richtooltip+set}" = set; then : +if test ${enable_richtooltip+y} +then : enableval=$enable_richtooltip; if test "$enableval" = yes; then wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes' @@ -10501,7 +11297,7 @@ if test "${enable_richtooltip+set}" = set; then : wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no' fi -else +else $as_nop wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}" @@ -10522,7 +11318,8 @@ fi fi # Check whether --enable-rearrangectrl was given. -if test "${enable_rearrangectrl+set}" = set; then : +if test ${enable_rearrangectrl+y} +then : enableval=$enable_rearrangectrl; if test "$enableval" = yes; then wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes' @@ -10530,7 +11327,7 @@ if test "${enable_rearrangectrl+set}" = set; then : wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no' fi -else +else $as_nop wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}" @@ -10551,7 +11348,8 @@ fi fi # Check whether --enable-sash was given. -if test "${enable_sash+set}" = set; then : +if test ${enable_sash+y} +then : enableval=$enable_sash; if test "$enableval" = yes; then wx_cv_use_sash='wxUSE_SASH=yes' @@ -10559,7 +11357,7 @@ if test "${enable_sash+set}" = set; then : wx_cv_use_sash='wxUSE_SASH=no' fi -else +else $as_nop wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}" @@ -10580,7 +11378,8 @@ fi fi # Check whether --enable-scrollbar was given. -if test "${enable_scrollbar+set}" = set; then : +if test ${enable_scrollbar+y} +then : enableval=$enable_scrollbar; if test "$enableval" = yes; then wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes' @@ -10588,7 +11387,7 @@ if test "${enable_scrollbar+set}" = set; then : wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no' fi -else +else $as_nop wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}" @@ -10609,7 +11408,8 @@ fi fi # Check whether --enable-searchctrl was given. -if test "${enable_searchctrl+set}" = set; then : +if test ${enable_searchctrl+y} +then : enableval=$enable_searchctrl; if test "$enableval" = yes; then wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes' @@ -10617,7 +11417,7 @@ if test "${enable_searchctrl+set}" = set; then : wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no' fi -else +else $as_nop wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}" @@ -10638,7 +11438,8 @@ fi fi # Check whether --enable-slider was given. -if test "${enable_slider+set}" = set; then : +if test ${enable_slider+y} +then : enableval=$enable_slider; if test "$enableval" = yes; then wx_cv_use_slider='wxUSE_SLIDER=yes' @@ -10646,7 +11447,7 @@ if test "${enable_slider+set}" = set; then : wx_cv_use_slider='wxUSE_SLIDER=no' fi -else +else $as_nop wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}" @@ -10667,7 +11468,8 @@ fi fi # Check whether --enable-spinbtn was given. -if test "${enable_spinbtn+set}" = set; then : +if test ${enable_spinbtn+y} +then : enableval=$enable_spinbtn; if test "$enableval" = yes; then wx_cv_use_spinbtn='wxUSE_SPINBTN=yes' @@ -10675,7 +11477,7 @@ if test "${enable_spinbtn+set}" = set; then : wx_cv_use_spinbtn='wxUSE_SPINBTN=no' fi -else +else $as_nop wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}" @@ -10696,7 +11498,8 @@ fi fi # Check whether --enable-spinctrl was given. -if test "${enable_spinctrl+set}" = set; then : +if test ${enable_spinctrl+y} +then : enableval=$enable_spinctrl; if test "$enableval" = yes; then wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes' @@ -10704,7 +11507,7 @@ if test "${enable_spinctrl+set}" = set; then : wx_cv_use_spinctrl='wxUSE_SPINCTRL=no' fi -else +else $as_nop wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}" @@ -10725,7 +11528,8 @@ fi fi # Check whether --enable-splitter was given. -if test "${enable_splitter+set}" = set; then : +if test ${enable_splitter+y} +then : enableval=$enable_splitter; if test "$enableval" = yes; then wx_cv_use_splitter='wxUSE_SPLITTER=yes' @@ -10733,7 +11537,7 @@ if test "${enable_splitter+set}" = set; then : wx_cv_use_splitter='wxUSE_SPLITTER=no' fi -else +else $as_nop wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}" @@ -10754,7 +11558,8 @@ fi fi # Check whether --enable-statbmp was given. -if test "${enable_statbmp+set}" = set; then : +if test ${enable_statbmp+y} +then : enableval=$enable_statbmp; if test "$enableval" = yes; then wx_cv_use_statbmp='wxUSE_STATBMP=yes' @@ -10762,7 +11567,7 @@ if test "${enable_statbmp+set}" = set; then : wx_cv_use_statbmp='wxUSE_STATBMP=no' fi -else +else $as_nop wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}" @@ -10783,7 +11588,8 @@ fi fi # Check whether --enable-statbox was given. -if test "${enable_statbox+set}" = set; then : +if test ${enable_statbox+y} +then : enableval=$enable_statbox; if test "$enableval" = yes; then wx_cv_use_statbox='wxUSE_STATBOX=yes' @@ -10791,7 +11597,7 @@ if test "${enable_statbox+set}" = set; then : wx_cv_use_statbox='wxUSE_STATBOX=no' fi -else +else $as_nop wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}" @@ -10812,7 +11618,8 @@ fi fi # Check whether --enable-statline was given. -if test "${enable_statline+set}" = set; then : +if test ${enable_statline+y} +then : enableval=$enable_statline; if test "$enableval" = yes; then wx_cv_use_statline='wxUSE_STATLINE=yes' @@ -10820,7 +11627,7 @@ if test "${enable_statline+set}" = set; then : wx_cv_use_statline='wxUSE_STATLINE=no' fi -else +else $as_nop wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}" @@ -10841,7 +11648,8 @@ fi fi # Check whether --enable-stattext was given. -if test "${enable_stattext+set}" = set; then : +if test ${enable_stattext+y} +then : enableval=$enable_stattext; if test "$enableval" = yes; then wx_cv_use_stattext='wxUSE_STATTEXT=yes' @@ -10849,7 +11657,7 @@ if test "${enable_stattext+set}" = set; then : wx_cv_use_stattext='wxUSE_STATTEXT=no' fi -else +else $as_nop wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}" @@ -10870,7 +11678,8 @@ fi fi # Check whether --enable-statusbar was given. -if test "${enable_statusbar+set}" = set; then : +if test ${enable_statusbar+y} +then : enableval=$enable_statusbar; if test "$enableval" = yes; then wx_cv_use_statusbar='wxUSE_STATUSBAR=yes' @@ -10878,7 +11687,7 @@ if test "${enable_statusbar+set}" = set; then : wx_cv_use_statusbar='wxUSE_STATUSBAR=no' fi -else +else $as_nop wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}" @@ -10899,7 +11708,8 @@ fi fi # Check whether --enable-taskbaricon was given. -if test "${enable_taskbaricon+set}" = set; then : +if test ${enable_taskbaricon+y} +then : enableval=$enable_taskbaricon; if test "$enableval" = yes; then wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes' @@ -10907,7 +11717,7 @@ if test "${enable_taskbaricon+set}" = set; then : wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no' fi -else +else $as_nop wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}" @@ -10928,7 +11738,8 @@ fi fi # Check whether --enable-tbarnative was given. -if test "${enable_tbarnative+set}" = set; then : +if test ${enable_tbarnative+y} +then : enableval=$enable_tbarnative; if test "$enableval" = yes; then wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes' @@ -10936,7 +11747,7 @@ if test "${enable_tbarnative+set}" = set; then : wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no' fi -else +else $as_nop wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}" @@ -10957,7 +11768,8 @@ fi fi # Check whether --enable-textctrl was given. -if test "${enable_textctrl+set}" = set; then : +if test ${enable_textctrl+y} +then : enableval=$enable_textctrl; if test "$enableval" = yes; then wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes' @@ -10965,7 +11777,7 @@ if test "${enable_textctrl+set}" = set; then : wx_cv_use_textctrl='wxUSE_TEXTCTRL=no' fi -else +else $as_nop wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}" @@ -10986,7 +11798,8 @@ fi fi # Check whether --enable-timepick was given. -if test "${enable_timepick+set}" = set; then : +if test ${enable_timepick+y} +then : enableval=$enable_timepick; if test "$enableval" = yes; then wx_cv_use_timepick='wxUSE_TIMEPICKCTRL=yes' @@ -10994,7 +11807,7 @@ if test "${enable_timepick+set}" = set; then : wx_cv_use_timepick='wxUSE_TIMEPICKCTRL=no' fi -else +else $as_nop wx_cv_use_timepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}" @@ -11015,7 +11828,8 @@ fi fi # Check whether --enable-tipwindow was given. -if test "${enable_tipwindow+set}" = set; then : +if test ${enable_tipwindow+y} +then : enableval=$enable_tipwindow; if test "$enableval" = yes; then wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes' @@ -11023,7 +11837,7 @@ if test "${enable_tipwindow+set}" = set; then : wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no' fi -else +else $as_nop wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}" @@ -11044,7 +11858,8 @@ fi fi # Check whether --enable-togglebtn was given. -if test "${enable_togglebtn+set}" = set; then : +if test ${enable_togglebtn+y} +then : enableval=$enable_togglebtn; if test "$enableval" = yes; then wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes' @@ -11052,7 +11867,7 @@ if test "${enable_togglebtn+set}" = set; then : wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no' fi -else +else $as_nop wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}" @@ -11073,7 +11888,8 @@ fi fi # Check whether --enable-toolbar was given. -if test "${enable_toolbar+set}" = set; then : +if test ${enable_toolbar+y} +then : enableval=$enable_toolbar; if test "$enableval" = yes; then wx_cv_use_toolbar='wxUSE_TOOLBAR=yes' @@ -11081,7 +11897,7 @@ if test "${enable_toolbar+set}" = set; then : wx_cv_use_toolbar='wxUSE_TOOLBAR=no' fi -else +else $as_nop wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}" @@ -11102,7 +11918,8 @@ fi fi # Check whether --enable-toolbook was given. -if test "${enable_toolbook+set}" = set; then : +if test ${enable_toolbook+y} +then : enableval=$enable_toolbook; if test "$enableval" = yes; then wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes' @@ -11110,7 +11927,7 @@ if test "${enable_toolbook+set}" = set; then : wx_cv_use_toolbook='wxUSE_TOOLBOOK=no' fi -else +else $as_nop wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}" @@ -11131,7 +11948,8 @@ fi fi # Check whether --enable-treebook was given. -if test "${enable_treebook+set}" = set; then : +if test ${enable_treebook+y} +then : enableval=$enable_treebook; if test "$enableval" = yes; then wx_cv_use_treebook='wxUSE_TREEBOOK=yes' @@ -11139,7 +11957,7 @@ if test "${enable_treebook+set}" = set; then : wx_cv_use_treebook='wxUSE_TREEBOOK=no' fi -else +else $as_nop wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}" @@ -11160,7 +11978,8 @@ fi fi # Check whether --enable-treectrl was given. -if test "${enable_treectrl+set}" = set; then : +if test ${enable_treectrl+y} +then : enableval=$enable_treectrl; if test "$enableval" = yes; then wx_cv_use_treectrl='wxUSE_TREECTRL=yes' @@ -11168,7 +11987,7 @@ if test "${enable_treectrl+set}" = set; then : wx_cv_use_treectrl='wxUSE_TREECTRL=no' fi -else +else $as_nop wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}" @@ -11189,7 +12008,8 @@ fi fi # Check whether --enable-treelist was given. -if test "${enable_treelist+set}" = set; then : +if test ${enable_treelist+y} +then : enableval=$enable_treelist; if test "$enableval" = yes; then wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes' @@ -11197,7 +12017,7 @@ if test "${enable_treelist+set}" = set; then : wx_cv_use_treelist='wxUSE_TREELISTCTRL=no' fi -else +else $as_nop wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}" @@ -11220,7 +12040,8 @@ fi fi # Check whether --enable-commondlg was given. -if test "${enable_commondlg+set}" = set; then : +if test ${enable_commondlg+y} +then : enableval=$enable_commondlg; if test "$enableval" = yes; then wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes' @@ -11228,7 +12049,7 @@ if test "${enable_commondlg+set}" = set; then : wx_cv_use_commondlg='wxUSE_COMMONDLGS=no' fi -else +else $as_nop wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}" @@ -11249,7 +12070,8 @@ fi fi # Check whether --enable-aboutdlg was given. -if test "${enable_aboutdlg+set}" = set; then : +if test ${enable_aboutdlg+y} +then : enableval=$enable_aboutdlg; if test "$enableval" = yes; then wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes' @@ -11257,7 +12079,7 @@ if test "${enable_aboutdlg+set}" = set; then : wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no' fi -else +else $as_nop wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}" @@ -11278,7 +12100,8 @@ fi fi # Check whether --enable-choicedlg was given. -if test "${enable_choicedlg+set}" = set; then : +if test ${enable_choicedlg+y} +then : enableval=$enable_choicedlg; if test "$enableval" = yes; then wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes' @@ -11286,7 +12109,7 @@ if test "${enable_choicedlg+set}" = set; then : wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no' fi -else +else $as_nop wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}" @@ -11307,7 +12130,8 @@ fi fi # Check whether --enable-coldlg was given. -if test "${enable_coldlg+set}" = set; then : +if test ${enable_coldlg+y} +then : enableval=$enable_coldlg; if test "$enableval" = yes; then wx_cv_use_coldlg='wxUSE_COLOURDLG=yes' @@ -11315,7 +12139,7 @@ if test "${enable_coldlg+set}" = set; then : wx_cv_use_coldlg='wxUSE_COLOURDLG=no' fi -else +else $as_nop wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}" @@ -11336,7 +12160,8 @@ fi fi # Check whether --enable-creddlg was given. -if test "${enable_creddlg+set}" = set; then : +if test ${enable_creddlg+y} +then : enableval=$enable_creddlg; if test "$enableval" = yes; then wx_cv_use_creddlg='wxUSE_CREDENTIALDLG=yes' @@ -11344,7 +12169,7 @@ if test "${enable_creddlg+set}" = set; then : wx_cv_use_creddlg='wxUSE_CREDENTIALDLG=no' fi -else +else $as_nop wx_cv_use_creddlg='wxUSE_CREDENTIALDLG=${'DEFAULT_wxUSE_CREDENTIALDLG":-$defaultval}" @@ -11365,7 +12190,8 @@ fi fi # Check whether --enable-filedlg was given. -if test "${enable_filedlg+set}" = set; then : +if test ${enable_filedlg+y} +then : enableval=$enable_filedlg; if test "$enableval" = yes; then wx_cv_use_filedlg='wxUSE_FILEDLG=yes' @@ -11373,7 +12199,7 @@ if test "${enable_filedlg+set}" = set; then : wx_cv_use_filedlg='wxUSE_FILEDLG=no' fi -else +else $as_nop wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}" @@ -11394,7 +12220,8 @@ fi fi # Check whether --enable-finddlg was given. -if test "${enable_finddlg+set}" = set; then : +if test ${enable_finddlg+y} +then : enableval=$enable_finddlg; if test "$enableval" = yes; then wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes' @@ -11402,7 +12229,7 @@ if test "${enable_finddlg+set}" = set; then : wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no' fi -else +else $as_nop wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}" @@ -11423,7 +12250,8 @@ fi fi # Check whether --enable-fontdlg was given. -if test "${enable_fontdlg+set}" = set; then : +if test ${enable_fontdlg+y} +then : enableval=$enable_fontdlg; if test "$enableval" = yes; then wx_cv_use_fontdlg='wxUSE_FONTDLG=yes' @@ -11431,7 +12259,7 @@ if test "${enable_fontdlg+set}" = set; then : wx_cv_use_fontdlg='wxUSE_FONTDLG=no' fi -else +else $as_nop wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}" @@ -11452,7 +12280,8 @@ fi fi # Check whether --enable-dirdlg was given. -if test "${enable_dirdlg+set}" = set; then : +if test ${enable_dirdlg+y} +then : enableval=$enable_dirdlg; if test "$enableval" = yes; then wx_cv_use_dirdlg='wxUSE_DIRDLG=yes' @@ -11460,7 +12289,7 @@ if test "${enable_dirdlg+set}" = set; then : wx_cv_use_dirdlg='wxUSE_DIRDLG=no' fi -else +else $as_nop wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}" @@ -11481,7 +12310,8 @@ fi fi # Check whether --enable-msgdlg was given. -if test "${enable_msgdlg+set}" = set; then : +if test ${enable_msgdlg+y} +then : enableval=$enable_msgdlg; if test "$enableval" = yes; then wx_cv_use_msgdlg='wxUSE_MSGDLG=yes' @@ -11489,7 +12319,7 @@ if test "${enable_msgdlg+set}" = set; then : wx_cv_use_msgdlg='wxUSE_MSGDLG=no' fi -else +else $as_nop wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}" @@ -11510,7 +12340,8 @@ fi fi # Check whether --enable-numberdlg was given. -if test "${enable_numberdlg+set}" = set; then : +if test ${enable_numberdlg+y} +then : enableval=$enable_numberdlg; if test "$enableval" = yes; then wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes' @@ -11518,7 +12349,7 @@ if test "${enable_numberdlg+set}" = set; then : wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no' fi -else +else $as_nop wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}" @@ -11539,7 +12370,8 @@ fi fi # Check whether --enable-splash was given. -if test "${enable_splash+set}" = set; then : +if test ${enable_splash+y} +then : enableval=$enable_splash; if test "$enableval" = yes; then wx_cv_use_splash='wxUSE_SPLASH=yes' @@ -11547,7 +12379,7 @@ if test "${enable_splash+set}" = set; then : wx_cv_use_splash='wxUSE_SPLASH=no' fi -else +else $as_nop wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}" @@ -11568,7 +12400,8 @@ fi fi # Check whether --enable-textdlg was given. -if test "${enable_textdlg+set}" = set; then : +if test ${enable_textdlg+y} +then : enableval=$enable_textdlg; if test "$enableval" = yes; then wx_cv_use_textdlg='wxUSE_TEXTDLG=yes' @@ -11576,7 +12409,7 @@ if test "${enable_textdlg+set}" = set; then : wx_cv_use_textdlg='wxUSE_TEXTDLG=no' fi -else +else $as_nop wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}" @@ -11597,7 +12430,8 @@ fi fi # Check whether --enable-tipdlg was given. -if test "${enable_tipdlg+set}" = set; then : +if test ${enable_tipdlg+y} +then : enableval=$enable_tipdlg; if test "$enableval" = yes; then wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes' @@ -11605,7 +12439,7 @@ if test "${enable_tipdlg+set}" = set; then : wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no' fi -else +else $as_nop wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}" @@ -11626,7 +12460,8 @@ fi fi # Check whether --enable-progressdlg was given. -if test "${enable_progressdlg+set}" = set; then : +if test ${enable_progressdlg+y} +then : enableval=$enable_progressdlg; if test "$enableval" = yes; then wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes' @@ -11634,7 +12469,7 @@ if test "${enable_progressdlg+set}" = set; then : wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no' fi -else +else $as_nop wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}" @@ -11655,7 +12490,8 @@ fi fi # Check whether --enable-wizarddlg was given. -if test "${enable_wizarddlg+set}" = set; then : +if test ${enable_wizarddlg+y} +then : enableval=$enable_wizarddlg; if test "$enableval" = yes; then wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes' @@ -11663,7 +12499,7 @@ if test "${enable_wizarddlg+set}" = set; then : wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no' fi -else +else $as_nop wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}" @@ -11690,7 +12526,8 @@ fi fi # Check whether --enable-menus was given. -if test "${enable_menus+set}" = set; then : +if test ${enable_menus+y} +then : enableval=$enable_menus; if test "$enableval" = yes; then wx_cv_use_menus='wxUSE_MENUS=yes' @@ -11698,7 +12535,7 @@ if test "${enable_menus+set}" = set; then : wx_cv_use_menus='wxUSE_MENUS=no' fi -else +else $as_nop wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}" @@ -11719,7 +12556,8 @@ fi fi # Check whether --enable-menubar was given. -if test "${enable_menubar+set}" = set; then : +if test ${enable_menubar+y} +then : enableval=$enable_menubar; if test "$enableval" = yes; then wx_cv_use_menubar='wxUSE_MENUBAR=yes' @@ -11727,7 +12565,7 @@ if test "${enable_menubar+set}" = set; then : wx_cv_use_menubar='wxUSE_MENUBAR=no' fi -else +else $as_nop wx_cv_use_menubar='wxUSE_MENUBAR=${'DEFAULT_wxUSE_MENUBAR":-$defaultval}" @@ -11748,7 +12586,8 @@ fi fi # Check whether --enable-miniframe was given. -if test "${enable_miniframe+set}" = set; then : +if test ${enable_miniframe+y} +then : enableval=$enable_miniframe; if test "$enableval" = yes; then wx_cv_use_miniframe='wxUSE_MINIFRAME=yes' @@ -11756,7 +12595,7 @@ if test "${enable_miniframe+set}" = set; then : wx_cv_use_miniframe='wxUSE_MINIFRAME=no' fi -else +else $as_nop wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}" @@ -11777,7 +12616,8 @@ fi fi # Check whether --enable-tooltips was given. -if test "${enable_tooltips+set}" = set; then : +if test ${enable_tooltips+y} +then : enableval=$enable_tooltips; if test "$enableval" = yes; then wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes' @@ -11785,7 +12625,7 @@ if test "${enable_tooltips+set}" = set; then : wx_cv_use_tooltips='wxUSE_TOOLTIPS=no' fi -else +else $as_nop wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}" @@ -11806,7 +12646,8 @@ fi fi # Check whether --enable-splines was given. -if test "${enable_splines+set}" = set; then : +if test ${enable_splines+y} +then : enableval=$enable_splines; if test "$enableval" = yes; then wx_cv_use_splines='wxUSE_SPLINES=yes' @@ -11814,7 +12655,7 @@ if test "${enable_splines+set}" = set; then : wx_cv_use_splines='wxUSE_SPLINES=no' fi -else +else $as_nop wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}" @@ -11835,7 +12676,8 @@ fi fi # Check whether --enable-mousewheel was given. -if test "${enable_mousewheel+set}" = set; then : +if test ${enable_mousewheel+y} +then : enableval=$enable_mousewheel; if test "$enableval" = yes; then wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes' @@ -11843,7 +12685,7 @@ if test "${enable_mousewheel+set}" = set; then : wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no' fi -else +else $as_nop wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}" @@ -11864,7 +12706,8 @@ fi fi # Check whether --enable-validators was given. -if test "${enable_validators+set}" = set; then : +if test ${enable_validators+y} +then : enableval=$enable_validators; if test "$enableval" = yes; then wx_cv_use_validators='wxUSE_VALIDATORS=yes' @@ -11872,7 +12715,7 @@ if test "${enable_validators+set}" = set; then : wx_cv_use_validators='wxUSE_VALIDATORS=no' fi -else +else $as_nop wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}" @@ -11893,7 +12736,8 @@ fi fi # Check whether --enable-busyinfo was given. -if test "${enable_busyinfo+set}" = set; then : +if test ${enable_busyinfo+y} +then : enableval=$enable_busyinfo; if test "$enableval" = yes; then wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes' @@ -11901,7 +12745,7 @@ if test "${enable_busyinfo+set}" = set; then : wx_cv_use_busyinfo='wxUSE_BUSYINFO=no' fi -else +else $as_nop wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}" @@ -11922,7 +12766,8 @@ fi fi # Check whether --enable-hotkey was given. -if test "${enable_hotkey+set}" = set; then : +if test ${enable_hotkey+y} +then : enableval=$enable_hotkey; if test "$enableval" = yes; then wx_cv_use_hotkey='wxUSE_HOTKEY=yes' @@ -11930,7 +12775,7 @@ if test "${enable_hotkey+set}" = set; then : wx_cv_use_hotkey='wxUSE_HOTKEY=no' fi -else +else $as_nop wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}" @@ -11951,7 +12796,8 @@ fi fi # Check whether --enable-joystick was given. -if test "${enable_joystick+set}" = set; then : +if test ${enable_joystick+y} +then : enableval=$enable_joystick; if test "$enableval" = yes; then wx_cv_use_joystick='wxUSE_JOYSTICK=yes' @@ -11959,7 +12805,7 @@ if test "${enable_joystick+set}" = set; then : wx_cv_use_joystick='wxUSE_JOYSTICK=no' fi -else +else $as_nop wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}" @@ -11980,7 +12826,8 @@ fi fi # Check whether --enable-metafile was given. -if test "${enable_metafile+set}" = set; then : +if test ${enable_metafile+y} +then : enableval=$enable_metafile; if test "$enableval" = yes; then wx_cv_use_metafile='wxUSE_METAFILE=yes' @@ -11988,7 +12835,7 @@ if test "${enable_metafile+set}" = set; then : wx_cv_use_metafile='wxUSE_METAFILE=no' fi -else +else $as_nop wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}" @@ -12009,7 +12856,8 @@ fi fi # Check whether --enable-dragimage was given. -if test "${enable_dragimage+set}" = set; then : +if test ${enable_dragimage+y} +then : enableval=$enable_dragimage; if test "$enableval" = yes; then wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes' @@ -12017,7 +12865,7 @@ if test "${enable_dragimage+set}" = set; then : wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no' fi -else +else $as_nop wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}" @@ -12038,7 +12886,8 @@ fi fi # Check whether --enable-accessibility was given. -if test "${enable_accessibility+set}" = set; then : +if test ${enable_accessibility+y} +then : enableval=$enable_accessibility; if test "$enableval" = yes; then wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes' @@ -12046,7 +12895,7 @@ if test "${enable_accessibility+set}" = set; then : wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no' fi -else +else $as_nop wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}" @@ -12067,7 +12916,8 @@ fi fi # Check whether --enable-uiactionsim was given. -if test "${enable_uiactionsim+set}" = set; then : +if test ${enable_uiactionsim+y} +then : enableval=$enable_uiactionsim; if test "$enableval" = yes; then wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes' @@ -12075,7 +12925,7 @@ if test "${enable_uiactionsim+set}" = set; then : wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no' fi -else +else $as_nop wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}" @@ -12096,7 +12946,8 @@ fi fi # Check whether --enable-dctransform was given. -if test "${enable_dctransform+set}" = set; then : +if test ${enable_dctransform+y} +then : enableval=$enable_dctransform; if test "$enableval" = yes; then wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes' @@ -12104,7 +12955,7 @@ if test "${enable_dctransform+set}" = set; then : wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no' fi -else +else $as_nop wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}" @@ -12125,7 +12976,8 @@ fi fi # Check whether --enable-webviewwebkit was given. -if test "${enable_webviewwebkit+set}" = set; then : +if test ${enable_webviewwebkit+y} +then : enableval=$enable_webviewwebkit; if test "$enableval" = yes; then wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes' @@ -12133,7 +12985,7 @@ if test "${enable_webviewwebkit+set}" = set; then : wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no' fi -else +else $as_nop wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}" @@ -12154,7 +13006,8 @@ fi fi # Check whether --enable-glcanvasegl was given. -if test "${enable_glcanvasegl+set}" = set; then : +if test ${enable_glcanvasegl+y} +then : enableval=$enable_glcanvasegl; if test "$enableval" = yes; then wx_cv_use_glcanvasegl='wxUSE_GLCANVAS_EGL=yes' @@ -12162,7 +13015,7 @@ if test "${enable_glcanvasegl+set}" = set; then : wx_cv_use_glcanvasegl='wxUSE_GLCANVAS_EGL=no' fi -else +else $as_nop wx_cv_use_glcanvasegl='wxUSE_GLCANVAS_EGL=${'DEFAULT_wxUSE_GLCANVAS_EGL":-$defaultval}" @@ -12185,7 +13038,8 @@ fi fi # Check whether --enable-palette was given. -if test "${enable_palette+set}" = set; then : +if test ${enable_palette+y} +then : enableval=$enable_palette; if test "$enableval" = yes; then wx_cv_use_palette='wxUSE_PALETTE=yes' @@ -12193,7 +13047,7 @@ if test "${enable_palette+set}" = set; then : wx_cv_use_palette='wxUSE_PALETTE=no' fi -else +else $as_nop wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}" @@ -12214,7 +13068,8 @@ fi fi # Check whether --enable-image was given. -if test "${enable_image+set}" = set; then : +if test ${enable_image+y} +then : enableval=$enable_image; if test "$enableval" = yes; then wx_cv_use_image='wxUSE_IMAGE=yes' @@ -12222,7 +13077,7 @@ if test "${enable_image+set}" = set; then : wx_cv_use_image='wxUSE_IMAGE=no' fi -else +else $as_nop wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}" @@ -12243,7 +13098,8 @@ fi fi # Check whether --enable-gif was given. -if test "${enable_gif+set}" = set; then : +if test ${enable_gif+y} +then : enableval=$enable_gif; if test "$enableval" = yes; then wx_cv_use_gif='wxUSE_GIF=yes' @@ -12251,7 +13107,7 @@ if test "${enable_gif+set}" = set; then : wx_cv_use_gif='wxUSE_GIF=no' fi -else +else $as_nop wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}" @@ -12272,7 +13128,8 @@ fi fi # Check whether --enable-pcx was given. -if test "${enable_pcx+set}" = set; then : +if test ${enable_pcx+y} +then : enableval=$enable_pcx; if test "$enableval" = yes; then wx_cv_use_pcx='wxUSE_PCX=yes' @@ -12280,7 +13137,7 @@ if test "${enable_pcx+set}" = set; then : wx_cv_use_pcx='wxUSE_PCX=no' fi -else +else $as_nop wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}" @@ -12301,7 +13158,8 @@ fi fi # Check whether --enable-tga was given. -if test "${enable_tga+set}" = set; then : +if test ${enable_tga+y} +then : enableval=$enable_tga; if test "$enableval" = yes; then wx_cv_use_tga='wxUSE_TGA=yes' @@ -12309,7 +13167,7 @@ if test "${enable_tga+set}" = set; then : wx_cv_use_tga='wxUSE_TGA=no' fi -else +else $as_nop wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}" @@ -12330,7 +13188,8 @@ fi fi # Check whether --enable-iff was given. -if test "${enable_iff+set}" = set; then : +if test ${enable_iff+y} +then : enableval=$enable_iff; if test "$enableval" = yes; then wx_cv_use_iff='wxUSE_IFF=yes' @@ -12338,7 +13197,7 @@ if test "${enable_iff+set}" = set; then : wx_cv_use_iff='wxUSE_IFF=no' fi -else +else $as_nop wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}" @@ -12359,7 +13218,8 @@ fi fi # Check whether --enable-pnm was given. -if test "${enable_pnm+set}" = set; then : +if test ${enable_pnm+y} +then : enableval=$enable_pnm; if test "$enableval" = yes; then wx_cv_use_pnm='wxUSE_PNM=yes' @@ -12367,7 +13227,7 @@ if test "${enable_pnm+set}" = set; then : wx_cv_use_pnm='wxUSE_PNM=no' fi -else +else $as_nop wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}" @@ -12388,7 +13248,8 @@ fi fi # Check whether --enable-xpm was given. -if test "${enable_xpm+set}" = set; then : +if test ${enable_xpm+y} +then : enableval=$enable_xpm; if test "$enableval" = yes; then wx_cv_use_xpm='wxUSE_XPM=yes' @@ -12396,7 +13257,7 @@ if test "${enable_xpm+set}" = set; then : wx_cv_use_xpm='wxUSE_XPM=no' fi -else +else $as_nop wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}" @@ -12417,7 +13278,8 @@ fi fi # Check whether --enable-ico_cur was given. -if test "${enable_ico_cur+set}" = set; then : +if test ${enable_ico_cur+y} +then : enableval=$enable_ico_cur; if test "$enableval" = yes; then wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes' @@ -12425,7 +13287,7 @@ if test "${enable_ico_cur+set}" = set; then : wx_cv_use_ico_cur='wxUSE_ICO_CUR=no' fi -else +else $as_nop wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}" @@ -12448,7 +13310,8 @@ fi fi # Check whether --enable-dccache was given. -if test "${enable_dccache+set}" = set; then : +if test ${enable_dccache+y} +then : enableval=$enable_dccache; if test "$enableval" = yes; then wx_cv_use_dccache='wxUSE_DC_CACHEING=yes' @@ -12456,7 +13319,7 @@ if test "${enable_dccache+set}" = set; then : wx_cv_use_dccache='wxUSE_DC_CACHEING=no' fi -else +else $as_nop wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}" @@ -12477,7 +13340,8 @@ fi fi # Check whether --enable-ps-in-msw was given. -if test "${enable_ps_in_msw+set}" = set; then : +if test ${enable_ps_in_msw+y} +then : enableval=$enable_ps_in_msw; if test "$enableval" = yes; then wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes' @@ -12485,7 +13349,7 @@ if test "${enable_ps_in_msw+set}" = set; then : wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no' fi -else +else $as_nop wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}" @@ -12506,7 +13370,8 @@ fi fi # Check whether --enable-ownerdrawn was given. -if test "${enable_ownerdrawn+set}" = set; then : +if test ${enable_ownerdrawn+y} +then : enableval=$enable_ownerdrawn; if test "$enableval" = yes; then wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes' @@ -12514,7 +13379,7 @@ if test "${enable_ownerdrawn+set}" = set; then : wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no' fi -else +else $as_nop wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}" @@ -12535,7 +13400,8 @@ fi fi # Check whether --enable-taskbarbutton was given. -if test "${enable_taskbarbutton+set}" = set; then : +if test ${enable_taskbarbutton+y} +then : enableval=$enable_taskbarbutton; if test "$enableval" = yes; then wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=yes' @@ -12543,7 +13409,7 @@ if test "${enable_taskbarbutton+set}" = set; then : wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=no' fi -else +else $as_nop wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=${'DEFAULT_wxUSE_TASKBARBUTTON":-$defaultval}" @@ -12564,7 +13430,8 @@ fi fi # Check whether --enable-uxtheme was given. -if test "${enable_uxtheme+set}" = set; then : +if test ${enable_uxtheme+y} +then : enableval=$enable_uxtheme; if test "$enableval" = yes; then wx_cv_use_uxtheme='wxUSE_UXTHEME=yes' @@ -12572,7 +13439,7 @@ if test "${enable_uxtheme+set}" = set; then : wx_cv_use_uxtheme='wxUSE_UXTHEME=no' fi -else +else $as_nop wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}" @@ -12593,7 +13460,8 @@ fi fi # Check whether --enable-wxdib was given. -if test "${enable_wxdib+set}" = set; then : +if test ${enable_wxdib+y} +then : enableval=$enable_wxdib; if test "$enableval" = yes; then wx_cv_use_wxdib='wxUSE_DIB=yes' @@ -12601,7 +13469,7 @@ if test "${enable_wxdib+set}" = set; then : wx_cv_use_wxdib='wxUSE_DIB=no' fi -else +else $as_nop wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}" @@ -12622,7 +13490,8 @@ fi fi # Check whether --enable-webviewie was given. -if test "${enable_webviewie+set}" = set; then : +if test ${enable_webviewie+y} +then : enableval=$enable_webviewie; if test "$enableval" = yes; then wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes' @@ -12630,7 +13499,7 @@ if test "${enable_webviewie+set}" = set; then : wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no' fi -else +else $as_nop wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}" @@ -12651,7 +13520,8 @@ fi fi # Check whether --enable-webviewedge was given. -if test "${enable_webviewedge+set}" = set; then : +if test ${enable_webviewedge+y} +then : enableval=$enable_webviewedge; if test "$enableval" = yes; then wx_cv_use_webviewedge='wxUSE_WEBVIEW_EDGE=yes' @@ -12659,7 +13529,7 @@ if test "${enable_webviewedge+set}" = set; then : wx_cv_use_webviewedge='wxUSE_WEBVIEW_EDGE=no' fi -else +else $as_nop wx_cv_use_webviewedge='wxUSE_WEBVIEW_EDGE=${'DEFAULT_wxUSE_WEBVIEW_EDGE":-$defaultval}" @@ -12685,7 +13555,8 @@ fi fi # Check whether --enable-autoidman was given. -if test "${enable_autoidman+set}" = set; then : +if test ${enable_autoidman+y} +then : enableval=$enable_autoidman; if test "$enableval" = yes; then wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes' @@ -12693,7 +13564,7 @@ if test "${enable_autoidman+set}" = set; then : wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no' fi -else +else $as_nop wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}" @@ -12733,8 +13604,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -12764,15 +13635,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -12786,13 +13657,22 @@ $as_echo "$as_me: updating cache $cache_file" >&6;} fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache CFLAGS=${CFLAGS:=} + + + + + + + + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -12801,11 +13681,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -12813,11 +13694,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -12828,11 +13713,11 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -12841,11 +13726,12 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else @@ -12853,11 +13739,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -12868,11 +13758,11 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -12880,8 +13770,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -12894,11 +13784,12 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -12906,11 +13797,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -12921,11 +13816,11 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -12934,11 +13829,12 @@ fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -12947,15 +13843,19 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -12971,18 +13871,18 @@ if test $ac_prog_rejected = yes; then # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -12993,11 +13893,12 @@ if test -z "$CC"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -13005,11 +13906,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13020,11 +13925,11 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -$as_echo "$CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -13037,11 +13942,12 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else @@ -13049,11 +13955,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13064,11 +13974,11 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -13080,8 +13990,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -13089,25 +13999,129 @@ esac fi fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. +set dummy ${ac_tool_prefix}clang; ac_word=$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +printf "%s\n" "$CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "clang", so it can be a program name with args. +set dummy clang; ac_word=$2 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="clang" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +printf "%s\n" "$ac_ct_CC" >&6; } +else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +fi + + +test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 -for ac_option in --version -v -V -qversion; do +for ac_option in --version -v -V -qversion -version; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -13117,7 +14131,7 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done @@ -13125,7 +14139,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; @@ -13137,9 +14151,9 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +printf %s "checking whether the C compiler works... " >&6; } +ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" @@ -13160,11 +14174,12 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, @@ -13181,7 +14196,7 @@ do # certainly right. break;; *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi @@ -13197,44 +14212,46 @@ do done test "$ac_cv_exeext" = no && ac_cv_exeext= -else +else $as_nop ac_file='' fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 +if test -z "$ac_file" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } +printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +printf %s "checking for C compiler default output file name... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +printf "%s\n" "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +printf %s "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with @@ -13248,15 +14265,15 @@ for ac_file in conftest.exe conftest conftest.*; do * ) break;; esac done -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +printf "%s\n" "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext @@ -13265,7 +14282,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; @@ -13277,8 +14294,8 @@ _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +printf %s "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in @@ -13286,10 +14303,10 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in @@ -13297,39 +14314,40 @@ $as_echo "$ac_try_echo"; } >&5 *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run C compiled programs. + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +printf "%s\n" "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if ${ac_cv_objext+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +printf %s "checking for suffix of object files... " >&6; } +if test ${ac_cv_objext+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; @@ -13343,11 +14361,12 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in @@ -13356,31 +14375,32 @@ $as_echo "$ac_try_echo"; } >&5 break;; esac done -else - $as_echo "$as_me: failed program was:" >&5 +else $as_nop + printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +printf "%s\n" "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if ${ac_cv_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 +printf %s "checking whether the compiler supports GNU C... " >&6; } +if test ${ac_cv_c_compiler_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __GNUC__ choke me @@ -13390,29 +14410,33 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_compiler_gnu=yes -else +else $as_nop ac_compiler_gnu=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } +ac_compiler_gnu=$ac_cv_c_compiler_gnu + if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi -ac_test_CFLAGS=${CFLAGS+set} +ac_test_CFLAGS=${CFLAGS+y} ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if ${ac_cv_prog_cc_g+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +printf %s "checking whether $CC accepts -g... " >&6; } +if test ${ac_cv_prog_cc_g+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no @@ -13421,57 +14445,60 @@ else /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=yes -else +else $as_nop CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -else +else $as_nop ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +printf "%s\n" "$ac_cv_prog_cc_g" >&6; } +if test $ac_test_CFLAGS; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then @@ -13486,94 +14513,144 @@ else CFLAGS= fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if ${ac_cv_prog_cc_c89+:} false; then : - $as_echo_n "(cached) " >&6 -else +ac_prog_cc_stdc=no +if test x$ac_prog_cc_stdc = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 +printf %s "checking for $CC option to enable C11 features... " >&6; } +if test ${ac_cv_prog_cc_c11+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c11=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c11_program +_ACEOF +for ac_arg in '' -std=gnu11 +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c11=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c11" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC +fi + +if test "x$ac_cv_prog_cc_c11" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c11" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 +printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } + CC="$CC $ac_cv_prog_cc_c11" +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 + ac_prog_cc_stdc=c11 +fi +fi +if test x$ac_prog_cc_stdc = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 +printf %s "checking for $CC option to enable C99 features... " >&6; } +if test ${ac_cv_prog_cc_c99+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cc_c99=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_c_conftest_c99_program +_ACEOF +for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_prog_cc_c99=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cc_c99" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC +fi + +if test "x$ac_cv_prog_cc_c99" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c99" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } + CC="$CC $ac_cv_prog_cc_c99" +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 + ac_prog_cc_stdc=c99 +fi +fi +if test x$ac_prog_cc_stdc = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 +printf %s "checking for $CC option to enable C89 features... " >&6; } +if test ${ac_cv_prog_cc_c89+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#include -struct stat; -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} +$ac_c_conftest_c89_program _ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : + if ac_fn_c_try_compile "$LINENO" +then : ac_cv_prog_cc_c89=$ac_arg fi -rm -f core conftest.err conftest.$ac_objext +rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC - fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c89" != xno; then : +if test "x$ac_cv_prog_cc_c89" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cc_c89" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } + CC="$CC $ac_cv_prog_cc_c89" +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 + ac_prog_cc_stdc=c89 +fi fi ac_ext=c @@ -13595,16 +14672,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5 -$as_echo_n "checking whether we are using the Intel C compiler... " >&6; } -if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5 +printf %s "checking whether we are using the Intel C compiler... " >&6; } +if test ${bakefile_cv_c_compiler___INTEL_COMPILER+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER @@ -13615,18 +14693,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : bakefile_cv_c_compiler___INTEL_COMPILER=yes -else +else $as_nop bakefile_cv_c_compiler___INTEL_COMPILER=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5 -$as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5 +printf "%s\n" "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; } if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then :; INTELCC=yes else @@ -13650,16 +14729,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5 -$as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; } -if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5 +printf %s "checking whether we are using Intel C compiler v8 or later... " >&6; } +if test ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800 @@ -13670,18 +14750,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes -else +else $as_nop bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5 -$as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5 +printf "%s\n" "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; } if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then :; INTELCC8=yes else @@ -13703,16 +14784,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5 -$as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; } -if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5 +printf %s "checking whether we are using Intel C compiler v10 or later... " >&6; } +if test ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000 @@ -13723,18 +14805,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes -else +else $as_nop bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5 -$as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5 +printf "%s\n" "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; } if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then :; INTELCC10=yes else @@ -13761,16 +14844,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5 -$as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; } -if ${bakefile_cv_c_compiler___xlC__+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5 +printf %s "checking whether we are using the IBM xlC C compiler... " >&6; } +if test ${bakefile_cv_c_compiler___xlC__+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __xlC__ @@ -13781,18 +14865,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : bakefile_cv_c_compiler___xlC__=yes -else +else $as_nop bakefile_cv_c_compiler___xlC__=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5 -$as_echo "$bakefile_cv_c_compiler___xlC__" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5 +printf "%s\n" "$bakefile_cv_c_compiler___xlC__" >&6; } if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then :; XLCC=yes else @@ -13817,16 +14902,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5 -$as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; } -if ${bakefile_cv_c_compiler___xlC__+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5 +printf %s "checking whether we are using the IBM xlC C compiler... " >&6; } +if test ${bakefile_cv_c_compiler___xlC__+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __xlC__ @@ -13837,18 +14923,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : bakefile_cv_c_compiler___xlC__=yes -else +else $as_nop bakefile_cv_c_compiler___xlC__=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5 -$as_echo "$bakefile_cv_c_compiler___xlC__" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5 +printf "%s\n" "$bakefile_cv_c_compiler___xlC__" >&6; } if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then :; XLCC=yes else @@ -13873,16 +14960,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5 -$as_echo_n "checking whether we are using the SGI C compiler... " >&6; } -if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5 +printf %s "checking whether we are using the SGI C compiler... " >&6; } +if test ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef _SGI_COMPILER_VERSION @@ -13893,18 +14981,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes -else +else $as_nop bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5 -$as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5 +printf "%s\n" "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; } if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then :; SGICC=yes else @@ -13930,16 +15019,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5 -$as_echo_n "checking whether we are using the Sun C compiler... " >&6; } -if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5 +printf %s "checking whether we are using the Sun C compiler... " >&6; } +if test ${bakefile_cv_c_compiler___SUNPRO_C+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __SUNPRO_C @@ -13950,18 +15040,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : bakefile_cv_c_compiler___SUNPRO_C=yes -else +else $as_nop bakefile_cv_c_compiler___SUNPRO_C=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5 -$as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5 +printf "%s\n" "$bakefile_cv_c_compiler___SUNPRO_C" >&6; } if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then :; SUNCC=yes else @@ -13987,16 +15078,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5 -$as_echo_n "checking whether we are using the HP C compiler... " >&6; } -if ${bakefile_cv_c_compiler___HP_cc+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5 +printf %s "checking whether we are using the HP C compiler... " >&6; } +if test ${bakefile_cv_c_compiler___HP_cc+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __HP_cc @@ -14007,18 +15099,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : bakefile_cv_c_compiler___HP_cc=yes -else +else $as_nop bakefile_cv_c_compiler___HP_cc=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5 -$as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5 +printf "%s\n" "$bakefile_cv_c_compiler___HP_cc" >&6; } if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then :; HPCC=yes else @@ -14043,16 +15136,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5 -$as_echo_n "checking whether we are using the Compaq C compiler... " >&6; } -if ${bakefile_cv_c_compiler___DECC+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5 +printf %s "checking whether we are using the Compaq C compiler... " >&6; } +if test ${bakefile_cv_c_compiler___DECC+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __DECC @@ -14063,18 +15157,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : bakefile_cv_c_compiler___DECC=yes -else +else $as_nop bakefile_cv_c_compiler___DECC=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5 -$as_echo "$bakefile_cv_c_compiler___DECC" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5 +printf "%s\n" "$bakefile_cv_c_compiler___DECC" >&6; } if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then :; COMPAQCC=yes else @@ -14099,16 +15194,17 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5 -$as_echo_n "checking whether we are using the Sun C compiler... " >&6; } -if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5 +printf %s "checking whether we are using the Sun C compiler... " >&6; } +if test ${bakefile_cv_c_compiler___SUNPRO_C+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __SUNPRO_C @@ -14119,18 +15215,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : bakefile_cv_c_compiler___SUNPRO_C=yes -else +else $as_nop bakefile_cv_c_compiler___SUNPRO_C=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5 -$as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5 +printf "%s\n" "$bakefile_cv_c_compiler___SUNPRO_C" >&6; } if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then :; SUNCC=yes else @@ -14155,40 +15252,36 @@ ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +printf %s "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if ${ac_cv_prog_CPP+:} false; then : - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + if test ${ac_cv_prog_CPP+y} +then : + printf %s "(cached) " >&6 +else $as_nop + # Double quotes because $CC needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif +#include Syntax error _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : -else +else $as_nop # Broken: fails on valid input. continue fi @@ -14200,10 +15293,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : # Broken: success on invalid input. continue -else +else $as_nop # Passes both tests. ac_preproc_ok=: break @@ -14213,7 +15307,8 @@ rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : +if $ac_preproc_ok +then : break fi @@ -14225,29 +15320,24 @@ fi else ac_cv_prog_CPP=$CPP fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$CPP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +printf "%s\n" "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef __STDC__ -# include -#else -# include -#endif +#include Syntax error _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : -else +else $as_nop # Broken: fails on valid input. continue fi @@ -14259,10 +15349,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : # Broken: success on invalid input. continue -else +else $as_nop # Passes both tests. ac_preproc_ok=: break @@ -14272,11 +15363,12 @@ rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : +if $ac_preproc_ok +then : -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi @@ -14288,11 +15380,12 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if ${ac_cv_path_GREP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +printf %s "checking for grep that handles long lines and -e... " >&6; } +if test ${ac_cv_path_GREP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST @@ -14300,10 +15393,15 @@ else for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in grep ggrep + do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP @@ -14312,13 +15410,13 @@ case `"$ac_path_GREP" --version 2>&1` in ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 - $as_echo_n 0123456789 >"conftest.in" + printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" + printf "%s\n" 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val @@ -14346,16 +15444,17 @@ else fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +printf "%s\n" "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if ${ac_cv_path_EGREP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +printf %s "checking for egrep... " >&6; } +if test ${ac_cv_path_EGREP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else @@ -14366,10 +15465,15 @@ else for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + for ac_prog in egrep + do for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP @@ -14378,13 +15482,13 @@ case `"$ac_path_EGREP" --version 2>&1` in ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 - $as_echo_n 0123456789 >"conftest.in" + printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" + printf "%s\n" 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val @@ -14413,17 +15517,18 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +printf "%s\n" "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" if test $ac_cv_c_compiler_gnu = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 -$as_echo_n "checking whether $CC needs -traditional... " >&6; } -if ${ac_cv_prog_gcc_traditional+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 +printf %s "checking whether $CC needs -traditional... " >&6; } +if test ${ac_cv_prog_gcc_traditional+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_pattern="Autoconf.*'x'" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -14431,12 +15536,13 @@ else Autoconf TIOCGETP _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "$ac_pattern" >/dev/null 2>&1; then : + $EGREP "$ac_pattern" >/dev/null 2>&1 +then : ac_cv_prog_gcc_traditional=yes -else +else $as_nop ac_cv_prog_gcc_traditional=no fi -rm -f conftest* +rm -rf conftest* if test $ac_cv_prog_gcc_traditional = no; then @@ -14446,15 +15552,16 @@ rm -f conftest* Autoconf TCGETA _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "$ac_pattern" >/dev/null 2>&1; then : + $EGREP "$ac_pattern" >/dev/null 2>&1 +then : ac_cv_prog_gcc_traditional=yes fi -rm -f conftest* +rm -rf conftest* fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 -$as_echo "$ac_cv_prog_gcc_traditional" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 +printf "%s\n" "$ac_cv_prog_gcc_traditional" >&6; } if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi @@ -14462,6 +15569,12 @@ fi CXXFLAGS=${CXXFLAGS:=} + + + + + + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -14472,15 +15585,16 @@ if test -z "$CXX"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else @@ -14488,11 +15602,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -14503,11 +15621,11 @@ fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -$as_echo "$CXX" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +printf "%s\n" "$CXX" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -14516,15 +15634,16 @@ fi fi if test -z "$CXX"; then ac_ct_CXX=$CXX - for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_CXX+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_CXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else @@ -14532,11 +15651,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -14547,11 +15670,11 @@ fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -$as_echo "$ac_ct_CXX" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 +printf "%s\n" "$ac_ct_CXX" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -14563,8 +15686,8 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX @@ -14574,7 +15697,7 @@ fi fi fi # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 +printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do @@ -14584,7 +15707,7 @@ case "(($ac_try" in *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -14594,20 +15717,21 @@ $as_echo "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 -$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } -if ${ac_cv_cxx_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 +printf %s "checking whether the compiler supports GNU C++... " >&6; } +if test ${ac_cv_cxx_compiler_gnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __GNUC__ choke me @@ -14617,29 +15741,33 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_compiler_gnu=yes -else +else $as_nop ac_compiler_gnu=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 -$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 +printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; } +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + if test $ac_compiler_gnu = yes; then GXX=yes else GXX= fi -ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_test_CXXFLAGS=${CXXFLAGS+y} ac_save_CXXFLAGS=$CXXFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -$as_echo_n "checking whether $CXX accepts -g... " >&6; } -if ${ac_cv_prog_cxx_g+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 +printf %s "checking whether $CXX accepts -g... " >&6; } +if test ${ac_cv_prog_cxx_g+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no @@ -14648,57 +15776,60 @@ else /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_cv_prog_cxx_g=yes -else +else $as_nop CXXFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : -else +else $as_nop ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_cv_prog_cxx_g=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 -$as_echo "$ac_cv_prog_cxx_g" >&6; } -if test "$ac_test_CXXFLAGS" = set; then +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 +printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } +if test $ac_test_CXXFLAGS; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then @@ -14713,6 +15844,100 @@ else CXXFLAGS= fi fi +ac_prog_cxx_stdcxx=no +if test x$ac_prog_cxx_stdcxx = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 +printf %s "checking for $CXX option to enable C++11 features... " >&6; } +if test ${ac_cv_prog_cxx_cxx11+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cxx_cxx11=no +ac_save_CXX=$CXX +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_cxx_conftest_cxx11_program +_ACEOF +for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA +do + CXX="$ac_save_CXX $ac_arg" + if ac_fn_cxx_try_compile "$LINENO" +then : + ac_cv_prog_cxx_cxx11=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cxx_cxx11" != "xno" && break +done +rm -f conftest.$ac_ext +CXX=$ac_save_CXX +fi + +if test "x$ac_cv_prog_cxx_cxx11" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cxx_cxx11" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 +printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } + CXX="$CXX $ac_cv_prog_cxx_cxx11" +fi + ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 + ac_prog_cxx_stdcxx=cxx11 +fi +fi +if test x$ac_prog_cxx_stdcxx = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 +printf %s "checking for $CXX option to enable C++98 features... " >&6; } +if test ${ac_cv_prog_cxx_cxx98+y} +then : + printf %s "(cached) " >&6 +else $as_nop + ac_cv_prog_cxx_cxx98=no +ac_save_CXX=$CXX +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$ac_cxx_conftest_cxx98_program +_ACEOF +for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA +do + CXX="$ac_save_CXX $ac_arg" + if ac_fn_cxx_try_compile "$LINENO" +then : + ac_cv_prog_cxx_cxx98=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam + test "x$ac_cv_prog_cxx_cxx98" != "xno" && break +done +rm -f conftest.$ac_ext +CXX=$ac_save_CXX +fi + +if test "x$ac_cv_prog_cxx_cxx98" = xno +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +printf "%s\n" "unsupported" >&6; } +else $as_nop + if test "x$ac_cv_prog_cxx_cxx98" = x +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +printf "%s\n" "none needed" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 +printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } + CXX="$CXX $ac_cv_prog_cxx_cxx98" +fi + ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 + ac_prog_cxx_stdcxx=cxx98 +fi +fi + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -14732,16 +15957,17 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5 -$as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; } -if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5 +printf %s "checking whether we are using the Intel C++ compiler... " >&6; } +if test ${bakefile_cv_cxx_compiler___INTEL_COMPILER+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER @@ -14752,18 +15978,19 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : bakefile_cv_cxx_compiler___INTEL_COMPILER=yes -else +else $as_nop bakefile_cv_cxx_compiler___INTEL_COMPILER=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5 -$as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5 +printf "%s\n" "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; } if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then :; INTELCXX=yes else @@ -14787,16 +16014,17 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5 -$as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; } -if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5 +printf %s "checking whether we are using Intel C++ compiler v8 or later... " >&6; } +if test ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800 @@ -14807,18 +16035,19 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes -else +else $as_nop bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5 -$as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5 +printf "%s\n" "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; } if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then :; INTELCXX8=yes else @@ -14840,16 +16069,17 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5 -$as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; } -if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5 +printf %s "checking whether we are using Intel C++ compiler v10 or later... " >&6; } +if test ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000 @@ -14860,18 +16090,19 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes -else +else $as_nop bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5 -$as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5 +printf "%s\n" "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; } if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then :; INTELCXX10=yes else @@ -14898,16 +16129,17 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5 -$as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; } -if ${bakefile_cv_cxx_compiler___xlC__+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5 +printf %s "checking whether we are using the IBM xlC C++ compiler... " >&6; } +if test ${bakefile_cv_cxx_compiler___xlC__+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __xlC__ @@ -14918,18 +16150,19 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : bakefile_cv_cxx_compiler___xlC__=yes -else +else $as_nop bakefile_cv_cxx_compiler___xlC__=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5 -$as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5 +printf "%s\n" "$bakefile_cv_cxx_compiler___xlC__" >&6; } if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then :; XLCXX=yes else @@ -14954,16 +16187,17 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5 -$as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; } -if ${bakefile_cv_cxx_compiler___xlC__+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5 +printf %s "checking whether we are using the IBM xlC C++ compiler... " >&6; } +if test ${bakefile_cv_cxx_compiler___xlC__+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __xlC__ @@ -14974,18 +16208,19 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : bakefile_cv_cxx_compiler___xlC__=yes -else +else $as_nop bakefile_cv_cxx_compiler___xlC__=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5 -$as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5 +printf "%s\n" "$bakefile_cv_cxx_compiler___xlC__" >&6; } if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then :; XLCXX=yes else @@ -15010,16 +16245,17 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5 -$as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; } -if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5 +printf %s "checking whether we are using the SGI C++ compiler... " >&6; } +if test ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef _SGI_COMPILER_VERSION @@ -15030,18 +16266,19 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes -else +else $as_nop bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5 -$as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5 +printf "%s\n" "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; } if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then :; SGICXX=yes else @@ -15067,16 +16304,17 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5 -$as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; } -if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5 +printf %s "checking whether we are using the Sun C++ compiler... " >&6; } +if test ${bakefile_cv_cxx_compiler___SUNPRO_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __SUNPRO_CC @@ -15087,18 +16325,19 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : bakefile_cv_cxx_compiler___SUNPRO_CC=yes -else +else $as_nop bakefile_cv_cxx_compiler___SUNPRO_CC=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5 -$as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5 +printf "%s\n" "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; } if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then :; SUNCXX=yes else @@ -15124,16 +16363,17 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5 -$as_echo_n "checking whether we are using the HP C++ compiler... " >&6; } -if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5 +printf %s "checking whether we are using the HP C++ compiler... " >&6; } +if test ${bakefile_cv_cxx_compiler___HP_aCC+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __HP_aCC @@ -15144,18 +16384,19 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : bakefile_cv_cxx_compiler___HP_aCC=yes -else +else $as_nop bakefile_cv_cxx_compiler___HP_aCC=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5 -$as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5 +printf "%s\n" "$bakefile_cv_cxx_compiler___HP_aCC" >&6; } if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then :; HPCXX=yes else @@ -15180,16 +16421,17 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5 -$as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; } -if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5 +printf %s "checking whether we are using the Compaq C++ compiler... " >&6; } +if test ${bakefile_cv_cxx_compiler___DECCXX+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __DECCXX @@ -15200,18 +16442,19 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : bakefile_cv_cxx_compiler___DECCXX=yes -else +else $as_nop bakefile_cv_cxx_compiler___DECCXX=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5 -$as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5 +printf "%s\n" "$bakefile_cv_cxx_compiler___DECCXX" >&6; } if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then :; COMPAQCXX=yes else @@ -15236,16 +16479,17 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5 -$as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; } -if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5 +printf %s "checking whether we are using the Sun C++ compiler... " >&6; } +if test ${bakefile_cv_cxx_compiler___SUNPRO_CC+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __SUNPRO_CC @@ -15256,18 +16500,19 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : bakefile_cv_cxx_compiler___SUNPRO_CC=yes -else +else $as_nop bakefile_cv_cxx_compiler___SUNPRO_CC=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5 -$as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5 +printf "%s\n" "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; } if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then :; SUNCXX=yes else @@ -15301,11 +16546,12 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_success=no - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 -$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; } -if ${ax_cv_cxx_compile_cxx11+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 +printf %s "checking whether $CXX supports C++11 features by default... " >&6; } +if test ${ax_cv_cxx_compile_cxx11+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15597,15 +16843,16 @@ namespace cxx11 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ax_cv_cxx_compile_cxx11=yes -else +else $as_nop ax_cv_cxx_compile_cxx11=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 -$as_echo "$ax_cv_cxx_compile_cxx11" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 +printf "%s\n" "$ax_cv_cxx_compile_cxx11" >&6; } if test x$ax_cv_cxx_compile_cxx11 = xyes; then ac_success=yes fi @@ -15613,12 +16860,13 @@ $as_echo "$ax_cv_cxx_compile_cxx11" >&6; } if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do switch="-std=gnu++${alternative}" - cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 +printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; } +if eval test \${$cachevar+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -15912,17 +17160,18 @@ namespace cxx11 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else +else $as_nop eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -15937,12 +17186,13 @@ $as_echo "$ac_res" >&6; } if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 +printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; } +if eval test \${$cachevar+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -16236,17 +17486,18 @@ namespace cxx11 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else +else $as_nop eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -16274,12 +17525,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX11=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5 -$as_echo "$as_me: No compiler with C++11 support was found" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5 +printf "%s\n" "$as_me: No compiler with C++11 support was found" >&6;} else HAVE_CXX11=1 -$as_echo "#define HAVE_CXX11 1" >>confdefs.h +printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h fi @@ -16295,11 +17546,12 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_success=no - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features by default" >&5 -$as_echo_n "checking whether $CXX supports C++14 features by default... " >&6; } -if ${ax_cv_cxx_compile_cxx14+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features by default" >&5 +printf %s "checking whether $CXX supports C++14 features by default... " >&6; } +if test ${ax_cv_cxx_compile_cxx14+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -16711,15 +17963,16 @@ namespace cxx14 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ax_cv_cxx_compile_cxx14=yes -else +else $as_nop ax_cv_cxx_compile_cxx14=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx14" >&5 -$as_echo "$ax_cv_cxx_compile_cxx14" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx14" >&5 +printf "%s\n" "$ax_cv_cxx_compile_cxx14" >&6; } if test x$ax_cv_cxx_compile_cxx14 = xyes; then ac_success=yes fi @@ -16727,12 +17980,13 @@ $as_echo "$ax_cv_cxx_compile_cxx14" >&6; } if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do switch="-std=gnu++${alternative}" - cachevar=`$as_echo "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++14 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5 +printf %s "checking whether $CXX supports C++14 features with $switch... " >&6; } +if eval test \${$cachevar+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17146,17 +18400,18 @@ namespace cxx14 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else +else $as_nop eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -17171,12 +18426,13 @@ $as_echo "$ac_res" >&6; } if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`$as_echo "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++14 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5 +printf %s "checking whether $CXX supports C++14 features with $switch... " >&6; } +if eval test \${$cachevar+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17590,17 +18846,18 @@ namespace cxx14 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else +else $as_nop eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -17628,12 +18885,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX14=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5 -$as_echo "$as_me: No compiler with C++14 support was found" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++14 support was found" >&5 +printf "%s\n" "$as_me: No compiler with C++14 support was found" >&6;} else HAVE_CXX14=1 -$as_echo "#define HAVE_CXX14 1" >>confdefs.h +printf "%s\n" "#define HAVE_CXX14 1" >>confdefs.h fi @@ -17649,11 +18906,12 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_success=no - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features by default" >&5 -$as_echo_n "checking whether $CXX supports C++17 features by default... " >&6; } -if ${ax_cv_cxx_compile_cxx17+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features by default" >&5 +printf %s "checking whether $CXX supports C++17 features by default... " >&6; } +if test ${ax_cv_cxx_compile_cxx17+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -18443,15 +19701,16 @@ namespace cxx17 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ax_cv_cxx_compile_cxx17=yes -else +else $as_nop ax_cv_cxx_compile_cxx17=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx17" >&5 -$as_echo "$ax_cv_cxx_compile_cxx17" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx17" >&5 +printf "%s\n" "$ax_cv_cxx_compile_cxx17" >&6; } if test x$ax_cv_cxx_compile_cxx17 = xyes; then ac_success=yes fi @@ -18459,12 +19718,13 @@ $as_echo "$ax_cv_cxx_compile_cxx17" >&6; } if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do switch="-std=gnu++${alternative}" - cachevar=`$as_echo "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++17 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 +printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; } +if eval test \${$cachevar+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -19256,17 +20516,18 @@ namespace cxx17 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else +else $as_nop eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -19281,12 +20542,13 @@ $as_echo "$ac_res" >&6; } if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`$as_echo "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++17 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 +printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; } +if eval test \${$cachevar+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -20078,17 +21340,18 @@ namespace cxx17 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else +else $as_nop eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -20116,12 +21379,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX17=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5 -$as_echo "$as_me: No compiler with C++17 support was found" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++17 support was found" >&5 +printf "%s\n" "$as_me: No compiler with C++17 support was found" >&6;} else HAVE_CXX17=1 -$as_echo "#define HAVE_CXX17 1" >>confdefs.h +printf "%s\n" "#define HAVE_CXX17 1" >>confdefs.h fi @@ -20137,11 +21400,12 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_success=no - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++20 features by default" >&5 -$as_echo_n "checking whether $CXX supports C++20 features by default... " >&6; } -if ${ax_cv_cxx_compile_cxx20+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++20 features by default" >&5 +printf %s "checking whether $CXX supports C++20 features by default... " >&6; } +if test ${ax_cv_cxx_compile_cxx20+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -20957,15 +22221,16 @@ namespace cxx20 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ax_cv_cxx_compile_cxx20=yes -else +else $as_nop ax_cv_cxx_compile_cxx20=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx20" >&5 -$as_echo "$ax_cv_cxx_compile_cxx20" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx20" >&5 +printf "%s\n" "$ax_cv_cxx_compile_cxx20" >&6; } if test x$ax_cv_cxx_compile_cxx20 = xyes; then ac_success=yes fi @@ -20973,12 +22238,13 @@ $as_echo "$ax_cv_cxx_compile_cxx20" >&6; } if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do switch="-std=gnu++${alternative}" - cachevar=`$as_echo "ax_cv_cxx_compile_cxx20_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++20 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++20 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx20_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++20 features with $switch" >&5 +printf %s "checking whether $CXX supports C++20 features with $switch... " >&6; } +if eval test \${$cachevar+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -21796,17 +23062,18 @@ namespace cxx20 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else +else $as_nop eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -21821,12 +23088,13 @@ $as_echo "$ac_res" >&6; } if test x$ac_success = xno; then for alternative in ${ax_cxx_compile_alternatives}; do for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=`$as_echo "ax_cv_cxx_compile_cxx20_$switch" | $as_tr_sh` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++20 features with $switch" >&5 -$as_echo_n "checking whether $CXX supports C++20 features with $switch... " >&6; } -if eval \${$cachevar+:} false; then : - $as_echo_n "(cached) " >&6 -else + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx20_$switch" | $as_tr_sh` + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++20 features with $switch" >&5 +printf %s "checking whether $CXX supports C++20 features with $switch... " >&6; } +if eval test \${$cachevar+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -22644,17 +23912,18 @@ namespace cxx20 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else +else $as_nop eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -22682,12 +23951,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX20=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++20 support was found" >&5 -$as_echo "$as_me: No compiler with C++20 support was found" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No compiler with C++20 support was found" >&5 +printf "%s\n" "$as_me: No compiler with C++20 support was found" >&6;} else HAVE_CXX20=1 -$as_echo "#define HAVE_CXX20 1" >>confdefs.h +printf "%s\n" "#define HAVE_CXX20 1" >>confdefs.h fi @@ -22709,19 +23978,20 @@ case "$wxWITH_DPI_MANIFEST" in USE_DPI_AWARE_MANIFEST=2 ;; *) USE_DPI_AWARE_MANIFEST=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unsupported DPI awareness value \"$wxWITH_DPI_MANIFEST\" ignored." >&5 -$as_echo "$as_me: WARNING: Unsupported DPI awareness value \"$wxWITH_DPI_MANIFEST\" ignored." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Unsupported DPI awareness value \"$wxWITH_DPI_MANIFEST\" ignored." >&5 +printf "%s\n" "$as_me: WARNING: Unsupported DPI awareness value \"$wxWITH_DPI_MANIFEST\" ignored." >&2;} esac if test "x$SUNCXX" != xyes; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AR+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else @@ -22729,11 +23999,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -22744,11 +24018,11 @@ fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +printf "%s\n" "$AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -22757,11 +24031,12 @@ if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_AR+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else @@ -22769,11 +24044,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -22784,11 +24063,11 @@ fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +printf "%s\n" "$ac_ct_AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_AR" = x; then @@ -22796,8 +24075,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR @@ -22822,8 +24101,8 @@ OSX_ARCH_OPTS="" if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then if test "x$wxUSE_MAC_ARCH" != xno; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5 -$as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5 +printf "%s\n" "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;} fi if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then @@ -22834,10 +24113,10 @@ $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-univers fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5 -$as_echo_n "checking for architectures to use in universal binary... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5 -$as_echo "$OSX_ARCH_OPTS" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5 +printf %s "checking for architectures to use in universal binary... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5 +printf "%s\n" "$OSX_ARCH_OPTS" >&6; } retest_macosx_linking=yes else @@ -22848,13 +24127,13 @@ fi if test "x$OSX_ARCH_OPTS" != "x"; then if echo $OSX_ARCH_OPTS | grep -q ","; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5 -$as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5 +printf "%s\n" "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;} disable_macosx_deps=yes if test "x$wxUSE_PCH" = "xyes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5 -$as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5 +printf "%s\n" "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;} wxUSE_PCH=no fi fi @@ -22882,16 +24161,16 @@ fi if test "x$wxUSE_MACOSX_SDK" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5 -$as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5 +printf %s "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; } if ! test -d "$wxUSE_MACOSX_SDK"; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "not found See \`config.log' for more details" "$LINENO" 5; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5 -$as_echo "exists" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: exists" >&5 +printf "%s\n" "exists" >&6; } fi MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK" retest_macosx_linking=yes @@ -22902,8 +24181,8 @@ if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then wxUSE_MACOSX_VERSION_MIN= elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then if test "x$wxUSE_MACOSX_SDK" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5 -$as_echo_n "checking SDK deployment version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5 +printf %s "checking SDK deployment version... " >&6; } 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/'` @@ -22916,11 +24195,11 @@ $as_echo_n "checking SDK deployment version... " >&6; } if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5 -$as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5 +printf "%s\n" "$wxUSE_MACOSX_VERSION_MIN" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5 -$as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5 +printf "%s\n" "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;} wxUSE_MACOSX_VERSION_MIN= fi else @@ -22972,29 +24251,30 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5 -$as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5 +printf %s "checking if C compiler ($CC) works with SDK/version options... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +if ac_fn_c_try_link "$LINENO" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "$error_message See \`config.log' for more details" "$LINENO" 5; } fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -23009,15 +24289,15 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5 -$as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5 +printf %s "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) @@ -23035,17 +24315,18 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +if ac_fn_cxx_try_link "$LINENO" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "$error_message See \`config.log' for more details" "$LINENO" 5; } fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -23070,7 +24351,7 @@ esac if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then - $as_echo "#define _GNU_SOURCE 1" >>confdefs.h + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h GNU_SOURCE_FLAG="-D_GNU_SOURCE" @@ -23087,57 +24368,59 @@ fi case "${host}" in *-*-darwin* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5 -$as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5 +printf %s "checking if CoreFoundation/CFBase.h is usable... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5 -$as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; } +if ac_fn_c_try_compile "$LINENO" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5 +printf %s "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define __CF_USE_FRAMEWORK_INCLUDES__ #include int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +if ac_fn_c_try_compile "$LINENO" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS" -else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +else $as_nop + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no. CoreFoundation not available. See \`config.log' for more details" "$LINENO" 5; } fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac @@ -23148,17 +24431,18 @@ case "${host}" in if test "$wxUSE_MSW" = 1 ; then wants_win32=1 else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5 -$as_echo_n "checking if -mno-cygwin is in effect... " >&6; } -if ${wx_cv_nocygwin+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5 +printf %s "checking if -mno-cygwin is in effect... " >&6; } +if test ${wx_cv_nocygwin+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifdef __MINGW32__ @@ -23169,18 +24453,19 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_nocygwin=no -else +else $as_nop wx_cv_nocygwin=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5 -$as_echo "$wx_cv_nocygwin" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5 +printf "%s\n" "$wx_cv_nocygwin" >&6; } if test "$wx_cv_nocygwin" = "yes"; then wants_win32=1 @@ -23205,13 +24490,13 @@ fi if test "$wants_win32" = 1 ; then USE_UNIX=0 USE_WIN32=1 - $as_echo "#define __WIN32__ 1" >>confdefs.h + printf "%s\n" "#define __WIN32__ 1" >>confdefs.h - $as_echo "#define __WINDOWS__ 1" >>confdefs.h + printf "%s\n" "#define __WINDOWS__ 1" >>confdefs.h - $as_echo "#define __GNUWIN32__ 1" >>confdefs.h + printf "%s\n" "#define __GNUWIN32__ 1" >>confdefs.h - $as_echo "#define STRICT 1" >>confdefs.h + printf "%s\n" "#define STRICT 1" >>confdefs.h fi if test "$doesnt_want_win32" = 1 ; then @@ -23221,7 +24506,7 @@ fi if test "$USE_UNIX" = 1 ; then wxUSE_UNIX=yes - $as_echo "#define __UNIX__ 1" >>confdefs.h + printf "%s\n" "#define __UNIX__ 1" >>confdefs.h fi @@ -23229,187 +24514,78 @@ if test "$export_compiler_flags" = "yes"; then export CC CFLAGS CPP CPPFLAGS CXX CXXFLAGS LDD LDFLAGS OBJCFLAGS OBJCXXFLAGS if test "$cache_file" != "/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling caching due to a change in compiler options." >&5 -$as_echo "$as_me: WARNING: Disabling caching due to a change in compiler options." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Disabling caching due to a change in compiler options." >&5 +printf "%s\n" "$as_me: WARNING: Disabling caching due to a change in compiler options." >&2;} cache_file="/dev/null" fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if ${ac_cv_header_stdc+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_stdc=yes -else - ac_cv_header_stdc=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : - : -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - -else - ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -$as_echo "#define STDC_HEADERS 1" >>confdefs.h - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi done -for ac_header in langinfo.h wchar.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h fi +ac_fn_c_check_header_compile "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default +" +if test "x$ac_cv_header_langinfo_h" = xyes +then : + printf "%s\n" "#define HAVE_LANGINFO_H 1" >>confdefs.h -done +fi +ac_fn_c_check_header_compile "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default +" +if test "x$ac_cv_header_wchar_h" = xyes +then : + printf "%s\n" "#define HAVE_WCHAR_H 1" >>confdefs.h + +fi if test "$ac_cv_header_wchar_h" != "yes"; then - for ac_header in wcstr.h -do : - ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default + ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default " -if test "x$ac_cv_header_wcstr_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WCSTR_H 1 -_ACEOF +if test "x$ac_cv_header_wcstr_h" = xyes +then : + printf "%s\n" "#define HAVE_WCSTR_H 1" >>confdefs.h fi -done - fi if test "$USE_UNIX" = 1 ; then - for ac_header in sys/select.h -do : - ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default + ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default " -if test "x$ac_cv_header_sys_select_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_SELECT_H 1 -_ACEOF +if test "x$ac_cv_header_sys_select_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h fi -done - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -23417,19 +24593,14 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - for ac_header in cxxabi.h -do : - ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default + ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default " -if test "x$ac_cv_header_cxxabi_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_CXXABI_H 1 -_ACEOF +if test "x$ac_cv_header_cxxabi_h" = xyes +then : + printf "%s\n" "#define HAVE_CXXABI_H 1" >>confdefs.h fi -done - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23439,16 +24610,17 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if ${ac_cv_c_const+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 +printf %s "checking for an ANSI C-conforming const... " >&6; } +if test ${ac_cv_c_const+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __cplusplus @@ -23461,7 +24633,7 @@ main () /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; - /* AIX XL C 1.02.0.0 rejects this. + /* IBM XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ @@ -23489,7 +24661,7 @@ main () iptr p = 0; ++p; } - { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying + { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; } bx; struct s *b = &bx; b->j = 5; @@ -23505,47 +24677,50 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_const=yes -else +else $as_nop ac_cv_c_const=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 +printf "%s\n" "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then -$as_echo "#define const /**/" >>confdefs.h +printf "%s\n" "#define const /**/" >>confdefs.h fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if ${ac_cv_c_inline+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +printf %s "checking for inline... " >&6; } +if test ${ac_cv_c_inline+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } +static $ac_kw foo_t static_foo (void) {return 0; } +$ac_kw foo_t foo (void) {return 0; } #endif _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_inline=$ac_kw fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +printf "%s\n" "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; @@ -23567,17 +24742,19 @@ esac # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 -$as_echo_n "checking size of short... " >&6; } -if ${ac_cv_sizeof_short+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 +printf %s "checking size of short... " >&6; } +if test ${ac_cv_sizeof_short+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default" +then : -else +else $as_nop if test "$ac_cv_type_short" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (short) See \`config.log' for more details" "$LINENO" 5; } else @@ -23586,31 +24763,31 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 -$as_echo "$ac_cv_sizeof_short" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 +printf "%s\n" "$ac_cv_sizeof_short" >&6; } -cat >>confdefs.h <<_ACEOF -#define SIZEOF_SHORT $ac_cv_sizeof_short -_ACEOF +printf "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 -$as_echo_n "checking size of void *... " >&6; } -if ${ac_cv_sizeof_void_p+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 +printf %s "checking size of void *... " >&6; } +if test ${ac_cv_sizeof_void_p+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default" +then : -else +else $as_nop if test "$ac_cv_type_void_p" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (void *) See \`config.log' for more details" "$LINENO" 5; } else @@ -23619,31 +24796,31 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 -$as_echo "$ac_cv_sizeof_void_p" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 +printf "%s\n" "$ac_cv_sizeof_void_p" >&6; } -cat >>confdefs.h <<_ACEOF -#define SIZEOF_VOID_P $ac_cv_sizeof_void_p -_ACEOF +printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 -$as_echo_n "checking size of int... " >&6; } -if ${ac_cv_sizeof_int+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 +printf %s "checking size of int... " >&6; } +if test ${ac_cv_sizeof_int+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default" +then : -else +else $as_nop if test "$ac_cv_type_int" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (int) See \`config.log' for more details" "$LINENO" 5; } else @@ -23652,31 +24829,31 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 -$as_echo "$ac_cv_sizeof_int" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 +printf "%s\n" "$ac_cv_sizeof_int" >&6; } -cat >>confdefs.h <<_ACEOF -#define SIZEOF_INT $ac_cv_sizeof_int -_ACEOF +printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 -$as_echo_n "checking size of long... " >&6; } -if ${ac_cv_sizeof_long+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +printf %s "checking size of long... " >&6; } +if test ${ac_cv_sizeof_long+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" +then : -else +else $as_nop if test "$ac_cv_type_long" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long) See \`config.log' for more details" "$LINENO" 5; } else @@ -23685,31 +24862,31 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -$as_echo "$ac_cv_sizeof_long" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +printf "%s\n" "$ac_cv_sizeof_long" >&6; } -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG $ac_cv_sizeof_long -_ACEOF +printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 -$as_echo_n "checking size of size_t... " >&6; } -if ${ac_cv_sizeof_size_t+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 +printf %s "checking size of size_t... " >&6; } +if test ${ac_cv_sizeof_size_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default" +then : -else +else $as_nop if test "$ac_cv_type_size_t" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (size_t) See \`config.log' for more details" "$LINENO" 5; } else @@ -23718,14 +24895,12 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 -$as_echo "$ac_cv_sizeof_size_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 +printf "%s\n" "$ac_cv_sizeof_size_t" >&6; } -cat >>confdefs.h <<_ACEOF -#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t -_ACEOF +printf "%s\n" "#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t" >>confdefs.h @@ -23735,17 +24910,19 @@ case "${host}" in # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 -$as_echo_n "checking size of long long... " >&6; } -if ${ac_cv_sizeof_long_long+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 +printf %s "checking size of long long... " >&6; } +if test ${ac_cv_sizeof_long_long+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" +then : -else +else $as_nop if test "$ac_cv_type_long_long" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long long) See \`config.log' for more details" "$LINENO" 5; } else @@ -23754,14 +24931,12 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -$as_echo "$ac_cv_sizeof_long_long" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 +printf "%s\n" "$ac_cv_sizeof_long_long" >&6; } -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long -_ACEOF +printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h ;; @@ -23770,17 +24945,19 @@ _ACEOF # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 -$as_echo_n "checking size of long long... " >&6; } -if ${ac_cv_sizeof_long_long+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 +printf %s "checking size of long long... " >&6; } +if test ${ac_cv_sizeof_long_long+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" +then : -else +else $as_nop if test "$ac_cv_type_long_long" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long long) See \`config.log' for more details" "$LINENO" 5; } else @@ -23789,14 +24966,12 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -$as_echo "$ac_cv_sizeof_long_long" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 +printf "%s\n" "$ac_cv_sizeof_long_long" >&6; } -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long -_ACEOF +printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h if test "$ac_cv_sizeof_long_long" != 0; then @@ -23808,17 +24983,19 @@ _ACEOF # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 -$as_echo_n "checking size of long long... " >&6; } -if ${ac_cv_sizeof_long_long+:} false; then : - $as_echo_n "(cached) " >&6 -else - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 +printf %s "checking size of long long... " >&6; } +if test ${ac_cv_sizeof_long_long+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" +then : -else +else $as_nop if test "$ac_cv_type_long_long" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long long) See \`config.log' for more details" "$LINENO" 5; } else @@ -23827,14 +25004,12 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -$as_echo "$ac_cv_sizeof_long_long" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 +printf "%s\n" "$ac_cv_sizeof_long_long" >&6; } -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long -_ACEOF +printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h esac @@ -23843,11 +25018,12 @@ esac # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 -$as_echo_n "checking size of wchar_t... " >&6; } -if ${ac_cv_sizeof_wchar_t+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 +printf %s "checking size of wchar_t... " >&6; } +if test ${ac_cv_sizeof_wchar_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" " /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */ #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 ) @@ -23865,12 +25041,13 @@ else #include -"; then : +" +then : -else +else $as_nop if test "$ac_cv_type_wchar_t" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (wchar_t) See \`config.log' for more details" "$LINENO" 5; } else @@ -23879,25 +25056,24 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 -$as_echo "$ac_cv_sizeof_wchar_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 +printf "%s\n" "$ac_cv_sizeof_wchar_t" >&6; } -cat >>confdefs.h <<_ACEOF -#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t -_ACEOF +printf "%s\n" "#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t" >>confdefs.h if test "$ac_cv_sizeof_wchar_t" = 0; then as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 -$as_echo_n "checking for va_copy... " >&6; } -if ${wx_cv_func_va_copy+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 +printf %s "checking for va_copy... " >&6; } +if test ${wx_cv_func_va_copy+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -23925,13 +25101,14 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : wx_cv_func_va_copy=yes -else +else $as_nop wx_cv_func_va_copy=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -23942,23 +25119,25 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5 -$as_echo "$wx_cv_func_va_copy" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5 +printf "%s\n" "$wx_cv_func_va_copy" >&6; } if test $wx_cv_func_va_copy = "yes"; then - $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h + printf "%s\n" "#define HAVE_VA_COPY 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5 -$as_echo_n "checking if va_list can be copied by value... " >&6; } -if ${wx_cv_type_va_list_lvalue+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5 +printf %s "checking if va_list can be copied by value... " >&6; } +if test ${wx_cv_type_va_list_lvalue+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : wx_cv_type_va_list_lvalue=yes -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23981,9 +25160,10 @@ else } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : wx_cv_type_va_list_lvalue=yes -else +else $as_nop wx_cv_type_va_list_lvalue=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -23993,36 +25173,38 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5 -$as_echo "$wx_cv_type_va_list_lvalue" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5 +printf "%s\n" "$wx_cv_type_va_list_lvalue" >&6; } if test $wx_cv_type_va_list_lvalue != "yes"; then - $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h + printf "%s\n" "#define VA_LIST_IS_ARRAY 1" >>confdefs.h fi fi LARGEFILE_CPPFLAGS= # Check whether --enable-largefile was given. -if test "${enable_largefile+set}" = set; then : +if test ${enable_largefile+y} +then : enableval=$enable_largefile; fi if test "$enable_largefile" != no; then wx_largefile=no - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 -$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } -if ${ac_cv_sys_file_offset_bits+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 +printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } +if test ${ac_cv_sys_file_offset_bits+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include int -main () +main (void) { typedef struct { unsigned int field: sizeof(off_t) == 8; @@ -24032,40 +25214,40 @@ typedef struct { return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_file_offset_bits=64 -else +else $as_nop ac_cv_sys_file_offset_bits=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 -$as_echo "$ac_cv_sys_file_offset_bits" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; } if test "$ac_cv_sys_file_offset_bits" != no; then wx_largefile=yes - cat >>confdefs.h <<_ACEOF -#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits -_ACEOF + printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h fi if test "x$wx_largefile" != "xyes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 -$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } -if ${ac_cv_sys_large_files+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 +printf %s "checking for _LARGE_FILES value needed for large files... " >&6; } +if test ${ac_cv_sys_large_files+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGE_FILES 1 #include int -main () +main (void) { typedef struct { unsigned int field: sizeof(off_t) == 8; @@ -24075,36 +25257,35 @@ typedef struct { return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_sys_large_files=1 -else +else $as_nop ac_cv_sys_large_files=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 -$as_echo "$ac_cv_sys_large_files" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +printf "%s\n" "$ac_cv_sys_large_files" >&6; } if test "$ac_cv_sys_large_files" != no; then wx_largefile=yes - cat >>confdefs.h <<_ACEOF -#define _LARGE_FILES $ac_cv_sys_large_files -_ACEOF + printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5 -$as_echo_n "checking if large file support is available... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5 +printf %s "checking if large file support is available... " >&6; } if test "x$wx_largefile" = "xyes"; then - $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h + printf "%s\n" "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5 -$as_echo "$wx_largefile" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5 +printf "%s\n" "$wx_largefile" >&6; } fi if test "$ac_cv_sys_file_offset_bits" = "64"; then @@ -24117,11 +25298,12 @@ if test -n "$LARGEFILE_CPPFLAGS"; then WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS" if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5 -$as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; } -if ${wx_cv_STDC_EXT_required+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5 +printf %s "checking if -D__STDC_EXT__ is required... " >&6; } +if test ${wx_cv_STDC_EXT_required+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -24133,7 +25315,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ int -main () +main (void) { #ifndef __STDC_EXT__ @@ -24144,13 +25326,14 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_STDC_EXT_required=no -else +else $as_nop wx_cv_STDC_EXT_required=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24160,8 +25343,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5 -$as_echo "$wx_cv_STDC_EXT_required" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5 +printf "%s\n" "$wx_cv_STDC_EXT_required" >&6; } if test "x$wx_cv_STDC_EXT_required" = "xyes"; then WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__" fi @@ -24176,18 +25359,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu old_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 -$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } -if ${ac_cv_sys_largefile_source+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 +printf %s "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } +if test ${ac_cv_sys_largefile_source+y} +then : + printf %s "(cached) " >&6 +else $as_nop while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* for off_t */ #include int -main () +main (void) { int (*fp) (FILE *, off_t, int) = fseeko; return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); @@ -24195,10 +25379,11 @@ int (*fp) (FILE *, off_t, int) = fseeko; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : ac_cv_sys_largefile_source=no; break fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24206,7 +25391,7 @@ rm -f core conftest.err conftest.$ac_objext \ #include /* for off_t */ #include int -main () +main (void) { int (*fp) (FILE *, off_t, int) = fseeko; return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); @@ -24214,23 +25399,22 @@ int (*fp) (FILE *, off_t, int) = fseeko; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : ac_cv_sys_largefile_source=1; break fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_cv_sys_largefile_source=unknown break done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 -$as_echo "$ac_cv_sys_largefile_source" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 +printf "%s\n" "$ac_cv_sys_largefile_source" >&6; } case $ac_cv_sys_largefile_source in #( no | unknown) ;; *) -cat >>confdefs.h <<_ACEOF -#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source -_ACEOF +printf "%s\n" "#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source" >>confdefs.h ;; esac rm -rf conftest* @@ -24240,7 +25424,7 @@ rm -rf conftest* # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. if test $ac_cv_sys_largefile_source != unknown; then -$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h +printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h fi @@ -24255,11 +25439,12 @@ if test "$ac_cv_sys_largefile_source" != no; then WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -$as_echo_n "checking whether byte ordering is bigendian... " >&6; } -if ${ac_cv_c_bigendian+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 +printf %s "checking whether byte ordering is bigendian... " >&6; } +if test ${ac_cv_c_bigendian+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -24267,7 +25452,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #include #include int -main () +main (void) { #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN @@ -24277,14 +25462,15 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main () +main (void) { #if BYTE_ORDER != BIG_ENDIAN @@ -24294,18 +25480,20 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_c_bigendian=yes -else +else $as_nop ac_cv_c_bigendian=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then -if test "$cross_compiling" = yes; then : +if test "$cross_compiling" = yes +then : ac_cv_c_bigendian=unknown -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ main () { @@ -24319,9 +25507,10 @@ main () { exit (u.c[sizeof (long) - 1] == 1); } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_c_bigendian=no -else +else $as_nop ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -24330,14 +25519,14 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -$as_echo "$ac_cv_c_bigendian" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +printf "%s\n" "$ac_cv_c_bigendian" >&6; } if test $ac_cv_c_bigendian = unknown; then - { $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 -$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;} + { printf "%s\n" "$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 +printf "%s\n" "$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;} fi if test $ac_cv_c_bigendian = yes; then - $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h + printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h fi @@ -24351,17 +25540,18 @@ if test "x$SUNCC" = xyes; then fi if test "x$SGICC" = "xyes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5 -$as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; } -if ${wx_cv_prog_sgicc744+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5 +printf %s "checking if cc version is 7.4.4 or greater... " >&6; } +if test ${wx_cv_prog_sgicc744+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #if _SGI_COMPILER_VERSION >= 744 @@ -24372,29 +25562,31 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_prog_sgicc744=no -else +else $as_nop wx_cv_prog_sgicc744=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5 -$as_echo "$wx_cv_prog_sgicc744" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5 +printf "%s\n" "$wx_cv_prog_sgicc744" >&6; } if test "x$wx_cv_prog_sgicc744" = "xyes"; then CFLAGS="-woff 3970 $CFLAGS" fi fi if test "x$SGICXX" = "xyes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5 -$as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; } -if ${wx_cv_prog_sgicxx744+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5 +printf %s "checking if CC version is 7.4.4 or greater... " >&6; } +if test ${wx_cv_prog_sgicxx744+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -24406,7 +25598,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ int -main () +main (void) { #if _SGI_COMPILER_VERSION >= 744 @@ -24417,13 +25609,14 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_prog_sgicxx744=no -else +else $as_nop wx_cv_prog_sgicxx744=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24433,8 +25626,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5 -$as_echo "$wx_cv_prog_sgicxx744" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5 +printf "%s\n" "$wx_cv_prog_sgicxx744" >&6; } if test "x$wx_cv_prog_sgicxx744" = "xyes"; then CXXFLAGS="-woff 3970 $CXXFLAGS" @@ -24455,17 +25648,18 @@ fi if test -n "$GCC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_xxx_and_fetch builtins" >&5 -$as_echo_n "checking for __sync_xxx_and_fetch builtins... " >&6; } - if ${wx_cv_cc_gcc_atomic_builtins+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __sync_xxx_and_fetch builtins" >&5 +printf %s "checking for __sync_xxx_and_fetch builtins... " >&6; } + if test ${wx_cv_cc_gcc_atomic_builtins+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { unsigned int value=0; @@ -24476,20 +25670,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : wx_cv_cc_gcc_atomic_builtins=yes -else +else $as_nop wx_cv_cc_gcc_atomic_builtins=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5 -$as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5 +printf "%s\n" "$wx_cv_cc_gcc_atomic_builtins" >&6; } if test $wx_cv_cc_gcc_atomic_builtins = yes; then - $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h + printf "%s\n" "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h fi fi @@ -24535,14 +25730,15 @@ SEARCH_INCLUDE="\ \ /usr/openwin/share/include" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5 -$as_echo_n "checking for libraries directories... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5 +printf %s "checking for libraries directories... " >&6; } case "${host}" in *-*-irix6* ) - if ${wx_cv_std_libpath+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${wx_cv_std_libpath+y} +then : + printf %s "(cached) " >&6 +else $as_nop for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do for e in a so sl dylib dll.a; do @@ -24556,10 +25752,11 @@ else int main() { return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : wx_cv_std_libpath=`echo $d | sed s@/usr/@@` fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$save_LIBS" if test "x$wx_cv_std_libpath" != "x"; then @@ -24617,8 +25814,8 @@ if test -z "$wx_cv_std_libfullpath"; then fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5 -$as_echo "$wx_cv_std_libfullpath" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5 +printf "%s\n" "$wx_cv_std_libfullpath" >&6; } SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath" @@ -24695,8 +25892,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -24726,15 +25923,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -24748,78 +25945,78 @@ $as_echo "$as_me: updating cache $cache_file" >&6;} fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache have_cos=0 have_floor=0 -for ac_func in cos + + for ac_func in cos do : ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos" -if test "x$ac_cv_func_cos" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_COS 1 -_ACEOF +if test "x$ac_cv_func_cos" = xyes +then : + printf "%s\n" "#define HAVE_COS 1" >>confdefs.h have_cos=1 fi + done -for ac_func in floor + for ac_func in floor do : ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor" -if test "x$ac_cv_func_floor" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FLOOR 1 -_ACEOF +if test "x$ac_cv_func_floor" = xyes +then : + printf "%s\n" "#define HAVE_FLOOR 1" >>confdefs.h have_floor=1 fi -done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5 -$as_echo_n "checking if floating point functions link without -lm... " >&6; } +done +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5 +printf %s "checking if floating point functions link without -lm... " >&6; } if test "$have_cos" = 1 -a "$have_floor" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } save_LIBS="$LIBS" LIBS="$LIBS -lm" have_sin=0 have_ceil=0 - for ac_func in sin + + for ac_func in sin do : ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin" -if test "x$ac_cv_func_sin" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SIN 1 -_ACEOF +if test "x$ac_cv_func_sin" = xyes +then : + printf "%s\n" "#define HAVE_SIN 1" >>confdefs.h have_sin=1 fi + done - for ac_func in ceil + for ac_func in ceil do : ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil" -if test "x$ac_cv_func_ceil" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_CEIL 1 -_ACEOF +if test "x$ac_cv_func_ceil" = xyes +then : + printf "%s\n" "#define HAVE_CEIL 1" >>confdefs.h have_ceil=1 fi -done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5 -$as_echo_n "checking if floating point functions link with -lm... " >&6; } +done + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5 +printf %s "checking if floating point functions link with -lm... " >&6; } if test "$have_sin" = 1 -a "$have_ceil" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } LIBS="$save_LIBS" fi fi @@ -24830,11 +26027,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -24844,11 +26042,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -24860,11 +26062,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -24873,11 +26075,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -24887,11 +26090,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -24903,11 +26110,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -24915,8 +26122,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -24928,14 +26135,14 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG="" fi @@ -24952,8 +26159,8 @@ if test "$build" != "$host"; then ;; * ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not using native pkg-config when cross-compiling." >&5 -$as_echo "$as_me: WARNING: Not using native pkg-config when cross-compiling." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Not using native pkg-config when cross-compiling." >&5 +printf "%s\n" "$as_me: WARNING: Not using native pkg-config when cross-compiling." >&2;} @@ -24970,7 +26177,7 @@ fi if test "$wxUSE_REGEX" != "no"; then - $as_echo "#define wxUSE_REGEX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_REGEX 1" >>confdefs.h if test "$wxUSE_UNICODE_UTF8" = "yes"; then @@ -24988,18 +26195,18 @@ if test "$wxUSE_REGEX" != "no"; then if test "$wxUSE_REGEX" != "builtin"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPCRE" >&5 -$as_echo_n "checking for LIBPCRE... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBPCRE" >&5 +printf %s "checking for LIBPCRE... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBPCRE_CFLAGS"; then pkg_cv_LIBPCRE_CFLAGS="$LIBPCRE_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre2-\$pcre_suffix\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre2-\$pcre_suffix\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpcre2-$pcre_suffix") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBPCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre2-$pcre_suffix" 2>/dev/null` else @@ -25014,10 +26221,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBPCRE_LIBS="$LIBPCRE_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre2-\$pcre_suffix\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre2-\$pcre_suffix\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpcre2-$pcre_suffix") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBPCRE_LIBS=`$PKG_CONFIG --libs "libpcre2-$pcre_suffix" 2>/dev/null` else @@ -25057,8 +26264,8 @@ elif test $pkg_failed = untried; then else LIBPCRE_CFLAGS=$pkg_cv_LIBPCRE_CFLAGS LIBPCRE_LIBS=$pkg_cv_LIBPCRE_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } PCRE_LINK=$LIBPCRE_LIBS CXXFLAGS="$LIBPCRE_CFLAGS $CXXFLAGS" @@ -25068,11 +26275,11 @@ fi fi if test "$wxUSE_REGEX" = "builtin"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pcre submodule exists" >&5 -$as_echo_n "checking whether pcre submodule exists... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pcre submodule exists" >&5 +printf %s "checking whether pcre submodule exists... " >&6; } if ! test -f "$srcdir/3rdparty/pcre/pcre2-config.in" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? " Configured to use built-in PCRE library, but the file $srcdir/3rdparty/pcre/pcre2-config.in couldn't be found. @@ -25082,8 +26289,8 @@ $as_echo "no" >&6; } to fix this." "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi if test $pcre_suffix != 8; then @@ -25098,6 +26305,7 @@ $as_echo "yes" >&6; } + # Various preliminary checks. @@ -25114,9 +26322,9 @@ $as_echo "yes" >&6; } case "$ax_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ax_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ax_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -25176,7 +26384,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix --disable-option-checking) ;; *) case $ax_arg in - *\'*) ax_arg=$($as_echo "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; + *\'*) ax_arg=$(printf "%s\n" "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; esac as_fn_append ax_args " '$ax_arg'" ;; esac @@ -25203,8 +26411,8 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix eval "ax_sub_configure_args_$ax_var=\"$ax_args\"" eval "ax_sub_configure_$ax_var=\"yes\"" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find source tree for $ax_dir" >&5 -$as_echo "$as_me: WARNING: could not find source tree for $ax_dir" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: could not find source tree for $ax_dir" >&5 +printf "%s\n" "$as_me: WARNING: could not find source tree for $ax_dir" >&2;} fi @@ -25216,19 +26424,21 @@ fi ZLIB_LINK= if test "$wxUSE_ZLIB" != "no" ; then - $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ZLIB 1" >>confdefs.h if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5 -$as_echo_n "checking for zlib.h >= 1.1.4... " >&6; } -if ${ac_cv_header_zlib_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5 +printf %s "checking for zlib.h >= 1.1.4... " >&6; } +if test ${ac_cv_header_zlib_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : unset ac_cv_header_zlib_h -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -25249,9 +26459,10 @@ else } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_header_zlib_h=`cat conftestval` -else +else $as_nop ac_cv_header_zlib_h=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -25260,22 +26471,23 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5 -$as_echo "$ac_cv_header_zlib_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5 +printf "%s\n" "$ac_cv_header_zlib_h" >&6; } ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" " " -if test "x$ac_cv_header_zlib_h" = xyes; then : +if test "x$ac_cv_header_zlib_h" = xyes +then : fi - if test "$ac_cv_header_zlib_h" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 -$as_echo_n "checking for deflate in -lz... " >&6; } -if ${ac_cv_lib_z_deflate+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 +printf %s "checking for deflate in -lz... " >&6; } +if test ${ac_cv_lib_z_deflate+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lz $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25284,30 +26496,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char deflate (); int -main () +main (void) { return deflate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_z_deflate=yes -else +else $as_nop ac_cv_lib_z_deflate=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 -$as_echo "$ac_cv_lib_z_deflate" >&6; } -if test "x$ac_cv_lib_z_deflate" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 +printf "%s\n" "$ac_cv_lib_z_deflate" >&6; } +if test "x$ac_cv_lib_z_deflate" = xyes +then : ZLIB_LINK=" -lz" fi @@ -25317,8 +26528,8 @@ fi if test "$wxUSE_ZLIB" = "sys" ; then as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5 -$as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5 +printf "%s\n" "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;} wxUSE_ZLIB=builtin fi else @@ -25327,11 +26538,11 @@ $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in fi if test "$wxUSE_ZLIB" = "builtin" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib.h file exists" >&5 -$as_echo_n "checking whether zlib.h file exists... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether zlib.h file exists" >&5 +printf %s "checking whether zlib.h file exists... " >&6; } if ! test -f "$srcdir/src/zlib/zlib.h" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? " Configured to use built-in zlib library, but the required file $srcdir/src/zlib/zlib.h couldn't be found. @@ -25341,8 +26552,8 @@ $as_echo "no" >&6; } to fix this." "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi fi fi @@ -25350,25 +26561,27 @@ fi PNG_LINK= if test "$wxUSE_LIBPNG" != "no" ; then - $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBPNG 1" >>confdefs.h if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5 -$as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5 +printf "%s\n" "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;} wxUSE_LIBPNG=builtin fi if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5 -$as_echo_n "checking for png.h > 0.90... " >&6; } -if ${ac_cv_header_png_h+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "$cross_compiling" = yes; then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5 +printf %s "checking for png.h > 0.90... " >&6; } +if test ${ac_cv_header_png_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop + if test "$cross_compiling" = yes +then : unset ac_cv_header_png_h -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -25386,9 +26599,10 @@ else } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_header_png_h=`cat conftestval` -else +else $as_nop ac_cv_header_png_h=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -25397,22 +26611,23 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5 -$as_echo "$ac_cv_header_png_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5 +printf "%s\n" "$ac_cv_header_png_h" >&6; } ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" " " -if test "x$ac_cv_header_png_h" = xyes; then : +if test "x$ac_cv_header_png_h" = xyes +then : fi - if test "$ac_cv_header_png_h" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5 -$as_echo_n "checking for png_sig_cmp in -lpng... " >&6; } -if ${ac_cv_lib_png_png_sig_cmp+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5 +printf %s "checking for png_sig_cmp in -lpng... " >&6; } +if test ${ac_cv_lib_png_png_sig_cmp+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lpng -lz -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25421,30 +26636,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char png_sig_cmp (); int -main () +main (void) { return png_sig_cmp (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_png_png_sig_cmp=yes -else +else $as_nop ac_cv_lib_png_png_sig_cmp=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5 -$as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; } -if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5 +printf "%s\n" "$ac_cv_lib_png_png_sig_cmp" >&6; } +if test "x$ac_cv_lib_png_png_sig_cmp" = xyes +then : PNG_LINK=" -lpng -lz" fi @@ -25454,8 +26668,8 @@ fi if test "$wxUSE_LIBPNG" = "sys" ; then as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5 -$as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5 +printf "%s\n" "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;} wxUSE_LIBPNG=builtin fi else @@ -25464,11 +26678,11 @@ $as_echo "$as_me: WARNING: system png library not found or too old, will use bui fi if test "$wxUSE_LIBPNG" = "builtin" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether png.c file exists" >&5 -$as_echo_n "checking whether png.c file exists... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether png.c file exists" >&5 +printf %s "checking whether png.c file exists... " >&6; } if ! test -f "$srcdir/src/png/png.c" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? " Configured to use built-in png library, but the required file $srcdir/src/png/png.c couldn't be found. @@ -25478,8 +26692,8 @@ $as_echo "no" >&6; } to fix this." "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi fi fi @@ -25487,15 +26701,16 @@ fi JPEG_LINK= if test "$wxUSE_LIBJPEG" != "no" ; then - $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBJPEG 1" >>confdefs.h if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5 -$as_echo_n "checking for jpeglib.h... " >&6; } - if ${ac_cv_header_jpeglib_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5 +printf %s "checking for jpeglib.h... " >&6; } + if test ${ac_cv_header_jpeglib_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -25504,7 +26719,7 @@ else #include int -main () +main (void) { @@ -25512,25 +26727,27 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_header_jpeglib_h=yes -else +else $as_nop ac_cv_header_jpeglib_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5 -$as_echo "$ac_cv_header_jpeglib_h" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5 +printf "%s\n" "$ac_cv_header_jpeglib_h" >&6; } if test "$ac_cv_header_jpeglib_h" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5 -$as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; } -if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5 +printf %s "checking for jpeg_read_header in -ljpeg... " >&6; } +if test ${ac_cv_lib_jpeg_jpeg_read_header+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ljpeg $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25539,30 +26756,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char jpeg_read_header (); int -main () +main (void) { return jpeg_read_header (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_jpeg_jpeg_read_header=yes -else +else $as_nop ac_cv_lib_jpeg_jpeg_read_header=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5 -$as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; } -if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5 +printf "%s\n" "$ac_cv_lib_jpeg_jpeg_read_header" >&6; } +if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes +then : JPEG_LINK=" -ljpeg" fi @@ -25572,8 +26788,8 @@ fi if test "$wxUSE_LIBJPEG" = "sys" ; then as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5 -$as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5 +printf "%s\n" "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;} wxUSE_LIBJPEG=builtin fi else @@ -25582,33 +26798,34 @@ $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in inst if test "$wxUSE_MSW" = 1; then ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include " -if test "x$ac_cv_type_boolean" = xyes; then : +if test "x$ac_cv_type_boolean" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_BOOLEAN 1 -_ACEOF +printf "%s\n" "#define HAVE_BOOLEAN 1" >>confdefs.h # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5 -$as_echo_n "checking size of boolean... " >&6; } -if ${ac_cv_sizeof_boolean+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5 +printf %s "checking size of boolean... " >&6; } +if test ${ac_cv_sizeof_boolean+y} +then : + printf %s "(cached) " >&6 +else $as_nop if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" " #undef HAVE_BOOLEAN #include #include -"; then : +" +then : -else +else $as_nop if test "$ac_cv_type_boolean" = yes; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (boolean) See \`config.log' for more details" "$LINENO" 5; } else @@ -25617,14 +26834,12 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5 -$as_echo "$ac_cv_sizeof_boolean" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5 +printf "%s\n" "$ac_cv_sizeof_boolean" >&6; } -cat >>confdefs.h <<_ACEOF -#define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean -_ACEOF +printf "%s\n" "#define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean" >>confdefs.h cat >>confdefs.h <<_ACEOF @@ -25639,11 +26854,11 @@ fi fi if test "$wxUSE_LIBJPEG" = "builtin" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether jpeglib.h file exists" >&5 -$as_echo_n "checking whether jpeglib.h file exists... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether jpeglib.h file exists" >&5 +printf %s "checking whether jpeglib.h file exists... " >&6; } if ! test -f "$srcdir/src/jpeg/jpeglib.h" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? " Configured to use built-in jpeg library, but the required file $srcdir/src/jpeg/jpeglib.h couldn't be found. @@ -25653,27 +26868,28 @@ $as_echo "no" >&6; } to fix this." "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi fi fi if test "$wxUSE_LIBLZMA" != "no"; then - ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default" -if test "x$ac_cv_header_lzma_h" = xyes; then : + ac_fn_c_check_header_compile "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default" +if test "x$ac_cv_header_lzma_h" = xyes +then : fi - if test "$ac_cv_header_lzma_h" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5 -$as_echo_n "checking for lzma_code in -llzma... " >&6; } -if ${ac_cv_lib_lzma_lzma_code+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5 +printf %s "checking for lzma_code in -llzma... " >&6; } +if test ${ac_cv_lib_lzma_lzma_code+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-llzma $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25682,34 +26898,33 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char lzma_code (); int -main () +main (void) { return lzma_code (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_lzma_lzma_code=yes -else +else $as_nop ac_cv_lib_lzma_lzma_code=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5 -$as_echo "$ac_cv_lib_lzma_lzma_code" >&6; } -if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5 +printf "%s\n" "$ac_cv_lib_lzma_lzma_code" >&6; } +if test "x$ac_cv_lib_lzma_lzma_code" = xyes +then : LZMA_LINK="-llzma" LIBS="$LZMA_LINK $LIBS" - $as_echo "#define wxUSE_LIBLZMA 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBLZMA 1" >>confdefs.h wxUSE_LIBLZMA=sys @@ -25725,11 +26940,12 @@ fi JBIG_LINK= if test "$wxUSE_LIBJBIG" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5 -$as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; } -if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5 +printf %s "checking for jbg_dec_init in -ljbig... " >&6; } +if test ${ac_cv_lib_jbig_jbg_dec_init+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ljbig $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25738,30 +26954,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char jbg_dec_init (); int -main () +main (void) { return jbg_dec_init (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_jbig_jbg_dec_init=yes -else +else $as_nop ac_cv_lib_jbig_jbg_dec_init=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5 -$as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; } -if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5 +printf "%s\n" "$ac_cv_lib_jbig_jbg_dec_init" >&6; } +if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes +then : JBIG_LINK=" -ljbig" fi @@ -25770,24 +26985,24 @@ fi TIFF_LINK= if test "$wxUSE_LIBTIFF" != "no" ; then - $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBTIFF 1" >>confdefs.h if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTIFF" >&5 -$as_echo_n "checking for LIBTIFF... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBTIFF" >&5 +printf %s "checking for LIBTIFF... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBTIFF_CFLAGS"; then pkg_cv_LIBTIFF_CFLAGS="$LIBTIFF_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBTIFF_CFLAGS=`$PKG_CONFIG --cflags "libtiff-4" 2>/dev/null` else @@ -25802,10 +27017,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBTIFF_LIBS="$LIBTIFF_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBTIFF_LIBS=`$PKG_CONFIG --libs "libtiff-4" 2>/dev/null` else @@ -25834,8 +27049,8 @@ fi echo "$LIBTIFF_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found via pkg-config" >&5 -$as_echo "not found via pkg-config" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found via pkg-config" >&5 +printf "%s\n" "not found via pkg-config" >&6; } TIFF_PREREQ_LINKS=-lm @@ -25854,13 +27069,15 @@ $as_echo "not found via pkg-config" >&6; } ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" " " -if test "x$ac_cv_header_tiffio_h" = xyes; then : +if test "x$ac_cv_header_tiffio_h" = xyes +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5 -$as_echo_n "checking for TIFFError in -ltiff... " >&6; } -if ${ac_cv_lib_tiff_TIFFError+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5 +printf %s "checking for TIFFError in -ltiff... " >&6; } +if test ${ac_cv_lib_tiff_TIFFError+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25869,30 +27086,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char TIFFError (); int -main () +main (void) { return TIFFError (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_tiff_TIFFError=yes -else +else $as_nop ac_cv_lib_tiff_TIFFError=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5 -$as_echo "$ac_cv_lib_tiff_TIFFError" >&6; } -if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5 +printf "%s\n" "$ac_cv_lib_tiff_TIFFError" >&6; } +if test "x$ac_cv_lib_tiff_TIFFError" = xyes +then : TIFF_LINK=" -ltiff" fi @@ -25900,11 +27116,10 @@ fi fi - elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found via pkg-config" >&5 -$as_echo "not found via pkg-config" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found via pkg-config" >&5 +printf "%s\n" "not found via pkg-config" >&6; } TIFF_PREREQ_LINKS=-lm @@ -25923,13 +27138,15 @@ $as_echo "not found via pkg-config" >&6; } ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" " " -if test "x$ac_cv_header_tiffio_h" = xyes; then : +if test "x$ac_cv_header_tiffio_h" = xyes +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5 -$as_echo_n "checking for TIFFError in -ltiff... " >&6; } -if ${ac_cv_lib_tiff_TIFFError+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5 +printf %s "checking for TIFFError in -ltiff... " >&6; } +if test ${ac_cv_lib_tiff_TIFFError+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25938,30 +27155,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char TIFFError (); int -main () +main (void) { return TIFFError (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_tiff_TIFFError=yes -else +else $as_nop ac_cv_lib_tiff_TIFFError=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5 -$as_echo "$ac_cv_lib_tiff_TIFFError" >&6; } -if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5 +printf "%s\n" "$ac_cv_lib_tiff_TIFFError" >&6; } +if test "x$ac_cv_lib_tiff_TIFFError" = xyes +then : TIFF_LINK=" -ltiff" fi @@ -25969,12 +27185,11 @@ fi fi - else LIBTIFF_CFLAGS=$pkg_cv_LIBTIFF_CFLAGS LIBTIFF_LIBS=$pkg_cv_LIBTIFF_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } TIFF_LINK=$LIBTIFF_LIBS CFLAGS="$LIBTIFF_CFLAGS $CFLAGS" @@ -25985,8 +27200,8 @@ fi if test "$wxUSE_LIBTIFF" = "sys" ; then as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5 -$as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5 +printf "%s\n" "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;} wxUSE_LIBTIFF=builtin fi else @@ -25994,11 +27209,11 @@ $as_echo "$as_me: WARNING: system tiff library not found, will use built-in inst fi fi if test "$wxUSE_LIBTIFF" = "builtin" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tiff.h file exists" >&5 -$as_echo_n "checking whether tiff.h file exists... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether tiff.h file exists" >&5 +printf %s "checking whether tiff.h file exists... " >&6; } if ! test -f "$srcdir/src/tiff/libtiff/tiff.h" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? " Configured to use built-in tiff library, but the required file $srcdir/src/tiff/libtiff/tiff.h couldn't be found. @@ -26008,8 +27223,8 @@ $as_echo "no" >&6; } to fix this." "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi if test "$wxUSE_LIBLZMA" = "no"; then @@ -26041,9 +27256,9 @@ $as_echo "yes" >&6; } case "$ax_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ax_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ax_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -26103,7 +27318,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix --disable-option-checking) ;; *) case $ax_arg in - *\'*) ax_arg=$($as_echo "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; + *\'*) ax_arg=$(printf "%s\n" "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; esac as_fn_append ax_args " '$ax_arg'" ;; esac @@ -26134,8 +27349,8 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix eval "ax_sub_configure_args_$ax_var=\"$ax_args\"" eval "ax_sub_configure_$ax_var=\"yes\"" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find source tree for $ax_dir" >&5 -$as_echo "$as_me: WARNING: could not find source tree for $ax_dir" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: could not find source tree for $ax_dir" >&5 +printf "%s\n" "$as_me: WARNING: could not find source tree for $ax_dir" >&2;} fi @@ -26149,17 +27364,18 @@ if test "$wxUSE_EXPAT" != "no"; then if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" " " -if test "x$ac_cv_header_expat_h" = xyes; then : +if test "x$ac_cv_header_expat_h" = xyes +then : found_expat_h=1 fi - if test "x$found_expat_h" = "x1"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5 -$as_echo_n "checking if expat.h is valid C++ header... " >&6; } -if ${wx_cv_expat_is_not_broken+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5 +printf %s "checking if expat.h is valid C++ header... " >&6; } +if test ${wx_cv_expat_is_not_broken+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -26171,20 +27387,21 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_expat_is_not_broken=yes -else +else $as_nop wx_cv_expat_is_not_broken=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26194,14 +27411,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5 -$as_echo "$wx_cv_expat_is_not_broken" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5 +printf "%s\n" "$wx_cv_expat_is_not_broken" >&6; } if test "$wx_cv_expat_is_not_broken" = "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5 -$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; } -if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5 +printf %s "checking for XML_ParserCreate in -lexpat... " >&6; } +if test ${ac_cv_lib_expat_XML_ParserCreate+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lexpat $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26210,30 +27428,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char XML_ParserCreate (); int -main () +main (void) { return XML_ParserCreate (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_expat_XML_ParserCreate=yes -else +else $as_nop ac_cv_lib_expat_XML_ParserCreate=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5 -$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; } -if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5 +printf "%s\n" "$ac_cv_lib_expat_XML_ParserCreate" >&6; } +if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes +then : EXPAT_LINK=" -lexpat" fi @@ -26243,8 +27460,8 @@ fi if test "$wxUSE_EXPAT" = "sys" ; then as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5 -$as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5 +printf "%s\n" "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;} wxUSE_EXPAT=builtin fi else @@ -26252,11 +27469,11 @@ $as_echo "$as_me: WARNING: system expat library not found, will use built-in ins fi fi if test "$wxUSE_EXPAT" = "builtin" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether expat.h file exists" >&5 -$as_echo_n "checking whether expat.h file exists... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether expat.h file exists" >&5 +printf %s "checking whether expat.h file exists... " >&6; } if ! test -f "$srcdir/src/expat/expat/lib/expat.h" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? " Configured to use built-in expat library, but the required file $srcdir/src/expat/expat/lib/expat.h couldn't be found. @@ -26266,187 +27483,11 @@ $as_echo "no" >&6; } to fix this." "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi save_CC="$CC" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 -$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } -if ${ac_cv_prog_cc_c99+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c99=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include -#include -#include - -// Check varargs macros. These examples are taken from C99 6.10.3.5. -#define debug(...) fprintf (stderr, __VA_ARGS__) -#define showlist(...) puts (#__VA_ARGS__) -#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) -static void -test_varargs_macros (void) -{ - int x = 1234; - int y = 5678; - debug ("Flag"); - debug ("X = %d\n", x); - showlist (The first, second, and third items.); - report (x>y, "x is %d but y is %d", x, y); -} - -// Check long long types. -#define BIG64 18446744073709551615ull -#define BIG32 4294967295ul -#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) -#if !BIG_OK - your preprocessor is broken; -#endif -#if BIG_OK -#else - your preprocessor is broken; -#endif -static long long int bignum = -9223372036854775807LL; -static unsigned long long int ubignum = BIG64; - -struct incomplete_array -{ - int datasize; - double data[]; -}; - -struct named_init { - int number; - const wchar_t *name; - double average; -}; - -typedef const char *ccp; - -static inline int -test_restrict (ccp restrict text) -{ - // See if C++-style comments work. - // Iterate through items via the restricted pointer. - // Also check for declarations in for loops. - for (unsigned int i = 0; *(text+i) != '\0'; ++i) - continue; - return 0; -} - -// Check varargs and va_copy. -static void -test_varargs (const char *format, ...) -{ - va_list args; - va_start (args, format); - va_list args_copy; - va_copy (args_copy, args); - - const char *str; - int number; - float fnumber; - - while (*format) - { - switch (*format++) - { - case 's': // string - str = va_arg (args_copy, const char *); - break; - case 'd': // int - number = va_arg (args_copy, int); - break; - case 'f': // float - fnumber = va_arg (args_copy, double); - break; - default: - break; - } - } - va_end (args_copy); - va_end (args); -} - -int -main () -{ - - // Check bool. - _Bool success = false; - - // Check restrict. - if (test_restrict ("String literal") == 0) - success = true; - char *restrict newvar = "Another string"; - - // Check varargs. - test_varargs ("s, d' f .", "string", 65, 34.234); - test_varargs_macros (); - - // Check flexible array members. - struct incomplete_array *ia = - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); - ia->datasize = 10; - for (int i = 0; i < ia->datasize; ++i) - ia->data[i] = i * 1.234; - - // Check named initializers. - struct named_init ni = { - .number = 34, - .name = L"Test wide string", - .average = 543.34343, - }; - - ni.number = 58; - - int dynamic_array[ni.number]; - dynamic_array[ni.number - 1] = 543; - - // work around unused variable warnings - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' - || dynamic_array[ni.number - 1] != 543); - - ; - return 0; -} -_ACEOF -for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_prog_cc_c99=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c99" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c99" in - x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c99" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 -$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; -esac -if test "x$ac_cv_prog_cc_c99" != xno; then : - -fi - CC="$save_CC" @@ -26458,7 +27499,7 @@ fi fi wxUSE_XML=yes - $as_echo "#define wxUSE_XML 1" >>confdefs.h + printf "%s\n" "#define wxUSE_XML 1" >>confdefs.h else wxUSE_XML=no @@ -26466,13 +27507,13 @@ fi if test "$wxUSE_NANOSVG" = "yes"; then - $as_echo "#define wxUSE_NANOSVG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_NANOSVG 1" >>confdefs.h fi if test "$wxUSE_XML" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, cannot build wxrc" >&5 -$as_echo "$as_me: WARNING: XML library not built, cannot build wxrc" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, cannot build wxrc" >&5 +printf "%s\n" "$as_me: WARNING: XML library not built, cannot build wxrc" >&2;} USE_XML=0 else USE_XML=1 @@ -26483,17 +27524,18 @@ fi if test "$wxUSE_LIBMSPACK" != "no"; then ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" " " -if test "x$ac_cv_header_mspack_h" = xyes; then : +if test "x$ac_cv_header_mspack_h" = xyes +then : found_mspack_h=1 fi - if test "x$found_mspack_h" = "x1"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5 -$as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; } -if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5 +printf %s "checking for mspack_create_chm_decompressor in -lmspack... " >&6; } +if test ${ac_cv_lib_mspack_mspack_create_chm_decompressor+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lmspack $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26502,30 +27544,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char mspack_create_chm_decompressor (); int -main () +main (void) { return mspack_create_chm_decompressor (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_mspack_mspack_create_chm_decompressor=yes -else +else $as_nop ac_cv_lib_mspack_mspack_create_chm_decompressor=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5 -$as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; } -if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5 +printf "%s\n" "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; } +if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes +then : MSPACK_LINK=" -lmspack" fi @@ -26536,7 +27577,7 @@ fi fi if test "$wxUSE_LIBMSPACK" != "no"; then - $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBMSPACK 1" >>confdefs.h fi @@ -26551,18 +27592,18 @@ if test "$wxUSE_WEBREQUEST" = "yes"; then if test "$wxUSE_LIBCURL" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5 -$as_echo_n "checking for LIBCURL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5 +printf %s "checking for LIBCURL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBCURL_CFLAGS"; then pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null` else @@ -26577,10 +27618,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null` else @@ -26610,22 +27651,22 @@ fi wxUSE_LIBCURL=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -$as_echo "not found" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf "%s\n" "not found" >&6; } elif test $pkg_failed = untried; then wxUSE_LIBCURL=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -$as_echo "not found" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf "%s\n" "not found" >&6; } else LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } wxUSE_LIBCURL=yes CXXFLAGS="$LIBCURL_CFLAGS $CXXFLAGS" @@ -26643,16 +27684,16 @@ WIDGET_SET= if test "$USE_WIN32" = 1 ; then ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" " " -if test "x$ac_cv_header_windows_h" = xyes; then : +if test "x$ac_cv_header_windows_h" = xyes +then : -else +else $as_nop as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5 fi - LIBS="$LIBS -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lws2_32 -lgdi32" case "${host}" in x86_64-*-mingw* ) @@ -26665,14 +27706,14 @@ fi if test "$wxUSE_WINHTTP" = "yes" ; then ac_fn_c_check_header_compile "$LINENO" "winhttp.h" "ac_cv_header_winhttp_h" "#include " -if test "x$ac_cv_header_winhttp_h" = xyes; then : +if test "x$ac_cv_header_winhttp_h" = xyes +then : -else +else $as_nop wxUSE_WINHTTP=no fi - if test "$wxUSE_WINHTTP" = "yes" ; then LIBS="$LIBS -lwinhttp" fi @@ -26705,17 +27746,18 @@ if test "$wxUSE_GUI" = "yes"; then fi if test "$wxUSE_GTK" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5 -$as_echo_n "checking for GTK+ version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5 +printf %s "checking for GTK+ version... " >&6; } gtk_version_cached=1 - if ${wx_cv_lib_gtk+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${wx_cv_lib_gtk+y} +then : + printf %s "(cached) " >&6 +else $as_nop gtk_version_cached=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 -$as_echo "" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 +printf "%s\n" "" >&6; } GTK_MODULES= if test "$wxUSE_THREADS" = "yes"; then @@ -26738,9 +27780,10 @@ $as_echo "" >&6; } if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then # Check whether --enable-gtktest was given. -if test "${enable_gtktest+set}" = set; then : +if test ${enable_gtktest+y} +then : enableval=$enable_gtktest; -else +else $as_nop enable_gtktest=yes fi @@ -26764,11 +27807,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -26778,11 +27822,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -26794,11 +27842,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -26807,11 +27855,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -26821,11 +27870,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -26837,11 +27890,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -26849,8 +27902,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -26862,14 +27915,14 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.16 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG="" fi @@ -26879,8 +27932,8 @@ fi no_gtk=yes fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 -$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 +printf %s "checking for GTK+ - version >= $min_gtk_version... " >&6; } if test -n "$PKG_CONFIG"; then ## don't try to run the test against uninstalled libtool libs @@ -26911,9 +27964,10 @@ $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$GTK_LIBS $LIBS" rm -f conf.gtktest - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : echo $ac_n "cross compiling; assumed OK... $ac_c" -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26986,9 +28040,10 @@ main () } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : -else +else $as_nop no_gtk=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -27000,12 +28055,12 @@ fi fi fi if test "x$no_gtk" = x ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 -$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 +printf "%s\n" "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } wx_cv_lib_gtk=3 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if test -z "$PKG_CONFIG"; then echo "*** A new enough version of pkg-config was not found." echo "*** See http://pkgconfig.sourceforge.net" @@ -27025,14 +28080,15 @@ $as_echo "no" >&6; } #include int -main () +main (void) { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK+ or finding the wrong" echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" @@ -27042,11 +28098,11 @@ if ac_fn_c_try_link "$LINENO"; then : echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" -else +else $as_nop echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed." fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" @@ -27064,9 +28120,10 @@ rm -f core conftest.err conftest.$ac_objext \ if test -z "$wx_cv_lib_gtk"; then if test "$wxGTK_VERSION" = 2 -o "$wxGTK_VERSION" = any; then # Check whether --enable-gtktest was given. -if test "${enable_gtktest+set}" = set; then : +if test ${enable_gtktest+y} +then : enableval=$enable_gtktest; -else +else $as_nop enable_gtktest=yes fi @@ -27090,11 +28147,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -27104,11 +28162,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -27120,11 +28182,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -27133,11 +28195,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -27147,11 +28210,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -27163,11 +28230,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -27175,8 +28242,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -27188,22 +28255,22 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.7 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG="" fi fi min_gtk_version=2.6.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 -$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 +printf %s "checking for GTK+ - version >= $min_gtk_version... " >&6; } if test x$PKG_CONFIG != xno ; then ## don't try to run the test against uninstalled libtool libs @@ -27234,9 +28301,10 @@ $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$GTK_LIBS $LIBS" rm -f conf.gtktest - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : echo $ac_n "cross compiling; assumed OK... $ac_c" -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27314,9 +28382,10 @@ main () } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : -else +else $as_nop no_gtk=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -27328,12 +28397,12 @@ fi fi fi if test "x$no_gtk" = x ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 -$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 +printf "%s\n" "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } wx_cv_lib_gtk=2.0 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if test "$PKG_CONFIG" = "no" ; then echo "*** A new enough version of pkg-config was not found." echo "*** See http://pkgconfig.sourceforge.net" @@ -27353,14 +28422,15 @@ $as_echo "no" >&6; } #include int -main () +main (void) { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK+ or finding the wrong" echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" @@ -27370,11 +28440,11 @@ if ac_fn_c_try_link "$LINENO"; then : echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" -else +else $as_nop echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means GTK+ is incorrectly installed." fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" @@ -27394,9 +28464,10 @@ rm -f core conftest.err conftest.$ac_objext \ if test "$wxGTK_VERSION" = 4 -o "$wxGTK_VERSION" = any; then # Check whether --enable-gtktest was given. -if test "${enable_gtktest+set}" = set; then : +if test ${enable_gtktest+y} +then : enableval=$enable_gtktest; -else +else $as_nop enable_gtktest=yes fi @@ -27416,11 +28487,12 @@ fi # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -27430,11 +28502,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -27447,11 +28523,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -27468,8 +28544,8 @@ fi no_gtk=yes fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 -$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 +printf %s "checking for GTK+ - version >= $min_gtk_version... " >&6; } if test x$PKG_CONFIG != xno ; then ## don't try to run the test against uninstalled libtool libs @@ -27500,9 +28576,10 @@ $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$GTK_LIBS $LIBS" rm -f conf.gtktest - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : echo $ac_n "cross compiling; assumed OK... $ac_c" -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27575,9 +28652,10 @@ main () } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : -else +else $as_nop no_gtk=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -27589,12 +28667,12 @@ fi fi fi if test "x$no_gtk" = x ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 -$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 +printf "%s\n" "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } wx_cv_lib_gtk=4 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if test "$PKG_CONFIG" = "no" ; then echo "*** A new enough version of pkg-config was not found." echo "*** See http://pkgconfig.sourceforge.net" @@ -27614,14 +28692,15 @@ $as_echo "no" >&6; } #include int -main () +main (void) { return ((gtk_get_major_version()) || (gtk_get_minor_version()) || (gtk_get_micro_version())); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK+ or finding the wrong" echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" @@ -27631,11 +28710,11 @@ if ac_fn_c_try_link "$LINENO"; then : echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" -else +else $as_nop echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed." fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" @@ -27668,8 +28747,8 @@ fi if test "$gtk_version_cached" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5 -$as_echo "$wx_cv_lib_gtk" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5 +printf "%s\n" "$wx_cv_lib_gtk" >&6; } fi case "$wx_cv_lib_gtk" in @@ -27691,11 +28770,11 @@ installed, where VER is 2, 3 or 4. esac if test "$WXGTK3" = 1; then - $as_echo "#define __WXGTK220__ 1" >>confdefs.h + printf "%s\n" "#define __WXGTK220__ 1" >>confdefs.h - $as_echo "#define __WXGTK218__ 1" >>confdefs.h + printf "%s\n" "#define __WXGTK218__ 1" >>confdefs.h - $as_echo "#define __WXGTK210__ 1" >>confdefs.h + printf "%s\n" "#define __WXGTK210__ 1" >>confdefs.h else save_CFLAGS="$CFLAGS" @@ -27704,11 +28783,12 @@ installed, where VER is 2, 3 or 4. LIBS="$LIBS $wx_cv_libs_gtk" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.20" >&5 -$as_echo_n "checking if GTK+ is version >= 2.20... " >&6; } -if ${wx_cv_gtk220+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.20" >&5 +printf %s "checking if GTK+ is version >= 2.20... " >&6; } +if test ${wx_cv_gtk220+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27716,7 +28796,7 @@ else #include int -main () +main (void) { #if !GTK_CHECK_VERSION(2,20,0) @@ -27727,28 +28807,30 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_gtk220=yes -else +else $as_nop wx_cv_gtk220=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk220" >&5 -$as_echo "$wx_cv_gtk220" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk220" >&5 +printf "%s\n" "$wx_cv_gtk220" >&6; } if test "$wx_cv_gtk220" = "yes"; then - $as_echo "#define __WXGTK220__ 1" >>confdefs.h + printf "%s\n" "#define __WXGTK220__ 1" >>confdefs.h wx_cv_gtk218=yes else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5 -$as_echo_n "checking if GTK+ is version >= 2.18... " >&6; } -if ${wx_cv_gtk218+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5 +printf %s "checking if GTK+ is version >= 2.18... " >&6; } +if test ${wx_cv_gtk218+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27756,7 +28838,7 @@ else #include int -main () +main (void) { #if !GTK_CHECK_VERSION(2,18,0) @@ -27767,29 +28849,31 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_gtk218=yes -else +else $as_nop wx_cv_gtk218=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk218" >&5 -$as_echo "$wx_cv_gtk218" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk218" >&5 +printf "%s\n" "$wx_cv_gtk218" >&6; } fi if test "$wx_cv_gtk218" = "yes"; then - $as_echo "#define __WXGTK218__ 1" >>confdefs.h + printf "%s\n" "#define __WXGTK218__ 1" >>confdefs.h wx_cv_gtk210=yes else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5 -$as_echo_n "checking if GTK+ is version >= 2.10... " >&6; } -if ${wx_cv_gtk210+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5 +printf %s "checking if GTK+ is version >= 2.10... " >&6; } +if test ${wx_cv_gtk210+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -27797,7 +28881,7 @@ else #include int -main () +main (void) { #if !GTK_CHECK_VERSION(2,10,0) @@ -27808,21 +28892,22 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_gtk210=yes -else +else $as_nop wx_cv_gtk210=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk210" >&5 -$as_echo "$wx_cv_gtk210" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk210" >&5 +printf "%s\n" "$wx_cv_gtk210" >&6; } fi if test "$wx_cv_gtk210" = "yes"; then - $as_echo "#define __WXGTK210__ 1" >>confdefs.h + printf "%s\n" "#define __WXGTK210__ 1" >>confdefs.h fi @@ -27835,11 +28920,12 @@ $as_echo "$wx_cv_gtk210" >&6; } TOOLKIT=GTK GUIDIST=GTK_DIST - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK Wayland backend" >&5 -$as_echo_n "checking for GDK Wayland backend... " >&6; } -if ${wx_cv_gdk_wayland+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GDK Wayland backend" >&5 +printf %s "checking for GDK Wayland backend... " >&6; } +if test ${wx_cv_gdk_wayland+y} +then : + printf %s "(cached) " >&6 +else $as_nop save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" @@ -27849,7 +28935,7 @@ else #include int -main () +main (void) { #ifndef GDK_WINDOWING_WAYLAND @@ -27860,35 +28946,36 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_gdk_wayland=yes -else +else $as_nop wx_cv_gdk_wayland=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$save_CFLAGS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gdk_wayland" >&5 -$as_echo "$wx_cv_gdk_wayland" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gdk_wayland" >&5 +printf "%s\n" "$wx_cv_gdk_wayland" >&6; } fi if test "$wxUSE_DFB" = 1; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5 -$as_echo_n "checking for DIRECTFB... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5 +printf %s "checking for DIRECTFB... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$DIRECTFB_CFLAGS"; then pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null` else @@ -27903,10 +28990,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null` else @@ -27946,8 +29033,8 @@ elif test $pkg_failed = untried; then else DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } wxUSE_UNIVERSAL="yes" TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS" @@ -27959,12 +29046,13 @@ fi fi if test "$wxUSE_X11" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 -$as_echo_n "checking for X... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5 +printf %s "checking for X... " >&6; } # Check whether --with-x was given. -if test "${with_x+set}" = set; then : +if test ${with_x+y} +then : withval=$with_x; fi @@ -27975,12 +29063,41 @@ if test "x$with_x" = xno; then else case $x_includes,$x_libraries in #( *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( - *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : - $as_echo_n "(cached) " >&6 -else + *,NONE | NONE,*) if test ${ac_cv_have_x+y} +then : + printf %s "(cached) " >&6 +else $as_nop # One or both of the vars are not set, and there is no cached value. -ac_x_includes=no ac_x_libraries=no -rm -f -r conftest.dir +ac_x_includes=no +ac_x_libraries=no +# Do we need to do anything special at all? +ac_save_LIBS=$LIBS +LIBS="-lX11 $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main (void) +{ +XrmInitialize () + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + # We can compile and link X programs with no special options. + ac_x_includes= + ac_x_libraries= +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext +LIBS="$ac_save_LIBS" +# If that didn't work, only try xmkmf and file system searches +# for native compilation. +if test x"$ac_x_includes" = xno && test "$cross_compiling" = no +then : + rm -f -r conftest.dir if mkdir conftest.dir; then cd conftest.dir cat >Imakefile <<'_ACEOF' @@ -28019,7 +29136,7 @@ _ACEOF rm -f -r conftest.dir fi -# Standard set of common directories for X headers. + # Standard set of common directories for X headers. # Check X11 before X11Rn because it is often a symlink to the current release. ac_x_header_dirs=' /usr/X11/include @@ -28046,6 +29163,8 @@ ac_x_header_dirs=' /usr/local/include/X11R5 /usr/local/include/X11R4 +/opt/X11/include + /usr/X386/include /usr/x386/include /usr/XFree86/include/X11 @@ -28067,10 +29186,11 @@ if test "$ac_x_includes" = no; then /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if ac_fn_c_try_cpp "$LINENO" +then : # We can compile using X headers with no special include directory. ac_x_includes= -else +else $as_nop for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir @@ -28091,20 +29211,21 @@ if test "$ac_x_libraries" = no; then /* end confdefs.h. */ #include int -main () +main (void) { XrmInitialize () ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : LIBS=$ac_save_LIBS # We can link X programs with no special library path. ac_x_libraries= -else +else $as_nop LIBS=$ac_save_LIBS -for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` +for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` do # Don't even attempt the hair of trying to link an X program! for ac_extension in a so sl dylib la dll; do @@ -28115,19 +29236,21 @@ do done done fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi # $ac_x_libraries = no +fi +# Record the results. case $ac_x_includes,$ac_x_libraries in #( - no,* | *,no | *\'*) + no,* | *,no | *\'*) : # Didn't find X, or a directory has "'" in its name. - ac_cv_have_x="have_x=no";; #( - *) + ac_cv_have_x="have_x=no" ;; #( + *) : # Record where we found X for the cache. ac_cv_have_x="have_x=yes\ ac_x_includes='$ac_x_includes'\ - ac_x_libraries='$ac_x_libraries'" + ac_x_libraries='$ac_x_libraries'" ;; esac fi ;; #( @@ -28137,8 +29260,8 @@ fi fi # $with_x != no if test "$have_x" != yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 -$as_echo "$have_x" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 +printf "%s\n" "$have_x" >&6; } no_x=yes else # If each of the values was on the command line, it overrides each guess. @@ -28148,14 +29271,14 @@ else ac_cv_have_x="have_x=yes\ ac_x_includes='$x_includes'\ ac_x_libraries='$x_libraries'" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 -$as_echo "libraries $x_libraries, headers $x_includes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 +printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; } fi if test "$no_x" = yes; then # Not all programs may use this symbol, but it does not hurt to define it. -$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h +printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= else @@ -28168,8 +29291,8 @@ else X_LIBS="$X_LIBS -L$x_libraries" # For Solaris; some versions of Sun CC require a space after -R and # others require no space. Words are not sufficient . . . . - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 -$as_echo_n "checking whether -R must be followed by a space... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 +printf %s "checking whether -R must be followed by a space... " >&6; } ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" ac_xsave_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes @@ -28177,42 +29300,44 @@ $as_echo_n "checking whether -R must be followed by a space... " >&6; } /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +if ac_fn_c_try_link "$LINENO" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } X_LIBS="$X_LIBS -R$x_libraries" -else +else $as_nop LIBS="$ac_xsave_LIBS -R $x_libraries" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +if ac_fn_c_try_link "$LINENO" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } X_LIBS="$X_LIBS -R $x_libraries" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 -$as_echo "neither works" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 +printf "%s\n" "neither works" >&6; } fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_c_werror_flag=$ac_xsave_c_werror_flag LIBS=$ac_xsave_LIBS @@ -28235,26 +29360,25 @@ rm -f core conftest.err conftest.$ac_objext \ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char XOpenDisplay (); int -main () +main (void) { return XOpenDisplay (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 -$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } -if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 +printf %s "checking for dnet_ntoa in -ldnet... " >&6; } +if test ${ac_cv_lib_dnet_dnet_ntoa+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -28263,39 +29387,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dnet_ntoa (); int -main () +main (void) { return dnet_ntoa (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dnet_dnet_ntoa=yes -else +else $as_nop ac_cv_lib_dnet_dnet_ntoa=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 -$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } -if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 +printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; } +if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" fi if test $ac_cv_lib_dnet_dnet_ntoa = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 -$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } -if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 +printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; } +if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet_stub $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -28304,36 +29428,35 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dnet_ntoa (); int -main () +main (void) { return dnet_ntoa (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dnet_stub_dnet_ntoa=yes -else +else $as_nop ac_cv_lib_dnet_stub_dnet_ntoa=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 -$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } -if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 +printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } +if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" fi fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_xsave_LIBS" @@ -28346,16 +29469,18 @@ rm -f core conftest.err conftest.$ac_objext \ # The functions gethostbyname, getservbyname, and inet_addr are # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" -if test "x$ac_cv_func_gethostbyname" = xyes; then : +if test "x$ac_cv_func_gethostbyname" = xyes +then : fi if test $ac_cv_func_gethostbyname = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 -$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } -if ${ac_cv_lib_nsl_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 +printf %s "checking for gethostbyname in -lnsl... " >&6; } +if test ${ac_cv_lib_nsl_gethostbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -28364,39 +29489,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char gethostbyname (); int -main () +main (void) { return gethostbyname (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_nsl_gethostbyname=yes -else +else $as_nop ac_cv_lib_nsl_gethostbyname=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 -$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } -if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 +printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; } +if test "x$ac_cv_lib_nsl_gethostbyname" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" fi if test $ac_cv_lib_nsl_gethostbyname = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 -$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } -if ${ac_cv_lib_bsd_gethostbyname+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 +printf %s "checking for gethostbyname in -lbsd... " >&6; } +if test ${ac_cv_lib_bsd_gethostbyname+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -28405,30 +29530,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char gethostbyname (); int -main () +main (void) { return gethostbyname (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_bsd_gethostbyname=yes -else +else $as_nop ac_cv_lib_bsd_gethostbyname=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 -$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } -if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 +printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; } +if test "x$ac_cv_lib_bsd_gethostbyname" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" fi @@ -28443,16 +29567,18 @@ fi # must be given before -lnsl if both are needed. We assume that # if connect needs -lnsl, so does gethostbyname. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" -if test "x$ac_cv_func_connect" = xyes; then : +if test "x$ac_cv_func_connect" = xyes +then : fi if test $ac_cv_func_connect = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 -$as_echo_n "checking for connect in -lsocket... " >&6; } -if ${ac_cv_lib_socket_connect+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 +printf %s "checking for connect in -lsocket... " >&6; } +if test ${ac_cv_lib_socket_connect+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -28461,30 +29587,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char connect (); int -main () +main (void) { return connect (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_socket_connect=yes -else +else $as_nop ac_cv_lib_socket_connect=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 -$as_echo "$ac_cv_lib_socket_connect" >&6; } -if test "x$ac_cv_lib_socket_connect" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 +printf "%s\n" "$ac_cv_lib_socket_connect" >&6; } +if test "x$ac_cv_lib_socket_connect" = xyes +then : X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" fi @@ -28492,16 +29617,18 @@ fi # Guillermo Gomez says -lposix is necessary on A/UX. ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" -if test "x$ac_cv_func_remove" = xyes; then : +if test "x$ac_cv_func_remove" = xyes +then : fi if test $ac_cv_func_remove = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 -$as_echo_n "checking for remove in -lposix... " >&6; } -if ${ac_cv_lib_posix_remove+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 +printf %s "checking for remove in -lposix... " >&6; } +if test ${ac_cv_lib_posix_remove+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lposix $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -28510,30 +29637,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char remove (); int -main () +main (void) { return remove (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_posix_remove=yes -else +else $as_nop ac_cv_lib_posix_remove=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 -$as_echo "$ac_cv_lib_posix_remove" >&6; } -if test "x$ac_cv_lib_posix_remove" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 +printf "%s\n" "$ac_cv_lib_posix_remove" >&6; } +if test "x$ac_cv_lib_posix_remove" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" fi @@ -28541,16 +29667,18 @@ fi # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" -if test "x$ac_cv_func_shmat" = xyes; then : +if test "x$ac_cv_func_shmat" = xyes +then : fi if test $ac_cv_func_shmat = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 -$as_echo_n "checking for shmat in -lipc... " >&6; } -if ${ac_cv_lib_ipc_shmat+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 +printf %s "checking for shmat in -lipc... " >&6; } +if test ${ac_cv_lib_ipc_shmat+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lipc $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -28559,30 +29687,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char shmat (); int -main () +main (void) { return shmat (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_ipc_shmat=yes -else +else $as_nop ac_cv_lib_ipc_shmat=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 -$as_echo "$ac_cv_lib_ipc_shmat" >&6; } -if test "x$ac_cv_lib_ipc_shmat" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 +printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; } +if test "x$ac_cv_lib_ipc_shmat" = xyes +then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" fi @@ -28598,11 +29725,12 @@ fi # These have to be linked with before -lX11, unlike the other # libraries we check for below, so use a different variable. # John Interrante, Karl Berry - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 -$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } -if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 +printf %s "checking for IceConnectionNumber in -lICE... " >&6; } +if test ${ac_cv_lib_ICE_IceConnectionNumber+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -28611,30 +29739,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char IceConnectionNumber (); int -main () +main (void) { return IceConnectionNumber (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_ICE_IceConnectionNumber=yes -else +else $as_nop ac_cv_lib_ICE_IceConnectionNumber=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 -$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } -if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 +printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } +if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes +then : X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" fi @@ -28652,34 +29779,34 @@ fi COMPILED_X_PROGRAM=0 if test "$wxUSE_NANOX" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5 -$as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5 +printf %s "checking for MicroWindows/NanoX distribution... " >&6; } if test "x$MICROWIN" = x ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -$as_echo "not found" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf "%s\n" "not found" >&6; } as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5 -$as_echo "$MICROWIN" >&6; } - $as_echo "#define wxUSE_NANOX 1" >>confdefs.h + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5 +printf "%s\n" "$MICROWIN" >&6; } + printf "%s\n" "#define wxUSE_NANOX 1" >>confdefs.h fi fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5 -$as_echo_n "checking for PANGOXFT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5 +printf %s "checking for PANGOXFT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PANGOXFT_CFLAGS"; then pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null` else @@ -28694,10 +29821,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null` else @@ -28737,10 +29864,10 @@ elif test $pkg_failed = untried; then else PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } - $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h + printf "%s\n" "#define HAVE_PANGO_XFT 1" >>confdefs.h CFLAGS="$PANGOXFT_CFLAGS $CFLAGS" CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS" @@ -28749,18 +29876,18 @@ $as_echo "yes" >&6; } fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5 -$as_echo_n "checking for PANGOFT2... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5 +printf %s "checking for PANGOFT2... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PANGOFT2_CFLAGS"; then pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null` else @@ -28775,10 +29902,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null` else @@ -28807,23 +29934,23 @@ fi echo "$PANGOFT2_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5 -$as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5 +printf "%s\n" "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;} wxUSE_PRINTING_ARCHITECTURE="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5 -$as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5 +printf "%s\n" "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;} wxUSE_PRINTING_ARCHITECTURE="no" else PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } CFLAGS="$PANGOFT2_CFLAGS $CFLAGS" CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS" @@ -28831,16 +29958,12 @@ $as_echo "yes" >&6; } fi - for ac_func in pango_font_family_is_monospace -do : - ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace" -if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace" +if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes +then : + printf "%s\n" "#define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1" >>confdefs.h fi -done wxUSE_UNIVERSAL="yes" @@ -28857,8 +29980,8 @@ done GUIDIST=X11_DIST if test "$wxUSE_LIBXPM" = "sys"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5 -$as_echo_n "checking for Xpm library... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5 +printf %s "checking for Xpm library... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -28886,14 +30009,15 @@ $as_echo_n "checking for Xpm library... " >&6; } fi GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5 -$as_echo "found in $ac_find_libraries" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5 +printf "%s\n" "found in $ac_find_libraries" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5 -$as_echo_n "checking for X11/xpm.h... " >&6; } -if ${wx_cv_x11_xpm_h+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5 +printf %s "checking for X11/xpm.h... " >&6; } +if test ${wx_cv_x11_xpm_h+y} +then : + printf %s "(cached) " >&6 +else $as_nop save_CFLAGS=$CFLAGS CFLAGS="$TOOLKIT_INCLUDE $CFLAGS" @@ -28904,7 +30028,7 @@ else #include int -main () +main (void) { int version; @@ -28914,38 +30038,40 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_x11_xpm_h=yes -else +else $as_nop wx_cv_x11_xpm_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS=$save_CFLAGS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5 -$as_echo "$wx_cv_x11_xpm_h" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5 +printf "%s\n" "$wx_cv_x11_xpm_h" >&6; } if test $wx_cv_x11_xpm_h = "yes"; then GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm" - $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h + printf "%s\n" "#define wxHAVE_LIB_XPM 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5 -$as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5 +printf "%s\n" "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;} fi fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 -$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } -if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 +printf %s "checking for XShapeQueryExtension in -lXext... " >&6; } +if test ${ac_cv_lib_Xext_XShapeQueryExtension+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -28954,30 +30080,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char XShapeQueryExtension (); int -main () +main (void) { return XShapeQueryExtension (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_Xext_XShapeQueryExtension=yes -else +else $as_nop ac_cv_lib_Xext_XShapeQueryExtension=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 -$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } -if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 +printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } +if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes +then : GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext" wxHAVE_XEXT_LIB=1 @@ -28989,8 +30114,8 @@ fi save_CFLAGS="$CFLAGS" CFLAGS="$TOOLKIT_INCLUDE $CFLAGS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5 -$as_echo_n "checking for X11/extensions/shape.h... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5 +printf %s "checking for X11/extensions/shape.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28998,7 +30123,7 @@ $as_echo_n "checking for X11/extensions/shape.h... " >&6; } #include int -main () +main (void) { int dummy1, dummy2; @@ -29009,20 +30134,21 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : - $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h + printf "%s\n" "#define HAVE_XSHAPE 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 -$as_echo "found" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 +printf "%s\n" "found" >&6; } -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -$as_echo "not found" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf "%s\n" "not found" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS="$save_CFLAGS" fi @@ -29057,18 +30183,18 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT5" >&5 -$as_echo_n "checking for QT5... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QT5" >&5 +printf %s "checking for QT5... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$QT5_CFLAGS"; then pkg_cv_QT5_CFLAGS="$QT5_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test\""; } >&5 ($PKG_CONFIG --exists --print-errors "Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_QT5_CFLAGS=`$PKG_CONFIG --cflags "Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test" 2>/dev/null` else @@ -29083,10 +30209,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_QT5_LIBS="$QT5_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test\""; } >&5 ($PKG_CONFIG --exists --print-errors "Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_QT5_LIBS=`$PKG_CONFIG --libs "Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test" 2>/dev/null` else @@ -29126,8 +30252,8 @@ elif test $pkg_failed = untried; then else QT5_CFLAGS=$pkg_cv_QT5_CFLAGS QT5_LIBS=$pkg_cv_QT5_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } TOOLKIT_INCLUDE="${TOOLKIT_INCLUDE} ${QT5_CFLAGS}" GUI_TK_LIBRARY="${GUI_TK_LIBRARY} ${QT5_LIBS}" @@ -29164,36 +30290,26 @@ fi if test "$wxUSE_GUI" = "yes"; then if test "$wxUSE_UNIX" = "yes"; then - for ac_header in X11/Xlib.h -do : - ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" " + ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" " " -if test "x$ac_cv_header_X11_Xlib_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_X11_XLIB_H 1 -_ACEOF +if test "x$ac_cv_header_X11_Xlib_h" = xyes +then : + printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h fi -done - - for ac_header in X11/XKBlib.h -do : - ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" " + ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" " #if HAVE_X11_XLIB_H #include #endif " -if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_X11_XKBLIB_H 1 -_ACEOF +if test "x$ac_cv_header_X11_XKBlib_h" = xyes +then : + printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h fi -done - fi fi @@ -29212,11 +30328,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -29226,11 +30343,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -29242,11 +30363,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -29255,11 +30376,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -29269,11 +30391,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -29285,11 +30411,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -29297,8 +30423,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -29310,32 +30436,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5 -$as_echo_n "checking for Xinerama... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5 +printf %s "checking for Xinerama... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$Xinerama_CFLAGS"; then pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -29350,10 +30476,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_Xinerama_LIBS="$Xinerama_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -29384,11 +30510,12 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xXineramaQueryScreens" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5 -$as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; } -if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5 +printf %s "checking for XineramaQueryScreens in -lXinerama... " >&6; } +if test ${ac_cv_lib_Xinerama_XineramaQueryScreens+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lXinerama $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29397,30 +30524,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char XineramaQueryScreens (); int -main () +main (void) { return XineramaQueryScreens (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_Xinerama_XineramaQueryScreens=yes -else +else $as_nop ac_cv_lib_Xinerama_XineramaQueryScreens=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5 -$as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; } -if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5 +printf "%s\n" "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; } +if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes +then : ac_find_libraries="std" fi @@ -29428,8 +30554,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -29443,11 +30569,11 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi @@ -29455,11 +30581,12 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xXineramaQueryScreens" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5 -$as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; } -if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5 +printf %s "checking for XineramaQueryScreens in -lXinerama... " >&6; } +if test ${ac_cv_lib_Xinerama_XineramaQueryScreens+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lXinerama $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29468,30 +30595,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char XineramaQueryScreens (); int -main () +main (void) { return XineramaQueryScreens (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_Xinerama_XineramaQueryScreens=yes -else +else $as_nop ac_cv_lib_Xinerama_XineramaQueryScreens=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5 -$as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; } -if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5 +printf "%s\n" "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; } +if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes +then : ac_find_libraries="std" fi @@ -29499,8 +30625,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -29514,19 +30640,19 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi else Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS Xinerama_LIBS=$pkg_cv_Xinerama_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ac_find_libraries="std" @@ -29564,8 +30690,8 @@ fi USE_XINERAMA=1 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5 -$as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5 +printf "%s\n" "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;} wxUSE_DISPLAY="no" fi fi @@ -29583,11 +30709,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -29597,11 +30724,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -29613,11 +30744,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -29626,11 +30757,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -29640,11 +30772,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -29656,11 +30792,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -29668,8 +30804,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -29681,32 +30817,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5 -$as_echo_n "checking for Xxf86vm... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5 +printf %s "checking for Xxf86vm... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$Xxf86vm_CFLAGS"; then pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -29721,10 +30857,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -29755,11 +30891,12 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xXF86VidModeQueryExtension" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5 -$as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; } -if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5 +printf %s "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; } +if test ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lXxf86vm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29768,30 +30905,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char XF86VidModeQueryExtension (); int -main () +main (void) { return XF86VidModeQueryExtension (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes -else +else $as_nop ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5 -$as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; } -if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5 +printf "%s\n" "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; } +if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes +then : ac_find_libraries="std" fi @@ -29799,8 +30935,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -29814,11 +30950,11 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi @@ -29826,11 +30962,12 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xXF86VidModeQueryExtension" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5 -$as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; } -if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5 +printf %s "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; } +if test ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lXxf86vm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29839,30 +30976,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char XF86VidModeQueryExtension (); int -main () +main (void) { return XF86VidModeQueryExtension (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes -else +else $as_nop ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5 -$as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; } -if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5 +printf "%s\n" "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; } +if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes +then : ac_find_libraries="std" fi @@ -29870,8 +31006,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -29885,19 +31021,19 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi else Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ac_find_libraries="std" @@ -29914,7 +31050,7 @@ $as_echo "yes" >&6; } fi if test "$ac_find_libraries" != "" ; then - for ac_header in X11/extensions/xf86vmode.h + for ac_header in X11/extensions/xf86vmode.h do : ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" " #if HAVE_X11_XLIB_H @@ -29922,17 +31058,15 @@ do : #endif " -if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1 -_ACEOF +if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes +then : + printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm" fi done - fi fi fi @@ -29949,11 +31083,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -29963,11 +31098,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -29979,11 +31118,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -29992,11 +31131,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -30006,11 +31146,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -30022,11 +31166,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -30034,8 +31178,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -30047,32 +31191,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5 -$as_echo_n "checking for SM... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SM" >&5 +printf %s "checking for SM... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$SM_CFLAGS"; then pkg_cv_SM_CFLAGS="$SM_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -30087,10 +31231,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_SM_LIBS="$SM_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -30121,11 +31265,12 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xSmcOpenConnection" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 -$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } -if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 +printf %s "checking for SmcOpenConnection in -lSM... " >&6; } +if test ${ac_cv_lib_SM_SmcOpenConnection+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lSM $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30134,30 +31279,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char SmcOpenConnection (); int -main () +main (void) { return SmcOpenConnection (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_SM_SmcOpenConnection=yes -else +else $as_nop ac_cv_lib_SM_SmcOpenConnection=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 -$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } -if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 +printf "%s\n" "$ac_cv_lib_SM_SmcOpenConnection" >&6; } +if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes +then : ac_find_libraries="std" fi @@ -30165,8 +31309,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -30180,11 +31324,11 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi @@ -30192,11 +31336,12 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xSmcOpenConnection" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 -$as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; } -if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 +printf %s "checking for SmcOpenConnection in -lSM... " >&6; } +if test ${ac_cv_lib_SM_SmcOpenConnection+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lSM $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30205,30 +31350,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char SmcOpenConnection (); int -main () +main (void) { return SmcOpenConnection (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_SM_SmcOpenConnection=yes -else +else $as_nop ac_cv_lib_SM_SmcOpenConnection=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 -$as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; } -if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 +printf "%s\n" "$ac_cv_lib_SM_SmcOpenConnection" >&6; } +if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes +then : ac_find_libraries="std" fi @@ -30236,8 +31380,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -30251,19 +31395,19 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi else SM_CFLAGS=$pkg_cv_SM_CFLAGS SM_LIBS=$pkg_cv_SM_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ac_find_libraries="std" @@ -30300,8 +31444,8 @@ fi fi GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5 -$as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5 +printf "%s\n" "$as_me: WARNING: libSM not found; disabling session management detection" >&2;} wxUSE_DETECT_SM="no" fi else @@ -30321,8 +31465,8 @@ if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then OPENGL_LIBS="-lopengl32 -lglu32" elif test "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_QT" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5 -$as_echo_n "checking for OpenGL headers... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5 +printf %s "checking for OpenGL headers... " >&6; } ac_find_includes= for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include @@ -30334,8 +31478,8 @@ for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include done if test "$ac_find_includes" != "" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5 -$as_echo "found in $ac_find_includes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5 +printf "%s\n" "found in $ac_find_includes" >&6; } if test "x$ac_find_includes" = "x/usr/include"; then ac_path_to_include="" @@ -30351,17 +31495,19 @@ $as_echo "found in $ac_find_includes" >&6; } CPPFLAGS="$CPPFLAGS $ac_path_to_include" else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -$as_echo "not found" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf "%s\n" "not found" >&6; } fi ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" " " -if test "x$ac_cv_header_GL_gl_h" = xyes; then : +if test "x$ac_cv_header_GL_gl_h" = xyes +then : ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" " " -if test "x$ac_cv_header_GL_glu_h" = xyes; then : +if test "x$ac_cv_header_GL_glu_h" = xyes +then : found_gl=0 @@ -30375,11 +31521,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -30389,11 +31536,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -30405,11 +31556,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -30418,11 +31569,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -30432,11 +31584,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -30448,11 +31604,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -30460,8 +31616,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -30473,32 +31629,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5 -$as_echo_n "checking for GL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GL" >&5 +printf %s "checking for GL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GL_CFLAGS"; then pkg_cv_GL_CFLAGS="$GL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -30513,10 +31669,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GL_LIBS="$GL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -30547,11 +31703,12 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xglBegin" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5 -$as_echo_n "checking for glBegin in -lGL... " >&6; } -if ${ac_cv_lib_GL_glBegin+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5 +printf %s "checking for glBegin in -lGL... " >&6; } +if test ${ac_cv_lib_GL_glBegin+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30560,30 +31717,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char glBegin (); int -main () +main (void) { return glBegin (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_GL_glBegin=yes -else +else $as_nop ac_cv_lib_GL_glBegin=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5 -$as_echo "$ac_cv_lib_GL_glBegin" >&6; } -if test "x$ac_cv_lib_GL_glBegin" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5 +printf "%s\n" "$ac_cv_lib_GL_glBegin" >&6; } +if test "x$ac_cv_lib_GL_glBegin" = xyes +then : ac_find_libraries="std" fi @@ -30591,8 +31747,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -30606,11 +31762,11 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi @@ -30618,11 +31774,12 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xglBegin" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5 -$as_echo_n "checking for glBegin in -lGL... " >&6; } -if ${ac_cv_lib_GL_glBegin+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5 +printf %s "checking for glBegin in -lGL... " >&6; } +if test ${ac_cv_lib_GL_glBegin+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30631,30 +31788,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char glBegin (); int -main () +main (void) { return glBegin (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_GL_glBegin=yes -else +else $as_nop ac_cv_lib_GL_glBegin=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5 -$as_echo "$ac_cv_lib_GL_glBegin" >&6; } -if test "x$ac_cv_lib_GL_glBegin" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5 +printf "%s\n" "$ac_cv_lib_GL_glBegin" >&6; } +if test "x$ac_cv_lib_GL_glBegin" = xyes +then : ac_find_libraries="std" fi @@ -30662,8 +31818,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -30677,19 +31833,19 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi else GL_CFLAGS=$pkg_cv_GL_CFLAGS GL_LIBS=$pkg_cv_GL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ac_find_libraries="std" @@ -30735,11 +31891,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -30749,11 +31906,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -30765,11 +31926,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -30778,11 +31939,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -30792,11 +31954,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -30808,11 +31974,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -30820,8 +31986,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -30833,32 +31999,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5 -$as_echo_n "checking for GLU... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5 +printf %s "checking for GLU... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GLU_CFLAGS"; then pkg_cv_GLU_CFLAGS="$GLU_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -30873,10 +32039,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GLU_LIBS="$GLU_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -30907,11 +32073,12 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xgluBeginCurve" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5 -$as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; } -if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5 +printf %s "checking for gluBeginCurve in -lGLU... " >&6; } +if test ${ac_cv_lib_GLU_gluBeginCurve+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lGLU $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30920,30 +32087,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char gluBeginCurve (); int -main () +main (void) { return gluBeginCurve (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_GLU_gluBeginCurve=yes -else +else $as_nop ac_cv_lib_GLU_gluBeginCurve=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5 -$as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; } -if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5 +printf "%s\n" "$ac_cv_lib_GLU_gluBeginCurve" >&6; } +if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes +then : ac_find_libraries="std" fi @@ -30951,8 +32117,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -30966,11 +32132,11 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi @@ -30978,11 +32144,12 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xgluBeginCurve" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5 -$as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; } -if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5 +printf %s "checking for gluBeginCurve in -lGLU... " >&6; } +if test ${ac_cv_lib_GLU_gluBeginCurve+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lGLU $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30991,30 +32158,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char gluBeginCurve (); int -main () +main (void) { return gluBeginCurve (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_GLU_gluBeginCurve=yes -else +else $as_nop ac_cv_lib_GLU_gluBeginCurve=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5 -$as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; } -if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5 +printf "%s\n" "$ac_cv_lib_GLU_gluBeginCurve" >&6; } +if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes +then : ac_find_libraries="std" fi @@ -31022,8 +32188,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -31037,19 +32203,19 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi else GLU_CFLAGS=$pkg_cv_GLU_CFLAGS GLU_LIBS=$pkg_cv_GLU_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ac_find_libraries="std" @@ -31093,18 +32259,18 @@ fi if test "$wxUSE_GLCANVAS_EGL" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGL" >&5 -$as_echo_n "checking for EGL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EGL" >&5 +printf %s "checking for EGL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$EGL_CFLAGS"; then pkg_cv_EGL_CFLAGS="$EGL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 1.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 1.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "egl >= 1.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl >= 1.5" 2>/dev/null` else @@ -31119,10 +32285,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_EGL_LIBS="$EGL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 1.5\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 1.5\""; } >&5 ($PKG_CONFIG --exists --print-errors "egl >= 1.5") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 1.5" 2>/dev/null` else @@ -31151,39 +32317,39 @@ fi echo "$EGL_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: EGL 1.5+ not available. Will use GLX." >&5 -$as_echo "$as_me: EGL 1.5+ not available. Will use GLX." >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: EGL 1.5+ not available. Will use GLX." >&5 +printf "%s\n" "$as_me: EGL 1.5+ not available. Will use GLX." >&6;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: EGL 1.5+ not available. Will use GLX." >&5 -$as_echo "$as_me: EGL 1.5+ not available. Will use GLX." >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: EGL 1.5+ not available. Will use GLX." >&5 +printf "%s\n" "$as_me: EGL 1.5+ not available. Will use GLX." >&6;} else EGL_CFLAGS=$pkg_cv_EGL_CFLAGS EGL_LIBS=$pkg_cv_EGL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } OPENGL_LIBS="$OPENGL_LIBS $EGL_LIBS" - $as_echo "#define wxUSE_GLCANVAS_EGL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GLCANVAS_EGL 1" >>confdefs.h pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5 -$as_echo_n "checking for WAYLAND_EGL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5 +printf %s "checking for WAYLAND_EGL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$WAYLAND_EGL_CFLAGS"; then pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "wayland-egl" 2>/dev/null` else @@ -31198,10 +32364,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "wayland-egl" 2>/dev/null` else @@ -31237,8 +32403,8 @@ elif test $pkg_failed = untried; then else WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } if test $wx_cv_gdk_wayland = "yes"; then OPENGL_LIBS="$OPENGL_LIBS $WAYLAND_EGL_LIBS" @@ -31249,8 +32415,8 @@ fi fi if test "$have_wayland" != 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: wxGLCanvas will not have Wayland support" >&5 -$as_echo "$as_me: wxGLCanvas will not have Wayland support" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: wxGLCanvas will not have Wayland support" >&5 +printf "%s\n" "$as_me: wxGLCanvas will not have Wayland support" >&6;} fi fi fi @@ -31268,11 +32434,12 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -31282,11 +32449,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -31298,11 +32469,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +printf "%s\n" "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -31311,11 +32482,12 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -31325,11 +32497,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -31341,11 +32517,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -31353,8 +32529,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -31366,32 +32542,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5 -$as_echo_n "checking for MesaGL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5 +printf %s "checking for MesaGL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$MesaGL_CFLAGS"; then pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -31406,10 +32582,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_MesaGL_LIBS="$MesaGL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -31440,11 +32616,12 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xglEnable" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5 -$as_echo_n "checking for glEnable in -lMesaGL... " >&6; } -if ${ac_cv_lib_MesaGL_glEnable+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5 +printf %s "checking for glEnable in -lMesaGL... " >&6; } +if test ${ac_cv_lib_MesaGL_glEnable+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lMesaGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31453,30 +32630,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char glEnable (); int -main () +main (void) { return glEnable (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_MesaGL_glEnable=yes -else +else $as_nop ac_cv_lib_MesaGL_glEnable=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5 -$as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; } -if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5 +printf "%s\n" "$ac_cv_lib_MesaGL_glEnable" >&6; } +if test "x$ac_cv_lib_MesaGL_glEnable" = xyes +then : ac_find_libraries="std" fi @@ -31484,8 +32660,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -31499,11 +32675,11 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi @@ -31511,11 +32687,12 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xglEnable" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5 -$as_echo_n "checking for glEnable in -lMesaGL... " >&6; } -if ${ac_cv_lib_MesaGL_glEnable+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5 +printf %s "checking for glEnable in -lMesaGL... " >&6; } +if test ${ac_cv_lib_MesaGL_glEnable+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lMesaGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31524,30 +32701,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char glEnable (); int -main () +main (void) { return glEnable (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_MesaGL_glEnable=yes -else +else $as_nop ac_cv_lib_MesaGL_glEnable=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5 -$as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; } -if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5 +printf "%s\n" "$ac_cv_lib_MesaGL_glEnable" >&6; } +if test "x$ac_cv_lib_MesaGL_glEnable" = xyes +then : ac_find_libraries="std" fi @@ -31555,8 +32731,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -$as_echo_n "checking elsewhere... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +printf %s "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -31570,19 +32746,19 @@ $as_echo_n "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi else MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS MesaGL_LIBS=$pkg_cv_MesaGL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ac_find_libraries="std" @@ -31624,24 +32800,22 @@ fi fi - fi - if test "x$OPENGL_LIBS" = "x"; then if test "$wxUSE_OPENGL" = "yes"; then as_fn_error $? "OpenGL libraries not available" "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5 -$as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5 +printf "%s\n" "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;} wxUSE_OPENGL=no USE_OPENGL=0 fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5 -$as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5 +printf "%s\n" "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;} wxUSE_OPENGL="no" fi @@ -31651,9 +32825,9 @@ $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library wil if test "$wxUSE_OPENGL" = "yes"; then USE_OPENGL=1 - $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_OPENGL 1" >>confdefs.h - $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GLCANVAS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl/cube opengl/penguin opengl/isosurf opengl/pyramid" SAMPLES_SUBTREES="$SAMPLES_SUBTREES opengl" @@ -31676,11 +32850,12 @@ if test "$wxUSE_SHARED" = "yes"; then ;; *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5 -$as_echo_n "checking if the linker accepts --version-script... " >&6; } -if ${wx_cv_version_script+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5 +printf %s "checking if the linker accepts --version-script... " >&6; } +if test ${wx_cv_version_script+y} +then : + printf %s "(cached) " >&6 +else $as_nop echo "VER_1 { *; };" >conftest.sym echo "int main() { return 0; }" >conftest.cpp @@ -31691,7 +32866,7 @@ else { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } ; then if test -s conftest.stderr ; then wx_cv_version_script=no @@ -31714,7 +32889,7 @@ else { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } && { ac_try=' $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp @@ -31722,7 +32897,7 @@ else { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then if { ac_try=' @@ -31731,7 +32906,7 @@ else { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then wx_cv_version_script=yes @@ -31745,8 +32920,8 @@ else rm -f conftest1.output conftest2.output conftest3.output fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5 -$as_echo "$wx_cv_version_script" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5 +printf "%s\n" "$wx_cv_version_script" >&6; } if test $wx_cv_version_script = yes ; then LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script" @@ -31761,11 +32936,12 @@ $as_echo "$wx_cv_version_script" >&6; } if test -n "$GCC"; then CFLAGS_VISIBILITY="-fvisibility=hidden" CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5 -$as_echo_n "checking for symbols visibility support... " >&6; } - if ${wx_cv_cc_visibility+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5 +printf %s "checking for symbols visibility support... " >&6; } + if test ${wx_cv_cc_visibility+y} +then : + printf %s "(cached) " >&6 +else $as_nop wx_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY" @@ -31816,19 +32992,20 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu }; int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_cc_visibility=yes -else +else $as_nop wx_cv_cc_visibility=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31838,14 +33015,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu CXXFLAGS="$wx_save_CXXFLAGS" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5 -$as_echo "$wx_cv_cc_visibility" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5 +printf "%s\n" "$wx_cv_cc_visibility" >&6; } if test $wx_cv_cc_visibility = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5 -$as_echo_n "checking for broken libstdc++ visibility... " >&6; } - if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5 +printf %s "checking for broken libstdc++ visibility... " >&6; } + if test ${wx_cv_cc_broken_libstdcxx_visibility+y} +then : + printf %s "(cached) " >&6 +else $as_nop wx_save_CXXFLAGS="$CXXFLAGS" wx_save_LDFLAGS="$LDFLAGS" @@ -31863,7 +33041,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { std::string s("hello"); @@ -31873,12 +33051,13 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : wx_cv_cc_broken_libstdcxx_visibility=no -else +else $as_nop wx_cv_cc_broken_libstdcxx_visibility=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -31890,15 +33069,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu LDFLAGS="$wx_save_LDFLAGS" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5 -$as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5 +printf "%s\n" "$wx_cv_cc_broken_libstdcxx_visibility" >&6; } if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5 -$as_echo_n "checking whether we can work around it... " >&6; } - if ${wx_cv_cc_visibility_workaround+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5 +printf %s "checking whether we can work around it... " >&6; } + if test ${wx_cv_cc_visibility_workaround+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -31914,7 +33094,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #pragma GCC visibility pop int -main () +main (void) { std::string s("hello"); @@ -31924,12 +33104,13 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : wx_cv_cc_visibility_workaround=no -else +else $as_nop wx_cv_cc_visibility_workaround=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -31940,8 +33121,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5 -$as_echo "$wx_cv_cc_visibility_workaround" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5 +printf "%s\n" "$wx_cv_cc_visibility_workaround" >&6; } if test $wx_cv_cc_visibility_workaround = no; then wx_cv_cc_visibility=no @@ -31950,10 +33131,10 @@ $as_echo "$wx_cv_cc_visibility_workaround" >&6; } fi if test $wx_cv_cc_visibility = yes; then - $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h + printf "%s\n" "#define HAVE_VISIBILITY 1" >>confdefs.h if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then - $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h + printf "%s\n" "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h fi else @@ -31982,62 +33163,64 @@ $as_echo "$wx_cv_cc_visibility_workaround" >&6; } saveLdflags="$LDFLAGS" LDFLAGS="$saveLdflags -Wl,-rpath,/" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5 -$as_echo_n "checking if the linker accepts -rpath... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5 +printf %s "checking if the linker accepts -rpath... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib" WXCONFIG_RPATH="-Wl,-rpath,\$libdir" -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5 -$as_echo_n "checking if the linker accepts -R... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5 +printf %s "checking if the linker accepts -R... " >&6; } LDFLAGS="$saveLdflags -Wl,-R,/" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib" WXCONFIG_RPATH="-Wl,-R,\$libdir" -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$saveLdflags" ;; @@ -32121,11 +33304,10 @@ WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}u${WX_L ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" -if test "x$ac_cv_type_ssize_t" = xyes; then : +if test "x$ac_cv_type_ssize_t" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_SSIZE_T 1 -_ACEOF +printf "%s\n" "#define HAVE_SSIZE_T 1" >>confdefs.h fi @@ -32136,17 +33318,18 @@ ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5 -$as_echo_n "checking if size_t is unsigned int... " >&6; } -if ${wx_cv_size_t_is_uint+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5 +printf %s "checking if size_t is unsigned int... " >&6; } +if test ${wx_cv_size_t_is_uint+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { return 0; } @@ -32159,33 +33342,35 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_size_t_is_uint=no -else +else $as_nop wx_cv_size_t_is_uint=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5 -$as_echo "$wx_cv_size_t_is_uint" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5 +printf "%s\n" "$wx_cv_size_t_is_uint" >&6; } if test "$wx_cv_size_t_is_uint" = "yes"; then - $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h + printf "%s\n" "#define wxSIZE_T_IS_UINT 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5 -$as_echo_n "checking if size_t is unsigned long... " >&6; } -if ${wx_cv_size_t_is_ulong+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5 +printf %s "checking if size_t is unsigned long... " >&6; } +if test ${wx_cv_size_t_is_ulong+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { return 0; } @@ -32198,34 +33383,36 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_size_t_is_ulong=no -else +else $as_nop wx_cv_size_t_is_ulong=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5 -$as_echo "$wx_cv_size_t_is_ulong" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5 +printf "%s\n" "$wx_cv_size_t_is_ulong" >&6; } if test "$wx_cv_size_t_is_ulong" = "yes"; then - $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h + printf "%s\n" "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5 -$as_echo_n "checking if wchar_t is separate type... " >&6; } -if ${wx_cv_wchar_t_is_separate_type+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5 +printf %s "checking if wchar_t is separate type... " >&6; } +if test ${wx_cv_wchar_t_is_separate_type+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { return 0; } @@ -32241,23 +33428,24 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_wchar_t_is_separate_type=yes -else +else $as_nop wx_cv_wchar_t_is_separate_type=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5 -$as_echo "$wx_cv_wchar_t_is_separate_type" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5 +printf "%s\n" "$wx_cv_wchar_t_is_separate_type" >&6; } if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then - $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h + printf "%s\n" "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h else - $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h + printf "%s\n" "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h fi @@ -32268,17 +33456,18 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5 -$as_echo_n "checking for pw_gecos in struct passwd... " >&6; } -if ${wx_cv_struct_pw_gecos+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5 +printf %s "checking for pw_gecos in struct passwd... " >&6; } +if test ${wx_cv_struct_pw_gecos+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *p; @@ -32289,50 +33478,52 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_struct_pw_gecos=yes -else +else $as_nop wx_cv_struct_pw_gecos=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5 -$as_echo "$wx_cv_struct_pw_gecos" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5 +printf "%s\n" "$wx_cv_struct_pw_gecos" >&6; } if test "$wx_cv_struct_pw_gecos" = "yes"; then - $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h + printf "%s\n" "#define HAVE_PW_GECOS 1" >>confdefs.h fi WCSLEN_FOUND=0 WCHAR_LINK= -for ac_func in wcslen + + for ac_func in wcslen do : ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen" -if test "x$ac_cv_func_wcslen" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WCSLEN 1 -_ACEOF +if test "x$ac_cv_func_wcslen" = xyes +then : + printf "%s\n" "#define HAVE_WCSLEN 1" >>confdefs.h WCSLEN_FOUND=1 fi -done +done if test "$WCSLEN_FOUND" = 0; then if test "$TOOLKIT" = "MSW"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5 -$as_echo_n "checking for wcslen in -lmsvcrt... " >&6; } -if ${ac_cv_lib_msvcrt_wcslen+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5 +printf %s "checking for wcslen in -lmsvcrt... " >&6; } +if test ${ac_cv_lib_msvcrt_wcslen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lmsvcrt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32341,39 +33532,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char wcslen (); int -main () +main (void) { return wcslen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_msvcrt_wcslen=yes -else +else $as_nop ac_cv_lib_msvcrt_wcslen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5 -$as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; } -if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5 +printf "%s\n" "$ac_cv_lib_msvcrt_wcslen" >&6; } +if test "x$ac_cv_lib_msvcrt_wcslen" = xyes +then : WCHAR_OK=1 fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5 -$as_echo_n "checking for wcslen in -lw... " >&6; } -if ${ac_cv_lib_w_wcslen+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5 +printf %s "checking for wcslen in -lw... " >&6; } +if test ${ac_cv_lib_w_wcslen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lw $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32382,30 +33573,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char wcslen (); int -main () +main (void) { return wcslen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_w_wcslen=yes -else +else $as_nop ac_cv_lib_w_wcslen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5 -$as_echo "$ac_cv_lib_w_wcslen" >&6; } -if test "x$ac_cv_lib_w_wcslen" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5 +printf "%s\n" "$ac_cv_lib_w_wcslen" >&6; } +if test "x$ac_cv_lib_w_wcslen" = xyes +then : WCHAR_LINK=" -lw" WCSLEN_FOUND=1 @@ -32416,34 +33606,49 @@ fi fi if test "$WCSLEN_FOUND" = 1; then - $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h + printf "%s\n" "#define HAVE_WCSLEN 1" >>confdefs.h fi -for ac_func in wcsftime -do : - ac_fn_c_check_func "$LINENO" "wcsftime" "ac_cv_func_wcsftime" -if test "x$ac_cv_func_wcsftime" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WCSFTIME 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "wcsftime" "ac_cv_func_wcsftime" +if test "x$ac_cv_func_wcsftime" = xyes +then : + printf "%s\n" "#define HAVE_WCSFTIME 1" >>confdefs.h fi -done if test "$wxUSE_MAC" != 1; then - for ac_func in strnlen wcsdup wcsnlen wcscasecmp wcsncasecmp -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen" +if test "x$ac_cv_func_strnlen" = xyes +then : + printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "wcsdup" "ac_cv_func_wcsdup" +if test "x$ac_cv_func_wcsdup" = xyes +then : + printf "%s\n" "#define HAVE_WCSDUP 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "wcsnlen" "ac_cv_func_wcsnlen" +if test "x$ac_cv_func_wcsnlen" = xyes +then : + printf "%s\n" "#define HAVE_WCSNLEN 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "wcscasecmp" "ac_cv_func_wcscasecmp" +if test "x$ac_cv_func_wcscasecmp" = xyes +then : + printf "%s\n" "#define HAVE_WCSCASECMP 1" >>confdefs.h + +fi +ac_fn_c_check_func "$LINENO" "wcsncasecmp" "ac_cv_func_wcsncasecmp" +if test "x$ac_cv_func_wcsncasecmp" = xyes +then : + printf "%s\n" "#define HAVE_WCSNCASECMP 1" >>confdefs.h fi -done fi @@ -32453,22 +33658,17 @@ fi ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include " -if test "x$ac_cv_type_mbstate_t" = xyes; then : +if test "x$ac_cv_type_mbstate_t" = xyes +then : -cat >>confdefs.h <<_ACEOF -#define HAVE_MBSTATE_T 1 -_ACEOF +printf "%s\n" "#define HAVE_MBSTATE_T 1" >>confdefs.h -for ac_func in wcsrtombs -do : - ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs" -if test "x$ac_cv_func_wcsrtombs" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WCSRTOMBS 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs" +if test "x$ac_cv_func_wcsrtombs" = xyes +then : + printf "%s\n" "#define HAVE_WCSRTOMBS 1" >>confdefs.h fi -done fi @@ -32476,11 +33676,12 @@ fi for wx_func in snprintf vsnprintf vsscanf do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32490,7 +33691,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -32503,23 +33704,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -32537,11 +33739,12 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test "$wx_cv_func_vsnprintf" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5 -$as_echo_n "checking if vsnprintf declaration is broken... " >&6; } -if ${wx_cv_func_broken_vsnprintf_decl+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5 +printf %s "checking if vsnprintf declaration is broken... " >&6; } +if test ${wx_cv_func_broken_vsnprintf_decl+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32550,7 +33753,7 @@ else #include int -main () +main (void) { char *buf; @@ -32562,21 +33765,22 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_func_broken_vsnprintf_decl=no -else +else $as_nop wx_cv_func_broken_vsnprintf_decl=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5 -$as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5 +printf "%s\n" "$wx_cv_func_broken_vsnprintf_decl" >&6; } if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then - $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h + printf "%s\n" "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h fi fi @@ -32584,22 +33788,24 @@ fi if test "$wx_cv_func_snprintf" = "yes"; then if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5 -$as_echo_n "checking if snprintf supports positional arguments... " >&6; } -if ${wx_cv_func_snprintf_pos_params+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5 +printf %s "checking if snprintf supports positional arguments... " >&6; } +if test ${wx_cv_func_snprintf_pos_params+y} +then : + printf %s "(cached) " >&6 +else $as_nop - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available, + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available, define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5 -$as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available, +printf "%s\n" "$as_me: WARNING: Assuming Unix98 printf() is not available, define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;} wx_cv_func_snprintf_pos_params=no -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32615,9 +33821,10 @@ else } _ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : +if ac_fn_cxx_try_run "$LINENO" +then : wx_cv_func_snprintf_pos_params=no -else +else $as_nop wx_cv_func_snprintf_pos_params=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -32627,22 +33834,23 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5 -$as_echo "$wx_cv_func_snprintf_pos_params" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5 +printf "%s\n" "$wx_cv_func_snprintf_pos_params" >&6; } if test "$wx_cv_func_snprintf_pos_params" = "yes"; then - $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h + printf "%s\n" "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h fi fi fi if test "$wx_cv_func_vsscanf" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsscanf() declaration is broken" >&5 -$as_echo_n "checking if vsscanf() declaration is broken... " >&6; } -if ${wx_cv_func_broken_vsscanf_decl+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if vsscanf() declaration is broken" >&5 +printf %s "checking if vsscanf() declaration is broken... " >&6; } +if test ${wx_cv_func_broken_vsscanf_decl+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32651,7 +33859,7 @@ else #include int -main () +main (void) { const char *buf; @@ -32662,21 +33870,22 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_func_broken_vsscanf_decl=no -else +else $as_nop wx_cv_func_broken_vsscanf_decl=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsscanf_decl" >&5 -$as_echo "$wx_cv_func_broken_vsscanf_decl" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsscanf_decl" >&5 +printf "%s\n" "$wx_cv_func_broken_vsscanf_decl" >&6; } if test "$wx_cv_func_broken_vsscanf_decl" = "yes"; then - $as_echo "#define HAVE_BROKEN_VSSCANF_DECL 1" >>confdefs.h + printf "%s\n" "#define HAVE_BROKEN_VSSCANF_DECL 1" >>confdefs.h fi fi @@ -32691,19 +33900,14 @@ wchar_headers="#include #include " case "${host}" in *-*-solaris2* ) - for ac_header in widec.h -do : - ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default + ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default " -if test "x$ac_cv_header_widec_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WIDEC_H 1 -_ACEOF +if test "x$ac_cv_header_widec_h" = xyes +then : + printf "%s\n" "#define HAVE_WIDEC_H 1" >>confdefs.h fi -done - if test "$ac_cv_header_widec_h" = "yes"; then wchar_headers="$wchar_headers #include " @@ -32713,11 +33917,12 @@ esac for wx_func in putws fputws wprintf vswprintf vswscanf do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32727,7 +33932,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -32740,23 +33945,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -32767,39 +33973,41 @@ _ACEOF done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5 -$as_echo_n "checking for _vsnwprintf... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5 +printf %s "checking for _vsnwprintf... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { &_vsnwprintf; ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h +if ac_fn_c_try_compile "$LINENO" +then : + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + printf "%s\n" "#define HAVE__VSNWPRINTF 1" >>confdefs.h -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext; +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext; if test "$wxUSE_FILE" = "yes"; then for wx_func in fsync do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32809,7 +34017,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -32822,23 +34030,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -32863,7 +34072,8 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # Check whether --with-libiconv-prefix was given. -if test "${with_libiconv_prefix+set}" = set; then : +if test ${with_libiconv_prefix+y} +then : withval=$with_libiconv_prefix; for dir in `echo "$withval" | tr : ' '`; do if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi @@ -32873,11 +34083,12 @@ if test "${with_libiconv_prefix+set}" = set; then : fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -$as_echo_n "checking for iconv... " >&6; } -if ${am_cv_func_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +printf %s "checking for iconv... " >&6; } +if test ${am_cv_func_iconv+y} +then : + printf %s "(cached) " >&6 +else $as_nop am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no @@ -32886,7 +34097,7 @@ else #include #include int -main () +main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -32895,10 +34106,11 @@ iconv_t cd = iconv_open("",""); return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" @@ -32908,7 +34120,7 @@ rm -f core conftest.err conftest.$ac_objext \ #include #include int -main () +main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -32917,27 +34129,29 @@ iconv_t cd = iconv_open("",""); return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -$as_echo "$am_cv_func_iconv" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +printf "%s\n" "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then -$as_echo "#define HAVE_ICONV 1" >>confdefs.h +printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5 -$as_echo_n "checking if iconv needs const... " >&6; } -if ${wx_cv_func_iconv_const+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5 +printf %s "checking if iconv needs const... " >&6; } +if test ${wx_cv_func_iconv_const+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32954,24 +34168,25 @@ size_t iconv(); #endif int -main () +main (void) { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_func_iconv_const="no" -else +else $as_nop wx_cv_func_iconv_const="yes" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5 -$as_echo "$wx_cv_func_iconv_const" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5 +printf "%s\n" "$wx_cv_func_iconv_const" >&6; } iconv_const= if test "x$wx_cv_func_iconv_const" = "xyes"; then @@ -32979,9 +34194,7 @@ $as_echo "$wx_cv_func_iconv_const" >&6; } fi -cat >>confdefs.h <<_ACEOF -#define ICONV_CONST $iconv_const -_ACEOF +printf "%s\n" "#define ICONV_CONST $iconv_const" >>confdefs.h fi LIBICONV= @@ -33000,30 +34213,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then - for ac_func in sigaction -do : - ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction" -if test "x$ac_cv_func_sigaction" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SIGACTION 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction" +if test "x$ac_cv_func_sigaction" = xyes +then : + printf "%s\n" "#define HAVE_SIGACTION 1" >>confdefs.h fi -done if test "$ac_cv_func_sigaction" = "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5 -$as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5 +printf "%s\n" "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;} wxUSE_ON_FATAL_EXCEPTION=no fi if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5 -$as_echo_n "checking for sa_handler type... " >&6; } -if ${wx_cv_type_sa_handler+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5 +printf %s "checking for sa_handler type... " >&6; } +if test ${wx_cv_type_sa_handler+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -33035,7 +34245,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main () +main (void) { extern void testSigHandler(int); @@ -33047,16 +34257,17 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_sa_handler=int -else +else $as_nop wx_cv_type_sa_handler=void fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33065,22 +34276,21 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5 -$as_echo "$wx_cv_type_sa_handler" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5 +printf "%s\n" "$wx_cv_type_sa_handler" >&6; } - cat >>confdefs.h <<_ACEOF -#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler -_ACEOF + printf "%s\n" "#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler" >>confdefs.h fi fi if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace()" >&5 -$as_echo_n "checking for backtrace()... " >&6; } -if ${wx_cv_func_backtrace+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for backtrace()" >&5 +printf %s "checking for backtrace()... " >&6; } +if test ${wx_cv_func_backtrace+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -33092,7 +34302,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main () +main (void) { void *trace[1]; @@ -33104,13 +34314,14 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_func_backtrace=yes -else +else $as_nop wx_cv_func_backtrace=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33120,14 +34331,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5 -$as_echo "$wx_cv_func_backtrace" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5 +printf "%s\n" "$wx_cv_func_backtrace" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5 -$as_echo_n "checking for library containing backtrace... " >&6; } -if ${ac_cv_search_backtrace+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5 +printf %s "checking for library containing backtrace... " >&6; } +if test ${ac_cv_search_backtrace+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33135,64 +34347,67 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char backtrace (); int -main () +main (void) { return backtrace (); ; return 0; } _ACEOF -for ac_lib in '' execinfo; do +for ac_lib in '' execinfo +do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - if ac_fn_c_try_link "$LINENO"; then : + if ac_fn_c_try_link "$LINENO" +then : ac_cv_search_backtrace=$ac_res fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext - if ${ac_cv_search_backtrace+:} false; then : + if test ${ac_cv_search_backtrace+y} +then : break fi done -if ${ac_cv_search_backtrace+:} false; then : +if test ${ac_cv_search_backtrace+y} +then : -else +else $as_nop ac_cv_search_backtrace=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5 -$as_echo "$ac_cv_search_backtrace" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5 +printf "%s\n" "$ac_cv_search_backtrace" >&6; } ac_res=$ac_cv_search_backtrace -if test "$ac_res" != no; then : +if test "$ac_res" != no +then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" -else +else $as_nop wx_cv_func_backtrace=no fi if test "$wx_cv_func_backtrace" = "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5 -$as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5 +printf "%s\n" "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;} wxUSE_STACKWALKER=no else if test "$ac_cv_header_cxxabi_h" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in " >&5 -$as_echo_n "checking for __cxa_demangle() in ... " >&6; } -if ${wx_cv_func_cxa_demangle+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in " >&5 +printf %s "checking for __cxa_demangle() in ... " >&6; } +if test ${wx_cv_func_cxa_demangle+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -33204,7 +34419,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main () +main (void) { int rc; @@ -33214,13 +34429,14 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : +if ac_fn_cxx_try_link "$LINENO" +then : wx_cv_func_cxa_demangle=yes -else +else $as_nop wx_cv_func_cxa_demangle=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -33231,44 +34447,47 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5 -$as_echo "$wx_cv_func_cxa_demangle" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5 +printf "%s\n" "$wx_cv_func_cxa_demangle" >&6; } else wx_cv_func_cxa_demangle=no fi if test "$wx_cv_func_cxa_demangle" = "yes"; then - $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h + printf "%s\n" "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h fi fi fi if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5 -$as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;} wxUSE_STACKWALKER=no fi -for ac_func in mkstemp mktemp + + for ac_func in mkstemp mktemp do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` + as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +if eval test \"x\$"$as_ac_var"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF break fi + done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5 -$as_echo_n "checking for statvfs... " >&6; } -if ${wx_cv_func_statvfs+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5 +printf %s "checking for statvfs... " >&6; } +if test ${wx_cv_func_statvfs+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33276,7 +34495,7 @@ else #include int -main () +main (void) { statvfs("/", NULL); @@ -33285,24 +34504,26 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_func_statvfs=yes -else +else $as_nop wx_cv_func_statvfs=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5 -$as_echo "$wx_cv_func_statvfs" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5 +printf "%s\n" "$wx_cv_func_statvfs" >&6; } if test "$wx_cv_func_statvfs" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5 -$as_echo_n "checking for statvfs argument type... " >&6; } -if ${wx_cv_type_statvfs_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5 +printf %s "checking for statvfs argument type... " >&6; } +if test ${wx_cv_type_statvfs_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33315,7 +34536,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { long l; @@ -33329,9 +34550,10 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_statvfs_t=statvfs_t -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33339,7 +34561,7 @@ else #include int -main () +main (void) { long l; @@ -33353,17 +34575,18 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_statvfs_t="struct statvfs" -else +else $as_nop wx_cv_type_statvfs_t="unknown" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33372,11 +34595,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5 -$as_echo "$wx_cv_type_statvfs_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5 +printf "%s\n" "$wx_cv_type_statvfs_t" >&6; } if test "$wx_cv_type_statvfs_t" != "unknown"; then - $as_echo "#define HAVE_STATVFS 1" >>confdefs.h + printf "%s\n" "#define HAVE_STATVFS 1" >>confdefs.h fi else @@ -33384,11 +34607,12 @@ else fi if test "$wx_cv_type_statvfs_t" = "unknown"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5 -$as_echo_n "checking for statfs... " >&6; } -if ${wx_cv_func_statfs+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5 +printf %s "checking for statfs... " >&6; } +if test ${wx_cv_func_statfs+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33400,7 +34624,7 @@ else #endif int -main () +main (void) { long l; @@ -33414,24 +34638,26 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_func_statfs=yes -else +else $as_nop wx_cv_func_statfs=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5 -$as_echo "$wx_cv_func_statfs" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5 +printf "%s\n" "$wx_cv_func_statfs" >&6; } if test "$wx_cv_func_statfs" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5 -$as_echo_n "checking for statfs declaration... " >&6; } -if ${wx_cv_func_statfs_decl+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5 +printf %s "checking for statfs declaration... " >&6; } +if test ${wx_cv_func_statfs_decl+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33449,7 +34675,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #endif int -main () +main (void) { struct statfs fs; @@ -33459,13 +34685,14 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_func_statfs_decl=yes -else +else $as_nop wx_cv_func_statfs_decl=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33474,98 +34701,97 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5 -$as_echo "$wx_cv_func_statfs_decl" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5 +printf "%s\n" "$wx_cv_func_statfs_decl" >&6; } if test "$wx_cv_func_statfs_decl" = "yes"; then - $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h + printf "%s\n" "#define HAVE_STATFS_DECL 1" >>confdefs.h fi wx_cv_type_statvfs_t="struct statfs" - $as_echo "#define HAVE_STATFS 1" >>confdefs.h + printf "%s\n" "#define HAVE_STATFS 1" >>confdefs.h fi fi if test "$wx_cv_type_statvfs_t" != "unknown"; then - cat >>confdefs.h <<_ACEOF -#define WX_STATFS_T $wx_cv_type_statvfs_t -_ACEOF + printf "%s\n" "#define WX_STATFS_T $wx_cv_type_statvfs_t" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5 -$as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5 +printf "%s\n" "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;} fi if test "$wxUSE_SNGLINST_CHECKER" = "yes" -a "$USE_WIN32" != 1 ; then - for ac_func in fcntl flock + + for ac_func in fcntl flock do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` + as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +if eval test \"x\$"$as_ac_var"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF break fi + done - if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5 -$as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5 +printf "%s\n" "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;} wxUSE_SNGLINST_CHECKER=no fi fi -for ac_func in setenv putenv + + for ac_func in setenv putenv do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` + as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +if eval test \"x\$"$as_ac_var"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF break fi -done +done if test "$ac_cv_func_setenv" = "yes"; then - for ac_func in unsetenv -do : - ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" -if test "x$ac_cv_func_unsetenv" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_UNSETENV 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" +if test "x$ac_cv_func_unsetenv" = xyes +then : + printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h fi -done fi if test "$USE_DARWIN" = 1; then - $as_echo "#define HAVE_USLEEP 1" >>confdefs.h + printf "%s\n" "#define HAVE_USLEEP 1" >>confdefs.h else POSIX4_LINK= - for ac_func in nanosleep + + for ac_func in nanosleep do : ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" -if test "x$ac_cv_func_nanosleep" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_NANOSLEEP 1 -_ACEOF - $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h +if test "x$ac_cv_func_nanosleep" = xyes +then : + printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h + printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5 -$as_echo_n "checking for nanosleep in -lposix4... " >&6; } -if ${ac_cv_lib_posix4_nanosleep+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5 +printf %s "checking for nanosleep in -lposix4... " >&6; } +if test ${ac_cv_lib_posix4_nanosleep+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -33574,45 +34800,45 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char nanosleep (); int -main () +main (void) { return nanosleep (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_posix4_nanosleep=yes -else +else $as_nop ac_cv_lib_posix4_nanosleep=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5 -$as_echo "$ac_cv_lib_posix4_nanosleep" >&6; } -if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5 +printf "%s\n" "$ac_cv_lib_posix4_nanosleep" >&6; } +if test "x$ac_cv_lib_posix4_nanosleep" = xyes +then : - $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h + printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h POSIX4_LINK=" -lposix4" -else +else $as_nop for wx_func in usleep do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33622,7 +34848,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -33635,23 +34861,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -33669,18 +34896,19 @@ fi fi -done +done fi for wx_func in uname do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33690,7 +34918,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -33703,23 +34931,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -33733,11 +34962,12 @@ if test "$wx_cv_func_uname" != yes; then for wx_func in gethostname do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33747,7 +34977,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -33760,23 +34990,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -33791,11 +35022,12 @@ fi for wx_func in strtok_r do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33805,7 +35037,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -33818,23 +35050,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -33846,22 +35079,23 @@ _ACEOF INET_LINK= -for ac_func in inet_addr + + for ac_func in inet_addr do : ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr" -if test "x$ac_cv_func_inet_addr" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_INET_ADDR 1 -_ACEOF - $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h +if test "x$ac_cv_func_inet_addr" = xyes +then : + printf "%s\n" "#define HAVE_INET_ADDR 1" >>confdefs.h + printf "%s\n" "#define HAVE_INET_ADDR 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5 -$as_echo_n "checking for inet_addr in -lnsl... " >&6; } -if ${ac_cv_lib_nsl_inet_addr+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5 +printf %s "checking for inet_addr in -lnsl... " >&6; } +if test ${ac_cv_lib_nsl_inet_addr+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -33870,38 +35104,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char inet_addr (); int -main () +main (void) { return inet_addr (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_nsl_inet_addr=yes -else +else $as_nop ac_cv_lib_nsl_inet_addr=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5 -$as_echo "$ac_cv_lib_nsl_inet_addr" >&6; } -if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5 +printf "%s\n" "$ac_cv_lib_nsl_inet_addr" >&6; } +if test "x$ac_cv_lib_nsl_inet_addr" = xyes +then : INET_LINK="nsl" -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5 -$as_echo_n "checking for inet_addr in -lresolv... " >&6; } -if ${ac_cv_lib_resolv_inet_addr+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5 +printf %s "checking for inet_addr in -lresolv... " >&6; } +if test ${ac_cv_lib_resolv_inet_addr+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lresolv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -33910,38 +35144,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char inet_addr (); int -main () +main (void) { return inet_addr (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_resolv_inet_addr=yes -else +else $as_nop ac_cv_lib_resolv_inet_addr=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5 -$as_echo "$ac_cv_lib_resolv_inet_addr" >&6; } -if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5 +printf "%s\n" "$ac_cv_lib_resolv_inet_addr" >&6; } +if test "x$ac_cv_lib_resolv_inet_addr" = xyes +then : INET_LINK="resolv" -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5 -$as_echo_n "checking for inet_addr in -lsocket... " >&6; } -if ${ac_cv_lib_socket_inet_addr+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5 +printf %s "checking for inet_addr in -lsocket... " >&6; } +if test ${ac_cv_lib_socket_inet_addr+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -33950,38 +35184,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char inet_addr (); int -main () +main (void) { return inet_addr (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_socket_inet_addr=yes -else +else $as_nop ac_cv_lib_socket_inet_addr=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5 -$as_echo "$ac_cv_lib_socket_inet_addr" >&6; } -if test "x$ac_cv_lib_socket_inet_addr" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5 +printf "%s\n" "$ac_cv_lib_socket_inet_addr" >&6; } +if test "x$ac_cv_lib_socket_inet_addr" = xyes +then : INET_LINK="socket" -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnetwork" >&5 -$as_echo_n "checking for inet_addr in -lnetwork... " >&6; } -if ${ac_cv_lib_network_inet_addr+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnetwork" >&5 +printf %s "checking for inet_addr in -lnetwork... " >&6; } +if test ${ac_cv_lib_network_inet_addr+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lnetwork $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -33990,30 +35224,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char inet_addr (); int -main () +main (void) { return inet_addr (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_network_inet_addr=yes -else +else $as_nop ac_cv_lib_network_inet_addr=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_inet_addr" >&5 -$as_echo "$ac_cv_lib_network_inet_addr" >&6; } -if test "x$ac_cv_lib_network_inet_addr" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_inet_addr" >&5 +printf "%s\n" "$ac_cv_lib_network_inet_addr" >&6; } +if test "x$ac_cv_lib_network_inet_addr" = xyes +then : INET_LINK="network" fi @@ -34033,26 +35266,27 @@ fi fi + done -for ac_func in inet_aton + for ac_func in inet_aton do : ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton" -if test "x$ac_cv_func_inet_aton" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_INET_ATON 1 -_ACEOF - $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h +if test "x$ac_cv_func_inet_aton" = xyes +then : + printf "%s\n" "#define HAVE_INET_ATON 1" >>confdefs.h + printf "%s\n" "#define HAVE_INET_ATON 1" >>confdefs.h -else +else $as_nop - as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh` -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5 -$as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; } -if eval \${$as_ac_Lib+:} false; then : - $as_echo_n "(cached) " >&6 -else + as_ac_Lib=`printf "%s\n" "ac_cv_lib_$INET_LINK""_inet_aton" | $as_tr_sh` +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5 +printf %s "checking for inet_aton in -l$INET_LINK... " >&6; } +if eval test \${$as_ac_Lib+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-l$INET_LINK $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -34061,42 +35295,41 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char inet_aton (); int -main () +main (void) { return inet_aton (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval "$as_ac_Lib=yes" -else +else $as_nop eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : - $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes" +then : + printf "%s\n" "#define HAVE_INET_ATON 1" >>confdefs.h fi fi + done - if test "x$INET_LINK" != "x"; then - $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h + printf "%s\n" "#define HAVE_INET_ADDR 1" >>confdefs.h INET_LINK=" -l$INET_LINK" fi @@ -34104,11 +35337,12 @@ fi for wx_func in fdopen do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34118,7 +35352,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -34131,23 +35365,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -34162,11 +35397,12 @@ if test "$wxUSE_TARSTREAM" = "yes"; then for wx_func in sysconf do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34176,7 +35412,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -34189,23 +35425,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -34219,11 +35456,12 @@ _ACEOF for wx_func in getpwuid_r do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34236,7 +35474,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -34253,23 +35491,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -34283,11 +35522,12 @@ _ACEOF for wx_func in getgrgid_r do - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -$as_echo_n "checking for $wx_func... " >&6; } -if eval \${wx_cv_func_$wx_func+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 +printf %s "checking for $wx_func... " >&6; } +if eval test \${wx_cv_func_$wx_func+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34300,7 +35540,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -34317,23 +35557,24 @@ main () } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : eval wx_cv_func_$wx_func=yes -else +else $as_nop eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -34376,8 +35617,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -34407,15 +35648,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -34429,8 +35670,8 @@ $as_echo "$as_me: updating cache $cache_file" >&6;} fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -34444,8 +35685,8 @@ if test "$TOOLKIT" != "MSW"; then if test "$wxUSE_THREADS" = "yes" ; then if test "$USE_BEOS" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5 -$as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5 +printf "%s\n" "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;} wxUSE_THREADS="no" fi fi @@ -34513,19 +35754,19 @@ $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;} for flag in $THREAD_OPTS; do case $flag in none) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 -$as_echo_n "checking whether pthreads work without any flags... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 +printf %s "checking whether pthreads work without any flags... " >&6; } ;; -*) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 -$as_echo_n "checking whether pthreads work with $flag... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 +printf %s "checking whether pthreads work with $flag... " >&6; } THREADS_CFLAGS="$flag" ;; *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 -$as_echo_n "checking for the pthreads library -l$flag... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 +printf %s "checking for the pthreads library -l$flag... " >&6; } THREADS_LINK="-l$flag" ;; esac @@ -34539,24 +35780,25 @@ $as_echo_n "checking for the pthreads library -l$flag... " >&6; } /* end confdefs.h. */ #include int -main () +main (void) { pthread_create(0,0,0,0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : THREADS_OK=yes fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5 -$as_echo "$THREADS_OK" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5 +printf "%s\n" "$THREADS_OK" >&6; } if test "x$THREADS_OK" = "xyes"; then break; fi @@ -34567,15 +35809,15 @@ $as_echo "$THREADS_OK" >&6; } if test "x$THREADS_OK" != "xyes"; then wxUSE_THREADS=no - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5 -$as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5 +printf "%s\n" "$as_me: WARNING: No thread support on this system... disabled" >&2;} else LDFLAGS="$THREADS_CFLAGS $LDFLAGS" WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS" LIBS="$THREADS_LINK $LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 -$as_echo_n "checking if more special flags are required for pthreads... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 +printf %s "checking if more special flags are required for pthreads... " >&6; } flag=no case "${host}" in *-aix*) @@ -34596,8 +35838,8 @@ $as_echo_n "checking if more special flags are required for pthreads... " >&6; } flag="-D_REENTRANT" ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 -$as_echo "${flag}" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 +printf "%s\n" "${flag}" >&6; } if test "x$flag" != xno; then THREADS_CFLAGS="$THREADS_CFLAGS $flag" fi @@ -34607,42 +35849,43 @@ $as_echo "${flag}" >&6; } fi if test "$wxUSE_THREADS" = "yes" ; then - for ac_func in pthread_setconcurrency + + for ac_func in pthread_setconcurrency do : ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency" -if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_PTHREAD_SETCONCURRENCY 1 -_ACEOF - $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h +if test "x$ac_cv_func_pthread_setconcurrency" = xyes +then : + printf "%s\n" "#define HAVE_PTHREAD_SETCONCURRENCY 1" >>confdefs.h + printf "%s\n" "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h -else +else $as_nop - for ac_func in thr_setconcurrency + + for ac_func in thr_setconcurrency do : ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency" -if test "x$ac_cv_func_thr_setconcurrency" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_THR_SETCONCURRENCY 1 -_ACEOF - $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h +if test "x$ac_cv_func_thr_setconcurrency" = xyes +then : + printf "%s\n" "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h + printf "%s\n" "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5 -$as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5 +printf "%s\n" "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;} fi + done - fi + done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5 -$as_echo_n "checking for pthread_cleanup_push/pop... " >&6; } -if ${wx_cv_func_pthread_cleanup+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5 +printf %s "checking for pthread_cleanup_push/pop... " >&6; } +if test ${wx_cv_func_pthread_cleanup+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -34656,7 +35899,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu void ThreadCleanupFunc(void *p); int -main () +main (void) { void *p; @@ -34667,17 +35910,18 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_func_pthread_cleanup=yes -else +else $as_nop wx_cv_func_pthread_cleanup=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34686,38 +35930,35 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5 -$as_echo "$wx_cv_func_pthread_cleanup" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5 +printf "%s\n" "$wx_cv_func_pthread_cleanup" >&6; } if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then - $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h + printf "%s\n" "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h fi - for ac_header in sched.h -do : - ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default + ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default " -if test "x$ac_cv_header_sched_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SCHED_H 1 -_ACEOF +if test "x$ac_cv_header_sched_h" = xyes +then : + printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h fi -done - if test "$ac_cv_header_sched_h" = "yes"; then ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield" -if test "x$ac_cv_func_sched_yield" = xyes; then : - $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h +if test "x$ac_cv_func_sched_yield" = xyes +then : + printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5 -$as_echo_n "checking for sched_yield in -lposix4... " >&6; } -if ${ac_cv_lib_posix4_sched_yield+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5 +printf %s "checking for sched_yield in -lposix4... " >&6; } +if test ${ac_cv_lib_posix4_sched_yield+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -34726,35 +35967,34 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char sched_yield (); int -main () +main (void) { return sched_yield (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_posix4_sched_yield=yes -else +else $as_nop ac_cv_lib_posix4_sched_yield=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5 -$as_echo "$ac_cv_lib_posix4_sched_yield" >&6; } -if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then : - $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5 +printf "%s\n" "$ac_cv_lib_posix4_sched_yield" >&6; } +if test "x$ac_cv_lib_posix4_sched_yield" = xyes +then : + printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h POSIX4_LINK=" -lposix4" -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5 -$as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5 +printf "%s\n" "$as_me: WARNING: wxThread::Yield will not work properly" >&2;} fi @@ -34766,18 +36006,22 @@ fi HAVE_PRIOR_FUNCS=0 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy" -if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then : +if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes +then : ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam" -if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then : +if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes +then : ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max" -if test "x$ac_cv_func_sched_get_priority_max" = xyes; then : +if test "x$ac_cv_func_sched_get_priority_max" = xyes +then : HAVE_PRIOR_FUNCS=1 -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5 -$as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; } -if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then : - $as_echo_n "(cached) " >&6 -else +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5 +printf %s "checking for sched_get_priority_max in -lposix4... " >&6; } +if test ${ac_cv_lib_posix4_sched_get_priority_max+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -34786,30 +36030,29 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char sched_get_priority_max (); int -main () +main (void) { return sched_get_priority_max (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_posix4_sched_get_priority_max=yes -else +else $as_nop ac_cv_lib_posix4_sched_get_priority_max=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5 -$as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; } -if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5 +printf "%s\n" "$ac_cv_lib_posix4_sched_get_priority_max" >&6; } +if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes +then : HAVE_PRIOR_FUNCS=1 POSIX4_LINK=" -lposix4" @@ -34827,52 +36070,56 @@ fi if test "$HAVE_PRIOR_FUNCS" = 1; then - $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h + printf "%s\n" "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5 -$as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5 +printf "%s\n" "$as_me: WARNING: Setting thread priority will not work" >&2;} fi ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel" -if test "x$ac_cv_func_pthread_cancel" = xyes; then : - $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h +if test "x$ac_cv_func_pthread_cancel" = xyes +then : + printf "%s\n" "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5 -$as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5 +printf "%s\n" "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;} fi ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock" -if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then : - $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h +if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes +then : + printf "%s\n" "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h -else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5 -$as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;} +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5 +printf "%s\n" "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;} fi ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize" -if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then : - $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h +if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes +then : + printf "%s\n" "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5 -$as_echo_n "checking for pthread_mutexattr_t... " >&6; } -if ${wx_cv_type_pthread_mutexattr_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5 +printf %s "checking for pthread_mutexattr_t... " >&6; } +if test ${wx_cv_type_pthread_mutexattr_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { pthread_mutexattr_t attr; @@ -34882,33 +36129,35 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_type_pthread_mutexattr_t=yes -else +else $as_nop wx_cv_type_pthread_mutexattr_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5 -$as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5 +printf "%s\n" "$wx_cv_type_pthread_mutexattr_t" >&6; } if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then - $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h + printf "%s\n" "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5 -$as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; } -if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5 +printf %s "checking for pthread_mutexattr_settype declaration... " >&6; } +if test ${wx_cv_func_pthread_mutexattr_settype_decl+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { pthread_mutexattr_t attr; @@ -34918,33 +36167,35 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_func_pthread_mutexattr_settype_decl=yes -else +else $as_nop wx_cv_func_pthread_mutexattr_settype_decl=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5 -$as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5 +printf "%s\n" "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; } if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then - $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h + printf "%s\n" "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5 -$as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; } -if ${wx_cv_type_pthread_rec_mutex_init+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5 +printf %s "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; } +if test ${wx_cv_type_pthread_rec_mutex_init+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; @@ -34953,36 +36204,38 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_type_pthread_rec_mutex_init=yes -else +else $as_nop wx_cv_type_pthread_rec_mutex_init=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5 -$as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5 +printf "%s\n" "$wx_cv_type_pthread_rec_mutex_init" >&6; } if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then - $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h + printf "%s\n" "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5 -$as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5 +printf "%s\n" "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;} fi fi if test "$ac_cv_header_cxxabi_h" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in " >&5 -$as_echo_n "checking for abi::__forced_unwind() in ... " >&6; } -if ${wx_cv_type_abi_forced_unwind+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in " >&5 +printf %s "checking for abi::__forced_unwind() in ... " >&6; } +if test ${wx_cv_type_abi_forced_unwind+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -34994,7 +36247,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main () +main (void) { void foo(abi::__forced_unwind&); @@ -35003,13 +36256,14 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_abi_forced_unwind=yes -else +else $as_nop wx_cv_type_abi_forced_unwind=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35019,11 +36273,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5 -$as_echo "$wx_cv_type_abi_forced_unwind" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5 +printf "%s\n" "$wx_cv_type_abi_forced_unwind" >&6; } if test "$wx_cv_type_abi_forced_unwind" = "yes"; then - $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h + printf "%s\n" "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h fi fi @@ -35031,14 +36285,16 @@ $as_echo "$wx_cv_type_abi_forced_unwind" >&6; } fi ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r" -if test "x$ac_cv_func_localtime_r" = xyes; then : - $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h +if test "x$ac_cv_func_localtime_r" = xyes +then : + printf "%s\n" "#define HAVE_LOCALTIME_R 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r" -if test "x$ac_cv_func_gmtime_r" = xyes; then : - $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h +if test "x$ac_cv_func_gmtime_r" = xyes +then : + printf "%s\n" "#define HAVE_GMTIME_R 1" >>confdefs.h fi @@ -35051,12 +36307,13 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5 -$as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5 +printf %s "checking how many arguments gethostbyname_r() takes... " >&6; } - if ${ac_cv_func_which_gethostbyname_r+:} false; then : - $as_echo_n "(cached) " >&6 -else + if test ${ac_cv_func_which_gethostbyname_r+y} +then : + printf %s "(cached) " >&6 +else $as_nop ################################################################ @@ -35076,7 +36333,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name = "www.gnu.org"; @@ -35086,10 +36343,11 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_func_which_gethostbyname_r=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext # # SIX ARGUMENTS @@ -35102,7 +36360,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name = "www.gnu.org"; @@ -35116,10 +36374,11 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_func_which_gethostbyname_r=six fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi @@ -35134,7 +36393,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name = "www.gnu.org"; @@ -35148,10 +36407,11 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_func_which_gethostbyname_r=five fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi @@ -35166,7 +36426,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name = "www.gnu.org"; @@ -35178,10 +36438,11 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : ac_cv_func_which_gethostbyname_r=three fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi @@ -35193,44 +36454,44 @@ fi case "$ac_cv_func_which_gethostbyname_r" in three|five|six) -$as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h +printf "%s\n" "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h ;; esac case "$ac_cv_func_which_gethostbyname_r" in three) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5 -$as_echo "three" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: three" >&5 +printf "%s\n" "three" >&6; } -$as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h +printf "%s\n" "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h ;; five) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5 -$as_echo "five" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: five" >&5 +printf "%s\n" "five" >&6; } -$as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h +printf "%s\n" "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h ;; six) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5 -$as_echo "six" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: six" >&5 +printf "%s\n" "six" >&6; } -$as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h +printf "%s\n" "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h ;; no) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5 -$as_echo "cannot find function declaration in netdb.h" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5 +printf "%s\n" "cannot find function declaration in netdb.h" >&6; } ;; unknown) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5 -$as_echo "can't tell" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5 +printf "%s\n" "can't tell" >&6; } ;; *) @@ -35249,17 +36510,18 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \ "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" -if test "x$ac_cv_func_gethostbyname" = xyes; then : - $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h +if test "x$ac_cv_func_gethostbyname" = xyes +then : + printf "%s\n" "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h -else +else $as_nop case "${host}" in *-*-haiku* ) - $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h + printf "%s\n" "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defining HAVE_GETHOSTBYNAME unconditionally under ${host}." >&5 -$as_echo "$as_me: WARNING: Defining HAVE_GETHOSTBYNAME unconditionally under ${host}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Defining HAVE_GETHOSTBYNAME unconditionally under ${host}." >&5 +printf "%s\n" "$as_me: WARNING: Defining HAVE_GETHOSTBYNAME unconditionally under ${host}." >&2;} ;; esac @@ -35268,11 +36530,12 @@ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5 -$as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; } -if ${ac_cv_func_which_getservbyname_r+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5 +printf %s "checking how many arguments getservbyname_r() takes... " >&6; } +if test ${ac_cv_func_which_getservbyname_r+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -35285,7 +36548,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main () +main (void) { char *name; @@ -35299,15 +36562,16 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_cv_func_which_getservbyname_r=six -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name; @@ -35321,15 +36585,16 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_cv_func_which_getservbyname_r=five -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name; @@ -35342,21 +36607,22 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_cv_func_which_getservbyname_r=four -else +else $as_nop ac_cv_func_which_getservbyname_r=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35366,103 +36632,93 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5 -$as_echo "$ac_cv_func_which_getservbyname_r" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5 +printf "%s\n" "$ac_cv_func_which_getservbyname_r" >&6; } if test $ac_cv_func_which_getservbyname_r = six; then - $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h + printf "%s\n" "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h elif test $ac_cv_func_which_getservbyname_r = five; then - $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h + printf "%s\n" "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h elif test $ac_cv_func_which_getservbyname_r = four; then - $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h + printf "%s\n" "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h fi if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \ "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then - for ac_func in getservbyname + + for ac_func in getservbyname do : ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname" -if test "x$ac_cv_func_getservbyname" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_GETSERVBYNAME 1 -_ACEOF - $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h +if test "x$ac_cv_func_getservbyname" = xyes +then : + printf "%s\n" "#define HAVE_GETSERVBYNAME 1" >>confdefs.h + printf "%s\n" "#define HAVE_GETSERVBYNAME 1" >>confdefs.h -else +else $as_nop case "${host}" in *-*-haiku* ) - $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h + printf "%s\n" "#define HAVE_GETSERVBYNAME 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defining HAVE_GETSERVBYNAME unconditionally under ${host}." >&5 -$as_echo "$as_me: WARNING: Defining HAVE_GETSERVBYNAME unconditionally under ${host}." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Defining HAVE_GETSERVBYNAME unconditionally under ${host}." >&5 +printf "%s\n" "$as_me: WARNING: Defining HAVE_GETSERVBYNAME unconditionally under ${host}." >&2;} ;; esac fi -done +done fi if test "$wxUSE_THREADS" = "yes"; then - $as_echo "#define wxUSE_THREADS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_THREADS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread" else if test "$wx_cv_func_strtok_r" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5 -$as_echo_n "checking if -D_REENTRANT is needed... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5 +printf %s "checking if -D_REENTRANT is needed... " >&6; } if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi fi if test "$wxUSE_GTK" = 1 ; then - cat >>confdefs.h <<_ACEOF -#define __WXGTK__ 1 -_ACEOF + printf "%s\n" "#define __WXGTK__ 1" >>confdefs.h if test "$WXGTK4" = 1 ; then - cat >>confdefs.h <<_ACEOF -#define __WXGTK4__ 1 -_ACEOF + printf "%s\n" "#define __WXGTK4__ 1" >>confdefs.h fi if test "$WXGTK3" = 1 ; then - cat >>confdefs.h <<_ACEOF -#define __WXGTK3__ 1 -_ACEOF + printf "%s\n" "#define __WXGTK3__ 1" >>confdefs.h fi - cat >>confdefs.h <<_ACEOF -#define __WXGTK20__ 1 -_ACEOF + printf "%s\n" "#define __WXGTK20__ 1" >>confdefs.h fi if test "$WXQT" = 1 ; then - cat >>confdefs.h <<_ACEOF -#define __WXQT__ $WXQT -_ACEOF + printf "%s\n" "#define __WXQT__ $WXQT" >>confdefs.h fi DEBUG_CFLAGS= if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5 -$as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5 +printf "%s\n" "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;} elif test "$wxUSE_DEBUG_INFO" = "yes" ; then DEBUG_CFLAGS="-g" fi @@ -35514,8 +36770,8 @@ fi OPTIMISE_CFLAGS= if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5 -$as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5 +printf "%s\n" "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;} else if test "$wxUSE_OPTIMISE" = "no" ; then if test "$GCC" = yes ; then @@ -35531,41 +36787,41 @@ else fi if test "x$wxUSE_REPRODUCIBLE_BUILD" = "xyes"; then - $as_echo "#define wxUSE_REPRODUCIBLE_BUILD 1" >>confdefs.h + printf "%s\n" "#define wxUSE_REPRODUCIBLE_BUILD 1" >>confdefs.h fi if test "x$WXWIN_COMPATIBILITY_3_0" = "xyes"; then - $as_echo "#define WXWIN_COMPATIBILITY_3_0 1" >>confdefs.h + printf "%s\n" "#define WXWIN_COMPATIBILITY_3_0 1" >>confdefs.h WXWIN_COMPATIBILITY_3_2="yes" fi if test "x$WXWIN_COMPATIBILITY_3_2" != "xno"; then - $as_echo "#define WXWIN_COMPATIBILITY_3_2 1" >>confdefs.h + printf "%s\n" "#define WXWIN_COMPATIBILITY_3_2 1" >>confdefs.h fi if test "$wxUSE_GUI" = "yes"; then - $as_echo "#define wxUSE_GUI 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GUI 1" >>confdefs.h fi if test "$wxUSE_UNIX" = "yes"; then - $as_echo "#define wxUSE_UNIX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_UNIX 1" >>confdefs.h fi if test "$TOOLKIT" = "MSW"; then if test "$wxUSE_DYNLIB_CLASS" != "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not disabling wxDynamicLibrary support required by wxMSW" >&5 -$as_echo "$as_me: WARNING: Not disabling wxDynamicLibrary support required by wxMSW" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Not disabling wxDynamicLibrary support required by wxMSW" >&5 +printf "%s\n" "$as_me: WARNING: Not disabling wxDynamicLibrary support required by wxMSW" >&2;} wxUSE_DYNLIB_CLASS=yes fi else @@ -35575,25 +36831,26 @@ else if test "$USE_DOS" = 1; then HAVE_DL_FUNCS=0 else - for ac_func in dlopen + + for ac_func in dlopen do : ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DLOPEN 1 -_ACEOF +if test "x$ac_cv_func_dlopen" = xyes +then : + printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h - $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h + printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h HAVE_DL_FUNCS=1 -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -$as_echo_n "checking for dlopen in -ldl... " >&6; } -if ${ac_cv_lib_dl_dlopen+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +printf %s "checking for dlopen in -ldl... " >&6; } +if test ${ac_cv_lib_dl_dlopen+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -35602,32 +36859,31 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dlopen (); int -main () +main (void) { return dlopen (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dl_dlopen=yes -else +else $as_nop ac_cv_lib_dl_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; } +if test "x$ac_cv_lib_dl_dlopen" = xyes +then : - $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h + printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h HAVE_DL_FUNCS=1 DL_LINK="-ldl" @@ -35636,26 +36892,27 @@ fi fi + done - if test "$HAVE_DL_FUNCS" = 1; then - for ac_func in dladdr + + for ac_func in dladdr do : ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr" -if test "x$ac_cv_func_dladdr" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DLADDR 1 -_ACEOF - $as_echo "#define HAVE_DLADDR 1" >>confdefs.h +if test "x$ac_cv_func_dladdr" = xyes +then : + printf "%s\n" "#define HAVE_DLADDR 1" >>confdefs.h + printf "%s\n" "#define HAVE_DLADDR 1" >>confdefs.h -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5 -$as_echo_n "checking for dladdr in -ldl... " >&6; } -if ${ac_cv_lib_dl_dladdr+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5 +printf %s "checking for dladdr in -ldl... " >&6; } +if test ${ac_cv_lib_dl_dladdr+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -35664,32 +36921,31 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char dladdr (); int -main () +main (void) { return dladdr (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_dl_dladdr=yes -else +else $as_nop ac_cv_lib_dl_dladdr=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5 -$as_echo "$ac_cv_lib_dl_dladdr" >&6; } -if test "x$ac_cv_lib_dl_dladdr" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5 +printf "%s\n" "$ac_cv_lib_dl_dladdr" >&6; } +if test "x$ac_cv_lib_dl_dladdr" = xyes +then : - $as_echo "#define HAVE_DLADDR 1" >>confdefs.h + printf "%s\n" "#define HAVE_DLADDR 1" >>confdefs.h DL_LINK="-ldl" @@ -35698,8 +36954,8 @@ fi fi -done +done fi fi @@ -35710,13 +36966,13 @@ done if test "$HAVE_DL_FUNCS" = 0; then if test "$HAVE_SHL_FUNCS" = 0; then if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5 -$as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5 +printf "%s\n" "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;} wxUSE_DYNAMIC_LOADER=no wxUSE_DYNLIB_CLASS=no else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxDynamicLibrary class works on this platform" >&5 -$as_echo "$as_me: WARNING: Assuming wxDynamicLibrary class works on this platform" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxDynamicLibrary class works on this platform" >&5 +printf "%s\n" "$as_me: WARNING: Assuming wxDynamicLibrary class works on this platform" >&2;} fi fi fi @@ -35724,11 +36980,11 @@ $as_echo "$as_me: WARNING: Assuming wxDynamicLibrary class works on this platfor fi if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then - $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h fi if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then - $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h fi @@ -35736,77 +36992,74 @@ fi if test "$wxUSE_PLUGINS" = "yes" ; then if test "$wxUSE_SHARED" = "no" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5 -$as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5 +printf "%s\n" "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;} wxUSE_PLUGINS=no fi if test "$wxUSE_MONOLITHIC" = "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5 -$as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5 +printf "%s\n" "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;} wxUSE_PLUGINS=no fi if test "$wxUSE_DYNLIB_CLASS" = "no" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5 -$as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5 +printf "%s\n" "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;} wxUSE_PLUGINS=no fi if test "$wxUSE_PLUGINS" = "yes" ; then - $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PLUGINS 1" >>confdefs.h fi fi if test "$wxUSE_PIC" = "no" -a "$wxUSE_SHARED" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: position independent code (PIC) can not be disabled for shared libraries" >&5 -$as_echo "$as_me: WARNING: position independent code (PIC) can not be disabled for shared libraries" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: position independent code (PIC) can not be disabled for shared libraries" >&5 +printf "%s\n" "$as_me: WARNING: position independent code (PIC) can not be disabled for shared libraries" >&2;} fi if test "$wxUSE_FSWATCHER" = "yes"; then if test "$USE_WIN32" != 1; then if test "$wxUSE_UNIX" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inotify is usable" >&5 -$as_echo_n "checking whether inotify is usable... " >&6; } -if ${wx_cv_inotify_usable+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether inotify is usable" >&5 +printf %s "checking whether inotify is usable... " >&6; } +if test ${wx_cv_inotify_usable+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main() { return inotify_init(); } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : wx_cv_inotify_usable=yes -else +else $as_nop wx_cv_inotify_usable=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_inotify_usable" >&5 -$as_echo "$wx_cv_inotify_usable" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_inotify_usable" >&5 +printf "%s\n" "$wx_cv_inotify_usable" >&6; } if test "$wx_cv_inotify_usable" = "yes"; then - $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h + printf "%s\n" "#define wxHAS_INOTIFY 1" >>confdefs.h else - for ac_header in sys/event.h -do : - ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default + ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default " -if test "x$ac_cv_header_sys_event_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_EVENT_H 1 -_ACEOF +if test "x$ac_cv_header_sys_event_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h fi -done - if test "$ac_cv_header_sys_event_h" = "yes"; then - $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h + printf "%s\n" "#define wxHAS_KQUEUE 1" >>confdefs.h else wxUSE_FSWATCHER=no @@ -35817,19 +37070,19 @@ done fi else if test "$wxUSE_THREADS" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5 -$as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5 +printf "%s\n" "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;} wxUSE_FSWATCHER=no fi fi if test "$wxUSE_FSWATCHER" = "yes"; then - $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FSWATCHER 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5 -$as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5 +printf "%s\n" "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;} fi fi @@ -35837,18 +37090,18 @@ if test "$wxUSE_GTK" = 1; then if test "$USE_WIN32" != 1 -a "$USE_DARWIN" != 1; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBCOMMON" >&5 -$as_echo_n "checking for XKBCOMMON... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XKBCOMMON" >&5 +printf %s "checking for XKBCOMMON... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$XKBCOMMON_CFLAGS"; then pkg_cv_XKBCOMMON_CFLAGS="$XKBCOMMON_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbcommon\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbcommon\""; } >&5 ($PKG_CONFIG --exists --print-errors "xkbcommon") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags "xkbcommon" 2>/dev/null` else @@ -35863,10 +37116,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_XKBCOMMON_LIBS="$XKBCOMMON_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbcommon\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbcommon\""; } >&5 ($PKG_CONFIG --exists --print-errors "xkbcommon") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XKBCOMMON_LIBS=`$PKG_CONFIG --libs "xkbcommon" 2>/dev/null` else @@ -35895,26 +37148,26 @@ fi echo "$XKBCOMMON_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxkbcommon not found, key codes in key events may be incorrect" >&5 -$as_echo "$as_me: WARNING: libxkbcommon not found, key codes in key events may be incorrect" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libxkbcommon not found, key codes in key events may be incorrect" >&5 +printf "%s\n" "$as_me: WARNING: libxkbcommon not found, key codes in key events may be incorrect" >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxkbcommon not found, key codes in key events may be incorrect" >&5 -$as_echo "$as_me: WARNING: libxkbcommon not found, key codes in key events may be incorrect" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libxkbcommon not found, key codes in key events may be incorrect" >&5 +printf "%s\n" "$as_me: WARNING: libxkbcommon not found, key codes in key events may be incorrect" >&2;} else XKBCOMMON_CFLAGS=$pkg_cv_XKBCOMMON_CFLAGS XKBCOMMON_LIBS=$pkg_cv_XKBCOMMON_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } CFLAGS="$XKBCOMMON_CFLAGS $CFLAGS" CXXFLAGS="$XKBCOMMON_CFLAGS $CXXFLAGS" GUI_TK_LIBRARY="$GUI_TK_LIBRARY $XKBCOMMON_LIBS" - $as_echo "#define HAVE_XKBCOMMON 1" >>confdefs.h + printf "%s\n" "#define HAVE_XKBCOMMON 1" >>confdefs.h fi @@ -35926,18 +37179,18 @@ if test "$wxUSE_SECRETSTORE" = "yes"; then if test "$wxUSE_MSW" != "1" -a "$wxUSE_OSX_COCOA" != 1; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSECRET" >&5 -$as_echo_n "checking for LIBSECRET... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBSECRET" >&5 +printf %s "checking for LIBSECRET... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBSECRET_CFLAGS"; then pkg_cv_LIBSECRET_CFLAGS="$LIBSECRET_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsecret-1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSECRET_CFLAGS=`$PKG_CONFIG --cflags "libsecret-1" 2>/dev/null` else @@ -35952,10 +37205,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBSECRET_LIBS="$LIBSECRET_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsecret-1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSECRET_LIBS=`$PKG_CONFIG --libs "libsecret-1" 2>/dev/null` else @@ -35984,23 +37237,23 @@ fi echo "$LIBSECRET_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsecret not found, wxSecretStore won't be available" >&5 -$as_echo "$as_me: WARNING: libsecret not found, wxSecretStore won't be available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libsecret not found, wxSecretStore won't be available" >&5 +printf "%s\n" "$as_me: WARNING: libsecret not found, wxSecretStore won't be available" >&2;} wxUSE_SECRETSTORE=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsecret not found, wxSecretStore won't be available" >&5 -$as_echo "$as_me: WARNING: libsecret not found, wxSecretStore won't be available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libsecret not found, wxSecretStore won't be available" >&5 +printf "%s\n" "$as_me: WARNING: libsecret not found, wxSecretStore won't be available" >&2;} wxUSE_SECRETSTORE=no else LIBSECRET_CFLAGS=$pkg_cv_LIBSECRET_CFLAGS LIBSECRET_LIBS=$pkg_cv_LIBSECRET_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } CXXFLAGS="$LIBSECRET_CFLAGS $CXXFLAGS" LIBS="$LIBSECRET_LIBS $LIBS" @@ -36013,7 +37266,7 @@ fi LIBS="-framework Security $LIBS" fi - $as_echo "#define wxUSE_SECRETSTORE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SECRETSTORE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS secretstore" fi @@ -36026,18 +37279,18 @@ if test "$wxUSE_SPELLCHECK" = "yes"; then if test "$WXGTK3" = 1; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSPELL" >&5 -$as_echo_n "checking for GSPELL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GSPELL" >&5 +printf %s "checking for GSPELL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GSPELL_CFLAGS"; then pkg_cv_GSPELL_CFLAGS="$GSPELL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gspell-1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gspell-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "gspell-1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GSPELL_CFLAGS=`$PKG_CONFIG --cflags "gspell-1" 2>/dev/null` else @@ -36052,10 +37305,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GSPELL_LIBS="$GSPELL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gspell-1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gspell-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "gspell-1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GSPELL_LIBS=`$PKG_CONFIG --libs "gspell-1" 2>/dev/null` else @@ -36084,23 +37337,23 @@ fi echo "$GSPELL_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gspell-1 not found, spell checking in wxTextCtrl won't be available" >&5 -$as_echo "$as_me: WARNING: gspell-1 not found, spell checking in wxTextCtrl won't be available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: gspell-1 not found, spell checking in wxTextCtrl won't be available" >&5 +printf "%s\n" "$as_me: WARNING: gspell-1 not found, spell checking in wxTextCtrl won't be available" >&2;} wxUSE_SPELLCHECK=no elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gspell-1 not found, spell checking in wxTextCtrl won't be available" >&5 -$as_echo "$as_me: WARNING: gspell-1 not found, spell checking in wxTextCtrl won't be available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: gspell-1 not found, spell checking in wxTextCtrl won't be available" >&5 +printf "%s\n" "$as_me: WARNING: gspell-1 not found, spell checking in wxTextCtrl won't be available" >&2;} wxUSE_SPELLCHECK=no else GSPELL_CFLAGS=$pkg_cv_GSPELL_CFLAGS GSPELL_LIBS=$pkg_cv_GSPELL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } CXXFLAGS="$GSPELL_CFLAGS $CXXFLAGS" GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GSPELL_LIBS" @@ -36109,43 +37362,44 @@ fi fi if test "$wxUSE_SPELLCHECK" = "yes"; then - $as_echo "#define wxUSE_SPELLCHECK 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SPELLCHECK 1" >>confdefs.h fi fi if test "$wxUSE_STL" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-stl option is not needed any more and can be simply removed" >&5 -$as_echo "$as_me: WARNING: --enable-stl option is not needed any more and can be simply removed" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-stl option is not needed any more and can be simply removed" >&5 +printf "%s\n" "$as_me: WARNING: --enable-stl option is not needed any more and can be simply removed" >&2;} fi if test "$wxUSE_EXTENDED_RTTI" = "yes"; then - $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h + printf "%s\n" "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h fi if test "$wxUSE_ANY" = "yes"; then - $as_echo "#define wxUSE_ANY 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ANY 1" >>confdefs.h fi if test "$wxUSE_APPLE_IEEE" = "yes"; then - $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_APPLE_IEEE 1" >>confdefs.h fi if test "$wxUSE_TIMER" = "yes"; then - $as_echo "#define wxUSE_TIMER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TIMER 1" >>confdefs.h fi if test "$USE_UNIX" = 1 ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5 -$as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; } -if ${ac_cv_header_sys_soundcard+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5 +printf %s "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; } +if test ${ac_cv_header_sys_soundcard+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -36154,7 +37408,7 @@ else #include int -main () +main (void) { ioctl(0, SNDCTL_DSP_SPEED, 0); @@ -36163,9 +37417,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_header_sys_soundcard=yes -else +else $as_nop saveLibs="$LIBS" LIBS="$saveLibs -lossaudio" @@ -36176,7 +37431,7 @@ else #include int -main () +main (void) { ioctl(0, SNDCTL_DSP_SPEED, 0); @@ -36185,29 +37440,30 @@ main () return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_header_sys_soundcard=yes -else +else $as_nop LIBS="$saveLibs" ac_cv_header_sys_soundcard=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5 -$as_echo "$ac_cv_header_sys_soundcard" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5 +printf "%s\n" "$ac_cv_header_sys_soundcard" >&6; } if test "$ac_cv_header_sys_soundcard" = "yes"; then - $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h + printf "%s\n" "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h fi fi @@ -36218,18 +37474,18 @@ if test "$wxUSE_SOUND" = "yes"; then if test "$wxUSE_LIBSDL" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5 -$as_echo_n "checking for SDL... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5 +printf %s "checking for SDL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$SDL_CFLAGS"; then pkg_cv_SDL_CFLAGS="$SDL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= 2.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= 2.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "sdl2 >= 2.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl2 >= 2.0.0" 2>/dev/null` else @@ -36244,10 +37500,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_SDL_LIBS="$SDL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= 2.0.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= 2.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "sdl2 >= 2.0.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl2 >= 2.0.0" 2>/dev/null` else @@ -36276,28 +37532,31 @@ fi echo "$SDL_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: SDL 2.0 not available. Falling back to 1.2." >&5 -$as_echo "$as_me: SDL 2.0 not available. Falling back to 1.2." >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SDL 2.0 not available. Falling back to 1.2." >&5 +printf "%s\n" "$as_me: SDL 2.0 not available. Falling back to 1.2." >&6;} # Check whether --with-sdl-prefix was given. -if test "${with_sdl_prefix+set}" = set; then : +if test ${with_sdl_prefix+y} +then : withval=$with_sdl_prefix; sdl_prefix="$withval" -else +else $as_nop sdl_prefix="" fi # Check whether --with-sdl-exec-prefix was given. -if test "${with_sdl_exec_prefix+set}" = set; then : +if test ${with_sdl_exec_prefix+y} +then : withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval" -else +else $as_nop sdl_exec_prefix="" fi # Check whether --enable-sdltest was given. -if test "${enable_sdltest+set}" = set; then : +if test ${enable_sdltest+y} +then : enableval=$enable_sdltest; -else +else $as_nop enable_sdltest=yes fi @@ -36320,11 +37579,12 @@ fi fi # Extract the first word of "sdl-config", so it can be a program name with args. set dummy sdl-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_SDL_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_SDL_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $SDL_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. @@ -36334,11 +37594,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_SDL_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -36351,17 +37615,17 @@ esac fi SDL_CONFIG=$ac_cv_path_SDL_CONFIG if test -n "$SDL_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 -$as_echo "$SDL_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 +printf "%s\n" "$SDL_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi min_sdl_version=1.2.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5 -$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5 +printf %s "checking for SDL - version >= $min_sdl_version... " >&6; } no_sdl="" if test "$SDL_CONFIG" = "no" ; then no_sdl=yes @@ -36383,9 +37647,10 @@ $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; } CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" LIBS="$LIBS $SDL_LIBS" rm -f conf.sdltest - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : echo $ac_n "cross compiling; assumed OK... $ac_c" -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -36447,9 +37712,10 @@ int main (int argc, char *argv[]) _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : -else +else $as_nop no_sdl=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -36462,18 +37728,18 @@ fi fi fi if test "x$no_sdl" = x ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } EXTRALIBS_SDL="$SDL_LIBS" CFLAGS="$SDL_CFLAGS $CFLAGS" CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" - $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBSDL 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if test "$SDL_CONFIG" = "no" ; then echo "*** The sdl-config script installed by SDL could not be found" echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" @@ -36499,14 +37765,15 @@ int main(int argc, char *argv[]) #define main K_and_R_C_main int -main () +main (void) { return 0; ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding SDL or finding the wrong" echo "*** version of SDL. If it is not finding SDL, you'll need to set your" @@ -36516,13 +37783,13 @@ if ac_fn_c_try_link "$LINENO"; then : echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" -else +else $as_nop echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occurred. This usually means SDL was incorrectly installed" echo "*** or that you have moved SDL since it was installed. In the latter case, you" echo "*** may want to edit the sdl-config script: $SDL_CONFIG" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" CXXFLAGS="$ac_save_CXXFLAGS" @@ -36540,28 +37807,31 @@ rm -f core conftest.err conftest.$ac_objext \ elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: SDL 2.0 not available. Falling back to 1.2." >&5 -$as_echo "$as_me: SDL 2.0 not available. Falling back to 1.2." >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SDL 2.0 not available. Falling back to 1.2." >&5 +printf "%s\n" "$as_me: SDL 2.0 not available. Falling back to 1.2." >&6;} # Check whether --with-sdl-prefix was given. -if test "${with_sdl_prefix+set}" = set; then : +if test ${with_sdl_prefix+y} +then : withval=$with_sdl_prefix; sdl_prefix="$withval" -else +else $as_nop sdl_prefix="" fi # Check whether --with-sdl-exec-prefix was given. -if test "${with_sdl_exec_prefix+set}" = set; then : +if test ${with_sdl_exec_prefix+y} +then : withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval" -else +else $as_nop sdl_exec_prefix="" fi # Check whether --enable-sdltest was given. -if test "${enable_sdltest+set}" = set; then : +if test ${enable_sdltest+y} +then : enableval=$enable_sdltest; -else +else $as_nop enable_sdltest=yes fi @@ -36584,11 +37854,12 @@ fi fi # Extract the first word of "sdl-config", so it can be a program name with args. set dummy sdl-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_SDL_CONFIG+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_SDL_CONFIG+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $SDL_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. @@ -36598,11 +37869,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_SDL_CONFIG="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -36615,17 +37890,17 @@ esac fi SDL_CONFIG=$ac_cv_path_SDL_CONFIG if test -n "$SDL_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 -$as_echo "$SDL_CONFIG" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 +printf "%s\n" "$SDL_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi min_sdl_version=1.2.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5 -$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5 +printf %s "checking for SDL - version >= $min_sdl_version... " >&6; } no_sdl="" if test "$SDL_CONFIG" = "no" ; then no_sdl=yes @@ -36647,9 +37922,10 @@ $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; } CXXFLAGS="$CXXFLAGS $SDL_CFLAGS" LIBS="$LIBS $SDL_LIBS" rm -f conf.sdltest - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : echo $ac_n "cross compiling; assumed OK... $ac_c" -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -36711,9 +37987,10 @@ int main (int argc, char *argv[]) _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : -else +else $as_nop no_sdl=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -36726,18 +38003,18 @@ fi fi fi if test "x$no_sdl" = x ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } EXTRALIBS_SDL="$SDL_LIBS" CFLAGS="$SDL_CFLAGS $CFLAGS" CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" - $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBSDL 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } if test "$SDL_CONFIG" = "no" ; then echo "*** The sdl-config script installed by SDL could not be found" echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" @@ -36763,14 +38040,15 @@ int main(int argc, char *argv[]) #define main K_and_R_C_main int -main () +main (void) { return 0; ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding SDL or finding the wrong" echo "*** version of SDL. If it is not finding SDL, you'll need to set your" @@ -36780,13 +38058,13 @@ if ac_fn_c_try_link "$LINENO"; then : echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" -else +else $as_nop echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occurred. This usually means SDL was incorrectly installed" echo "*** or that you have moved SDL since it was installed. In the latter case, you" echo "*** may want to edit the sdl-config script: $SDL_CONFIG" fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" CXXFLAGS="$ac_save_CXXFLAGS" @@ -36805,13 +38083,13 @@ rm -f core conftest.err conftest.$ac_objext \ else SDL_CFLAGS=$pkg_cv_SDL_CFLAGS SDL_LIBS=$pkg_cv_SDL_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } EXTRALIBS_SDL="$SDL_LIBS" CFLAGS="$SDL_CFLAGS $CFLAGS" CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" - $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBSDL 1" >>confdefs.h fi @@ -36823,7 +38101,7 @@ fi fi if test "$wxUSE_SOUND" = "yes"; then - $as_echo "#define wxUSE_SOUND 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SOUND 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound" fi @@ -36839,18 +38117,18 @@ if test "$wxUSE_GTK" = 1; then fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5 -$as_echo_n "checking for GTKPRINT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5 +printf %s "checking for GTKPRINT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTKPRINT_CFLAGS"; then pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null` else @@ -36865,10 +38143,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null` else @@ -36897,28 +38175,28 @@ fi echo "$GTKPRINT_PKG_ERRORS" >&5 - { $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 -$as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;} + { printf "%s\n" "$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 +printf "%s\n" "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;} wxUSE_GTKPRINT="no" elif test $pkg_failed = untried; then - { $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 -$as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;} + { printf "%s\n" "$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 +printf "%s\n" "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;} wxUSE_GTKPRINT="no" else GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS" CFLAGS="$GTKPRINT_CFLAGS $CFLAGS" CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS" - $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GTKPRINT 1" >>confdefs.h fi @@ -36930,18 +38208,18 @@ fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5 -$as_echo_n "checking for GNOMEVFS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5 +printf %s "checking for GNOMEVFS... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GNOMEVFS_CFLAGS"; then pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null` else @@ -36956,10 +38234,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null` else @@ -36988,28 +38266,28 @@ fi echo "$GNOMEVFS_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5 -$as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5 +printf "%s\n" "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;} wxUSE_LIBGNOMEVFS="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5 -$as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5 +printf "%s\n" "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;} wxUSE_LIBGNOMEVFS="no" else GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS" CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS" CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS" - $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h fi @@ -37021,18 +38299,18 @@ fi HAVE_LIBNOTIFY=0 pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 -$as_echo_n "checking for LIBNOTIFY... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 +printf %s "checking for LIBNOTIFY... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBNOTIFY_CFLAGS"; then pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null` else @@ -37047,10 +38325,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null` else @@ -37081,18 +38359,18 @@ fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 -$as_echo_n "checking for LIBNOTIFY... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 +printf %s "checking for LIBNOTIFY... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBNOTIFY_CFLAGS"; then pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null` else @@ -37107,10 +38385,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null` else @@ -37139,23 +38417,23 @@ fi echo "$LIBNOTIFY_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5 -$as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5 +printf "%s\n" "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;} wxUSE_LIBNOTIFY="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5 -$as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5 +printf "%s\n" "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;} wxUSE_LIBNOTIFY="no" else LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } HAVE_LIBNOTIFY=1 fi @@ -37164,18 +38442,18 @@ elif test $pkg_failed = untried; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 -$as_echo_n "checking for LIBNOTIFY... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 +printf %s "checking for LIBNOTIFY... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBNOTIFY_CFLAGS"; then pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null` else @@ -37190,10 +38468,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null` else @@ -37222,23 +38500,23 @@ fi echo "$LIBNOTIFY_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5 -$as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5 +printf "%s\n" "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;} wxUSE_LIBNOTIFY="no" elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5 -$as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5 +printf "%s\n" "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;} wxUSE_LIBNOTIFY="no" else LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } HAVE_LIBNOTIFY=1 fi @@ -37246,11 +38524,11 @@ fi else LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } HAVE_LIBNOTIFY=1 - $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h fi @@ -37259,7 +38537,7 @@ fi GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS" CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS" CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS" - $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LIBNOTIFY 1" >>confdefs.h fi fi @@ -37268,128 +38546,128 @@ fi fi if test "$wxUSE_CMDLINE_PARSER" = "yes"; then - $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h fi if test "$wxUSE_STOPWATCH" = "yes"; then - $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STOPWATCH 1" >>confdefs.h fi if test "$wxUSE_DATETIME" = "yes"; then - $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DATETIME 1" >>confdefs.h fi if test "$wxUSE_FILE" = "yes"; then - $as_echo "#define wxUSE_FILE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FILE 1" >>confdefs.h fi if test "$wxUSE_FFILE" = "yes"; then - $as_echo "#define wxUSE_FFILE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FFILE 1" >>confdefs.h fi if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then if test "$wxUSE_STREAMS" != yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5 -$as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;} wxUSE_ARCHIVE_STREAMS=no else - $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h fi fi if test "$wxUSE_ZIPSTREAM" = "yes"; then if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5 -$as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;} elif test "$wxUSE_ZLIB" = "no"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5 -$as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;} else - $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ZIPSTREAM 1" >>confdefs.h fi fi if test "$wxUSE_TARSTREAM" = "yes"; then if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5 -$as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;} else - $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TARSTREAM 1" >>confdefs.h fi fi if test "$wxUSE_FILE_HISTORY" = "yes"; then - $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FILE_HISTORY 1" >>confdefs.h fi if test "$wxUSE_FILESYSTEM" = "yes"; then if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5 -$as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;} wxUSE_FILESYSTEM=no else - $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FILESYSTEM 1" >>confdefs.h fi fi if test "$wxUSE_FS_ARCHIVE" = "yes"; then if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5 -$as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;} else - $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h fi fi if test "$wxUSE_FS_ZIP" = "yes"; then if test "$wxUSE_FS_ARCHIVE" != yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5 -$as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;} else - $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FS_ZIP 1" >>confdefs.h fi fi if test "$wxUSE_FSVOLUME" = "yes"; then - $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FSVOLUME 1" >>confdefs.h fi if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then if test "$USE_UNIX" != 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5 -$as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5 +printf "%s\n" "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;} wxUSE_ON_FATAL_EXCEPTION=no else - $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h fi fi if test "$wxUSE_STACKWALKER" = "yes"; then - $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STACKWALKER 1" >>confdefs.h fi if test "$wxUSE_DEBUGREPORT" = "yes"; then if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5 -$as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5 +printf "%s\n" "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;} wxUSE_DEBUGREPORT=no else - $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DEBUGREPORT 1" >>confdefs.h if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt" @@ -37398,19 +38676,19 @@ $as_echo "$as_me: WARNING: Creating debug reports not currently supported on thi fi if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then - $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h fi if test "$wxUSE_BUSYINFO" = "yes"; then - $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h + printf "%s\n" "#define wxUSE_BUSYINFO 1" >>confdefs.h fi if test "$wxUSE_HOTKEY" = "yes"; then if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5 -$as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5 +printf "%s\n" "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;} wxUSE_HOTKEY=no fi elif test "$wxUSE_HOTKEY" = "auto"; then @@ -37419,58 +38697,58 @@ elif test "$wxUSE_HOTKEY" = "auto"; then fi fi if test "$wxUSE_HOTKEY" = "yes"; then - $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h + printf "%s\n" "#define wxUSE_HOTKEY 1" >>confdefs.h fi if test "$wxUSE_STD_CONTAINERS" = "yes"; then - $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h fi if test "$wxUSE_STD_IOSTREAM" = "yes"; then - $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h fi if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then - $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h fi if test "$wxUSE_UNSAFE_WXSTRING_CONV" = "yes"; then - $as_echo "#define wxUSE_UNSAFE_WXSTRING_CONV 1" >>confdefs.h + printf "%s\n" "#define wxUSE_UNSAFE_WXSTRING_CONV 1" >>confdefs.h fi if test "$wxUSE_STDPATHS" = "yes"; then - $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STDPATHS 1" >>confdefs.h fi if test "$wxUSE_TEXTBUFFER" = "yes"; then - $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TEXTBUFFER 1" >>confdefs.h fi if test "$wxUSE_TEXTFILE" = "yes"; then if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5 -$as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;} else - $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TEXTFILE 1" >>confdefs.h fi fi if test "$wxUSE_CONFIG" = "yes" ; then if test "$wxUSE_TEXTFILE" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5 -$as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;} else - $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CONFIG 1" >>confdefs.h - $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config" fi @@ -37478,10 +38756,10 @@ fi if test "$wxUSE_INTL" = "yes" ; then if test "$wxUSE_FILE" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5 -$as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5 +printf "%s\n" "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;} else - $as_echo "#define wxUSE_INTL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_INTL 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat" GUIDIST="$GUIDIST INTL_DIST" @@ -37489,24 +38767,20 @@ $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;} fi if test "$wxUSE_XLOCALE" = "yes" ; then - for ac_header in xlocale.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default" -if test "x$ac_cv_header_xlocale_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_XLOCALE_H 1 -_ACEOF + ac_fn_c_check_header_compile "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default" +if test "x$ac_cv_header_xlocale_h" = xyes +then : + printf "%s\n" "#define HAVE_XLOCALE_H 1" >>confdefs.h fi -done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locale_t" >&5 -$as_echo_n "checking for locale_t... " >&6; } -if ${wx_cv_type_locale_t+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for locale_t" >&5 +printf %s "checking for locale_t... " >&6; } +if test ${wx_cv_type_locale_t+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -37524,7 +38798,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { locale_t t; @@ -37536,13 +38810,14 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_locale_t=yes -else +else $as_nop wx_cv_type_locale_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37551,37 +38826,37 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_locale_t" >&5 -$as_echo "$wx_cv_type_locale_t" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_locale_t" >&5 +printf "%s\n" "$wx_cv_type_locale_t" >&6; } if test "$wx_cv_type_locale_t" = "yes" ; then - $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_XLOCALE 1" >>confdefs.h - $as_echo "#define HAVE_LOCALE_T 1" >>confdefs.h + printf "%s\n" "#define HAVE_LOCALE_T 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No locale_t support, wxXLocale won't be available" >&5 -$as_echo "$as_me: WARNING: No locale_t support, wxXLocale won't be available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No locale_t support, wxXLocale won't be available" >&5 +printf "%s\n" "$as_me: WARNING: No locale_t support, wxXLocale won't be available" >&2;} fi fi if test "$wxUSE_LOG" = "yes"; then - $as_echo "#define wxUSE_LOG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LOG 1" >>confdefs.h if test "$wxUSE_LOGGUI" = "yes"; then - $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LOGGUI 1" >>confdefs.h fi if test "$wxUSE_LOGWINDOW" = "yes"; then - $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LOGWINDOW 1" >>confdefs.h fi if test "$wxUSE_LOGDIALOG" = "yes"; then - $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LOG_DIALOG 1" >>confdefs.h fi @@ -37589,94 +38864,92 @@ if test "$wxUSE_LOG" = "yes"; then fi if test "$wxUSE_LONGLONG" = "yes"; then - $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LONGLONG 1" >>confdefs.h fi if test "$wxUSE_GEOMETRY" = "yes"; then - $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GEOMETRY 1" >>confdefs.h fi if test "$wxUSE_BASE64" = "yes"; then - $as_echo "#define wxUSE_BASE64 1" >>confdefs.h + printf "%s\n" "#define wxUSE_BASE64 1" >>confdefs.h fi if test "$wxUSE_STREAMS" = "yes" ; then - $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STREAMS 1" >>confdefs.h fi if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then - $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h fi if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then - $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h if test "$wxUSE_UNIX" = "yes"; then if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then - $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h fi if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then - for ac_header in sys/epoll.h -do : - ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default + ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default " -if test "x$ac_cv_header_sys_epoll_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYS_EPOLL_H 1 -_ACEOF +if test "x$ac_cv_header_sys_epoll_h" = xyes +then : + printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h fi -done - if test "$ac_cv_header_sys_epoll_h" = "yes"; then case "${host}" in *-*-linux*) - $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h ;; *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxEpollDispatcher disabled, because OS is not Linux" >&5 -$as_echo "$as_me: WARNING: wxEpollDispatcher disabled, because OS is not Linux" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxEpollDispatcher disabled, because OS is not Linux" >&5 +printf "%s\n" "$as_me: WARNING: wxEpollDispatcher disabled, because OS is not Linux" >&2;} ;; esac else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5 -$as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5 +printf "%s\n" "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;} fi fi fi fi -for ac_func in gettimeofday ftime + + for ac_func in gettimeofday ftime do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` + as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : +if eval test \"x\$"$as_ac_var"\" = x"yes" +then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF break fi + done - if test "$ac_cv_func_gettimeofday" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5 -$as_echo_n "checking whether gettimeofday takes two arguments... " >&6; } -if ${wx_cv_func_gettimeofday_has_2_args+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5 +printf %s "checking whether gettimeofday takes two arguments... " >&6; } +if test ${wx_cv_func_gettimeofday_has_2_args+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37685,7 +38958,7 @@ else #include int -main () +main (void) { struct timeval tv; @@ -37695,9 +38968,10 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_func_gettimeofday_has_2_args=yes -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37705,7 +38979,7 @@ else #include int -main () +main (void) { struct timeval tv; @@ -37715,37 +38989,39 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_func_gettimeofday_has_2_args=no -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5 -$as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5 +printf "%s\n" "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;} wx_cv_func_gettimeofday_has_2_args=unknown fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5 -$as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5 +printf "%s\n" "$wx_cv_func_gettimeofday_has_2_args" >&6; } if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then - $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h + printf "%s\n" "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h fi fi if test "$wxUSE_DATETIME" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in " >&5 -$as_echo_n "checking for timezone variable in ... " >&6; } -if ${wx_cv_var_timezone+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for timezone variable in " >&5 +printf %s "checking for timezone variable in ... " >&6; } +if test ${wx_cv_var_timezone+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -37759,7 +39035,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { int tz; @@ -37769,11 +39045,12 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_var_timezone=timezone -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37781,7 +39058,7 @@ else #include int -main () +main (void) { int tz; @@ -37791,11 +39068,12 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_var_timezone=_timezone -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37803,7 +39081,7 @@ else #include int -main () +main (void) { int tz; @@ -37813,28 +39091,29 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_var_timezone=__timezone -else +else $as_nop if test "$USE_DOS" = 0 ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5 -$as_echo "$as_me: WARNING: no timezone variable" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5 +printf "%s\n" "$as_me: WARNING: no timezone variable" >&2;} fi fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37844,34 +39123,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5 -$as_echo "$wx_cv_var_timezone" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5 +printf "%s\n" "$wx_cv_var_timezone" >&6; } if test "x$wx_cv_var_timezone" != x ; then - cat >>confdefs.h <<_ACEOF -#define WX_TIMEZONE $wx_cv_var_timezone -_ACEOF + printf "%s\n" "#define WX_TIMEZONE $wx_cv_var_timezone" >>confdefs.h fi - for ac_func in localtime -do : - ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime" -if test "x$ac_cv_func_localtime" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOCALTIME 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime" +if test "x$ac_cv_func_localtime" = xyes +then : + printf "%s\n" "#define HAVE_LOCALTIME 1" >>confdefs.h fi -done if test "$ac_cv_func_localtime" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5 -$as_echo_n "checking for tm_gmtoff in struct tm... " >&6; } -if ${wx_cv_struct_tm_has_gmtoff+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5 +printf %s "checking for tm_gmtoff in struct tm... " >&6; } +if test ${wx_cv_struct_tm_has_gmtoff+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37879,7 +39153,7 @@ else #include int -main () +main (void) { struct tm tm; @@ -37889,31 +39163,33 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_struct_tm_has_gmtoff=yes -else +else $as_nop wx_cv_struct_tm_has_gmtoff=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5 -$as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5 +printf "%s\n" "$wx_cv_struct_tm_has_gmtoff" >&6; } fi if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then - $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h + printf "%s\n" "#define WX_GMTOFF_IN_TM 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_TIME_FIRST_WEEKDAY in langinfo.h" >&5 -$as_echo_n "checking for _NL_TIME_FIRST_WEEKDAY in langinfo.h... " >&6; } -if ${wx_cv_have_nl_time_first_weekday+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _NL_TIME_FIRST_WEEKDAY in langinfo.h" >&5 +printf %s "checking for _NL_TIME_FIRST_WEEKDAY in langinfo.h... " >&6; } +if test ${wx_cv_have_nl_time_first_weekday+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37922,7 +39198,7 @@ else #include int -main () +main (void) { _NL_TIME_FIRST_WEEKDAY; @@ -37931,22 +39207,23 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_have_nl_time_first_weekday=yes -else +else $as_nop wx_cv_have_nl_time_first_weekday=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_nl_time_first_weekday" >&5 -$as_echo "$wx_cv_have_nl_time_first_weekday" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_nl_time_first_weekday" >&5 +printf "%s\n" "$wx_cv_have_nl_time_first_weekday" >&6; } if test "$wx_cv_have_nl_time_first_weekday" = "yes"; then - $as_echo "#define HAVE_NL_TIME_FIRST_WEEKDAY 1" >>confdefs.h + printf "%s\n" "#define HAVE_NL_TIME_FIRST_WEEKDAY 1" >>confdefs.h fi @@ -37954,31 +39231,29 @@ $as_echo "$wx_cv_have_nl_time_first_weekday" >&6; } fi -for ac_func in setpriority -do : - ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority" -if test "x$ac_cv_func_setpriority" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SETPRIORITY 1 -_ACEOF +ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority" +if test "x$ac_cv_func_setpriority" = xyes +then : + printf "%s\n" "#define HAVE_SETPRIORITY 1" >>confdefs.h fi -done if test "$wxUSE_SOCKETS" = "yes"; then if test "$USE_WIN32" != 1 ; then ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" -if test "x$ac_cv_func_socket" = xyes; then : +if test "x$ac_cv_func_socket" = xyes +then : -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 -$as_echo_n "checking for socket in -lsocket... " >&6; } -if ${ac_cv_lib_socket_socket+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 +printf %s "checking for socket in -lsocket... " >&6; } +if test ${ac_cv_lib_socket_socket+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -37987,40 +39262,40 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char socket (); int -main () +main (void) { return socket (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_socket_socket=yes -else +else $as_nop ac_cv_lib_socket_socket=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 -$as_echo "$ac_cv_lib_socket_socket" >&6; } -if test "x$ac_cv_lib_socket_socket" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 +printf "%s\n" "$ac_cv_lib_socket_socket" >&6; } +if test "x$ac_cv_lib_socket_socket" = xyes +then : if test "$INET_LINK" != " -lsocket"; then INET_LINK="$INET_LINK -lsocket" fi -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5 -$as_echo_n "checking for socket in -lnetwork... " >&6; } -if ${ac_cv_lib_network_socket+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5 +printf %s "checking for socket in -lnetwork... " >&6; } +if test ${ac_cv_lib_network_socket+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_check_lib_save_LIBS=$LIBS LIBS="-lnetwork $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -38029,37 +39304,36 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif char socket (); int -main () +main (void) { return socket (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : ac_cv_lib_network_socket=yes -else +else $as_nop ac_cv_lib_network_socket=no fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_socket" >&5 -$as_echo "$ac_cv_lib_network_socket" >&6; } -if test "x$ac_cv_lib_network_socket" = xyes; then : +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_socket" >&5 +printf "%s\n" "$ac_cv_lib_network_socket" >&6; } +if test "x$ac_cv_lib_network_socket" = xyes +then : if test "$INET_LINK" != " -lnetwork"; then INET_LINK="$INET_LINK -lnetwork" fi -else +else $as_nop - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5 -$as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5 +printf "%s\n" "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;} wxUSE_SOCKETS=no @@ -38078,11 +39352,12 @@ fi if test "$wxUSE_SOCKETS" = "yes" ; then if test "$USE_WIN32" != 1 ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5 -$as_echo_n "checking what is the type of the third argument of getsockname... " >&6; } -if ${wx_cv_type_getsockname3+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5 +printf %s "checking what is the type of the third argument of getsockname... " >&6; } +if test ${wx_cv_type_getsockname3+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -38097,7 +39372,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { socklen_t len; @@ -38107,9 +39382,10 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_getsockname3=socklen_t -else +else $as_nop CFLAGS_OLD="$CFLAGS" if test "$GCC" = yes ; then @@ -38123,7 +39399,7 @@ else #include int -main () +main (void) { size_t len; @@ -38133,9 +39409,10 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_getsockname3=size_t -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38143,7 +39420,7 @@ else #include int -main () +main (void) { int len; @@ -38153,22 +39430,23 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_getsockname3=int -else +else $as_nop wx_cv_type_getsockname3=unknown fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CFLAGS="$CFLAGS_OLD" fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38177,24 +39455,23 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5 -$as_echo "$wx_cv_type_getsockname3" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5 +printf "%s\n" "$wx_cv_type_getsockname3" >&6; } if test "$wx_cv_type_getsockname3" = "unknown"; then wxUSE_SOCKETS=no - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5 -$as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5 +printf "%s\n" "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;} else - cat >>confdefs.h <<_ACEOF -#define WX_SOCKLEN_T $wx_cv_type_getsockname3 -_ACEOF + printf "%s\n" "#define WX_SOCKLEN_T $wx_cv_type_getsockname3" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5 -$as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; } -if ${wx_cv_type_getsockopt5+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5 +printf %s "checking what is the type of the fifth argument of getsockopt... " >&6; } +if test ${wx_cv_type_getsockopt5+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -38209,7 +39486,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { socklen_t len; @@ -38219,9 +39496,10 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_getsockopt5=socklen_t -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38230,7 +39508,7 @@ else #include int -main () +main (void) { size_t len; @@ -38240,9 +39518,10 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_getsockopt5=size_t -else +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38250,7 +39529,7 @@ else #include int -main () +main (void) { int len; @@ -38260,20 +39539,21 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_type_getsockopt5=int -else +else $as_nop wx_cv_type_getsockopt5=unknown fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38282,17 +39562,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5 -$as_echo "$wx_cv_type_getsockopt5" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5 +printf "%s\n" "$wx_cv_type_getsockopt5" >&6; } if test "$wx_cv_type_getsockopt5" = "unknown"; then wxUSE_SOCKETS=no - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5 -$as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5 +printf "%s\n" "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;} else - cat >>confdefs.h <<_ACEOF -#define SOCKOPTLEN_T $wx_cv_type_getsockopt5 -_ACEOF + printf "%s\n" "#define SOCKOPTLEN_T $wx_cv_type_getsockopt5" >>confdefs.h fi fi @@ -38300,11 +39578,12 @@ fi if test "$wxUSE_SOCKETS" = "yes" ; then if test "$wxUSE_IPV6" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5 -$as_echo_n "checking whether we have sockaddr_in6... " >&6; } -if ${wx_cv_type_sockaddr_in6+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5 +printf %s "checking whether we have sockaddr_in6... " >&6; } +if test ${wx_cv_type_sockaddr_in6+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38314,7 +39593,7 @@ else #include int -main () +main (void) { struct sockaddr_in6 sa6; @@ -38323,113 +39602,114 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : wx_cv_type_sockaddr_in6=yes -else +else $as_nop wx_cv_type_sockaddr_in6=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5 -$as_echo "$wx_cv_type_sockaddr_in6" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5 +printf "%s\n" "$wx_cv_type_sockaddr_in6" >&6; } if test "$wx_cv_type_sockaddr_in6"="yes"; then - $as_echo "#define wxUSE_IPV6 1" >>confdefs.h + printf "%s\n" "#define wxUSE_IPV6 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5 -$as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5 +printf "%s\n" "$as_me: WARNING: IPv6 support not available... disabled" >&2;} fi fi - $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SOCKETS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets" fi if test "$wxUSE_PROTOCOL" = "yes"; then if test "$wxUSE_SOCKETS" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5 -$as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5 +printf "%s\n" "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;} wxUSE_PROTOCOL=no fi fi if test "$wxUSE_PROTOCOL" = "yes"; then - $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PROTOCOL 1" >>confdefs.h if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then - $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h fi if test "$wxUSE_PROTOCOL_FTP" = "yes"; then - $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h fi if test "$wxUSE_PROTOCOL_FILE" = "yes"; then - $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h fi else if test "$wxUSE_FS_INET" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5 -$as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5 +printf "%s\n" "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;} wxUSE_FS_INET="no" fi fi if test "$wxUSE_URL" = "yes"; then if test "$wxUSE_PROTOCOL" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5 -$as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;} wxUSE_URL=no fi if test "$wxUSE_URL" = "yes"; then - $as_echo "#define wxUSE_URL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_URL 1" >>confdefs.h fi fi if test "$wxUSE_VARIANT" = "yes"; then - $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h + printf "%s\n" "#define wxUSE_VARIANT 1" >>confdefs.h fi if test "$wxUSE_FS_INET" = "yes"; then - $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FS_INET 1" >>confdefs.h fi if test "$wxUSE_WEBREQUEST" = "yes"; then if test "$wxUSE_LIBCURL" = "yes"; then - $as_echo "#define wxUSE_WEBREQUEST_CURL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WEBREQUEST_CURL 1" >>confdefs.h have_webrequest_backend=1 fi if test "$USE_DARWIN" = 1 -a "$wxUSE_URLSESSION" = "yes"; then - $as_echo "#define wxUSE_WEBREQUEST_URLSESSION 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WEBREQUEST_URLSESSION 1" >>confdefs.h have_webrequest_backend=1 fi if test "$USE_WIN32" = 1 -a "$wxUSE_WINHTTP" = "yes"; then - $as_echo "#define wxUSE_WEBREQUEST_WINHTTP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WEBREQUEST_WINHTTP 1" >>confdefs.h have_webrequest_backend=1 fi if test "$have_webrequest_backend" = 1; then - $as_echo "#define wxUSE_WEBREQUEST 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WEBREQUEST 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webrequest" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling wxWebRequest because no backends are available" >&5 -$as_echo "$as_me: WARNING: Disabling wxWebRequest because no backends are available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Disabling wxWebRequest because no backends are available" >&5 +printf "%s\n" "$as_me: WARNING: Disabling wxWebRequest because no backends are available" >&2;} fi fi @@ -38441,125 +39721,123 @@ if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then wxUSE_JOYSTICK=yes else - for ac_header in linux/joystick.h + for ac_header in linux/joystick.h do : ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default " -if test "x$ac_cv_header_linux_joystick_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LINUX_JOYSTICK_H 1 -_ACEOF +if test "x$ac_cv_header_linux_joystick_h" = xyes +then : + printf "%s\n" "#define HAVE_LINUX_JOYSTICK_H 1" >>confdefs.h wxUSE_JOYSTICK=yes fi done - fi if test "$wxUSE_JOYSTICK" = "yes"; then - $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h + printf "%s\n" "#define wxUSE_JOYSTICK 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5 -$as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5 +printf "%s\n" "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;} fi fi if test "$wxUSE_FONTENUM" = "yes" ; then - $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FONTENUM 1" >>confdefs.h fi if test "$wxUSE_FONTMAP" = "yes" ; then - $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FONTMAP 1" >>confdefs.h fi if test "$wxUSE_UNICODE_UTF8" = "yes"; then - $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h + printf "%s\n" "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then - $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h + printf "%s\n" "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h fi fi if test "$wxUSE_CONSTRAINTS" = "yes"; then - $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CONSTRAINTS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout" fi if test "$wxUSE_MDI" = "yes"; then - $as_echo "#define wxUSE_MDI 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MDI 1" >>confdefs.h if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then - $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi" fi fi if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then - $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview" fi if test "$wxUSE_HELP" = "yes"; then - $as_echo "#define wxUSE_HELP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_HELP 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help" if test "$wxUSE_MSW" = 1; then if test "$wxUSE_MS_HTML_HELP" = "yes"; then - $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h fi fi if test "$wxUSE_WXHTML_HELP" = "yes"; then if test "$wxUSE_HTML" = "yes"; then - $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WXHTML_HELP 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5 -$as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5 +printf "%s\n" "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;} wxUSE_WXHTML_HELP=no fi fi fi if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then - $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing" fi if test "$wxUSE_POSTSCRIPT" = "yes" ; then - $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h + printf "%s\n" "#define wxUSE_POSTSCRIPT 1" >>confdefs.h fi -$as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h +printf "%s\n" "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h if test "$wxUSE_SVG" = "yes"; then - $as_echo "#define wxUSE_SVG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SVG 1" >>confdefs.h fi if test "$wxUSE_METAFILE" = "yes"; then if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5 -$as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;} wxUSE_METAFILE=no fi elif test "$wxUSE_METAFILE" = "auto"; then @@ -38569,10 +39847,10 @@ elif test "$wxUSE_METAFILE" = "auto"; then fi if test "$wxUSE_METAFILE" = "yes"; then - $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_METAFILE 1" >>confdefs.h if test "$wxUSE_MSW" = 1; then - $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ENH_METAFILE 1" >>confdefs.h fi fi @@ -38582,11 +39860,11 @@ if test "$USE_WIN32" = 1 ; then if test "$wxUSE_OLE" = "yes" ; then LIBS="-lrpcrt4 -loleaut32 -lole32 -luuid $LIBS" - $as_echo "#define wxUSE_OLE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_OLE 1" >>confdefs.h - $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h + printf "%s\n" "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h - $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ACTIVEX 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto" else @@ -38595,14 +39873,14 @@ if test "$USE_WIN32" = 1 ; then wxUSE_DATAOBJ=no if test "$wxUSE_MEDIACTRL" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMediaCtrl requires wxUSE_OLE... disabled" >&5 -$as_echo "$as_me: WARNING: wxMediaCtrl requires wxUSE_OLE... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxMediaCtrl requires wxUSE_OLE... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxMediaCtrl requires wxUSE_OLE... disabled" >&2;} wxUSE_MEDIACTRL=no fi if test "$wxUSE_WEBVIEW" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWebView requires wxUSE_OLE... disabled" >&5 -$as_echo "$as_me: WARNING: wxWebView requires wxUSE_OLE... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxWebView requires wxUSE_OLE... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxWebView requires wxUSE_OLE... disabled" >&2;} wxUSE_WEBVIEW=no fi fi @@ -38610,13 +39888,13 @@ fi if test "$wxUSE_IPC" = "yes"; then if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5 -$as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;} wxUSE_IPC=no fi if test "$wxUSE_IPC" = "yes"; then - $as_echo "#define wxUSE_IPC 1" >>confdefs.h + printf "%s\n" "#define wxUSE_IPC 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc" fi @@ -38624,42 +39902,42 @@ fi if test "$wxUSE_DATAOBJ" = "yes"; then if test "$wxUSE_DFB" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5 -$as_echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;} wxUSE_DATAOBJ=no else - $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DATAOBJ 1" >>confdefs.h fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5 -$as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5 +printf "%s\n" "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;} wxUSE_CLIPBOARD=no wxUSE_DRAG_AND_DROP=no fi if test "$wxUSE_CLIPBOARD" = "yes"; then if test "$wxUSE_DFB" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5 -$as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5 +printf "%s\n" "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;} wxUSE_CLIPBOARD=no fi if test "$wxUSE_CLIPBOARD" = "yes"; then - $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CLIPBOARD 1" >>confdefs.h fi fi if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then if test "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5 -$as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5 +printf "%s\n" "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;} wxUSE_DRAG_AND_DROP=no fi if test "$wxUSE_DRAG_AND_DROP" = "yes"; then - $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h fi @@ -38674,12 +39952,12 @@ if test "$wxUSE_CLIPBOARD" = "yes"; then fi if test "$wxUSE_SPLINES" = "yes" ; then - $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SPLINES 1" >>confdefs.h fi if test "$wxUSE_MOUSEWHEEL" = "yes" ; then - $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h fi @@ -38688,18 +39966,18 @@ if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then if test "$wxUSE_XTEST" = "yes" ; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5 -$as_echo_n "checking for XTST... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5 +printf %s "checking for XTST... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$XTST_CFLAGS"; then pkg_cv_XTST_CFLAGS="$XTST_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 ($PKG_CONFIG --exists --print-errors "xtst") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XTST_CFLAGS=`$PKG_CONFIG --cflags "xtst" 2>/dev/null` else @@ -38714,10 +39992,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_XTST_LIBS="$XTST_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 ($PKG_CONFIG --exists --print-errors "xtst") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XTST_LIBS=`$PKG_CONFIG --libs "xtst" 2>/dev/null` else @@ -38747,8 +40025,8 @@ fi if test "$WXGTK3" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XTest not found, disabling wxUIActionSimulator" >&5 -$as_echo "$as_me: WARNING: XTest not found, disabling wxUIActionSimulator" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: XTest not found, disabling wxUIActionSimulator" >&5 +printf "%s\n" "$as_me: WARNING: XTest not found, disabling wxUIActionSimulator" >&2;} wxUSE_UIACTIONSIMULATOR=no fi wxUSE_XTEST="no" @@ -38757,8 +40035,8 @@ $as_echo "$as_me: WARNING: XTest not found, disabling wxUIActionSimulator" >&2;} elif test $pkg_failed = untried; then if test "$WXGTK3" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XTest not found, disabling wxUIActionSimulator" >&5 -$as_echo "$as_me: WARNING: XTest not found, disabling wxUIActionSimulator" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: XTest not found, disabling wxUIActionSimulator" >&5 +printf "%s\n" "$as_me: WARNING: XTest not found, disabling wxUIActionSimulator" >&2;} wxUSE_UIACTIONSIMULATOR=no fi wxUSE_XTEST="no" @@ -38767,13 +40045,13 @@ $as_echo "$as_me: WARNING: XTest not found, disabling wxUIActionSimulator" >&2;} else XTST_CFLAGS=$pkg_cv_XTST_CFLAGS XTST_LIBS=$pkg_cv_XTST_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } GUI_TK_LIBRARY="$GUI_TK_LIBRARY $XTST_LIBS" CFLAGS="$XTST_CFLAGS $CFLAGS" CXXFLAGS="$XTST_CFLAGS $CXXFLAGS" - $as_echo "#define wxUSE_XTEST 1" >>confdefs.h + printf "%s\n" "#define wxUSE_XTEST 1" >>confdefs.h fi @@ -38781,20 +40059,20 @@ fi wxUSE_UIACTIONSIMULATOR=no fi elif test "$wxUSE_DFB" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxUIActionSimulator not yet supported under $TOOLKIT... disabled" >&5 -$as_echo "$as_me: WARNING: wxUIActionSimulator not yet supported under $TOOLKIT... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxUIActionSimulator not yet supported under $TOOLKIT... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxUIActionSimulator not yet supported under $TOOLKIT... disabled" >&2;} wxUSE_UIACTIONSIMULATOR=no fi if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then - $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h + printf "%s\n" "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction" fi fi if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then - $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h fi @@ -38805,366 +40083,366 @@ if test "$wxUSE_CONTROLS" = "yes"; then fi if test "$wxUSE_MARKUP" = "yes"; then - $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MARKUP 1" >>confdefs.h fi if test "$wxUSE_ACCEL" = "yes"; then - $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ACCEL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_ACTIVITYINDICATOR" = "yes"; then - $as_echo "#define wxUSE_ACTIVITYINDICATOR 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ACTIVITYINDICATOR 1" >>confdefs.h fi if test "$wxUSE_ADDREMOVECTRL" = "yes"; then - $as_echo "#define wxUSE_ADDREMOVECTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ADDREMOVECTRL 1" >>confdefs.h fi if test "$wxUSE_ANIMATIONCTRL" = "yes"; then - $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate" fi if test "$wxUSE_BANNERWINDOW" = "yes"; then - $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h + printf "%s\n" "#define wxUSE_BANNERWINDOW 1" >>confdefs.h fi if test "$wxUSE_BUTTON" = "yes"; then - $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h + printf "%s\n" "#define wxUSE_BUTTON 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_BMPBUTTON" = "yes"; then - $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h + printf "%s\n" "#define wxUSE_BMPBUTTON 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_CALCTRL" = "yes"; then - $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CALENDARCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar" fi if test "$wxUSE_CARET" = "yes"; then - $as_echo "#define wxUSE_CARET 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CARET 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret" fi if test "$wxUSE_COLLPANE" = "yes"; then - $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_COLLPANE 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane" fi if test "$wxUSE_COMBOBOX" = "yes"; then - $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_COMBOBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_COMBOCTRL" = "yes"; then - $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_COMBOCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then - $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h + printf "%s\n" "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_CHOICE" = "yes"; then - $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CHOICE 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_CHOICEBOOK" = "yes"; then - $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CHOICEBOOK 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_CHECKBOX" = "yes"; then - $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CHECKBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_CHECKLST" = "yes"; then - $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then - $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_DATEPICKCTRL" = "yes"; then - $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_DIRPICKERCTRL" = "yes"; then - $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_FILECTRL" = "yes"; then - $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FILECTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_FILEPICKERCTRL" = "yes"; then - $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_FONTPICKERCTRL" = "yes"; then - $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_DISPLAY" = "yes"; then if test "$wxUSE_DFB" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5 -$as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;} wxUSE_DISPLAY=no else - $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DISPLAY 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display" fi fi if test "$wxUSE_DETECT_SM" = "yes"; then - $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DETECT_SM 1" >>confdefs.h fi if test "$wxUSE_GAUGE" = "yes"; then - $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GAUGE 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_GRID" = "yes"; then - $as_echo "#define wxUSE_GRID 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GRID 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid" fi if test "$wxUSE_HEADERCTRL" = "yes"; then - $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_HEADERCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_HYPERLINKCTRL" = "yes"; then - $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then - $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_DATAVIEWCTRL" = "yes"; then - $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview" if test "$wxUSE_NATIVE_DATAVIEWCTRL" = "yes"; then - $as_echo "#define wxUSE_NATIVE_DATAVIEWCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_NATIVE_DATAVIEWCTRL 1" >>confdefs.h fi fi if test "$wxUSE_IMAGLIST" = "yes"; then - $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h + printf "%s\n" "#define wxUSE_IMAGLIST 1" >>confdefs.h fi if test "$wxUSE_INFOBAR" = "yes"; then - $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h + printf "%s\n" "#define wxUSE_INFOBAR 1" >>confdefs.h fi if test "$wxUSE_LISTBOOK" = "yes"; then - $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LISTBOOK 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_LISTBOX" = "yes"; then - $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LISTBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_LISTCTRL" = "yes"; then if test "$wxUSE_IMAGLIST" = "yes"; then - $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_LISTCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5 -$as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5 +printf "%s\n" "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;} fi fi if test "$wxUSE_EDITABLELISTBOX" = "yes"; then - $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_NOTEBOOK" = "yes"; then - $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h + printf "%s\n" "#define wxUSE_NOTEBOOK 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook" fi if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then - $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h fi if test "$wxUSE_ODCOMBOBOX" = "yes"; then - $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo" fi if test "$wxUSE_RADIOBOX" = "yes"; then - $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_RADIOBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_RADIOBTN" = "yes"; then - $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h + printf "%s\n" "#define wxUSE_RADIOBTN 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_REARRANGECTRL" = "yes"; then - $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_REARRANGECTRL 1" >>confdefs.h fi if test "$wxUSE_RICHMSGDLG" = "yes"; then - $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_RICHMSGDLG 1" >>confdefs.h fi if test "$wxUSE_RICHTOOLTIP" = "yes"; then - $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h fi if test "$wxUSE_SASH" = "yes"; then - $as_echo "#define wxUSE_SASH 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SASH 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest" fi if test "$wxUSE_SCROLLBAR" = "yes"; then - $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SCROLLBAR 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll" fi if test "$wxUSE_SEARCHCTRL" = "yes"; then - $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SEARCHCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_SLIDER" = "yes"; then - $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SLIDER 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_SPINBTN" = "yes"; then - $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SPINBTN 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_SPINCTRL" = "yes"; then - $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SPINCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_SPLITTER" = "yes"; then - $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SPLITTER 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter" fi if test "$wxUSE_STATBMP" = "yes"; then - $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STATBMP 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_STATBOX" = "yes"; then - $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STATBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_STATTEXT" = "yes"; then - $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STATTEXT 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_STATLINE" = "yes"; then - $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STATLINE 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_STATUSBAR" = "yes"; then - $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h + printf "%s\n" "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h - $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STATUSBAR 1" >>confdefs.h USES_CONTROLS=1 @@ -39172,31 +40450,31 @@ if test "$wxUSE_STATUSBAR" = "yes"; then fi if test "$wxUSE_TEXTCTRL" = "yes"; then - $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TEXTCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text" - $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h + printf "%s\n" "#define wxUSE_RICHEDIT 1" >>confdefs.h - $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h + printf "%s\n" "#define wxUSE_RICHEDIT2 1" >>confdefs.h fi if test "$wxUSE_TIMEPICKCTRL" = "yes"; then - $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_TOGGLEBTN" = "yes"; then - $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TOGGLEBTN 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_TOOLBAR" = "yes"; then - $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TOOLBAR 1" >>confdefs.h USES_CONTROLS=1 @@ -39204,7 +40482,7 @@ if test "$wxUSE_TOOLBAR" = "yes"; then wxUSE_TOOLBAR_NATIVE="no" else wxUSE_TOOLBAR_NATIVE="yes" - $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h fi @@ -39213,47 +40491,47 @@ fi if test "$wxUSE_TOOLTIPS" = "yes"; then if test "$wxUSE_UNIVERSAL" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5 -$as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;} else - $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TOOLTIPS 1" >>confdefs.h fi fi if test "$wxUSE_TREEBOOK" = "yes"; then - $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TREEBOOK 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_TOOLBOOK" = "yes"; then - $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TOOLBOOK 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_TREECTRL" = "yes"; then if test "$wxUSE_IMAGLIST" = "yes"; then - $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TREECTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl" else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5 -$as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5 +printf "%s\n" "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;} fi fi if test "$wxUSE_TREELISTCTRL" = "yes"; then - $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TREELISTCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist" fi if test "$wxUSE_POPUPWIN" = "yes"; then - $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h + printf "%s\n" "#define wxUSE_POPUPWIN 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup" @@ -39261,7 +40539,7 @@ if test "$wxUSE_POPUPWIN" = "yes"; then fi if test "$wxUSE_PREFERENCES_EDITOR" = "yes"; then - $as_echo "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS preferences" fi @@ -39271,18 +40549,18 @@ if test "$wxUSE_PRIVATE_FONTS" = "yes"; then if test "$wxUSE_PRIVATE_FONTS" = "yes"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRIVATE_FONTS" >&5 -$as_echo_n "checking for PRIVATE_FONTS... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PRIVATE_FONTS" >&5 +printf %s "checking for PRIVATE_FONTS... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PRIVATE_FONTS_CFLAGS"; then pkg_cv_PRIVATE_FONTS_CFLAGS="$PRIVATE_FONTS_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.8.0 pangoft2 >= 1.38.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.8.0 pangoft2 >= 1.38.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.8.0 pangoft2 >= 1.38.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PRIVATE_FONTS_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.8.0 pangoft2 >= 1.38.0" 2>/dev/null` else @@ -39297,10 +40575,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_PRIVATE_FONTS_LIBS="$PRIVATE_FONTS_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.8.0 pangoft2 >= 1.38.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.8.0 pangoft2 >= 1.38.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.8.0 pangoft2 >= 1.38.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PRIVATE_FONTS_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.8.0 pangoft2 >= 1.38.0" 2>/dev/null` else @@ -39328,18 +40606,18 @@ fi # Put the nasty error message in config.log where it belongs echo "$PRIVATE_FONTS_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: run-time font loading won't be supported by wxFont" >&5 -$as_echo "$as_me: WARNING: run-time font loading won't be supported by wxFont" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: run-time font loading won't be supported by wxFont" >&5 +printf "%s\n" "$as_me: WARNING: run-time font loading won't be supported by wxFont" >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: run-time font loading won't be supported by wxFont" >&5 -$as_echo "$as_me: WARNING: run-time font loading won't be supported by wxFont" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: run-time font loading won't be supported by wxFont" >&5 +printf "%s\n" "$as_me: WARNING: run-time font loading won't be supported by wxFont" >&2;} else PRIVATE_FONTS_CFLAGS=$pkg_cv_PRIVATE_FONTS_CFLAGS PRIVATE_FONTS_LIBS=$pkg_cv_PRIVATE_FONTS_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } - $as_echo "#define wxUSE_PRIVATE_FONTS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PRIVATE_FONTS 1" >>confdefs.h CXXFLAGS="$PRIVATE_FONTS_CFLAGS $CXXFLAGS" GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PRIVATE_FONTS_LIBS" @@ -39347,41 +40625,41 @@ $as_echo "yes" >&6; } fi fi elif test "$wxUSE_MAC" = 1 -o "$wxUSE_MSW" = 1; then - $as_echo "#define wxUSE_PRIVATE_FONTS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PRIVATE_FONTS 1" >>confdefs.h fi fi if test "$wxUSE_DIALUP_MANAGER" = "yes"; then if test "$wxUSE_MAC" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5 -$as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5 +printf "%s\n" "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;} else - $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup" fi fi if test "$wxUSE_TIPWINDOW" = "yes"; then - $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TIPWINDOW 1" >>confdefs.h fi if test "$USES_CONTROLS" = 1; then - $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CONTROLS 1" >>confdefs.h fi if test "$wxUSE_ACCESSIBILITY" = "yes"; then - $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access" fi if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then - $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h fi @@ -39396,22 +40674,22 @@ if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then fi if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then - $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h fi if test "$wxUSE_DRAGIMAGE" = "yes"; then - $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DRAGIMAGE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag" fi if test "$wxUSE_EXCEPTIONS" = "yes"; then if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5 -$as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5 +printf "%s\n" "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;} else - $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_EXCEPTIONS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except" fi @@ -39419,7 +40697,7 @@ fi USE_HTML=0 if test "$wxUSE_HTML" = "yes"; then - $as_echo "#define wxUSE_HTML 1" >>confdefs.h + printf "%s\n" "#define wxUSE_HTML 1" >>confdefs.h USE_HTML=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox" @@ -39429,11 +40707,11 @@ fi USE_XRC=0 if test "$wxUSE_XRC" = "yes"; then if test "$wxUSE_XML" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5 -$as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5 +printf "%s\n" "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;} wxUSE_XRC=no else - $as_echo "#define wxUSE_XRC 1" >>confdefs.h + printf "%s\n" "#define wxUSE_XRC 1" >>confdefs.h USE_XRC=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc" @@ -39442,7 +40720,7 @@ fi USE_AUI=0 if test "$wxUSE_AUI" = "yes"; then - $as_echo "#define wxUSE_AUI 1" >>confdefs.h + printf "%s\n" "#define wxUSE_AUI 1" >>confdefs.h USE_AUI=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui" @@ -39450,7 +40728,7 @@ fi USE_PROPGRID=0 if test "$wxUSE_PROPGRID" = "yes"; then - $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PROPGRID 1" >>confdefs.h USE_PROPGRID=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid" @@ -39458,7 +40736,7 @@ fi USE_RIBBON=0 if test "$wxUSE_RIBBON" = "yes"; then - $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h + printf "%s\n" "#define wxUSE_RIBBON 1" >>confdefs.h USE_RIBBON=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon" @@ -39484,18 +40762,19 @@ if test "$wxUSE_STC" = "yes"; then to fix this." "$LINENO" 5 fi - $as_echo "#define wxUSE_STC 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STC 1" >>confdefs.h USE_STC=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc" # Extract the first word of "python", so it can be a program name with args. set dummy python; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PYTHON+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_path_PYTHON+y} +then : + printf %s "(cached) " >&6 +else $as_nop case $PYTHON in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. @@ -39505,11 +40784,15 @@ else for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then + ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext" + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -39521,11 +40804,11 @@ esac fi PYTHON=$ac_cv_path_PYTHON if test -n "$PYTHON"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 -$as_echo "$PYTHON" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 +printf "%s\n" "$PYTHON" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -39536,62 +40819,62 @@ fi fi if test "$wxUSE_MENUS" = "yes"; then - $as_echo "#define wxUSE_MENUS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MENUS 1" >>confdefs.h if test "$wxUSE_MENUBAR" = "yes"; then - $as_echo "#define wxUSE_MENUBAR 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MENUBAR 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu" fi elif test "$wxUSE_MENUBAR" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMenuBar can't be used without wxMenu and will be disabled" >&5 -$as_echo "$as_me: WARNING: wxMenuBar can't be used without wxMenu and will be disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxMenuBar can't be used without wxMenu and will be disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxMenuBar can't be used without wxMenu and will be disabled" >&2;} fi if test "$wxUSE_MIMETYPE" = "yes"; then - $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MIMETYPE 1" >>confdefs.h fi if test "$wxUSE_MINIFRAME" = "yes"; then - $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MINIFRAME 1" >>confdefs.h fi if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then - $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h fi if test "$wxUSE_TASKBARICON" = "yes"; then - $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TASKBARICON 1" >>confdefs.h - $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar" fi if test "$wxUSE_VALIDATORS" = "yes"; then - $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_VALIDATORS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate" fi if test "$wxUSE_PALETTE" = "yes" ; then if test "$wxUSE_DFB" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5 -$as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5 +printf "%s\n" "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;} wxUSE_PALETTE=no else - $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PALETTE 1" >>confdefs.h fi fi USE_RICHTEXT=0 if test "$wxUSE_RICHTEXT" = "yes"; then - $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h + printf "%s\n" "#define wxUSE_RICHTEXT 1" >>confdefs.h USE_RICHTEXT=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext" @@ -39605,18 +40888,98 @@ if test "$wxUSE_WEBVIEW" = "yes"; then if test "$WXGTK3" = 1; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 -$as_echo_n "checking for WEBKIT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 +printf %s "checking for WEBKIT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$WEBKIT_CFLAGS"; then pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "webkit2gtk-4.1") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit2gtk-4.1" 2>/dev/null` +else + pkg_failed=yes +fi + fi +else + pkg_failed=untried +fi +if test -n "$PKG_CONFIG"; then + if test -n "$WEBKIT_LIBS"; then + pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" + else + if test -n "$PKG_CONFIG" && \ + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.1\""; } >&5 + ($PKG_CONFIG --exists --print-errors "webkit2gtk-4.1") 2>&5 + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit2gtk-4.1" 2>/dev/null` +else + pkg_failed=yes +fi + fi +else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit2gtk-4.1"` + else + WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit2gtk-4.1"` + fi + # Put the nasty error message in config.log where it belongs + echo "$WEBKIT_PKG_ERRORS" >&5 + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&5 +printf "%s\n" "$as_me: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&2;} + +elif test $pkg_failed = untried; then + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&5 +printf "%s\n" "$as_me: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&2;} + +else + WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS + WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } + + USE_WEBVIEW_WEBKIT2=1 + CXXFLAGS="$CXXFLAGS $WEBKIT_CFLAGS" + EXTRALIBS_WEBVIEW="$WEBKIT_LIBS" + +fi + if test "$USE_WEBVIEW_WEBKIT2" = 0; then + +pkg_failed=no +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 +printf %s "checking for WEBKIT... " >&6; } + +if test -n "$PKG_CONFIG"; then + if test -n "$WEBKIT_CFLAGS"; then + pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "webkit2gtk-4.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit2gtk-4.0" 2>/dev/null` else @@ -39631,10 +40994,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "webkit2gtk-4.0") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit2gtk-4.0" 2>/dev/null` else @@ -39663,25 +41026,26 @@ fi echo "$WEBKIT_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk not found, falling back to webkitgtk" >&5 -$as_echo "$as_me: WARNING: webkit2gtk not found, falling back to webkitgtk" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk-4.0 not found, falling back to webkitgtk" >&5 +printf "%s\n" "$as_me: WARNING: webkit2gtk-4.0 not found, falling back to webkitgtk" >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk not found, falling back to webkitgtk" >&5 -$as_echo "$as_me: WARNING: webkit2gtk not found, falling back to webkitgtk" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk-4.0 not found, falling back to webkitgtk" >&5 +printf "%s\n" "$as_me: WARNING: webkit2gtk-4.0 not found, falling back to webkitgtk" >&2;} else WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } - USE_WEBVIEW_WEBKIT2=1 - CXXFLAGS="$CXXFLAGS $WEBKIT_CFLAGS" - EXTRALIBS_WEBVIEW="$WEBKIT_LIBS" + USE_WEBVIEW_WEBKIT2=1 + CXXFLAGS="$CXXFLAGS $WEBKIT_CFLAGS" + EXTRALIBS_WEBVIEW="$WEBKIT_LIBS" fi + fi fi if test "$USE_WEBVIEW_WEBKIT2" = 0; then webkitgtk=webkit-1.0 @@ -39690,18 +41054,18 @@ fi fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 -$as_echo_n "checking for WEBKIT... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 +printf %s "checking for WEBKIT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$WEBKIT_CFLAGS"; then pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null` else @@ -39716,10 +41080,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null` else @@ -39748,19 +41112,19 @@ fi echo "$WEBKIT_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5 -$as_echo "$as_me: WARNING: webkitgtk not found." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5 +printf "%s\n" "$as_me: WARNING: webkitgtk not found." >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5 -$as_echo "$as_me: WARNING: webkitgtk not found." >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5 +printf "%s\n" "$as_me: WARNING: webkitgtk not found." >&2;} else WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } USE_WEBVIEW_WEBKIT=1 CXXFLAGS="$CXXFLAGS $WEBKIT_CFLAGS" @@ -39778,25 +41142,25 @@ fi if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then if test "$USE_WEBVIEW_WEBKIT" = 1; then wxUSE_WEBVIEW="yes" - $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h elif test "$USE_WEBVIEW_WEBKIT2" = 1; then wxUSE_WEBVIEW="yes" - $as_echo "#define wxUSE_WEBVIEW_WEBKIT2 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WEBVIEW_WEBKIT2 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5 -$as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5 +printf "%s\n" "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;} fi elif test "$wxUSE_MSW" = 1; then if test "$wxUSE_WEBVIEW_IE" = "yes"; then wxUSE_WEBVIEW="yes" - $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h fi if test "$wxUSE_WEBVIEW_EDGE" = "yes"; then wxUSE_WEBVIEW="yes" - $as_echo "#define wxUSE_WEBVIEW_EDGE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WEBVIEW_EDGE 1" >>confdefs.h fi fi @@ -39804,7 +41168,7 @@ fi if test "$wxUSE_WEBVIEW" = "yes"; then USE_WEBVIEW=1 - $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WEBVIEW 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview" else @@ -39813,126 +41177,126 @@ fi if test "$wxUSE_IMAGE" = "yes" ; then - $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h + printf "%s\n" "#define wxUSE_IMAGE 1" >>confdefs.h if test "$wxUSE_GIF" = "yes" ; then - $as_echo "#define wxUSE_GIF 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GIF 1" >>confdefs.h fi if test "$wxUSE_PCX" = "yes" ; then - $as_echo "#define wxUSE_PCX 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PCX 1" >>confdefs.h fi if test "$wxUSE_TGA" = "yes" ; then - $as_echo "#define wxUSE_TGA 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TGA 1" >>confdefs.h fi if test "$wxUSE_IFF" = "yes" ; then - $as_echo "#define wxUSE_IFF 1" >>confdefs.h + printf "%s\n" "#define wxUSE_IFF 1" >>confdefs.h fi if test "$wxUSE_PNM" = "yes" ; then - $as_echo "#define wxUSE_PNM 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PNM 1" >>confdefs.h fi if test "$wxUSE_XPM" = "yes" ; then - $as_echo "#define wxUSE_XPM 1" >>confdefs.h + printf "%s\n" "#define wxUSE_XPM 1" >>confdefs.h fi if test "$wxUSE_ICO_CUR" = "yes" ; then - $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ICO_CUR 1" >>confdefs.h fi fi if test "$wxUSE_ABOUTDLG" = "yes"; then - $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ABOUTDLG 1" >>confdefs.h fi if test "$wxUSE_CHOICEDLG" = "yes"; then - $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CHOICEDLG 1" >>confdefs.h fi if test "$wxUSE_COLOURDLG" = "yes"; then - $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_COLOURDLG 1" >>confdefs.h fi if test "$wxUSE_CREDENTIALDLG" = "yes"; then - $as_echo "#define wxUSE_CREDENTIALDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CREDENTIALDLG 1" >>confdefs.h fi if test "$wxUSE_FILEDLG" = "yes"; then - $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FILEDLG 1" >>confdefs.h fi if test "$wxUSE_FINDREPLDLG" = "yes"; then - $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FINDREPLDLG 1" >>confdefs.h fi if test "$wxUSE_FONTDLG" = "yes"; then - $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_FONTDLG 1" >>confdefs.h fi if test "$wxUSE_DIRDLG" = "yes"; then if test "$wxUSE_TREECTRL" != "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5 -$as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5 +printf "%s\n" "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;} else - $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DIRDLG 1" >>confdefs.h fi fi if test "$wxUSE_MSGDLG" = "yes"; then - $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MSGDLG 1" >>confdefs.h fi if test "$wxUSE_NUMBERDLG" = "yes"; then - $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_NUMBERDLG 1" >>confdefs.h fi if test "$wxUSE_PROGRESSDLG" = "yes"; then - $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_PROGRESSDLG 1" >>confdefs.h - $as_echo "#define wxUSE_NATIVE_PROGRESSDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_NATIVE_PROGRESSDLG 1" >>confdefs.h fi if test "$wxUSE_SPLASH" = "yes"; then - $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h + printf "%s\n" "#define wxUSE_SPLASH 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash" fi if test "$wxUSE_STARTUP_TIPS" = "yes"; then - $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h + printf "%s\n" "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h fi if test "$wxUSE_TEXTDLG" = "yes"; then - $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TEXTDLG 1" >>confdefs.h fi if test "$wxUSE_WIZARDDLG" = "yes"; then - $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WIZARDDLG 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard" fi @@ -39940,7 +41304,7 @@ fi if test "$wxUSE_MSW" = 1; then if test "$wxUSE_OWNER_DRAWN" = "yes"; then - $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h + printf "%s\n" "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h fi fi @@ -39949,39 +41313,40 @@ fi if test "$wxUSE_MSW" = 1 ; then if test "$wxUSE_DC_CACHEING" = "yes"; then - $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DC_CACHEING 1" >>confdefs.h fi if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then - $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h + printf "%s\n" "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h fi if test "$wxUSE_TASKBARBUTTON" = "yes"; then - $as_echo "#define wxUSE_TASKBARBUTTON 1" >>confdefs.h + printf "%s\n" "#define wxUSE_TASKBARBUTTON 1" >>confdefs.h fi if test "$wxUSE_UXTHEME" = "yes"; then - $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h + printf "%s\n" "#define wxUSE_UXTHEME 1" >>confdefs.h fi fi if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then - $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h + printf "%s\n" "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h fi if test "$USE_WIN32" = 1 ; then if test "$wxUSE_DBGHELP" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if debug help API is available" >&5 -$as_echo_n "checking if debug help API is available... " >&6; } -if ${wx_cv_lib_debughlp+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if debug help API is available" >&5 +printf %s "checking if debug help API is available... " >&6; } +if test ${wx_cv_lib_debughlp+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -39994,7 +41359,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include #include int -main () +main (void) { #ifndef API_VERSION_NUMBER @@ -40008,13 +41373,14 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_lib_debughlp=yes -else +else $as_nop wx_cv_lib_debughlp=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40024,30 +41390,30 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_debughlp" >&5 -$as_echo "$wx_cv_lib_debughlp" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_debughlp" >&5 +printf "%s\n" "$wx_cv_lib_debughlp" >&6; } if test "$wx_cv_lib_debughlp" = yes; then - $as_echo "#define wxUSE_DBGHELP 1" >>confdefs.h + printf "%s\n" "#define wxUSE_DBGHELP 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Debug help API and wxStackWalker won't be available" >&5 -$as_echo "$as_me: WARNING: Debug help API and wxStackWalker won't be available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Debug help API and wxStackWalker won't be available" >&5 +printf "%s\n" "$as_me: WARNING: Debug help API and wxStackWalker won't be available" >&2;} fi fi if test "$wxUSE_DIB" = "yes"; then - $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WXDIB 1" >>confdefs.h fi if test "$wxUSE_INICONF" = "yes"; then - $as_echo "#define wxUSE_INICONF 1" >>confdefs.h + printf "%s\n" "#define wxUSE_INICONF 1" >>confdefs.h fi if test "$wxUSE_REGKEY" = "yes"; then - $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h + printf "%s\n" "#define wxUSE_REGKEY 1" >>confdefs.h fi fi @@ -40064,18 +41430,18 @@ fi if test "$wxUSE_CAIRO" = "yes" -o "$wx_needs_cairo" = 1; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5 -$as_echo_n "checking for CAIRO... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5 +printf %s "checking for CAIRO... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$CAIRO_CFLAGS"; then pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "cairo >= 1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.2" 2>/dev/null` else @@ -40090,10 +41456,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "cairo >= 1.2") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.2" 2>/dev/null` else @@ -40121,21 +41487,21 @@ fi # Put the nasty error message in config.log where it belongs echo "$CAIRO_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } else CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS CAIRO_LIBS=$pkg_cv_CAIRO_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } wx_has_cairo=1 - $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h + printf "%s\n" "#define wxUSE_CAIRO 1" >>confdefs.h if test "$wxUSE_GTK" != 1; then @@ -40149,11 +41515,12 @@ fi if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then wx_has_graphics=0 if test "$wxUSE_MSW" = 1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5 -$as_echo_n "checking if GDI+ is available... " >&6; } -if ${wx_cv_lib_gdiplus+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5 +printf %s "checking if GDI+ is available... " >&6; } +if test ${wx_cv_lib_gdiplus+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -40166,7 +41533,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include #include int -main () +main (void) { using namespace Gdiplus; @@ -40175,13 +41542,14 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_lib_gdiplus=yes -else +else $as_nop wx_cv_lib_gdiplus=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40191,17 +41559,18 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5 -$as_echo "$wx_cv_lib_gdiplus" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5 +printf "%s\n" "$wx_cv_lib_gdiplus" >&6; } if test "$wx_cv_lib_gdiplus" = "yes"; then wx_has_graphics=1 fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Direct2D is available" >&5 -$as_echo_n "checking if Direct2D is available... " >&6; } -if ${wx_cv_lib_direct2d+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Direct2D is available" >&5 +printf %s "checking if Direct2D is available... " >&6; } +if test ${wx_cv_lib_direct2d+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -40216,7 +41585,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { ID2D1Factory* factory = NULL; @@ -40225,13 +41594,14 @@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : wx_cv_lib_direct2d=yes -else +else $as_nop wx_cv_lib_direct2d=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40241,10 +41611,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_direct2d" >&5 -$as_echo "$wx_cv_lib_direct2d" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_direct2d" >&5 +printf "%s\n" "$wx_cv_lib_direct2d" >&6; } if test "$wx_cv_lib_direct2d" = "yes"; then - $as_echo "#define wxUSE_GRAPHICS_DIRECT2D 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GRAPHICS_DIRECT2D 1" >>confdefs.h fi elif test "$wx_needs_cairo_for_gc" = 1; then @@ -40254,11 +41624,11 @@ $as_echo "$wx_cv_lib_direct2d" >&6; } fi if test "$wx_has_graphics" = 1; then - $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5 -$as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5 +printf "%s\n" "$as_me: WARNING: wxGraphicsContext won't be available" >&2;} fi fi @@ -40277,18 +41647,18 @@ if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 -$as_echo_n "checking for GST... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 +printf %s "checking for GST... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GST_CFLAGS"; then pkg_cv_GST_CFLAGS="$GST_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-video-\$GST_VERSION gstreamer-player-\$GST_VERSION >= 1.7.2.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-video-\$GST_VERSION gstreamer-player-\$GST_VERSION >= 1.7.2.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1" 2>/dev/null` else @@ -40303,10 +41673,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GST_LIBS="$GST_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-video-\$GST_VERSION gstreamer-player-\$GST_VERSION >= 1.7.2.1\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-video-\$GST_VERSION gstreamer-player-\$GST_VERSION >= 1.7.2.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1" 2>/dev/null` else @@ -40335,24 +41705,24 @@ fi echo "$GST_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: GStreamer 1.7.2+ not available. Not using GstPlayer and falling back to 1.0" >&5 -$as_echo "$as_me: GStreamer 1.7.2+ not available. Not using GstPlayer and falling back to 1.0" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: GStreamer 1.7.2+ not available. Not using GstPlayer and falling back to 1.0" >&5 +printf "%s\n" "$as_me: GStreamer 1.7.2+ not available. Not using GstPlayer and falling back to 1.0" >&6;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: GStreamer 1.7.2+ not available. Not using GstPlayer and falling back to 1.0" >&5 -$as_echo "$as_me: GStreamer 1.7.2+ not available. Not using GstPlayer and falling back to 1.0" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: GStreamer 1.7.2+ not available. Not using GstPlayer and falling back to 1.0" >&5 +printf "%s\n" "$as_me: GStreamer 1.7.2+ not available. Not using GstPlayer and falling back to 1.0" >&6;} else GST_CFLAGS=$pkg_cv_GST_CFLAGS GST_LIBS=$pkg_cv_GST_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } wxUSE_GSTREAMER="yes" - $as_echo "#define wxUSE_GSTREAMER_PLAYER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GSTREAMER_PLAYER 1" >>confdefs.h fi @@ -40360,18 +41730,18 @@ fi if test $wxUSE_GSTREAMER = "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 -$as_echo_n "checking for GST... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 +printf %s "checking for GST... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GST_CFLAGS"; then pkg_cv_GST_CFLAGS="$GST_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-video-\$GST_VERSION\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-video-\$GST_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION" 2>/dev/null` else @@ -40386,10 +41756,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GST_LIBS="$GST_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-video-\$GST_VERSION\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-video-\$GST_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION" 2>/dev/null` else @@ -40418,8 +41788,8 @@ fi echo "$GST_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 1.0 not available, falling back to 0.10" >&5 -$as_echo "$as_me: WARNING: GStreamer 1.0 not available, falling back to 0.10" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 1.0 not available, falling back to 0.10" >&5 +printf "%s\n" "$as_me: WARNING: GStreamer 1.0 not available, falling back to 0.10" >&2;} GST_VERSION_MAJOR=0 GST_VERSION_MINOR=10 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR @@ -40427,8 +41797,8 @@ $as_echo "$as_me: WARNING: GStreamer 1.0 not available, falling back to 0.10" >& elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 1.0 not available, falling back to 0.10" >&5 -$as_echo "$as_me: WARNING: GStreamer 1.0 not available, falling back to 0.10" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 1.0 not available, falling back to 0.10" >&5 +printf "%s\n" "$as_me: WARNING: GStreamer 1.0 not available, falling back to 0.10" >&2;} GST_VERSION_MAJOR=0 GST_VERSION_MINOR=10 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR @@ -40437,8 +41807,8 @@ $as_echo "$as_me: WARNING: GStreamer 1.0 not available, falling back to 0.10" >& else GST_CFLAGS=$pkg_cv_GST_CFLAGS GST_LIBS=$pkg_cv_GST_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } wxUSE_GSTREAMER="yes" @@ -40448,18 +41818,18 @@ fi if test $GST_VERSION_MINOR = "10"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 -$as_echo_n "checking for GST... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 +printf %s "checking for GST... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GST_CFLAGS"; then pkg_cv_GST_CFLAGS="$GST_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null` else @@ -40474,10 +41844,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GST_LIBS="$GST_LIBS" else if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null` else @@ -40506,21 +41876,21 @@ fi echo "$GST_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available" >&5 -$as_echo "$as_me: WARNING: GStreamer 0.10 not available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available" >&5 +printf "%s\n" "$as_me: WARNING: GStreamer 0.10 not available" >&2;} elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available" >&5 -$as_echo "$as_me: WARNING: GStreamer 0.10 not available" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available" >&5 +printf "%s\n" "$as_me: WARNING: GStreamer 0.10 not available" >&2;} else GST_CFLAGS=$pkg_cv_GST_CFLAGS GST_LIBS=$pkg_cv_GST_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } wxUSE_GSTREAMER="yes" GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION" @@ -40532,7 +41902,7 @@ fi CXXFLAGS="$CXXFLAGS $GST_CFLAGS" EXTRALIBS_MEDIA="$GST_LIBS" - $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h + printf "%s\n" "#define wxUSE_GSTREAMER 1" >>confdefs.h else USE_MEDIA=0 @@ -40543,13 +41913,13 @@ fi if test "$wxUSE_OSX_IPHONE" != 1; then old_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-x objective-c++ $CPPFLAGS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AVKit is available" >&5 -$as_echo_n "checking if AVKit is available... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if AVKit is available" >&5 +printf %s "checking if AVKit is available... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include "AvailabilityMacros.h" int -main () +main (void) { #if defined(MAC_OS_X_VERSION_10_9) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 @@ -40562,29 +41932,30 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - GST_LIBS="$GST_LIBS -weak_framework AVKit"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } +if ac_fn_c_try_compile "$LINENO" +then : + GST_LIBS="$GST_LIBS -weak_framework AVKit"; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } +else $as_nop + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext CPPFLAGS="$old_CPPFLAGS" fi fi if test $USE_MEDIA = 1; then SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer" - $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h + printf "%s\n" "#define wxUSE_MEDIACTRL 1" >>confdefs.h else if test "$wxUSE_MEDIACTRL" = "yes"; then as_fn_error $? "GStreamer not available" "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5 -$as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5 +printf "%s\n" "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;} fi fi fi @@ -40601,9 +41972,7 @@ else wxPREFIX=$ac_default_prefix fi -cat >>confdefs.h <<_ACEOF -#define wxINSTALL_PREFIX "$wxPREFIX" -_ACEOF +printf "%s\n" "#define wxINSTALL_PREFIX \"$wxPREFIX\"" >>confdefs.h @@ -40681,16 +42050,18 @@ if test "$wxUSE_MAC" = 1 ; then if test "$cross_compiling" != "no"; then wx_cv_target_x86_64=no else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5 -$as_echo_n "checking if we target only x86_64... " >&6; } -if ${wx_cv_target_x86_64+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5 +printf %s "checking if we target only x86_64... " >&6; } +if test ${wx_cv_target_x86_64+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main() { return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +if ac_fn_c_try_link "$LINENO" +then : if file conftest$ac_exeext|grep -q 'i386\|ppc'; then wx_cv_target_x86_64=no else @@ -40698,12 +42069,12 @@ if ac_fn_c_try_link "$LINENO"; then : fi fi -rm -f core conftest.err conftest.$ac_objext \ +rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5 -$as_echo "$wx_cv_target_x86_64" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5 +printf "%s\n" "$wx_cv_target_x86_64" >&6; } fi if test "$wx_cv_target_x86_64" != "yes"; then @@ -40760,11 +42131,12 @@ if test "x$INTELCXX" = "xyes" ; then CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259" elif test "$GXX" = yes ; then CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5 -$as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; } -if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5 +printf %s "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; } +if test ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+y} +then : + printf %s "(cached) " >&6 +else $as_nop ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown" ac_ext=cpp @@ -40780,17 +42152,18 @@ do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` /* end confdefs.h. */ int -main () +main (void) { return 0; ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done CXXFLAGS="$ac_save_CXXFLAGS" ac_ext=c @@ -40801,22 +42174,22 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5 -$as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5 +printf "%s\n" "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; } case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in .ok|.ok,*) ;; .|.no|.no,*) ;; *) if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null - then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5 + then { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } - else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5 + else { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" fi @@ -40938,15 +42311,13 @@ if test "x$wxUSE_UNIVERSAL" = "xyes" ; then case "$wxUNIV_THEMES" in ''|all) - $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h + printf "%s\n" "#define wxUSE_ALL_THEMES 1" >>confdefs.h ;; *) for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do - cat >>confdefs.h <<_ACEOF -#define wxUSE_THEME_$t 1 -_ACEOF + printf "%s\n" "#define wxUSE_THEME_$t 1" >>confdefs.h done esac @@ -41056,7 +42427,8 @@ if test "$wxUSE_WINE" = "yes"; then BAKEFILE_FORCE_PLATFORM=win32 fi -# Find a good install program. We prefer a C program (faster), + + # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install @@ -41070,20 +42442,25 @@ fi # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +printf %s "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if ${ac_cv_path_install+:} false; then : - $as_echo_n "(cached) " >&6 -else +if test ${ac_cv_path_install+y} +then : + printf %s "(cached) " >&6 +else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + # Account for fact that we put trailing slashes in our PATH walk. +case $as_dir in #(( + ./ | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; @@ -41093,13 +42470,13 @@ case $as_dir/ in #(( # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else @@ -41107,12 +42484,12 @@ case $as_dir/ in #(( echo one > conftest.one echo two > conftest.two mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" break 3 fi fi @@ -41128,7 +42505,7 @@ IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi - if test "${ac_cv_path_install+set}" = set; then + if test ${ac_cv_path_install+y}; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a @@ -41138,8 +42515,8 @@ fi INSTALL=$ac_install_sh fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +printf "%s\n" "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -41168,11 +42545,12 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_RANLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else @@ -41180,11 +42558,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -41195,11 +42577,11 @@ fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -$as_echo "$RANLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +printf "%s\n" "$RANLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -41208,11 +42590,12 @@ if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_RANLIB+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else @@ -41220,11 +42603,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -41235,11 +42622,11 @@ fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -$as_echo "$ac_ct_RANLIB" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +printf "%s\n" "$ac_ct_RANLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then @@ -41247,8 +42634,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB @@ -41258,25 +42645,26 @@ else fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -$as_echo_n "checking whether ln -s works... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +printf %s "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -$as_echo "no, using $LN_S" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +printf "%s\n" "no, using $LN_S" >&6; } fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : - $as_echo_n "(cached) " >&6 -else +ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval test \${ac_cv_prog_make_${ac_make}_set+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @@ -41292,12 +42680,12 @@ esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } SET_MAKE= else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -41315,11 +42703,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AR+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else @@ -41327,11 +42716,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -41342,11 +42735,11 @@ fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -$as_echo "$AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +printf "%s\n" "$AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -41355,11 +42748,12 @@ if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_AR+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_AR+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else @@ -41367,11 +42761,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -41382,11 +42780,11 @@ fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -$as_echo "$ac_ct_AR" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +printf "%s\n" "$ac_ct_AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_AR" = x; then @@ -41394,8 +42792,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR @@ -41411,11 +42809,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_STRIP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else @@ -41423,11 +42822,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -41438,11 +42841,11 @@ fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -$as_echo "$STRIP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +printf "%s\n" "$STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -41451,11 +42854,12 @@ if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_STRIP+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_STRIP+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else @@ -41463,11 +42867,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -41478,11 +42886,11 @@ fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -$as_echo "$ac_ct_STRIP" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +printf "%s\n" "$ac_ct_STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then @@ -41490,8 +42898,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP @@ -41503,11 +42911,12 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args. set dummy ${ac_tool_prefix}nm; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_NM+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_NM+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$NM"; then ac_cv_prog_NM="$NM" # Let the user override the test. else @@ -41515,11 +42924,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_NM="${ac_tool_prefix}nm" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -41530,11 +42943,11 @@ fi fi NM=$ac_cv_prog_NM if test -n "$NM"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 -$as_echo "$NM" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 +printf "%s\n" "$NM" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -41543,11 +42956,12 @@ if test -z "$ac_cv_prog_NM"; then ac_ct_NM=$NM # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_NM+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_NM+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_NM"; then ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. else @@ -41555,11 +42969,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NM="nm" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -41570,11 +42988,11 @@ fi fi ac_ct_NM=$ac_cv_prog_ac_ct_NM if test -n "$ac_ct_NM"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 -$as_echo "$ac_ct_NM" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 +printf "%s\n" "$ac_ct_NM" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_NM" = x; then @@ -41582,8 +43000,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NM=$ac_ct_NM @@ -41605,11 +43023,12 @@ fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5 -$as_echo_n "checking if make is GNU make... " >&6; } -if ${bakefile_cv_prog_makeisgnu+:} false; then : - $as_echo_n "(cached) " >&6 -else + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5 +printf %s "checking if make is GNU make... " >&6; } +if test ${bakefile_cv_prog_makeisgnu+y} +then : + printf %s "(cached) " >&6 +else $as_nop if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null | grep -sE GNU > /dev/null); then @@ -41619,8 +43038,8 @@ else fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5 -$as_echo "$bakefile_cv_prog_makeisgnu" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5 +printf "%s\n" "$bakefile_cv_prog_makeisgnu" >&6; } if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then IF_GNU_MAKE="" @@ -41830,11 +43249,12 @@ $as_echo "$bakefile_cv_prog_makeisgnu" >&6; } else # Extract the first word of "makeC++SharedLib", so it can be a program name with args. set dummy makeC++SharedLib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AIX_CXX_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_AIX_CXX_LD+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$AIX_CXX_LD"; then ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test. else @@ -41842,11 +43262,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_AIX_CXX_LD="makeC++SharedLib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -41858,11 +43282,11 @@ fi fi AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD if test -n "$AIX_CXX_LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5 -$as_echo "$AIX_CXX_LD" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5 +printf "%s\n" "$AIX_CXX_LD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -41970,51 +43394,52 @@ fi # Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : +if test ${enable_dependency_tracking+y} +then : enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5 -$as_echo_n "checking for dependency tracking method... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5 +printf %s "checking for dependency tracking method... " >&6; } BK_DEPS="" if test "x$bk_use_trackdeps" = "xno" ; then DEPS_TRACKING=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 -$as_echo "disabled" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +printf "%s\n" "disabled" >&6; } else DEPS_TRACKING=1 if test "x$GCC" = "xyes"; then DEPSMODE=gcc DEPSFLAG="-MMD" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5 -$as_echo "gcc" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc" >&5 +printf "%s\n" "gcc" >&6; } elif test "x$SUNCC" = "xyes"; then DEPSMODE=unixcc DEPSFLAG="-xM1" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5 -$as_echo "Sun cc" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5 +printf "%s\n" "Sun cc" >&6; } elif test "x$SGICC" = "xyes"; then DEPSMODE=unixcc DEPSFLAG="-M" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5 -$as_echo "SGI cc" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5 +printf "%s\n" "SGI cc" >&6; } elif test "x$HPCC" = "xyes"; then DEPSMODE=unixcc DEPSFLAG="+make" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5 -$as_echo "HP cc" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5 +printf "%s\n" "HP cc" >&6; } elif test "x$COMPAQCC" = "xyes"; then DEPSMODE=gcc DEPSFLAG="-MD" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5 -$as_echo "Compaq cc" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5 +printf "%s\n" "Compaq cc" >&6; } else DEPS_TRACKING=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -$as_echo "none" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 +printf "%s\n" "none" >&6; } fi if test $DEPS_TRACKING = 1 ; then @@ -42131,11 +43556,12 @@ EOF if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. set dummy ${ac_tool_prefix}windres; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_WINDRES+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_WINDRES+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$WINDRES"; then ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. else @@ -42143,11 +43569,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_WINDRES="${ac_tool_prefix}windres" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -42158,11 +43588,11 @@ fi fi WINDRES=$ac_cv_prog_WINDRES if test -n "$WINDRES"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 -$as_echo "$WINDRES" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 +printf "%s\n" "$WINDRES" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi @@ -42171,11 +43601,12 @@ if test -z "$ac_cv_prog_WINDRES"; then ac_ct_WINDRES=$WINDRES # Extract the first word of "windres", so it can be a program name with args. set dummy windres; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_WINDRES+:} false; then : - $as_echo_n "(cached) " >&6 -else +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +printf %s "checking for $ac_word... " >&6; } +if test ${ac_cv_prog_ac_ct_WINDRES+y} +then : + printf %s "(cached) " >&6 +else $as_nop if test -n "$ac_ct_WINDRES"; then ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. else @@ -42183,11 +43614,15 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_WINDRES="windres" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -42198,11 +43633,11 @@ fi fi ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES if test -n "$ac_ct_WINDRES"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 -$as_echo "$ac_ct_WINDRES" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 +printf "%s\n" "$ac_ct_WINDRES" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi if test "x$ac_ct_WINDRES" = x; then @@ -42210,8 +43645,8 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac WINDRES=$ac_ct_WINDRES @@ -42237,7 +43672,8 @@ BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.13" # Check whether --enable-precomp-headers was given. -if test "${enable_precomp_headers+set}" = set; then : +if test ${enable_precomp_headers+y} +then : enableval=$enable_precomp_headers; bk_use_pch="$enableval" fi @@ -42255,13 +43691,13 @@ fi if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then if test "x$GCC" = "xyes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5 -$as_echo_n "checking if the compiler supports precompiled headers... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5 +printf %s "checking if the compiler supports precompiled headers... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) @@ -42281,17 +43717,18 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } GCC_PCH=1 -else +else $as_nop if test "$INTELCXX8" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ICC_PCH=1 if test "$INTELCXX10" = "yes"; then ICC_PCH_CREATE_SWITCH="-pch-create" @@ -42301,12 +43738,12 @@ $as_echo "yes" >&6; } ICC_PCH_USE_SWITCH="-use-pch" fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } fi fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then USE_PCH=1 @@ -43400,13 +44837,14 @@ SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : - $as_echo_n "(cached) " >&6 -else +ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval test \${ac_cv_prog_make_${ac_make}_set+y} +then : + printf %s "(cached) " >&6 +else $as_nop cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @@ -43422,12 +44860,12 @@ esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } SET_MAKE= else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -43471,11 +44909,11 @@ fi if test "$wxUSE_TESTS_SUBDIR" != "no"; then SUBDIRS="$SUBDIRS tests" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether catch2/catch.hpp exists" >&5 -$as_echo_n "checking whether catch2/catch.hpp exists... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether catch2/catch.hpp exists" >&5 +printf %s "checking whether catch2/catch.hpp exists... " >&6; } if ! test -f "$srcdir/3rdparty/catch/single_include/catch2/catch.hpp" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } as_fn_error $? " CATCH (C++ Automated Test Cases in Headers) is required, the required file $srcdir/3rdparty/catch/single_include/catch2/catch.hpp couldn't be found. @@ -43486,8 +44924,8 @@ $as_echo "no" >&6; } to fix this." "$LINENO" 5 else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } fi fi @@ -43571,8 +45009,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -43602,15 +45040,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -43624,8 +45062,8 @@ $as_echo "$as_me: updating cache $cache_file" >&6;} fi fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -43642,7 +45080,7 @@ U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" @@ -43662,17 +45100,17 @@ LTLIBOBJS=$ac_ltlibobjs subdirs_extra="$subdirs_extra $ax_dir" ax_msg="=== configuring in $ax_dir ($(pwd)/$ax_dir)" - $as_echo "$as_me:${as_lineno-$LINENO}: $ax_msg" >&5 - $as_echo "$ax_msg" >&6 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ax_msg" >&5 + printf "%s\n" "$ax_msg" >&6 as_dir="$ax_dir"; as_fn_mkdir_p ac_builddir=. case "$ax_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ax_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ax_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -43712,8 +45150,8 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix # This should be Cygnus configure. ax_sub_configure=$ac_aux_dir/configure else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ax_dir" >&5 -$as_echo "$as_me: WARNING: no configuration information is in $ax_dir" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ax_dir" >&5 +printf "%s\n" "$as_me: WARNING: no configuration information is in $ax_dir" >&2;} ax_sub_configure= fi @@ -43725,7 +45163,7 @@ $as_echo "$as_me: WARNING: no configuration information is in $ax_dir" >&2;} # in subdir configurations. ax_arg="--prefix=$prefix" case $ax_arg in - *\'*) ax_arg=$($as_echo "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; + *\'*) ax_arg=$(printf "%s\n" "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; esac ax_sub_configure_args="'$ax_arg' $ax_sub_configure_args" if test "$silent" = yes; then @@ -43739,8 +45177,8 @@ $as_echo "$as_me: WARNING: no configuration information is in $ax_dir" >&2;} ax_sub_cache_file=$ac_top_build_prefix$cache_file ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file" >&5 -$as_echo "$as_me: running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file" >&5 +printf "%s\n" "$as_me: running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file" >&6;} eval "\$SHELL \"$ax_sub_configure\" $ax_sub_configure_args --cache-file=\"$ax_sub_cache_file\"" \ || as_fn_error $? "$ax_sub_configure failed for $ax_dir" "$LINENO" 5 fi @@ -43757,17 +45195,17 @@ $as_echo "$as_me: running $SHELL $ax_sub_configure $ax_sub_configure_args --cach subdirs_extra="$subdirs_extra $ax_dir" ax_msg="=== configuring in $ax_dir ($(pwd)/$ax_dir)" - $as_echo "$as_me:${as_lineno-$LINENO}: $ax_msg" >&5 - $as_echo "$ax_msg" >&6 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ax_msg" >&5 + printf "%s\n" "$ax_msg" >&6 as_dir="$ax_dir"; as_fn_mkdir_p ac_builddir=. case "$ax_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ax_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ax_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -43807,8 +45245,8 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix # This should be Cygnus configure. ax_sub_configure=$ac_aux_dir/configure else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ax_dir" >&5 -$as_echo "$as_me: WARNING: no configuration information is in $ax_dir" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ax_dir" >&5 +printf "%s\n" "$as_me: WARNING: no configuration information is in $ax_dir" >&2;} ax_sub_configure= fi @@ -43820,7 +45258,7 @@ $as_echo "$as_me: WARNING: no configuration information is in $ax_dir" >&2;} # in subdir configurations. ax_arg="--prefix=$prefix" case $ax_arg in - *\'*) ax_arg=$($as_echo "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; + *\'*) ax_arg=$(printf "%s\n" "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; esac ax_sub_configure_args="'$ax_arg' $ax_sub_configure_args" if test "$silent" = yes; then @@ -43834,8 +45272,8 @@ $as_echo "$as_me: WARNING: no configuration information is in $ax_dir" >&2;} ax_sub_cache_file=$ac_top_build_prefix$cache_file ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file" >&5 -$as_echo "$as_me: running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file" >&5 +printf "%s\n" "$as_me: running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file" >&6;} eval "\$SHELL \"$ax_sub_configure\" $ax_sub_configure_args --cache-file=\"$ax_sub_cache_file\"" \ || as_fn_error $? "$ax_sub_configure failed for $ax_dir" "$LINENO" 5 fi @@ -43848,8 +45286,8 @@ $as_echo "$as_me: running $SHELL $ax_sub_configure $ax_sub_configure_args --cach ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL @@ -43872,14 +45310,16 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +as_nop=: +if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 +then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST -else +else $as_nop case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -43889,46 +45329,46 @@ esac fi + +# Reset variables that may have inherited troublesome values from +# the environment. + +# IFS needs to be set, to space, tab, and newline, in precisely that order. +# (If _AS_PATH_WALK were called with IFS unset, it would have the +# side effect of setting IFS to empty, thus disabling word splitting.) +# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi +IFS=" "" $as_nl" + +PS1='$ ' +PS2='> ' +PS4='+ ' + +# Ensure predictable behavior from utilities with locale-dependent output. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# We cannot yet rely on "unset" to work, but we need these variables +# to be unset--not just set to an empty or harmless value--now, to +# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct +# also avoids known problems related to "unset" and subshell syntax +# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). +for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH +do eval test \${$as_var+y} \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done + +# Ensure that fds 0, 1, and 2 are open. +if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi +if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then +if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || @@ -43937,13 +45377,6 @@ if test "${PATH_SEPARATOR+set}" != set; then fi -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( @@ -43952,8 +45385,12 @@ case $0 in #(( for as_dir in $PATH do IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + case $as_dir in #((( + '') as_dir=./ ;; + */) ;; + *) as_dir=$as_dir/ ;; + esac + test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS @@ -43965,30 +45402,10 @@ if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] @@ -44001,13 +45418,14 @@ as_fn_error () as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - $as_echo "$as_me: error: $2" >&2 + printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -44034,18 +45452,20 @@ as_fn_unset () { eval $1=; unset $1;} } as_unset=as_fn_unset + # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null +then : eval 'as_fn_append () { eval $1+=\$2 }' -else +else $as_nop as_fn_append () { eval $1=\$$1\$2 @@ -44057,12 +45477,13 @@ fi # as_fn_append # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null +then : eval 'as_fn_arith () { as_val=$(( $* )) }' -else +else $as_nop as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` @@ -44093,7 +45514,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | +printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -44115,6 +45536,10 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits + +# Determine whether it's possible to make 'echo' print without a newline. +# These variables are no longer used directly by Autoconf, but are AC_SUBSTed +# for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) @@ -44128,6 +45553,12 @@ case `echo -n x` in #((((( ECHO_N='-n';; esac +# For backward compatibility with old third-party macros, we provide +# the shell variables $as_echo and $as_echo_n. New code should use +# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. +as_echo='printf %s\n' +as_echo_n='printf %s' + rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file @@ -44169,7 +45600,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -44178,7 +45609,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | +printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -44241,7 +45672,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # values after options handling. ac_log=" This file was extended by wxWidgets $as_me 3.3.0, which was -generated by GNU Autoconf 2.69. Invocation command line was +generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -44303,14 +45734,16 @@ $config_commands Report bugs to ." _ACEOF +ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` +ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ wxWidgets config.status 3.3.0 -configured by $0, generated by GNU Autoconf 2.69, +configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2021 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -44348,15 +45781,15 @@ do -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; + printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; + printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" @@ -44364,7 +45797,7 @@ do --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; @@ -44373,7 +45806,7 @@ do as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; + printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; @@ -44401,7 +45834,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" @@ -44415,7 +45848,7 @@ exec 5>>config.log sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - $as_echo "$ac_log" + printf "%s\n" "$ac_log" } >&5 _ACEOF @@ -44463,9 +45896,9 @@ done # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands + test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files + test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers + test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree @@ -44801,7 +46234,7 @@ do esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done @@ -44809,17 +46242,17 @@ do # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | + ac_sed_conf_input=`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac @@ -44836,7 +46269,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | +printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -44860,9 +46293,9 @@ $as_echo X"$ac_file" | case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -44919,8 +46352,8 @@ ac_sed_dataroot=' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' @@ -44963,9 +46396,9 @@ test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" @@ -44981,27 +46414,27 @@ which seems to be undefined. Please make sure it is defined" >&2;} # if test x"$ac_file" != x-; then { - $as_echo "/* $configure_input */" \ + printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else - $as_echo "/* $configure_input */" \ + printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} + :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +printf "%s\n" "$as_me: executing $ac_file commands" >&6;} ;; esac @@ -45090,7 +46523,7 @@ if test "$no_recursion" != yes; then ;; *) case $ac_arg in - *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append ac_sub_configure_args " '$ac_arg'" ;; esac @@ -45100,7 +46533,7 @@ if test "$no_recursion" != yes; then # in subdir configurations. ac_arg="--prefix=$prefix" case $ac_arg in - *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" @@ -45121,17 +46554,17 @@ if test "$no_recursion" != yes; then test -d "$srcdir/$ac_dir" || continue ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" - $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 - $as_echo "$ac_msg" >&6 + printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 + printf "%s\n" "$ac_msg" >&6 as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -45161,17 +46594,15 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" - # Check for guested configure; otherwise get Cygnus style configure. + # Check for configure.gnu first; this name is used for a wrapper for + # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then ac_sub_configure=$ac_srcdir/configure.gnu elif test -f "$ac_srcdir/configure"; then ac_sub_configure=$ac_srcdir/configure - elif test -f "$ac_srcdir/configure.in"; then - # This should be Cygnus configure. - ac_sub_configure=$ac_aux_dir/configure else - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 -$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 +printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} ac_sub_configure= fi @@ -45184,8 +46615,8 @@ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; esac - { $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 -$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 +printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} # The eval makes quoting arguments work. eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || @@ -45196,8 +46627,8 @@ $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cach done fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi @@ -45240,3 +46671,4 @@ echo " sdl ${wxUSE_LIBSDL}" echo "" + diff --git a/configure.in b/configure.in index 0148cfee9d..376a57b7ec 100644 --- a/configure.in +++ b/configure.in @@ -6846,15 +6846,27 @@ if test "$wxUSE_WEBVIEW" = "yes"; then if test "$wxUSE_GTK" = 1; then if test "$WXGTK3" = 1; then PKG_CHECK_MODULES([WEBKIT], - [webkit2gtk-4.0], + [webkit2gtk-4.1], [ USE_WEBVIEW_WEBKIT2=1 CXXFLAGS="$CXXFLAGS $WEBKIT_CFLAGS" EXTRALIBS_WEBVIEW="$WEBKIT_LIBS" ], [ - AC_MSG_WARN([webkit2gtk not found, falling back to webkitgtk]) + AC_MSG_WARN([webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0]) ]) + if test "$USE_WEBVIEW_WEBKIT2" = 0; then + PKG_CHECK_MODULES([WEBKIT], + [webkit2gtk-4.0], + [ + USE_WEBVIEW_WEBKIT2=1 + CXXFLAGS="$CXXFLAGS $WEBKIT_CFLAGS" + EXTRALIBS_WEBVIEW="$WEBKIT_LIBS" + ], + [ + AC_MSG_WARN([webkit2gtk-4.0 not found, falling back to webkitgtk]) + ]) + fi fi if test "$USE_WEBVIEW_WEBKIT2" = 0; then webkitgtk=webkit-1.0 diff --git a/src/gtk/webview_webkit2.cpp b/src/gtk/webview_webkit2.cpp index 41b4cbe287..a50525dedd 100644 --- a/src/gtk/webview_webkit2.cpp +++ b/src/gtk/webview_webkit2.cpp @@ -252,15 +252,18 @@ wxgtk_webview_webkit_load_failed(WebKitWebView *, { switch (error->code) { +#if SOUP_MAJOR_VERSION < 3 case SOUP_STATUS_CANCELLED: type = wxWEBVIEW_NAV_ERR_USER_CANCELLED; break; case SOUP_STATUS_CANT_RESOLVE: +#endif case SOUP_STATUS_NOT_FOUND: type = wxWEBVIEW_NAV_ERR_NOT_FOUND; break; +#if SOUP_MAJOR_VERSION < 3 case SOUP_STATUS_CANT_RESOLVE_PROXY: case SOUP_STATUS_CANT_CONNECT: case SOUP_STATUS_CANT_CONNECT_PROXY: @@ -272,6 +275,7 @@ wxgtk_webview_webkit_load_failed(WebKitWebView *, case SOUP_STATUS_MALFORMED: type = wxWEBVIEW_NAV_ERR_REQUEST; break; +#endif case SOUP_STATUS_BAD_REQUEST: type = wxWEBVIEW_NAV_ERR_REQUEST;