From c483537968be9ab3327ed752e0a76ba29e34a88f Mon Sep 17 00:00:00 2001 From: sambler Date: Tue, 1 Apr 2025 11:45:54 +1030 Subject: [PATCH 01/14] add freebsd version of GetExecutablePath --- src/unix/stdpaths.cpp | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/src/unix/stdpaths.cpp b/src/unix/stdpaths.cpp index f752842b2ba0..f07dd88382e2 100644 --- a/src/unix/stdpaths.cpp +++ b/src/unix/stdpaths.cpp @@ -37,6 +37,15 @@ #include #endif +#if defined(__FreeBSD__) + // for GetExecutablePath + #include + #include + #include + #include + #include +#endif + // ============================================================================ // common VMS/Unix part of wxStandardPaths implementation // ============================================================================ @@ -167,6 +176,37 @@ wxString wxStandardPaths::GetExecutablePath() const if ( !exeStr.empty() ) return exeStr; +#elif defined(__FreeBSD__) + struct procstat *ps = nullptr; + struct kinfo_proc *procs = nullptr; + char pathname[PATH_MAX]; + + do { + unsigned int n_proc; + + ps = procstat_open_sysctl(); + if (ps == nullptr) + break; + + procs = procstat_getprocs(ps, KERN_PROC_PID, getpid(), &n_proc); + if (procs == nullptr) + break; + + if (n_proc != 1) + break; + + procstat_getpathname(ps, procs, pathname, sizeof(pathname)); + } while (false); + + if (procs) + procstat_freeprocs(ps, procs); + + if (ps) + procstat_close(ps); + + wxString exeStr(pathname); + if (!exeStr.empty()) + return exeStr; #endif // __LINUX__ return wxStandardPathsBase::GetExecutablePath(); From 9cd38628fd7588187dd706404b806682841505b4 Mon Sep 17 00:00:00 2001 From: sambler Date: Wed, 2 Apr 2025 20:39:22 +1030 Subject: [PATCH 02/14] adjust configure.ac to test if functions available for procstat_* calls add lib to wx-config --libs output and define wxHAS_PROCSTAT in cxxflags --- configure.ac | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/configure.ac b/configure.ac index b56ca8212c1c..3f6d03d92142 100644 --- a/configure.ac +++ b/configure.ac @@ -200,6 +200,7 @@ case "${host}" in AC_DEFINE(__FREEBSD__) AC_DEFINE(__BSD__) DEFAULT_DEFAULT_wxUSE_GTK=1 + wxUSE_PROCSTAT=yes ;; *-*-openbsd*|*-*-mirbsd*) USE_BSD=1 @@ -3424,6 +3425,24 @@ if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then fi fi +dnl --------------------------------------------------------------------------- +dnl libprocstat on FreeBSD +dnl --------------------------------------------------------------------------- + +if test "$wxUSE_PROCSTAT" = "yes"; then + case "${host}" in + *-*-freebsd*) + AC_MSG_CHECKING([for libprocstat]) + AC_CHECK_LIB(procstat, procstat_getpathname, [ + PROCSTAT_LINK=" -lprocstat" + PROCSTAT_FOUND=1 + ]) + if test "$PROCSTAT_FOUND"; then + AC_DEFINE(wxHAS_PROCSTAT, 1) + fi + ;; + esac +fi dnl the symbol which allows conditional compilation for the given toolkit if test -n "$TOOLKIT" ; then @@ -7732,6 +7751,11 @@ case "$wxUSE_ZLIB" in ;; esac +if test "$wxUSE_PROCSTAT" = "yes"; then + WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxHAS_PROCSTAT=1" + WXCONFIG_LIBS="$PROCSTAT_LINK $WXCONFIG_LIBS" +fi + for i in $wxconfig_3rdparty ; do WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS" done From 7ce9d3aacedcd18a51d1b9a74154ce7b7130e362 Mon Sep 17 00:00:00 2001 From: sambler Date: Wed, 2 Apr 2025 20:42:38 +1030 Subject: [PATCH 03/14] use neater approach to steps taken use wxON_BLOCK_EXIT to cleanup allocated structs test for wxHAS_PROCSTAT being defined through configure steps --- src/unix/stdpaths.cpp | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/src/unix/stdpaths.cpp b/src/unix/stdpaths.cpp index f07dd88382e2..28bd00d14059 100644 --- a/src/unix/stdpaths.cpp +++ b/src/unix/stdpaths.cpp @@ -31,6 +31,7 @@ #include "wx/filename.h" #include "wx/log.h" +#include "wx/scopeguard.h" #include "wx/textfile.h" #if defined( __LINUX__ ) || defined( __VMS ) @@ -176,33 +177,24 @@ wxString wxStandardPaths::GetExecutablePath() const if ( !exeStr.empty() ) return exeStr; -#elif defined(__FreeBSD__) - struct procstat *ps = nullptr; - struct kinfo_proc *procs = nullptr; +#elif defined(__FreeBSD__) && wxHAS_PROCSTAT + unsigned int n_proc; char pathname[PATH_MAX]; - do { - unsigned int n_proc; + auto *ps = procstat_open_sysctl(); + if (!ps) + return wxStandardPathsBase::GetExecutablePath(); - ps = procstat_open_sysctl(); - if (ps == nullptr) - break; - - procs = procstat_getprocs(ps, KERN_PROC_PID, getpid(), &n_proc); - if (procs == nullptr) - break; - - if (n_proc != 1) - break; - - procstat_getpathname(ps, procs, pathname, sizeof(pathname)); - } while (false); + auto *procs = procstat_getprocs(ps, KERN_PROC_PID, getpid(), &n_proc); + if (!procs || n_proc != 1) + return wxStandardPathsBase::GetExecutablePath(); - if (procs) - procstat_freeprocs(ps, procs); + // procstat_freeprocs should be called before procstat_close + wxON_BLOCK_EXIT2(procstat_freeprocs, ps, procs); + wxON_BLOCK_EXIT1(procstat_close, ps); - if (ps) - procstat_close(ps); + if (procstat_getpathname(ps, procs, pathname, sizeof(pathname)) != 0) + return wxStandardPathsBase::GetExecutablePath(); wxString exeStr(pathname); if (!exeStr.empty()) From bd8e534a05f49b7d7a09393f182de466395a0c28 Mon Sep 17 00:00:00 2001 From: sambler Date: Wed, 2 Apr 2025 21:13:40 +1030 Subject: [PATCH 04/14] add search path for system library --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3f6d03d92142..3204ecffcc91 100644 --- a/configure.ac +++ b/configure.ac @@ -3434,7 +3434,7 @@ if test "$wxUSE_PROCSTAT" = "yes"; then *-*-freebsd*) AC_MSG_CHECKING([for libprocstat]) AC_CHECK_LIB(procstat, procstat_getpathname, [ - PROCSTAT_LINK=" -lprocstat" + PROCSTAT_LINK=" -L/usr/lib -lprocstat" PROCSTAT_FOUND=1 ]) if test "$PROCSTAT_FOUND"; then From fd823a93d75d142652cf1c882a649f575b747ed5 Mon Sep 17 00:00:00 2001 From: sambler Date: Wed, 2 Apr 2025 21:16:39 +1030 Subject: [PATCH 05/14] first attempt at building with cmake not complete yet --- build/cmake/build.cfg.in | 1 + build/cmake/build_cfg.cmake | 1 + build/cmake/lib/CMakeLists.txt | 13 +++++++++++++ build/cmake/setup.h.in | 5 +++++ setup.h.in | 6 ++++++ 5 files changed, 26 insertions(+) diff --git a/build/cmake/build.cfg.in b/build/cmake/build.cfg.in index a12f83598146..55b584b2f96f 100644 --- a/build/cmake/build.cfg.in +++ b/build/cmake/build.cfg.in @@ -22,6 +22,7 @@ USE_GUI=@wxUSE_GUI_bf@ USE_HTML=@wxUSE_HTML_bf@ USE_MEDIA=@wxUSE_MEDIA_bf@ USE_OPENGL=@wxUSE_OPENGL_bf@ +USE_PROCSTAT=@wxUSE_PROCSTAT_bf@ USE_QA=@wxUSE_DEBUGREPORT_bf@ USE_PROPGRID=@wxUSE_PROPGRID_bf@ USE_RIBBON=@wxUSE_RIBBON_bf@ diff --git a/build/cmake/build_cfg.cmake b/build/cmake/build_cfg.cmake index dbe7932d41a9..a32c76708875 100644 --- a/build/cmake/build_cfg.cmake +++ b/build/cmake/build_cfg.cmake @@ -25,6 +25,7 @@ wx_buildfile_var(wxUSE_GUI) wx_buildfile_var(wxUSE_HTML) wx_buildfile_var(wxUSE_MEDIACTRL) wx_buildfile_var(wxUSE_OPENGL) +wx_buildfile_var(wxUSE_PROCSTAT) wx_buildfile_var(wxUSE_DEBUGREPORT) wx_buildfile_var(wxUSE_PROPGRID) wx_buildfile_var(wxUSE_RIBBON) diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt index 04d830d7debd..722f1ed38d25 100644 --- a/build/cmake/lib/CMakeLists.txt +++ b/build/cmake/lib/CMakeLists.txt @@ -67,6 +67,19 @@ if(wxUSE_GUI) add_opt_lib(webview_chromium wxUSE_WEBVIEW wxUSE_WEBVIEW_CHROMIUM) endif() # wxUSE_GUI +if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") + find_library(PROCSTAT_LIBRARY + NAMES procstat + HINTS "/usr/lib" + ) + if (${PROCSTAT_LIBRARY}) + set(wxUSE_PROCSTAT 1) + add_opt_lib(procstat wxUSE_PROCSTAT) + target_link_libraries(procstat PRIVATE ${wxMONO_LIBS_${vis}}) + target_compile_definitions(wxHAS_PROCSTAT 1) + endif() +endif() + # Include XML library last # In the monolithic build, where all target properties (include dirs) from different targets are concatenated, # wxml might include system expat, which might use Mono, which has it's own copy of png. diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in index ac5e29276f5a..4e08cd927e60 100644 --- a/build/cmake/setup.h.in +++ b/build/cmake/setup.h.in @@ -621,6 +621,11 @@ */ #cmakedefine01 wxUSE_XTEST +/* + On FreeBSD use libprocstat to get executable path name. +*/ +#cmakedefine01 wxHAS_PROCSTAT + /* --- start MSW options --- */ diff --git a/setup.h.in b/setup.h.in index d09cb2788479..52747dab4372 100644 --- a/setup.h.in +++ b/setup.h.in @@ -624,6 +624,12 @@ */ #define wxUSE_XTEST 0 +/* + On FreeBSD use libprocstat to get executable path name. +*/ +#define wxHAS_PROCSTAT 0 + + /* --- start MSW options --- */ From 263a398236d2dd85a68b8fdfc66ff8de8990e3c8 Mon Sep 17 00:00:00 2001 From: sambler Date: Thu, 3 Apr 2025 09:53:03 +1030 Subject: [PATCH 06/14] remove use of wxUSE_PROCSTAT remove define in cxxflags rearrange placement of wxON_BLOCK_EXIT --- configure.ac | 30 ++++++++++++------------------ src/unix/stdpaths.cpp | 8 +++----- 2 files changed, 15 insertions(+), 23 deletions(-) diff --git a/configure.ac b/configure.ac index 3204ecffcc91..06500956bcfc 100644 --- a/configure.ac +++ b/configure.ac @@ -200,7 +200,6 @@ case "${host}" in AC_DEFINE(__FREEBSD__) AC_DEFINE(__BSD__) DEFAULT_DEFAULT_wxUSE_GTK=1 - wxUSE_PROCSTAT=yes ;; *-*-openbsd*|*-*-mirbsd*) USE_BSD=1 @@ -3429,20 +3428,15 @@ dnl --------------------------------------------------------------------------- dnl libprocstat on FreeBSD dnl --------------------------------------------------------------------------- -if test "$wxUSE_PROCSTAT" = "yes"; then - case "${host}" in - *-*-freebsd*) - AC_MSG_CHECKING([for libprocstat]) - AC_CHECK_LIB(procstat, procstat_getpathname, [ - PROCSTAT_LINK=" -L/usr/lib -lprocstat" - PROCSTAT_FOUND=1 - ]) - if test "$PROCSTAT_FOUND"; then - AC_DEFINE(wxHAS_PROCSTAT, 1) - fi - ;; - esac -fi +case "${host}" in + *-*-freebsd*) + AC_MSG_CHECKING([for libprocstat]) + AC_CHECK_LIB(procstat, procstat_getpathname, [ + PROCSTAT_LINK=" -L/usr/lib -lprocstat" + PROCSTAT_FOUND=1 + ]) + ;; +esac dnl the symbol which allows conditional compilation for the given toolkit if test -n "$TOOLKIT" ; then @@ -7751,10 +7745,10 @@ case "$wxUSE_ZLIB" in ;; esac -if test "$wxUSE_PROCSTAT" = "yes"; then - WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxHAS_PROCSTAT=1" +case "${host}" in + *-*-freebsd*) WXCONFIG_LIBS="$PROCSTAT_LINK $WXCONFIG_LIBS" -fi +esac for i in $wxconfig_3rdparty ; do WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS" diff --git a/src/unix/stdpaths.cpp b/src/unix/stdpaths.cpp index 28bd00d14059..3bd1fc3d1ca2 100644 --- a/src/unix/stdpaths.cpp +++ b/src/unix/stdpaths.cpp @@ -38,7 +38,7 @@ #include #endif -#if defined(__FreeBSD__) +#ifdef wxHAS_PROCSTAT // for GetExecutablePath #include #include @@ -177,21 +177,19 @@ wxString wxStandardPaths::GetExecutablePath() const if ( !exeStr.empty() ) return exeStr; -#elif defined(__FreeBSD__) && wxHAS_PROCSTAT +#elif defined(wxHAS_PROCSTAT) unsigned int n_proc; char pathname[PATH_MAX]; auto *ps = procstat_open_sysctl(); if (!ps) return wxStandardPathsBase::GetExecutablePath(); + wxON_BLOCK_EXIT1(procstat_close, ps); auto *procs = procstat_getprocs(ps, KERN_PROC_PID, getpid(), &n_proc); if (!procs || n_proc != 1) return wxStandardPathsBase::GetExecutablePath(); - - // procstat_freeprocs should be called before procstat_close wxON_BLOCK_EXIT2(procstat_freeprocs, ps, procs); - wxON_BLOCK_EXIT1(procstat_close, ps); if (procstat_getpathname(ps, procs, pathname, sizeof(pathname)) != 0) return wxStandardPathsBase::GetExecutablePath(); From be8aedb27431604428c5181cb76ffa39ab16e490 Mon Sep 17 00:00:00 2001 From: sambler Date: Thu, 3 Apr 2025 09:55:01 +1030 Subject: [PATCH 07/14] add generated configure --- configure | 18960 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 10800 insertions(+), 8160 deletions(-) diff --git a/configure b/configure index 1e36d28e128f..f523b5467c34 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.72 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-2023 Free Software Foundation, +# Inc. # # # This configure script is free software; the Free Software Foundation @@ -16,63 +17,65 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +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 - case `(set -o) 2>/dev/null` in #( +else case e in #( + e) case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; +esac ;; 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,43 +92,27 @@ 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 ;; esac -# We did not find ourselves, most probably we were run as `sh COMMAND' +# We did not find ourselves, most probably we were run as 'sh COMMAND' # in which case we are not to be found in the path. 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. @@ -153,26 +133,28 @@ case $- in # (((( 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 +# out after a failed 'exec'. +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="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 - case \`(set -o) 2>/dev/null\` in #( +else case e in #( + e) case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; +esac ;; esac fi " @@ -187,42 +169,55 @@ 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 - exitcode=1; echo positional parameters were not saved. +else case e in #( + e) exitcode=1; echo positional parameters were not saved. ;; +esac 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 - as_have_required=no +else case e in #( + e) as_have_required=no ;; +esac 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 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +else case e in #( + e) 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 +225,22 @@ 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 case e in #( + e) 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 ;; +esac +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 @@ -254,26 +257,28 @@ case $- in # (((( 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 +# out after a failed 'exec'. +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 $0: under such a shell if you do have one." fi exit 1 -fi +fi ;; +esac fi fi SHELL=${CONFIG_SHELL-/bin/sh} @@ -294,6 +299,7 @@ as_fn_unset () } as_unset=as_fn_unset + # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -325,7 +331,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 +340,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,16 +379,18 @@ 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 - as_fn_append () +else case e in #( + e) as_fn_append () { eval $1=\$$1\$2 - } + } ;; +esac fi # as_fn_append # as_fn_arith ARG... @@ -390,16 +398,18 @@ 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 - as_fn_arith () +else case e in #( + e) as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` - } + } ;; +esac fi # as_fn_arith @@ -413,9 +423,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 +452,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 @@ -475,6 +485,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits /[$]LINENO/= ' <$as_myself | sed ' + t clear + :clear s/[$]LINENO.*/&-/ t lineno b @@ -486,7 +498,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 +512,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 +529,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 @@ -524,9 +546,9 @@ if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. + # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. + # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then @@ -551,10 +573,12 @@ as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" +as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" +as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated # Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" +as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" +as_tr_sh="eval sed '$as_sed_sh'" # deprecated test -n "$DJDIR" || exec 7<&0 /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" @@ -1586,9 +1600,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" @@ -1799,9 +1813,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" @@ -1815,9 +1829,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" @@ -1845,8 +1859,8 @@ do | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; - -*) as_fn_error $? "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information" + -*) as_fn_error $? "unrecognized option: '$ac_option' +Try '$0 --help' for more information" ;; *=*) @@ -1854,16 +1868,16 @@ Try \`$0 --help' for more information" # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + as_fn_error $? "invalid variable name: '$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # 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}" ;; @@ -1879,7 +1893,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 @@ -1904,7 +1918,7 @@ do as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done -# There might be people who depend on the old broken behavior: `$host' +# There might be people who depend on the old broken behavior: '$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias @@ -1943,7 +1957,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 @@ -1972,7 +1986,7 @@ if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` @@ -2000,7 +2014,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures wxWidgets 3.3.0 to adapt to many kinds of systems. +'configure' configures wxWidgets 3.3.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -2014,11 +2028,11 @@ Configuration: --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking ...' messages + -q, --quiet, --silent do not print 'checking ...' messages --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' + -C, --config-cache alias for '--cache-file=config.cache' -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] + --srcdir=DIR find the sources in DIR [configure dir or '..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX @@ -2026,10 +2040,10 @@ Installation directories: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. +By default, 'make install' will install all the files in +'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify +an installation prefix other than '$ac_default_prefix' using '--prefix', +for instance '--prefix=\$HOME'. For better control, use the options below. @@ -2405,7 +2419,6 @@ Some influential environment variables: LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory - CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags PKG_CONFIG path to pkg-config utility @@ -2436,6 +2449,7 @@ Some influential environment variables: DIRECTFB_LIBS linker flags for DIRECTFB, overriding pkg-config XMKMF Path to xmkmf, Makefile generator for X Window System + CPP C preprocessor PANGOXFT_CFLAGS C compiler flags for PANGOXFT, overriding pkg-config PANGOXFT_LIBS @@ -2507,7 +2521,7 @@ Some influential environment variables: GST_CFLAGS C compiler flags for GST, overriding pkg-config GST_LIBS linker flags for GST, overriding pkg-config -Use these variables to override the choices made by `configure' or to help +Use these variables to override the choices made by 'configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . @@ -2526,9 +2540,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/ ;; @@ -2556,7 +2570,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 @@ -2564,7 +2579,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 @@ -2574,9 +2589,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.72 -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2023 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -2593,14 +2608,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 @@ -2608,59 +2623,24 @@ $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 case e in #( + e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 -fi - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - as_fn_set_status $ac_retval - -} # ac_fn_c_try_compile - -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; + ac_retval=1 ;; esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$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 : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval -} # ac_fn_c_try_cpp +} # ac_fn_c_try_compile # ac_fn_cxx_try_compile LINENO # ---------------------------- @@ -2668,14 +2648,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 @@ -2683,17 +2663,19 @@ $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 case e in #( + e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 + ac_retval=1 ;; +esac fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval @@ -2706,14 +2688,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 @@ -2721,20 +2703,22 @@ $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 case e in #( + e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 + ac_retval=1 ;; +esac fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would @@ -2752,14 +2736,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 @@ -2767,20 +2751,22 @@ $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 case e in #( + e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 - ac_retval=1 + ac_retval=1 ;; +esac fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would @@ -2799,34 +2785,73 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) 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 - eval "$3=no" +else case e in #( + e) eval "$3=no" ;; +esac 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 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 case e in #( + e) 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 case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +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 @@ -2836,28 +2861,30 @@ 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 case e in #( + e) 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 + ac_retval=$ac_status ;; +esac fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno @@ -2865,37 +2892,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 @@ -2910,7 +2906,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; @@ -2920,14 +2916,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; @@ -2937,24 +2934,26 @@ 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 - as_fn_arith $ac_mid + 1 && ac_lo=$as_val +else case e in #( + e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi - as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;; +esac 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) 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; @@ -2964,14 +2963,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; @@ -2981,24 +2981,28 @@ 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 - as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val +else case e in #( + e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi - as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;; +esac 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 - ac_lo= ac_hi= +else case e in #( + e) ac_lo= ac_hi= ;; +esac 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 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 @@ -3006,7 +3010,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; @@ -3016,12 +3020,14 @@ 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 - as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val +else case e in #( + e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;; +esac 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 ;; @@ -3031,12 +3037,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"); @@ -3064,10 +3070,12 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #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 (void); below. */ +#include #undef $2 /* Override any GCC internal prototype to avoid an error. @@ -3115,7 +3117,7 @@ else #ifdef __cplusplus extern "C" #endif -char $2 (); +char $2 (void); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ @@ -3124,24 +3126,27 @@ 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 - eval "$3=no" +else case e in #( + e) eval "$3=no" ;; +esac fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext ;; +esac 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 @@ -3153,17 +3158,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 - eval "$3=no" + { 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 case e in #( + e) eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main () +main (void) { if (sizeof ($2)) return 0; @@ -3171,12 +3177,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; @@ -3184,117 +3191,68 @@ if (sizeof (($2))) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : -else - eval "$3=yes" +else case e in #( + e) eval "$3=yes" ;; +esac 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 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 () +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () { 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; } + if { { ac_try="$ac_cpp conftest.$ac_ext" +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\"" +printf "%s\n" "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + 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 : + ac_retval=0 +else case e in #( + e) printf "%s\n" "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# 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 - ;; + ac_retval=1 ;; 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 + as_fn_set_status $ac_retval -} # ac_fn_c_check_header_mongrel +} # ac_fn_c_try_cpp # 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 @@ -3304,42 +3262,64 @@ 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 case e in #( + e) 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 + ac_retval=$ac_status ;; +esac fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 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.72. Invocation command line was - $ $0 $@ + $ $0$ac_configure_args_raw _ACEOF exec 5>>config.log @@ -3372,8 +3352,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 @@ -3408,7 +3392,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'" ;; @@ -3443,11 +3427,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 @@ -3458,8 +3444,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) ;; #( @@ -3483,7 +3469,7 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ) echo - $as_echo "## ----------------- ## + printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo @@ -3491,14 +3477,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 @@ -3506,15 +3492,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 @@ -3522,8 +3508,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 && @@ -3537,65 +3523,50 @@ 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; } +See 'config.log' for more details" "$LINENO" 5; } fi done @@ -3603,19 +3574,668 @@ 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 (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; +} + +/* C89 style stringification. */ +#define noexpand_stringify(a) #a +const char *stringified = noexpand_stringify(arbitrary+token=sequence); + +/* C89 style token pasting. Exercises some of the corner cases that + e.g. old MSVC gets wrong, but not very hard. */ +#define noexpand_concat(a,b) a##b +#define expand_concat(a,b) noexpand_concat(a,b) +extern int vA; +extern int vbee; +#define aye A +#define bee B +int *pvA = &expand_concat(v,aye); +int *pvbee = &noexpand_concat(v,bee); + +/* 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 + +// See if C++-style comments work. + +#include +extern int puts (const char *); +extern int printf (const char *, ...); +extern int dprintf (int, const char *, ...); +extern void *malloc (size_t); +extern void free (void *); + +// 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) +{ + // 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; + // Work around memory leak warnings. + free (ia); + + // 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 case e in #( + e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; +esac +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 @@ -3626,12 +4246,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=: ;; ,);; *) @@ -3640,24 +4260,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 @@ -3667,11 +4287,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. ## @@ -3687,55 +4308,31 @@ 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 + # 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 - ac_build_alias=$build_alias +{ 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 case e in #( + e) 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 + ;; +esac 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;; @@ -3754,21 +4351,23 @@ 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 - if test "x$host_alias" = x; then +{ 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 case e in #( + e) 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 - + ;; +esac 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;; @@ -3870,14 +4469,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 ;; @@ -3888,15 +4487,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 ;; @@ -3904,11 +4503,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 @@ -3917,38 +4516,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 @@ -3957,23 +4556,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 ;; @@ -3981,11 +4580,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 ;; @@ -3994,7 +4593,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 ;; @@ -4006,31 +4605,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 @@ -4081,7 +4680,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' @@ -4089,10 +4689,11 @@ if test "${enable_gui+set}" = set; then : wx_cv_use_gui='wxUSE_GUI=no' fi -else - +else case e in #( + e) wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}" - + ;; +esac fi @@ -4110,7 +4711,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' @@ -4118,10 +4720,11 @@ if test "${enable_monolithic+set}" = set; then : wx_cv_use_monolithic='wxUSE_MONOLITHIC=no' fi -else - +else case e in #( + e) wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}" - + ;; +esac fi @@ -4139,7 +4742,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' @@ -4147,10 +4751,11 @@ if test "${enable_plugins+set}" = set; then : wx_cv_use_plugins='wxUSE_PLUGINS=no' fi -else - +else case e in #( + e) wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}" - + ;; +esac fi @@ -4168,7 +4773,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' @@ -4176,10 +4782,11 @@ if test "${with_subdirs+set}" = set; then : wx_cv_use_subdirs='wxWITH_SUBDIRS=no' fi -else - +else case e in #( + e) wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}" - + ;; +esac fi @@ -4187,7 +4794,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 @@ -4203,7 +4811,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' @@ -4211,17 +4820,19 @@ if test "${enable_official_build+set}" = set; then : wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no' fi -else - +else case e in #( + e) wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}" - + ;; +esac 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 @@ -4241,7 +4852,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' @@ -4249,10 +4861,11 @@ if test "${enable_all_features+set}" = set; then : wx_cv_use_all_features='wxUSE_ALL_FEATURES=no' fi -else - +else case e in #( + e) wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}" - + ;; +esac fi @@ -4270,7 +4883,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' @@ -4278,10 +4892,11 @@ if test "${enable_sys_libs+set}" = set; then : wx_cv_use_sys_libs='wxUSE_SYS_LIBS=no' fi -else - +else case e in #( + e) wx_cv_use_sys_libs='wxUSE_SYS_LIBS=${'DEFAULT_wxUSE_SYS_LIBS":-$defaultval}" - + ;; +esac fi @@ -4299,7 +4914,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' @@ -4307,10 +4923,11 @@ if test "${enable_tests+set}" = set; then : wx_cv_use_tests='wxUSE_TESTS_SUBDIR=no' fi -else - +else case e in #( + e) wx_cv_use_tests='wxUSE_TESTS_SUBDIR=${'DEFAULT_wxUSE_TESTS_SUBDIR":-$defaultval}" - + ;; +esac fi @@ -4324,7 +4941,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 @@ -4344,7 +4962,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' @@ -4352,10 +4971,11 @@ if test "${enable_universal+set}" = set; then : wx_cv_use_universal='wxUSE_UNIVERSAL=no' fi -else - +else case e in #( + e) wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}" - + ;; +esac fi @@ -4364,7 +4984,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 @@ -4372,14 +4993,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 @@ -4392,7 +5015,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 @@ -4405,7 +5029,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 @@ -4418,7 +5043,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 @@ -4431,7 +5057,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 @@ -4444,7 +5071,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 @@ -4457,7 +5085,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 @@ -4470,7 +5099,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 @@ -4483,7 +5113,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 @@ -4496,7 +5127,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 @@ -4509,7 +5141,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 @@ -4531,7 +5164,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' @@ -4539,10 +5173,11 @@ if test "${enable_nanox+set}" = set; then : wx_cv_use_nanox='wxUSE_NANOX=no' fi -else - +else case e in #( + e) wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}" - + ;; +esac fi @@ -4550,8 +5185,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; } @@ -4613,17 +5248,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 @@ -4637,7 +5272,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' @@ -4651,8 +5287,8 @@ 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 case e in #( + e) if test "DEFAULT_wxUSE_LIBPNG" = no; then value=no elif test "$wxUSE_ALL_FEATURES" = no; then @@ -4664,7 +5300,8 @@ else fi wx_cv_use_libpng="wxUSE_LIBPNG=$value" - + ;; +esac fi @@ -4673,7 +5310,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' @@ -4687,8 +5325,8 @@ 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 case e in #( + e) if test "DEFAULT_wxUSE_LIBJPEG" = no; then value=no elif test "$wxUSE_ALL_FEATURES" = no; then @@ -4700,7 +5338,8 @@ else fi wx_cv_use_libjpeg="wxUSE_LIBJPEG=$value" - + ;; +esac fi @@ -4709,7 +5348,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' @@ -4723,8 +5363,8 @@ 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 case e in #( + e) if test "DEFAULT_wxUSE_LIBTIFF" = no; then value=no elif test "$wxUSE_ALL_FEATURES" = no; then @@ -4736,7 +5376,8 @@ else fi wx_cv_use_libtiff="wxUSE_LIBTIFF=$value" - + ;; +esac fi @@ -4758,7 +5399,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' @@ -4766,10 +5408,11 @@ if test "${with_libjbig+set}" = set; then : wx_cv_use_libjbig='wxUSE_LIBJBIG=no' fi -else - +else case e in #( + e) wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}" - + ;; +esac fi @@ -4780,7 +5423,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' @@ -4794,8 +5438,8 @@ 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 case e in #( + e) if test "DEFAULT_wxUSE_LIBXPM" = no; then value=no elif test "$wxUSE_ALL_FEATURES" = no; then @@ -4807,7 +5451,8 @@ else fi wx_cv_use_libxpm="wxUSE_LIBXPM=$value" - + ;; +esac fi @@ -4825,7 +5470,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' @@ -4833,10 +5479,11 @@ if test "${with_libiconv+set}" = set; then : wx_cv_use_libiconv='wxUSE_LIBICONV=no' fi -else - +else case e in #( + e) wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}" - + ;; +esac fi @@ -4854,7 +5501,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' @@ -4862,10 +5510,11 @@ if test "${with_libmspack+set}" = set; then : wx_cv_use_libmspack='wxUSE_LIBMSPACK=no' fi -else - +else case e in #( + e) wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}" - + ;; +esac fi @@ -4883,7 +5532,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' @@ -4891,10 +5541,11 @@ if test "${with_gtkprint+set}" = set; then : wx_cv_use_gtkprint='wxUSE_GTKPRINT=no' fi -else - +else case e in #( + e) wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}" - + ;; +esac fi @@ -4912,7 +5563,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' @@ -4920,10 +5572,11 @@ if test "${with_gnomevfs+set}" = set; then : wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no' fi -else - +else case e in #( + e) wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}" - + ;; +esac fi @@ -4941,7 +5594,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' @@ -4949,10 +5603,11 @@ if test "${with_libnotify+set}" = set; then : wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no' fi -else - +else case e in #( + e) wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}" - + ;; +esac fi @@ -4970,7 +5625,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' @@ -4978,10 +5634,11 @@ if test "${with_opengl+set}" = set; then : wx_cv_use_opengl='wxUSE_OPENGL=no' fi -else - +else case e in #( + e) wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}" - + ;; +esac fi @@ -4999,7 +5656,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' @@ -5007,10 +5665,11 @@ if test "${with_xtest+set}" = set; then : wx_cv_use_xtest='wxUSE_XTEST=no' fi -else - +else case e in #( + e) wx_cv_use_xtest='wxUSE_XTEST=${'DEFAULT_wxUSE_XTEST":-$defaultval}" - + ;; +esac fi @@ -5028,7 +5687,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' @@ -5036,10 +5696,11 @@ if test "${with_nanosvg+set}" = set; then : wx_cv_use_nanosvg='wxUSE_NANOSVG=no' fi -else - +else case e in #( + e) wx_cv_use_nanosvg='wxUSE_NANOSVG=${'DEFAULT_wxUSE_NANOSVG":-$defaultval}" - + ;; +esac fi @@ -5063,7 +5724,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' @@ -5071,10 +5733,11 @@ if test "${with_cairo+set}" = set; then : wx_cv_use_cairo='wxUSE_CAIRO=no' fi -else - +else case e in #( + e) wx_cv_use_cairo='wxUSE_CAIRO=${'DEFAULT_wxUSE_CAIRO":-$defaultval}" - + ;; +esac fi @@ -5096,7 +5759,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' @@ -5104,10 +5768,11 @@ if test "${with_dmalloc+set}" = set; then : wx_cv_use_dmalloc='wxUSE_DMALLOC=no' fi -else - +else case e in #( + e) wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}" - + ;; +esac fi @@ -5125,7 +5790,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' @@ -5133,10 +5799,11 @@ if test "${with_sdl+set}" = set; then : wx_cv_use_sdl='wxUSE_LIBSDL=no' fi -else - +else case e in #( + e) wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}" - + ;; +esac fi @@ -5145,7 +5812,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' @@ -5159,8 +5827,8 @@ 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 case e in #( + e) if test "DEFAULT_wxUSE_REGEX" = no; then value=no elif test "$wxUSE_ALL_FEATURES" = no; then @@ -5172,7 +5840,8 @@ else fi wx_cv_use_regex="wxUSE_REGEX=$value" - + ;; +esac fi @@ -5190,7 +5859,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' @@ -5198,10 +5868,11 @@ if test "${with_liblzma+set}" = set; then : wx_cv_use_liblzma='wxUSE_LIBLZMA=no' fi -else - +else case e in #( + e) wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}" - + ;; +esac fi @@ -5210,7 +5881,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' @@ -5224,8 +5896,8 @@ 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 case e in #( + e) if test "DEFAULT_wxUSE_ZLIB" = no; then value=no elif test "$wxUSE_ALL_FEATURES" = no; then @@ -5237,7 +5909,8 @@ else fi wx_cv_use_zlib="wxUSE_ZLIB=$value" - + ;; +esac fi @@ -5246,7 +5919,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' @@ -5260,8 +5934,8 @@ 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 case e in #( + e) if test "DEFAULT_wxUSE_EXPAT" = no; then value=no elif test "$wxUSE_ALL_FEATURES" = no; then @@ -5273,7 +5947,8 @@ else fi wx_cv_use_expat="wxUSE_EXPAT=$value" - + ;; +esac fi @@ -5292,7 +5967,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' @@ -5300,10 +5976,11 @@ if test "${with_libcurl+set}" = set; then : wx_cv_use_libcurl='wxUSE_LIBCURL=no' fi -else - +else case e in #( + e) wx_cv_use_libcurl='wxUSE_LIBCURL=${'DEFAULT_wxUSE_LIBCURL":-$defaultval}" - + ;; +esac fi @@ -5321,7 +5998,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' @@ -5329,10 +6007,11 @@ if test "${with_winhttp+set}" = set; then : wx_cv_use_winhttp='wxUSE_WINHTTP=no' fi -else - +else case e in #( + e) wx_cv_use_winhttp='wxUSE_WINHTTP=${'DEFAULT_wxUSE_WINHTTP":-$defaultval}" - + ;; +esac fi @@ -5351,7 +6030,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' @@ -5359,10 +6039,11 @@ if test "${with_urlsession+set}" = set; then : wx_cv_use_urlsession='wxUSE_URLSESSION=no' fi -else - +else case e in #( + e) wx_cv_use_urlsession='wxUSE_URLSESSION=${'DEFAULT_wxUSE_URLSESSION":-$defaultval}" - + ;; +esac fi @@ -5374,7 +6055,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" @@ -5384,7 +6066,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" @@ -5395,7 +6078,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 @@ -5408,9 +6092,10 @@ if test "${enable_debug+set}" = set; then : as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5 fi -else - wxUSE_DEBUG=default - +else case e in #( + e) wxUSE_DEBUG=default + ;; +esac fi @@ -5445,7 +6130,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' @@ -5453,10 +6139,11 @@ if test "${enable_debug_flag+set}" = set; then : wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no' fi -else - +else case e in #( + e) wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}" - + ;; +esac fi @@ -5474,7 +6161,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' @@ -5482,10 +6170,11 @@ if test "${enable_debug_info+set}" = set; then : wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no' fi -else - +else case e in #( + e) wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}" - + ;; +esac fi @@ -5505,7 +6194,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' @@ -5513,10 +6203,11 @@ if test "${enable_debug_gdb+set}" = set; then : wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no' fi -else - +else case e in #( + e) wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}" - + ;; +esac fi @@ -5536,7 +6227,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' @@ -5544,23 +6236,26 @@ if test "${enable_shared+set}" = set; then : wx_cv_use_shared='wxUSE_SHARED=no' fi -else - +else case e in #( + e) wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}" - + ;; +esac 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 @@ -5576,7 +6271,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' @@ -5584,10 +6280,11 @@ if test "${enable_stl+set}" = set; then : wx_cv_use_stl='wxUSE_STL=no' fi -else - +else case e in #( + e) wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}" - + ;; +esac fi @@ -5605,7 +6302,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' @@ -5613,10 +6311,11 @@ if test "${enable_std_containers+set}" = set; then : wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no' fi -else - +else case e in #( + e) wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}" - + ;; +esac fi @@ -5634,7 +6333,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' @@ -5642,10 +6342,11 @@ if test "${enable_std_iostreams+set}" = set; then : wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no' fi -else - +else case e in #( + e) wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}" - + ;; +esac fi @@ -5663,7 +6364,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' @@ -5671,10 +6373,11 @@ 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 case e in #( + e) wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}" - + ;; +esac fi @@ -5692,7 +6395,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' @@ -5700,10 +6404,11 @@ 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 case e in #( + e) wx_cv_use_unsafe_conv_in_wxstring='wxUSE_UNSAFE_WXSTRING_CONV=${'DEFAULT_wxUSE_UNSAFE_WXSTRING_CONV":-$defaultval}" - + ;; +esac fi @@ -5712,14 +6417,16 @@ 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 case e in #( + e) wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8 - + ;; +esac fi @@ -5737,7 +6444,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' @@ -5745,10 +6453,11 @@ if test "${enable_utf8only+set}" = set; then : wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no' fi -else - +else case e in #( + e) wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}" - + ;; +esac fi @@ -5766,7 +6475,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' @@ -5774,10 +6484,11 @@ if test "${enable_extended_rtti+set}" = set; then : wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no' fi -else - +else case e in #( + e) wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}" - + ;; +esac fi @@ -5796,7 +6507,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' @@ -5804,10 +6516,11 @@ if test "${enable_optimise+set}" = set; then : wx_cv_use_optimise='wxUSE_OPTIMISE=no' fi -else - +else case e in #( + e) wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}" - + ;; +esac fi @@ -5826,7 +6539,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' @@ -5834,10 +6548,11 @@ if test "${enable_profile+set}" = set; then : wx_cv_use_profile='wxUSE_PROFILE=no' fi -else - +else case e in #( + e) wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}" - + ;; +esac fi @@ -5855,7 +6570,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' @@ -5863,10 +6579,11 @@ if test "${enable_pic+set}" = set; then : wx_cv_use_pic='wxUSE_PIC=no' fi -else - +else case e in #( + e) wx_cv_use_pic='wxUSE_PIC=${'DEFAULT_wxUSE_PIC":-$defaultval}" - + ;; +esac fi @@ -5884,7 +6601,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' @@ -5892,10 +6610,11 @@ if test "${enable_no_rtti+set}" = set; then : wx_cv_use_no_rtti='wxUSE_NO_RTTI=no' fi -else - +else case e in #( + e) wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}" - + ;; +esac fi @@ -5913,7 +6632,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' @@ -5921,10 +6641,11 @@ if test "${enable_no_exceptions+set}" = set; then : wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no' fi -else - +else case e in #( + e) wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}" - + ;; +esac fi @@ -5942,7 +6663,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' @@ -5950,10 +6672,11 @@ if test "${enable_permissive+set}" = set; then : wx_cv_use_permissive='wxUSE_PERMISSIVE=no' fi -else - +else case e in #( + e) wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}" - + ;; +esac fi @@ -5971,7 +6694,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' @@ -5979,10 +6703,11 @@ if test "${enable_vararg_macros+set}" = set; then : wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no' fi -else - +else case e in #( + e) wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}" - + ;; +esac fi @@ -5993,14 +6718,16 @@ 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 case e in #( + e) wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY - + ;; +esac fi @@ -6009,14 +6736,16 @@ 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 case e in #( + e) wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH - + ;; +esac fi @@ -6035,7 +6764,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' @@ -6043,10 +6773,11 @@ if test "${enable_compat30+set}" = set; then : wx_cv_use_compat30='WXWIN_COMPATIBILITY_3_0=no' fi -else - +else case e in #( + e) wx_cv_use_compat30='WXWIN_COMPATIBILITY_3_0=${'DEFAULT_WXWIN_COMPATIBILITY_3_0":-$defaultval}" - + ;; +esac fi @@ -6064,7 +6795,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' @@ -6072,10 +6804,11 @@ if test "${enable_compat32+set}" = set; then : wx_cv_use_compat32='WXWIN_COMPATIBILITY_3_2=no' fi -else - +else case e in #( + e) wx_cv_use_compat32='WXWIN_COMPATIBILITY_3_2=${'DEFAULT_WXWIN_COMPATIBILITY_3_2":-$defaultval}" - + ;; +esac fi @@ -6094,7 +6827,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' @@ -6102,10 +6836,11 @@ if test "${enable_rpath+set}" = set; then : wx_cv_use_rpath='wxUSE_RPATH=no' fi -else - +else case e in #( + e) wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}" - + ;; +esac fi @@ -6124,7 +6859,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' @@ -6132,10 +6868,11 @@ if test "${enable_visibility+set}" = set; then : wx_cv_use_visibility='wxUSE_VISIBILITY=no' fi -else - +else case e in #( + e) wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}" - + ;; +esac fi @@ -6154,7 +6891,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' @@ -6162,10 +6900,11 @@ if test "${enable_repro_build+set}" = set; then : wx_cv_use_repro_build='wxUSE_REPRODUCIBLE_BUILD=no' fi -else - +else case e in #( + e) wx_cv_use_repro_build='wxUSE_REPRODUCIBLE_BUILD=${'DEFAULT_wxUSE_REPRODUCIBLE_BUILD":-$defaultval}" - + ;; +esac fi @@ -6183,7 +6922,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' @@ -6191,10 +6931,11 @@ if test "${enable_pch+set}" = set; then : wx_cv_use_pch='wxUSE_PCH=no' fi -else - +else case e in #( + e) wx_cv_use_pch='wxUSE_PCH=${'DEFAULT_wxUSE_PCH":-$defaultval}" - + ;; +esac fi @@ -6214,7 +6955,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' @@ -6222,10 +6964,11 @@ if test "${enable_intl+set}" = set; then : wx_cv_use_intl='wxUSE_INTL=no' fi -else - +else case e in #( + e) wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}" - + ;; +esac fi @@ -6243,7 +6986,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' @@ -6251,10 +6995,11 @@ if test "${enable_xlocale+set}" = set; then : wx_cv_use_xlocale='wxUSE_XLOCALE=no' fi -else - +else case e in #( + e) wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}" - + ;; +esac fi @@ -6272,7 +7017,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' @@ -6280,10 +7026,11 @@ if test "${enable_config+set}" = set; then : wx_cv_use_config='wxUSE_CONFIG=no' fi -else - +else case e in #( + e) wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}" - + ;; +esac fi @@ -6302,7 +7049,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' @@ -6310,10 +7058,11 @@ if test "${enable_protocols+set}" = set; then : wx_cv_use_protocols='wxUSE_PROTOCOL=no' fi -else - +else case e in #( + e) wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}" - + ;; +esac fi @@ -6331,7 +7080,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' @@ -6339,10 +7089,11 @@ if test "${enable_ftp+set}" = set; then : wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no' fi -else - +else case e in #( + e) wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}" - + ;; +esac fi @@ -6360,7 +7111,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' @@ -6368,10 +7120,11 @@ if test "${enable_http+set}" = set; then : wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no' fi -else - +else case e in #( + e) wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}" - + ;; +esac fi @@ -6389,7 +7142,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' @@ -6397,10 +7151,11 @@ if test "${enable_fileproto+set}" = set; then : wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no' fi -else - +else case e in #( + e) wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}" - + ;; +esac fi @@ -6418,7 +7173,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' @@ -6426,10 +7182,11 @@ if test "${enable_sockets+set}" = set; then : wx_cv_use_sockets='wxUSE_SOCKETS=no' fi -else - +else case e in #( + e) wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}" - + ;; +esac fi @@ -6447,7 +7204,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' @@ -6455,10 +7213,11 @@ if test "${enable_ipv6+set}" = set; then : wx_cv_use_ipv6='wxUSE_IPV6=no' fi -else - +else case e in #( + e) wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}" - + ;; +esac fi @@ -6476,7 +7235,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' @@ -6484,10 +7244,11 @@ if test "${enable_ole+set}" = set; then : wx_cv_use_ole='wxUSE_OLE=no' fi -else - +else case e in #( + e) wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}" - + ;; +esac fi @@ -6505,7 +7266,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' @@ -6513,10 +7275,11 @@ if test "${enable_dataobj+set}" = set; then : wx_cv_use_dataobj='wxUSE_DATAOBJ=no' fi -else - +else case e in #( + e) wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}" - + ;; +esac fi @@ -6534,7 +7297,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' @@ -6542,10 +7306,11 @@ if test "${enable_webrequest+set}" = set; then : wx_cv_use_webrequest='wxUSE_WEBREQUEST=no' fi -else - +else case e in #( + e) wx_cv_use_webrequest='wxUSE_WEBREQUEST=${'DEFAULT_wxUSE_WEBREQUEST":-$defaultval}" - + ;; +esac fi @@ -6564,7 +7329,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' @@ -6572,10 +7338,11 @@ if test "${enable_ipc+set}" = set; then : wx_cv_use_ipc='wxUSE_IPC=no' fi -else - +else case e in #( + e) wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}" - + ;; +esac fi @@ -6594,7 +7361,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' @@ -6602,10 +7370,11 @@ if test "${enable_baseevtloop+set}" = set; then : wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no' fi -else - +else case e in #( + e) wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}" - + ;; +esac fi @@ -6623,7 +7392,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' @@ -6631,10 +7401,11 @@ if test "${enable_epollloop+set}" = set; then : wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no' fi -else - +else case e in #( + e) wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}" - + ;; +esac fi @@ -6652,7 +7423,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' @@ -6660,10 +7432,11 @@ if test "${enable_selectloop+set}" = set; then : wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no' fi -else - +else case e in #( + e) wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}" - + ;; +esac fi @@ -6682,7 +7455,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' @@ -6690,10 +7464,11 @@ if test "${enable_any+set}" = set; then : wx_cv_use_any='wxUSE_ANY=no' fi -else - +else case e in #( + e) wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}" - + ;; +esac fi @@ -6711,7 +7486,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' @@ -6719,10 +7495,11 @@ if test "${enable_apple_ieee+set}" = set; then : wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no' fi -else - +else case e in #( + e) wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}" - + ;; +esac fi @@ -6740,7 +7517,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' @@ -6748,10 +7526,11 @@ if test "${enable_arcstream+set}" = set; then : wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no' fi -else - +else case e in #( + e) wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}" - + ;; +esac fi @@ -6769,7 +7548,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' @@ -6777,10 +7557,11 @@ if test "${enable_base64+set}" = set; then : wx_cv_use_base64='wxUSE_BASE64=no' fi -else - +else case e in #( + e) wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}" - + ;; +esac fi @@ -6798,7 +7579,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' @@ -6806,10 +7588,11 @@ if test "${enable_backtrace+set}" = set; then : wx_cv_use_backtrace='wxUSE_STACKWALKER=no' fi -else - +else case e in #( + e) wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}" - + ;; +esac fi @@ -6827,7 +7610,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' @@ -6835,10 +7619,11 @@ if test "${enable_catch_segvs+set}" = set; then : wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no' fi -else - +else case e in #( + e) wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}" - + ;; +esac fi @@ -6856,7 +7641,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' @@ -6864,10 +7650,11 @@ if test "${enable_cmdline+set}" = set; then : wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no' fi -else - +else case e in #( + e) wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}" - + ;; +esac fi @@ -6885,7 +7672,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' @@ -6893,10 +7681,11 @@ if test "${enable_datetime+set}" = set; then : wx_cv_use_datetime='wxUSE_DATETIME=no' fi -else - +else case e in #( + e) wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}" - + ;; +esac fi @@ -6914,7 +7703,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' @@ -6922,10 +7712,11 @@ if test "${enable_debugreport+set}" = set; then : wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no' fi -else - +else case e in #( + e) wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}" - + ;; +esac fi @@ -6943,7 +7734,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' @@ -6951,10 +7743,11 @@ if test "${enable_dialupman+set}" = set; then : wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no' fi -else - +else case e in #( + e) wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}" - + ;; +esac fi @@ -6972,7 +7765,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' @@ -6980,10 +7774,11 @@ if test "${enable_dynlib+set}" = set; then : wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no' fi -else - +else case e in #( + e) wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}" - + ;; +esac fi @@ -7001,7 +7796,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' @@ -7009,10 +7805,11 @@ if test "${enable_dynamicloader+set}" = set; then : wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no' fi -else - +else case e in #( + e) wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}" - + ;; +esac fi @@ -7030,7 +7827,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' @@ -7038,10 +7836,11 @@ if test "${enable_exceptions+set}" = set; then : wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no' fi -else - +else case e in #( + e) wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}" - + ;; +esac fi @@ -7059,7 +7858,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' @@ -7067,10 +7867,11 @@ if test "${enable_ffile+set}" = set; then : wx_cv_use_ffile='wxUSE_FFILE=no' fi -else - +else case e in #( + e) wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}" - + ;; +esac fi @@ -7088,7 +7889,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' @@ -7096,10 +7898,11 @@ if test "${enable_file+set}" = set; then : wx_cv_use_file='wxUSE_FILE=no' fi -else - +else case e in #( + e) wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}" - + ;; +esac fi @@ -7117,7 +7920,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' @@ -7125,10 +7929,11 @@ if test "${enable_filehistory+set}" = set; then : wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no' fi -else - +else case e in #( + e) wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}" - + ;; +esac fi @@ -7146,7 +7951,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' @@ -7154,10 +7960,11 @@ if test "${enable_filesystem+set}" = set; then : wx_cv_use_filesystem='wxUSE_FILESYSTEM=no' fi -else - +else case e in #( + e) wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}" - + ;; +esac fi @@ -7175,7 +7982,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' @@ -7183,10 +7991,11 @@ if test "${enable_fontenum+set}" = set; then : wx_cv_use_fontenum='wxUSE_FONTENUM=no' fi -else - +else case e in #( + e) wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}" - + ;; +esac fi @@ -7204,7 +8013,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' @@ -7212,10 +8022,11 @@ if test "${enable_fontmap+set}" = set; then : wx_cv_use_fontmap='wxUSE_FONTMAP=no' fi -else - +else case e in #( + e) wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}" - + ;; +esac fi @@ -7233,7 +8044,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' @@ -7241,10 +8053,11 @@ if test "${enable_fs_archive+set}" = set; then : wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no' fi -else - +else case e in #( + e) wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}" - + ;; +esac fi @@ -7262,7 +8075,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' @@ -7270,10 +8084,11 @@ if test "${enable_fs_inet+set}" = set; then : wx_cv_use_fs_inet='wxUSE_FS_INET=no' fi -else - +else case e in #( + e) wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}" - + ;; +esac fi @@ -7291,7 +8106,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' @@ -7299,10 +8115,11 @@ if test "${enable_fs_zip+set}" = set; then : wx_cv_use_fs_zip='wxUSE_FS_ZIP=no' fi -else - +else case e in #( + e) wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}" - + ;; +esac fi @@ -7320,7 +8137,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' @@ -7328,10 +8146,11 @@ if test "${enable_fsvolume+set}" = set; then : wx_cv_use_fsvolume='wxUSE_FSVOLUME=no' fi -else - +else case e in #( + e) wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}" - + ;; +esac fi @@ -7349,7 +8168,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' @@ -7357,10 +8177,11 @@ if test "${enable_fswatcher+set}" = set; then : wx_cv_use_fswatcher='wxUSE_FSWATCHER=no' fi -else - +else case e in #( + e) wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}" - + ;; +esac fi @@ -7378,7 +8199,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' @@ -7386,10 +8208,11 @@ if test "${enable_geometry+set}" = set; then : wx_cv_use_geometry='wxUSE_GEOMETRY=no' fi -else - +else case e in #( + e) wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}" - + ;; +esac fi @@ -7407,7 +8230,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' @@ -7415,10 +8239,11 @@ if test "${enable_log+set}" = set; then : wx_cv_use_log='wxUSE_LOG=no' fi -else - +else case e in #( + e) wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}" - + ;; +esac fi @@ -7436,7 +8261,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' @@ -7444,10 +8270,11 @@ if test "${enable_mimetype+set}" = set; then : wx_cv_use_mimetype='wxUSE_MIMETYPE=no' fi -else - +else case e in #( + e) wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}" - + ;; +esac fi @@ -7465,7 +8292,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' @@ -7473,10 +8301,11 @@ if test "${enable_printfposparam+set}" = set; then : wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no' fi -else - +else case e in #( + e) wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}" - + ;; +esac fi @@ -7494,7 +8323,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' @@ -7502,10 +8332,11 @@ if test "${enable_secretstore+set}" = set; then : wx_cv_use_secretstore='wxUSE_SECRETSTORE=no' fi -else - +else case e in #( + e) wx_cv_use_secretstore='wxUSE_SECRETSTORE=${'DEFAULT_wxUSE_SECRETSTORE":-$defaultval}" - + ;; +esac fi @@ -7523,7 +8354,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' @@ -7531,10 +8363,11 @@ if test "${enable_snglinst+set}" = set; then : wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no' fi -else - +else case e in #( + e) wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}" - + ;; +esac fi @@ -7552,7 +8385,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' @@ -7560,10 +8394,11 @@ if test "${enable_sound+set}" = set; then : wx_cv_use_sound='wxUSE_SOUND=no' fi -else - +else case e in #( + e) wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}" - + ;; +esac fi @@ -7581,7 +8416,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' @@ -7589,10 +8425,11 @@ if test "${enable_spellcheck+set}" = set; then : wx_cv_use_spellcheck='wxUSE_SPELLCHECK=no' fi -else - +else case e in #( + e) wx_cv_use_spellcheck='wxUSE_SPELLCHECK=${'DEFAULT_wxUSE_SPELLCHECK":-$defaultval}" - + ;; +esac fi @@ -7610,7 +8447,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' @@ -7618,10 +8456,11 @@ if test "${enable_stdpaths+set}" = set; then : wx_cv_use_stdpaths='wxUSE_STDPATHS=no' fi -else - +else case e in #( + e) wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}" - + ;; +esac fi @@ -7639,7 +8478,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' @@ -7647,10 +8487,11 @@ if test "${enable_stopwatch+set}" = set; then : wx_cv_use_stopwatch='wxUSE_STOPWATCH=no' fi -else - +else case e in #( + e) wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}" - + ;; +esac fi @@ -7668,7 +8509,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' @@ -7676,10 +8518,11 @@ if test "${enable_streams+set}" = set; then : wx_cv_use_streams='wxUSE_STREAMS=no' fi -else - +else case e in #( + e) wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}" - + ;; +esac fi @@ -7697,7 +8540,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' @@ -7705,10 +8549,11 @@ if test "${enable_sysoptions+set}" = set; then : wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no' fi -else - +else case e in #( + e) wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}" - + ;; +esac fi @@ -7726,7 +8571,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' @@ -7734,10 +8580,11 @@ if test "${enable_tarstream+set}" = set; then : wx_cv_use_tarstream='wxUSE_TARSTREAM=no' fi -else - +else case e in #( + e) wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}" - + ;; +esac fi @@ -7755,7 +8602,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' @@ -7763,10 +8611,11 @@ if test "${enable_textbuf+set}" = set; then : wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no' fi -else - +else case e in #( + e) wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}" - + ;; +esac fi @@ -7784,7 +8633,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' @@ -7792,10 +8642,11 @@ if test "${enable_textfile+set}" = set; then : wx_cv_use_textfile='wxUSE_TEXTFILE=no' fi -else - +else case e in #( + e) wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}" - + ;; +esac fi @@ -7813,7 +8664,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' @@ -7821,10 +8673,11 @@ if test "${enable_timer+set}" = set; then : wx_cv_use_timer='wxUSE_TIMER=no' fi -else - +else case e in #( + e) wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}" - + ;; +esac fi @@ -7842,7 +8695,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' @@ -7850,10 +8704,11 @@ if test "${enable_variant+set}" = set; then : wx_cv_use_variant='wxUSE_VARIANT=no' fi -else - +else case e in #( + e) wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}" - + ;; +esac fi @@ -7871,7 +8726,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' @@ -7879,10 +8735,11 @@ if test "${enable_zipstream+set}" = set; then : wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no' fi -else - +else case e in #( + e) wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}" - + ;; +esac fi @@ -7901,7 +8758,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' @@ -7909,10 +8767,11 @@ if test "${enable_url+set}" = set; then : wx_cv_use_url='wxUSE_URL=no' fi -else - +else case e in #( + e) wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}" - + ;; +esac fi @@ -7930,7 +8789,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' @@ -7938,10 +8798,11 @@ if test "${enable_protocol+set}" = set; then : wx_cv_use_protocol='wxUSE_PROTOCOL=no' fi -else - +else case e in #( + e) wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}" - + ;; +esac fi @@ -7959,7 +8820,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' @@ -7967,10 +8829,11 @@ if test "${enable_protocol_http+set}" = set; then : wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no' fi -else - +else case e in #( + e) wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}" - + ;; +esac fi @@ -7988,7 +8851,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' @@ -7996,10 +8860,11 @@ if test "${enable_protocol_ftp+set}" = set; then : wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no' fi -else - +else case e in #( + e) wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}" - + ;; +esac fi @@ -8017,7 +8882,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' @@ -8025,10 +8891,11 @@ if test "${enable_protocol_file+set}" = set; then : wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no' fi -else - +else case e in #( + e) wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}" - + ;; +esac fi @@ -8047,7 +8914,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' @@ -8055,10 +8923,11 @@ if test "${enable_threads+set}" = set; then : wx_cv_use_threads='wxUSE_THREADS=no' fi -else - +else case e in #( + e) wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}" - + ;; +esac fi @@ -8078,7 +8947,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' @@ -8086,10 +8956,11 @@ if test "${enable_dbghelp+set}" = set; then : wx_cv_use_dbghelp='wxUSE_DBGHELP=no' fi -else - +else case e in #( + e) wx_cv_use_dbghelp='wxUSE_DBGHELP=${'DEFAULT_wxUSE_DBGHELP":-$defaultval}" - + ;; +esac fi @@ -8107,7 +8978,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' @@ -8115,10 +8987,11 @@ if test "${enable_iniconf+set}" = set; then : wx_cv_use_iniconf='wxUSE_INICONF=no' fi -else - +else case e in #( + e) wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}" - + ;; +esac fi @@ -8138,7 +9011,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' @@ -8146,10 +9020,11 @@ if test "${enable_regkey+set}" = set; then : wx_cv_use_regkey='wxUSE_REGKEY=no' fi -else - +else case e in #( + e) wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}" - + ;; +esac fi @@ -8171,7 +9046,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' @@ -8179,10 +9055,11 @@ if test "${enable_docview+set}" = set; then : wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no' fi -else - +else case e in #( + e) wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}" - + ;; +esac fi @@ -8200,7 +9077,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' @@ -8208,10 +9086,11 @@ if test "${enable_help+set}" = set; then : wx_cv_use_help='wxUSE_HELP=no' fi -else - +else case e in #( + e) wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}" - + ;; +esac fi @@ -8229,7 +9108,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' @@ -8237,10 +9117,11 @@ if test "${enable_mshtmlhelp+set}" = set; then : wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no' fi -else - +else case e in #( + e) wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}" - + ;; +esac fi @@ -8258,7 +9139,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' @@ -8266,10 +9148,11 @@ if test "${enable_html+set}" = set; then : wx_cv_use_html='wxUSE_HTML=no' fi -else - +else case e in #( + e) wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}" - + ;; +esac fi @@ -8287,7 +9170,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' @@ -8295,10 +9179,11 @@ if test "${enable_htmlhelp+set}" = set; then : wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no' fi -else - +else case e in #( + e) wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}" - + ;; +esac fi @@ -8316,7 +9201,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' @@ -8324,10 +9210,11 @@ if test "${enable_xrc+set}" = set; then : wx_cv_use_xrc='wxUSE_XRC=no' fi -else - +else case e in #( + e) wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}" - + ;; +esac fi @@ -8345,7 +9232,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' @@ -8353,10 +9241,11 @@ if test "${enable_aui+set}" = set; then : wx_cv_use_aui='wxUSE_AUI=no' fi -else - +else case e in #( + e) wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}" - + ;; +esac fi @@ -8374,7 +9263,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' @@ -8382,10 +9272,11 @@ if test "${enable_propgrid+set}" = set; then : wx_cv_use_propgrid='wxUSE_PROPGRID=no' fi -else - +else case e in #( + e) wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}" - + ;; +esac fi @@ -8403,7 +9294,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' @@ -8411,10 +9303,11 @@ if test "${enable_ribbon+set}" = set; then : wx_cv_use_ribbon='wxUSE_RIBBON=no' fi -else - +else case e in #( + e) wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}" - + ;; +esac fi @@ -8432,7 +9325,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' @@ -8440,10 +9334,11 @@ if test "${enable_stc+set}" = set; then : wx_cv_use_stc='wxUSE_STC=no' fi -else - +else case e in #( + e) wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}" - + ;; +esac fi @@ -8461,7 +9356,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' @@ -8469,10 +9365,11 @@ if test "${enable_constraints+set}" = set; then : wx_cv_use_constraints='wxUSE_CONSTRAINTS=no' fi -else - +else case e in #( + e) wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}" - + ;; +esac fi @@ -8490,7 +9387,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' @@ -8498,10 +9396,11 @@ if test "${enable_loggui+set}" = set; then : wx_cv_use_loggui='wxUSE_LOGGUI=no' fi -else - +else case e in #( + e) wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}" - + ;; +esac fi @@ -8519,7 +9418,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' @@ -8527,10 +9427,11 @@ if test "${enable_logwin+set}" = set; then : wx_cv_use_logwin='wxUSE_LOGWINDOW=no' fi -else - +else case e in #( + e) wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}" - + ;; +esac fi @@ -8548,7 +9449,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' @@ -8556,10 +9458,11 @@ if test "${enable_logdialog+set}" = set; then : wx_cv_use_logdialog='wxUSE_LOGDIALOG=no' fi -else - +else case e in #( + e) wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}" - + ;; +esac fi @@ -8577,7 +9480,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' @@ -8585,10 +9489,11 @@ if test "${enable_mdi+set}" = set; then : wx_cv_use_mdi='wxUSE_MDI=no' fi -else - +else case e in #( + e) wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}" - + ;; +esac fi @@ -8606,7 +9511,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' @@ -8614,10 +9520,11 @@ if test "${enable_mdidoc+set}" = set; then : wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no' fi -else - +else case e in #( + e) wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}" - + ;; +esac fi @@ -8635,7 +9542,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' @@ -8643,10 +9551,11 @@ if test "${enable_mediactrl+set}" = set; then : wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no' fi -else - +else case e in #( + e) wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}" - + ;; +esac fi @@ -8664,7 +9573,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' @@ -8672,10 +9582,11 @@ if test "${enable_richtext+set}" = set; then : wx_cv_use_richtext='wxUSE_RICHTEXT=no' fi -else - +else case e in #( + e) wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}" - + ;; +esac fi @@ -8693,7 +9604,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' @@ -8701,10 +9613,11 @@ if test "${enable_postscript+set}" = set; then : wx_cv_use_postscript='wxUSE_POSTSCRIPT=no' fi -else - +else case e in #( + e) wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}" - + ;; +esac fi @@ -8722,7 +9635,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' @@ -8730,10 +9644,11 @@ if test "${enable_printarch+set}" = set; then : wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no' fi -else - +else case e in #( + e) wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}" - + ;; +esac fi @@ -8751,7 +9666,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' @@ -8759,10 +9675,11 @@ if test "${enable_svg+set}" = set; then : wx_cv_use_svg='wxUSE_SVG=no' fi -else - +else case e in #( + e) wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}" - + ;; +esac fi @@ -8780,7 +9697,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' @@ -8788,10 +9706,11 @@ if test "${enable_webview+set}" = set; then : wx_cv_use_webview='wxUSE_WEBVIEW=no' fi -else - +else case e in #( + e) wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}" - + ;; +esac fi @@ -8810,7 +9729,8 @@ fi fi # Check whether --enable-webviewchromium was given. -if test "${enable_webviewchromium+set}" = set; then : +if test ${enable_webviewchromium+y} +then : enableval=$enable_webviewchromium; if test "$enableval" = yes; then wx_cv_use_webviewchromium='wxUSE_WEBVIEW_CHROMIUM=yes' @@ -8818,10 +9738,11 @@ if test "${enable_webviewchromium+set}" = set; then : wx_cv_use_webviewchromium='wxUSE_WEBVIEW_CHROMIUM=no' fi -else - +else case e in #( + e) wx_cv_use_webviewchromium='wxUSE_WEBVIEW_CHROMIUM=${'DEFAULT_wxUSE_WEBVIEW_CHROMIUM":-$defaultval}" - + ;; +esac fi @@ -8840,7 +9761,8 @@ fi fi # Check whether --enable-cef_debug was given. -if test "${enable_cef_debug+set}" = set; then : +if test ${enable_cef_debug+y} +then : enableval=$enable_cef_debug; if test "$enableval" = yes; then wx_cv_use_cef_debug='wxUSE_CEF_DEBUG=yes' @@ -8848,10 +9770,11 @@ if test "${enable_cef_debug+set}" = set; then : wx_cv_use_cef_debug='wxUSE_CEF_DEBUG=no' fi -else - +else case e in #( + e) wx_cv_use_cef_debug='wxUSE_CEF_DEBUG=${'DEFAULT_wxUSE_CEF_DEBUG":-$defaultval}" - + ;; +esac fi @@ -8871,7 +9794,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' @@ -8879,10 +9803,11 @@ if test "${enable_graphics_ctx+set}" = set; then : wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no' fi -else - +else case e in #( + e) wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}" - + ;; +esac fi @@ -8903,7 +9828,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' @@ -8911,10 +9837,11 @@ if test "${enable_graphics_d2d+set}" = set; then : wx_cv_use_graphics_d2d='wxUSE_GRAPHICS_DIRECT2D=no' fi -else - +else case e in #( + e) wx_cv_use_graphics_d2d='wxUSE_GRAPHICS_DIRECT2D=${'DEFAULT_wxUSE_GRAPHICS_DIRECT2D":-$defaultval}" - + ;; +esac fi @@ -8935,7 +9862,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' @@ -8943,10 +9871,11 @@ if test "${enable_clipboard+set}" = set; then : wx_cv_use_clipboard='wxUSE_CLIPBOARD=no' fi -else - +else case e in #( + e) wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}" - + ;; +esac fi @@ -8964,7 +9893,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' @@ -8972,10 +9902,11 @@ if test "${enable_dnd+set}" = set; then : wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no' fi -else - +else case e in #( + e) wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}" - + ;; +esac fi @@ -8996,7 +9927,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' @@ -9004,10 +9936,11 @@ if test "${enable_controls+set}" = set; then : wx_cv_use_controls='wxUSE_CONTROLS=no' fi -else - +else case e in #( + e) wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}" - + ;; +esac fi @@ -9090,7 +10023,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' @@ -9098,10 +10032,11 @@ if test "${enable_markup+set}" = set; then : wx_cv_use_markup='wxUSE_MARKUP=no' fi -else - +else case e in #( + e) wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}" - + ;; +esac fi @@ -9120,7 +10055,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' @@ -9128,10 +10064,11 @@ if test "${enable_accel+set}" = set; then : wx_cv_use_accel='wxUSE_ACCEL=no' fi -else - +else case e in #( + e) wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}" - + ;; +esac fi @@ -9149,7 +10086,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' @@ -9157,10 +10095,11 @@ if test "${enable_actindicator+set}" = set; then : wx_cv_use_actindicator='wxUSE_ACTIVITYINDICATOR=no' fi -else - +else case e in #( + e) wx_cv_use_actindicator='wxUSE_ACTIVITYINDICATOR=${'DEFAULT_wxUSE_ACTIVITYINDICATOR":-$defaultval}" - + ;; +esac fi @@ -9178,7 +10117,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' @@ -9186,10 +10126,11 @@ if test "${enable_addremovectrl+set}" = set; then : wx_cv_use_addremovectrl='wxUSE_ADDREMOVECTRL=no' fi -else - +else case e in #( + e) wx_cv_use_addremovectrl='wxUSE_ADDREMOVECTRL=${'DEFAULT_wxUSE_ADDREMOVECTRL":-$defaultval}" - + ;; +esac fi @@ -9207,7 +10148,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' @@ -9215,10 +10157,11 @@ if test "${enable_animatectrl+set}" = set; then : wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}" - + ;; +esac fi @@ -9236,7 +10179,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' @@ -9244,10 +10188,11 @@ if test "${enable_bannerwindow+set}" = set; then : wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no' fi -else - +else case e in #( + e) wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}" - + ;; +esac fi @@ -9265,7 +10210,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' @@ -9273,10 +10219,11 @@ if test "${enable_artstd+set}" = set; then : wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no' fi -else - +else case e in #( + e) wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}" - + ;; +esac fi @@ -9294,7 +10241,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' @@ -9302,10 +10250,11 @@ if test "${enable_arttango+set}" = set; then : wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no' fi -else - +else case e in #( + e) wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}" - + ;; +esac fi @@ -9323,7 +10272,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' @@ -9331,10 +10281,11 @@ if test "${enable_bmpbutton+set}" = set; then : wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no' fi -else - +else case e in #( + e) wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}" - + ;; +esac fi @@ -9352,7 +10303,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' @@ -9360,10 +10312,11 @@ if test "${enable_bmpcombobox+set}" = set; then : wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no' fi -else - +else case e in #( + e) wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}" - + ;; +esac fi @@ -9381,7 +10334,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' @@ -9389,10 +10343,11 @@ if test "${enable_button+set}" = set; then : wx_cv_use_button='wxUSE_BUTTON=no' fi -else - +else case e in #( + e) wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}" - + ;; +esac fi @@ -9410,7 +10365,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' @@ -9418,10 +10374,11 @@ if test "${enable_calendar+set}" = set; then : wx_cv_use_calendar='wxUSE_CALCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}" - + ;; +esac fi @@ -9439,7 +10396,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' @@ -9447,10 +10405,11 @@ if test "${enable_caret+set}" = set; then : wx_cv_use_caret='wxUSE_CARET=no' fi -else - +else case e in #( + e) wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}" - + ;; +esac fi @@ -9468,7 +10427,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' @@ -9476,10 +10436,11 @@ if test "${enable_checkbox+set}" = set; then : wx_cv_use_checkbox='wxUSE_CHECKBOX=no' fi -else - +else case e in #( + e) wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}" - + ;; +esac fi @@ -9497,7 +10458,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' @@ -9505,10 +10467,11 @@ if test "${enable_checklst+set}" = set; then : wx_cv_use_checklst='wxUSE_CHECKLST=no' fi -else - +else case e in #( + e) wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}" - + ;; +esac fi @@ -9526,7 +10489,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' @@ -9534,10 +10498,11 @@ if test "${enable_choice+set}" = set; then : wx_cv_use_choice='wxUSE_CHOICE=no' fi -else - +else case e in #( + e) wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}" - + ;; +esac fi @@ -9555,7 +10520,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' @@ -9563,10 +10529,11 @@ if test "${enable_choicebook+set}" = set; then : wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no' fi -else - +else case e in #( + e) wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}" - + ;; +esac fi @@ -9584,7 +10551,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' @@ -9592,10 +10560,11 @@ if test "${enable_collpane+set}" = set; then : wx_cv_use_collpane='wxUSE_COLLPANE=no' fi -else - +else case e in #( + e) wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}" - + ;; +esac fi @@ -9613,7 +10582,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' @@ -9621,10 +10591,11 @@ if test "${enable_colourpicker+set}" = set; then : wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}" - + ;; +esac fi @@ -9642,7 +10613,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' @@ -9650,10 +10622,11 @@ if test "${enable_combobox+set}" = set; then : wx_cv_use_combobox='wxUSE_COMBOBOX=no' fi -else - +else case e in #( + e) wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}" - + ;; +esac fi @@ -9671,7 +10644,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' @@ -9679,10 +10653,11 @@ if test "${enable_comboctrl+set}" = set; then : wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}" - + ;; +esac fi @@ -9700,7 +10675,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' @@ -9708,10 +10684,11 @@ if test "${enable_commandlinkbutton+set}" = set; then : wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no' fi -else - +else case e in #( + e) wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}" - + ;; +esac fi @@ -9729,7 +10706,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' @@ -9737,10 +10715,11 @@ if test "${enable_dataviewctrl+set}" = set; then : wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}" - + ;; +esac fi @@ -9758,7 +10737,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' @@ -9766,10 +10746,11 @@ if test "${enable_nativedvc+set}" = set; then : wx_cv_use_nativedvc='wxUSE_NATIVE_DATAVIEWCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_nativedvc='wxUSE_NATIVE_DATAVIEWCTRL=${'DEFAULT_wxUSE_NATIVE_DATAVIEWCTRL":-$defaultval}" - + ;; +esac fi @@ -9787,7 +10768,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' @@ -9795,10 +10777,11 @@ if test "${enable_datepick+set}" = set; then : wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}" - + ;; +esac fi @@ -9816,7 +10799,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' @@ -9824,10 +10808,11 @@ if test "${enable_detect_sm+set}" = set; then : wx_cv_use_detect_sm='wxUSE_DETECT_SM=no' fi -else - +else case e in #( + e) wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}" - + ;; +esac fi @@ -9845,7 +10830,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' @@ -9853,10 +10839,11 @@ if test "${enable_dirpicker+set}" = set; then : wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}" - + ;; +esac fi @@ -9874,7 +10861,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' @@ -9882,10 +10870,11 @@ if test "${enable_display+set}" = set; then : wx_cv_use_display='wxUSE_DISPLAY=no' fi -else - +else case e in #( + e) wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}" - + ;; +esac fi @@ -9903,7 +10892,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' @@ -9911,10 +10901,11 @@ if test "${enable_editablebox+set}" = set; then : wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no' fi -else - +else case e in #( + e) wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}" - + ;; +esac fi @@ -9932,7 +10923,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' @@ -9940,10 +10932,11 @@ if test "${enable_filectrl+set}" = set; then : wx_cv_use_filectrl='wxUSE_FILECTRL=no' fi -else - +else case e in #( + e) wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}" - + ;; +esac fi @@ -9961,7 +10954,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' @@ -9969,10 +10963,11 @@ if test "${enable_filepicker+set}" = set; then : wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}" - + ;; +esac fi @@ -9990,7 +10985,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' @@ -9998,10 +10994,11 @@ if test "${enable_fontpicker+set}" = set; then : wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}" - + ;; +esac fi @@ -10019,7 +11016,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' @@ -10027,10 +11025,11 @@ if test "${enable_gauge+set}" = set; then : wx_cv_use_gauge='wxUSE_GAUGE=no' fi -else - +else case e in #( + e) wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}" - + ;; +esac fi @@ -10048,7 +11047,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' @@ -10056,10 +11056,11 @@ if test "${enable_grid+set}" = set; then : wx_cv_use_grid='wxUSE_GRID=no' fi -else - +else case e in #( + e) wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}" - + ;; +esac fi @@ -10077,7 +11078,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' @@ -10085,10 +11087,11 @@ if test "${enable_headerctrl+set}" = set; then : wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}" - + ;; +esac fi @@ -10106,7 +11109,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' @@ -10114,10 +11118,11 @@ if test "${enable_hyperlink+set}" = set; then : wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}" - + ;; +esac fi @@ -10135,7 +11140,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' @@ -10143,10 +11149,11 @@ if test "${enable_imaglist+set}" = set; then : wx_cv_use_imaglist='wxUSE_IMAGLIST=no' fi -else - +else case e in #( + e) wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}" - + ;; +esac fi @@ -10164,7 +11171,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' @@ -10172,10 +11180,11 @@ if test "${enable_infobar+set}" = set; then : wx_cv_use_infobar='wxUSE_INFOBAR=no' fi -else - +else case e in #( + e) wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}" - + ;; +esac fi @@ -10193,7 +11202,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' @@ -10201,10 +11211,11 @@ if test "${enable_listbook+set}" = set; then : wx_cv_use_listbook='wxUSE_LISTBOOK=no' fi -else - +else case e in #( + e) wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}" - + ;; +esac fi @@ -10222,7 +11233,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' @@ -10230,10 +11242,11 @@ if test "${enable_listbox+set}" = set; then : wx_cv_use_listbox='wxUSE_LISTBOX=no' fi -else - +else case e in #( + e) wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}" - + ;; +esac fi @@ -10251,7 +11264,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' @@ -10259,10 +11273,11 @@ if test "${enable_listctrl+set}" = set; then : wx_cv_use_listctrl='wxUSE_LISTCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}" - + ;; +esac fi @@ -10280,7 +11295,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' @@ -10288,10 +11304,11 @@ if test "${enable_notebook+set}" = set; then : wx_cv_use_notebook='wxUSE_NOTEBOOK=no' fi -else - +else case e in #( + e) wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}" - + ;; +esac fi @@ -10309,7 +11326,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' @@ -10317,10 +11335,11 @@ if test "${enable_notifmsg+set}" = set; then : wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no' fi -else - +else case e in #( + e) wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}" - + ;; +esac fi @@ -10338,7 +11357,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' @@ -10346,10 +11366,11 @@ if test "${enable_odcombobox+set}" = set; then : wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no' fi -else - +else case e in #( + e) wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}" - + ;; +esac fi @@ -10367,7 +11388,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' @@ -10375,10 +11397,11 @@ if test "${enable_popupwin+set}" = set; then : wx_cv_use_popupwin='wxUSE_POPUPWIN=no' fi -else - +else case e in #( + e) wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}" - + ;; +esac fi @@ -10396,7 +11419,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' @@ -10404,10 +11428,11 @@ if test "${enable_prefseditor+set}" = set; then : wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no' fi -else - +else case e in #( + e) wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}" - + ;; +esac fi @@ -10425,7 +11450,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' @@ -10433,10 +11459,11 @@ if test "${enable_privatefonts+set}" = set; then : wx_cv_use_privatefonts='wxUSE_PRIVATE_FONTS=no' fi -else - +else case e in #( + e) wx_cv_use_privatefonts='wxUSE_PRIVATE_FONTS=${'DEFAULT_wxUSE_PRIVATE_FONTS":-$defaultval}" - + ;; +esac fi @@ -10454,7 +11481,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' @@ -10462,10 +11490,11 @@ if test "${enable_radiobox+set}" = set; then : wx_cv_use_radiobox='wxUSE_RADIOBOX=no' fi -else - +else case e in #( + e) wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}" - + ;; +esac fi @@ -10483,7 +11512,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' @@ -10491,10 +11521,11 @@ if test "${enable_radiobtn+set}" = set; then : wx_cv_use_radiobtn='wxUSE_RADIOBTN=no' fi -else - +else case e in #( + e) wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}" - + ;; +esac fi @@ -10512,7 +11543,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' @@ -10520,10 +11552,11 @@ if test "${enable_richmsgdlg+set}" = set; then : wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no' fi -else - +else case e in #( + e) wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}" - + ;; +esac fi @@ -10541,7 +11574,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' @@ -10549,10 +11583,11 @@ if test "${enable_richtooltip+set}" = set; then : wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no' fi -else - +else case e in #( + e) wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}" - + ;; +esac fi @@ -10570,7 +11605,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' @@ -10578,10 +11614,11 @@ if test "${enable_rearrangectrl+set}" = set; then : wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no' fi -else - +else case e in #( + e) wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}" - + ;; +esac fi @@ -10599,7 +11636,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' @@ -10607,10 +11645,11 @@ if test "${enable_sash+set}" = set; then : wx_cv_use_sash='wxUSE_SASH=no' fi -else - +else case e in #( + e) wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}" - + ;; +esac fi @@ -10628,7 +11667,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' @@ -10636,10 +11676,11 @@ if test "${enable_scrollbar+set}" = set; then : wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no' fi -else - +else case e in #( + e) wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}" - + ;; +esac fi @@ -10657,7 +11698,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' @@ -10665,10 +11707,11 @@ if test "${enable_searchctrl+set}" = set; then : wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}" - + ;; +esac fi @@ -10686,7 +11729,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' @@ -10694,10 +11738,11 @@ if test "${enable_slider+set}" = set; then : wx_cv_use_slider='wxUSE_SLIDER=no' fi -else - +else case e in #( + e) wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}" - + ;; +esac fi @@ -10715,7 +11760,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' @@ -10723,10 +11769,11 @@ if test "${enable_spinbtn+set}" = set; then : wx_cv_use_spinbtn='wxUSE_SPINBTN=no' fi -else - +else case e in #( + e) wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}" - + ;; +esac fi @@ -10744,7 +11791,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' @@ -10752,10 +11800,11 @@ if test "${enable_spinctrl+set}" = set; then : wx_cv_use_spinctrl='wxUSE_SPINCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}" - + ;; +esac fi @@ -10773,7 +11822,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' @@ -10781,10 +11831,11 @@ if test "${enable_splitter+set}" = set; then : wx_cv_use_splitter='wxUSE_SPLITTER=no' fi -else - +else case e in #( + e) wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}" - + ;; +esac fi @@ -10802,7 +11853,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' @@ -10810,10 +11862,11 @@ if test "${enable_statbmp+set}" = set; then : wx_cv_use_statbmp='wxUSE_STATBMP=no' fi -else - +else case e in #( + e) wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}" - + ;; +esac fi @@ -10831,7 +11884,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' @@ -10839,10 +11893,11 @@ if test "${enable_statbox+set}" = set; then : wx_cv_use_statbox='wxUSE_STATBOX=no' fi -else - +else case e in #( + e) wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}" - + ;; +esac fi @@ -10860,7 +11915,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' @@ -10868,10 +11924,11 @@ if test "${enable_statline+set}" = set; then : wx_cv_use_statline='wxUSE_STATLINE=no' fi -else - +else case e in #( + e) wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}" - + ;; +esac fi @@ -10889,7 +11946,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' @@ -10897,10 +11955,11 @@ if test "${enable_stattext+set}" = set; then : wx_cv_use_stattext='wxUSE_STATTEXT=no' fi -else - +else case e in #( + e) wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}" - + ;; +esac fi @@ -10918,7 +11977,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' @@ -10926,10 +11986,11 @@ if test "${enable_statusbar+set}" = set; then : wx_cv_use_statusbar='wxUSE_STATUSBAR=no' fi -else - +else case e in #( + e) wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}" - + ;; +esac fi @@ -10947,7 +12008,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' @@ -10955,10 +12017,11 @@ if test "${enable_taskbaricon+set}" = set; then : wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no' fi -else - +else case e in #( + e) wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}" - + ;; +esac fi @@ -10976,7 +12039,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' @@ -10984,10 +12048,11 @@ if test "${enable_tbarnative+set}" = set; then : wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no' fi -else - +else case e in #( + e) wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}" - + ;; +esac fi @@ -11005,7 +12070,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' @@ -11013,10 +12079,11 @@ if test "${enable_textctrl+set}" = set; then : wx_cv_use_textctrl='wxUSE_TEXTCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}" - + ;; +esac fi @@ -11034,7 +12101,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' @@ -11042,10 +12110,11 @@ if test "${enable_timepick+set}" = set; then : wx_cv_use_timepick='wxUSE_TIMEPICKCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_timepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}" - + ;; +esac fi @@ -11063,7 +12132,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' @@ -11071,10 +12141,11 @@ if test "${enable_tipwindow+set}" = set; then : wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no' fi -else - +else case e in #( + e) wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}" - + ;; +esac fi @@ -11092,7 +12163,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' @@ -11100,10 +12172,11 @@ if test "${enable_togglebtn+set}" = set; then : wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no' fi -else - +else case e in #( + e) wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}" - + ;; +esac fi @@ -11121,7 +12194,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' @@ -11129,10 +12203,11 @@ if test "${enable_toolbar+set}" = set; then : wx_cv_use_toolbar='wxUSE_TOOLBAR=no' fi -else - +else case e in #( + e) wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}" - + ;; +esac fi @@ -11150,7 +12225,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' @@ -11158,10 +12234,11 @@ if test "${enable_toolbook+set}" = set; then : wx_cv_use_toolbook='wxUSE_TOOLBOOK=no' fi -else - +else case e in #( + e) wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}" - + ;; +esac fi @@ -11179,7 +12256,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' @@ -11187,10 +12265,11 @@ if test "${enable_treebook+set}" = set; then : wx_cv_use_treebook='wxUSE_TREEBOOK=no' fi -else - +else case e in #( + e) wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}" - + ;; +esac fi @@ -11208,7 +12287,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' @@ -11216,10 +12296,11 @@ if test "${enable_treectrl+set}" = set; then : wx_cv_use_treectrl='wxUSE_TREECTRL=no' fi -else - +else case e in #( + e) wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}" - + ;; +esac fi @@ -11237,7 +12318,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' @@ -11245,10 +12327,11 @@ if test "${enable_treelist+set}" = set; then : wx_cv_use_treelist='wxUSE_TREELISTCTRL=no' fi -else - +else case e in #( + e) wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}" - + ;; +esac fi @@ -11268,7 +12351,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' @@ -11276,10 +12360,11 @@ if test "${enable_commondlg+set}" = set; then : wx_cv_use_commondlg='wxUSE_COMMONDLGS=no' fi -else - +else case e in #( + e) wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}" - + ;; +esac fi @@ -11297,7 +12382,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' @@ -11305,10 +12391,11 @@ if test "${enable_aboutdlg+set}" = set; then : wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no' fi -else - +else case e in #( + e) wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}" - + ;; +esac fi @@ -11326,7 +12413,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' @@ -11334,10 +12422,11 @@ if test "${enable_choicedlg+set}" = set; then : wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no' fi -else - +else case e in #( + e) wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}" - + ;; +esac fi @@ -11355,7 +12444,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' @@ -11363,10 +12453,11 @@ if test "${enable_coldlg+set}" = set; then : wx_cv_use_coldlg='wxUSE_COLOURDLG=no' fi -else - +else case e in #( + e) wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}" - + ;; +esac fi @@ -11384,7 +12475,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' @@ -11392,10 +12484,11 @@ if test "${enable_creddlg+set}" = set; then : wx_cv_use_creddlg='wxUSE_CREDENTIALDLG=no' fi -else - +else case e in #( + e) wx_cv_use_creddlg='wxUSE_CREDENTIALDLG=${'DEFAULT_wxUSE_CREDENTIALDLG":-$defaultval}" - + ;; +esac fi @@ -11413,7 +12506,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' @@ -11421,10 +12515,11 @@ if test "${enable_filedlg+set}" = set; then : wx_cv_use_filedlg='wxUSE_FILEDLG=no' fi -else - +else case e in #( + e) wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}" - + ;; +esac fi @@ -11442,7 +12537,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' @@ -11450,10 +12546,11 @@ if test "${enable_finddlg+set}" = set; then : wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no' fi -else - +else case e in #( + e) wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}" - + ;; +esac fi @@ -11471,7 +12568,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' @@ -11479,10 +12577,11 @@ if test "${enable_fontdlg+set}" = set; then : wx_cv_use_fontdlg='wxUSE_FONTDLG=no' fi -else - +else case e in #( + e) wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}" - + ;; +esac fi @@ -11500,7 +12599,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' @@ -11508,10 +12608,11 @@ if test "${enable_dirdlg+set}" = set; then : wx_cv_use_dirdlg='wxUSE_DIRDLG=no' fi -else - +else case e in #( + e) wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}" - + ;; +esac fi @@ -11529,7 +12630,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' @@ -11537,10 +12639,11 @@ if test "${enable_msgdlg+set}" = set; then : wx_cv_use_msgdlg='wxUSE_MSGDLG=no' fi -else - +else case e in #( + e) wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}" - + ;; +esac fi @@ -11558,7 +12661,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' @@ -11566,10 +12670,11 @@ if test "${enable_numberdlg+set}" = set; then : wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no' fi -else - +else case e in #( + e) wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}" - + ;; +esac fi @@ -11587,7 +12692,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' @@ -11595,10 +12701,11 @@ if test "${enable_splash+set}" = set; then : wx_cv_use_splash='wxUSE_SPLASH=no' fi -else - +else case e in #( + e) wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}" - + ;; +esac fi @@ -11616,7 +12723,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' @@ -11624,10 +12732,11 @@ if test "${enable_textdlg+set}" = set; then : wx_cv_use_textdlg='wxUSE_TEXTDLG=no' fi -else - +else case e in #( + e) wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}" - + ;; +esac fi @@ -11645,7 +12754,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' @@ -11653,10 +12763,11 @@ if test "${enable_tipdlg+set}" = set; then : wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no' fi -else - +else case e in #( + e) wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}" - + ;; +esac fi @@ -11674,7 +12785,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' @@ -11682,10 +12794,11 @@ if test "${enable_progressdlg+set}" = set; then : wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no' fi -else - +else case e in #( + e) wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}" - + ;; +esac fi @@ -11703,7 +12816,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' @@ -11711,10 +12825,11 @@ if test "${enable_wizarddlg+set}" = set; then : wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no' fi -else - +else case e in #( + e) wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}" - + ;; +esac fi @@ -11738,7 +12853,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' @@ -11746,10 +12862,11 @@ if test "${enable_menus+set}" = set; then : wx_cv_use_menus='wxUSE_MENUS=no' fi -else - +else case e in #( + e) wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}" - + ;; +esac fi @@ -11767,7 +12884,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' @@ -11775,10 +12893,11 @@ if test "${enable_menubar+set}" = set; then : wx_cv_use_menubar='wxUSE_MENUBAR=no' fi -else - +else case e in #( + e) wx_cv_use_menubar='wxUSE_MENUBAR=${'DEFAULT_wxUSE_MENUBAR":-$defaultval}" - + ;; +esac fi @@ -11796,7 +12915,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' @@ -11804,10 +12924,11 @@ if test "${enable_miniframe+set}" = set; then : wx_cv_use_miniframe='wxUSE_MINIFRAME=no' fi -else - +else case e in #( + e) wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}" - + ;; +esac fi @@ -11825,7 +12946,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' @@ -11833,10 +12955,11 @@ if test "${enable_tooltips+set}" = set; then : wx_cv_use_tooltips='wxUSE_TOOLTIPS=no' fi -else - +else case e in #( + e) wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}" - + ;; +esac fi @@ -11854,7 +12977,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' @@ -11862,10 +12986,11 @@ if test "${enable_splines+set}" = set; then : wx_cv_use_splines='wxUSE_SPLINES=no' fi -else - +else case e in #( + e) wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}" - + ;; +esac fi @@ -11883,7 +13008,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' @@ -11891,10 +13017,11 @@ if test "${enable_mousewheel+set}" = set; then : wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no' fi -else - +else case e in #( + e) wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}" - + ;; +esac fi @@ -11912,7 +13039,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' @@ -11920,10 +13048,11 @@ if test "${enable_validators+set}" = set; then : wx_cv_use_validators='wxUSE_VALIDATORS=no' fi -else - +else case e in #( + e) wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}" - + ;; +esac fi @@ -11941,7 +13070,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' @@ -11949,10 +13079,11 @@ if test "${enable_busyinfo+set}" = set; then : wx_cv_use_busyinfo='wxUSE_BUSYINFO=no' fi -else - +else case e in #( + e) wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}" - + ;; +esac fi @@ -11970,7 +13101,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' @@ -11978,10 +13110,11 @@ if test "${enable_hotkey+set}" = set; then : wx_cv_use_hotkey='wxUSE_HOTKEY=no' fi -else - +else case e in #( + e) wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}" - + ;; +esac fi @@ -11999,7 +13132,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' @@ -12007,10 +13141,11 @@ if test "${enable_joystick+set}" = set; then : wx_cv_use_joystick='wxUSE_JOYSTICK=no' fi -else - +else case e in #( + e) wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}" - + ;; +esac fi @@ -12028,7 +13163,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' @@ -12036,10 +13172,11 @@ if test "${enable_metafile+set}" = set; then : wx_cv_use_metafile='wxUSE_METAFILE=no' fi -else - +else case e in #( + e) wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}" - + ;; +esac fi @@ -12057,7 +13194,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' @@ -12065,10 +13203,11 @@ if test "${enable_dragimage+set}" = set; then : wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no' fi -else - +else case e in #( + e) wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}" - + ;; +esac fi @@ -12086,7 +13225,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' @@ -12094,10 +13234,11 @@ if test "${enable_accessibility+set}" = set; then : wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no' fi -else - +else case e in #( + e) wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}" - + ;; +esac fi @@ -12115,7 +13256,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' @@ -12123,10 +13265,11 @@ if test "${enable_uiactionsim+set}" = set; then : wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no' fi -else - +else case e in #( + e) wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}" - + ;; +esac fi @@ -12144,7 +13287,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' @@ -12152,10 +13296,11 @@ if test "${enable_dctransform+set}" = set; then : wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no' fi -else - +else case e in #( + e) wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}" - + ;; +esac fi @@ -12173,7 +13318,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' @@ -12181,10 +13327,11 @@ if test "${enable_webviewwebkit+set}" = set; then : wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no' fi -else - +else case e in #( + e) wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}" - + ;; +esac fi @@ -12202,7 +13349,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' @@ -12210,10 +13358,11 @@ if test "${enable_glcanvasegl+set}" = set; then : wx_cv_use_glcanvasegl='wxUSE_GLCANVAS_EGL=no' fi -else - +else case e in #( + e) wx_cv_use_glcanvasegl='wxUSE_GLCANVAS_EGL=${'DEFAULT_wxUSE_GLCANVAS_EGL":-$defaultval}" - + ;; +esac fi @@ -12233,7 +13382,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' @@ -12241,10 +13391,11 @@ if test "${enable_palette+set}" = set; then : wx_cv_use_palette='wxUSE_PALETTE=no' fi -else - +else case e in #( + e) wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}" - + ;; +esac fi @@ -12262,7 +13413,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' @@ -12270,10 +13422,11 @@ if test "${enable_image+set}" = set; then : wx_cv_use_image='wxUSE_IMAGE=no' fi -else - +else case e in #( + e) wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}" - + ;; +esac fi @@ -12291,7 +13444,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' @@ -12299,10 +13453,11 @@ if test "${enable_gif+set}" = set; then : wx_cv_use_gif='wxUSE_GIF=no' fi -else - +else case e in #( + e) wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}" - + ;; +esac fi @@ -12320,7 +13475,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' @@ -12328,10 +13484,11 @@ if test "${enable_pcx+set}" = set; then : wx_cv_use_pcx='wxUSE_PCX=no' fi -else - +else case e in #( + e) wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}" - + ;; +esac fi @@ -12349,7 +13506,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' @@ -12357,10 +13515,11 @@ if test "${enable_tga+set}" = set; then : wx_cv_use_tga='wxUSE_TGA=no' fi -else - +else case e in #( + e) wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}" - + ;; +esac fi @@ -12378,7 +13537,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' @@ -12386,10 +13546,11 @@ if test "${enable_iff+set}" = set; then : wx_cv_use_iff='wxUSE_IFF=no' fi -else - +else case e in #( + e) wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}" - + ;; +esac fi @@ -12407,7 +13568,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' @@ -12415,10 +13577,11 @@ if test "${enable_pnm+set}" = set; then : wx_cv_use_pnm='wxUSE_PNM=no' fi -else - +else case e in #( + e) wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}" - + ;; +esac fi @@ -12436,7 +13599,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' @@ -12444,10 +13608,11 @@ if test "${enable_xpm+set}" = set; then : wx_cv_use_xpm='wxUSE_XPM=no' fi -else - +else case e in #( + e) wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}" - + ;; +esac fi @@ -12465,7 +13630,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' @@ -12473,10 +13639,11 @@ if test "${enable_ico_cur+set}" = set; then : wx_cv_use_ico_cur='wxUSE_ICO_CUR=no' fi -else - +else case e in #( + e) wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}" - + ;; +esac fi @@ -12496,7 +13663,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' @@ -12504,10 +13672,11 @@ if test "${enable_dccache+set}" = set; then : wx_cv_use_dccache='wxUSE_DC_CACHEING=no' fi -else - +else case e in #( + e) wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}" - + ;; +esac fi @@ -12525,7 +13694,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' @@ -12533,10 +13703,11 @@ if test "${enable_ps_in_msw+set}" = set; then : wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no' fi -else - +else case e in #( + e) wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}" - + ;; +esac fi @@ -12554,7 +13725,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' @@ -12562,10 +13734,11 @@ if test "${enable_ownerdrawn+set}" = set; then : wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no' fi -else - +else case e in #( + e) wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}" - + ;; +esac fi @@ -12583,7 +13756,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' @@ -12591,10 +13765,11 @@ if test "${enable_taskbarbutton+set}" = set; then : wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=no' fi -else - +else case e in #( + e) wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=${'DEFAULT_wxUSE_TASKBARBUTTON":-$defaultval}" - + ;; +esac fi @@ -12612,7 +13787,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' @@ -12620,10 +13796,11 @@ if test "${enable_uxtheme+set}" = set; then : wx_cv_use_uxtheme='wxUSE_UXTHEME=no' fi -else - +else case e in #( + e) wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}" - + ;; +esac fi @@ -12641,7 +13818,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' @@ -12649,10 +13827,11 @@ if test "${enable_wxdib+set}" = set; then : wx_cv_use_wxdib='wxUSE_DIB=no' fi -else - +else case e in #( + e) wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}" - + ;; +esac fi @@ -12675,7 +13854,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' @@ -12683,10 +13863,11 @@ if test "${enable_webviewie+set}" = set; then : wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no' fi -else - +else case e in #( + e) wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}" - + ;; +esac fi @@ -12704,7 +13885,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' @@ -12712,10 +13894,11 @@ if test "${enable_webviewedge+set}" = set; then : wx_cv_use_webviewedge='wxUSE_WEBVIEW_EDGE=no' fi -else - +else case e in #( + e) wx_cv_use_webviewedge='wxUSE_WEBVIEW_EDGE=${'DEFAULT_wxUSE_WEBVIEW_EDGE":-$defaultval}" - + ;; +esac fi @@ -12738,7 +13921,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' @@ -12746,10 +13930,11 @@ if test "${enable_autoidman+set}" = set; then : wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no' fi -else - +else case e in #( + e) wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}" - + ;; +esac fi @@ -12769,8 +13954,8 @@ cat >confcache <<\_ACEOF # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the +# 'ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* 'ac_cv_foo' will be assigned the # following values. _ACEOF @@ -12786,8 +13971,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) ;; #( @@ -12800,14 +13985,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote + # 'set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) - # `set' quotes correctly as required by POSIX, so do not add quotes. + # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | @@ -12817,15 +14002,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 @@ -12839,13 +14024,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' @@ -12854,38 +14048,44 @@ 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 - if test -n "$CC"; then +{ 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 case e in #( + e) 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 - 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -12894,38 +14094,44 @@ 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 - if test -n "$ac_ct_CC"; then +{ 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 case e in #( + e) 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 - 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -12933,8 +14139,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 @@ -12947,38 +14153,44 @@ 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 - if test -n "$CC"; then +{ 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 case e in #( + e) 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 - 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -12987,12 +14199,13 @@ 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 - if test -n "$CC"; then +{ 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 case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no @@ -13000,15 +14213,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 @@ -13024,18 +14241,19 @@ 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 ;; +esac 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 @@ -13046,38 +14264,44 @@ 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 - if test -n "$CC"; then +{ 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 case e in #( + e) 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 - 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -13090,38 +14314,44 @@ 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 - if test -n "$ac_ct_CC"; then +{ 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 case e in #( + e) 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 - 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -13133,34 +14363,140 @@ 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 + fi +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 case e in #( + e) 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 ;; +esac +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 + + +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 case e in #( + e) 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 ;; +esac +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" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +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; } +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 @@ -13170,7 +14506,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 @@ -13178,7 +14514,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; @@ -13190,9 +14526,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.*" @@ -13213,13 +14549,14 @@ 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 : - # 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' + 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, # so that the user can short-circuit this test for compilers unknown to # Autoconf. @@ -13234,12 +14571,12 @@ 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 # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' + # safe: cross compilers may not add the suffix if given an '-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. @@ -13250,48 +14587,52 @@ do done test "$ac_cv_exeext" = no && ac_cv_exeext= -else - ac_file='' +else case e in #( + e) ac_file='' ;; +esac 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; } +See 'config.log' for more details" "$LINENO" 5; } +else case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +printf "%s\n" "yes" >&6; } ;; +esac 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 : - # 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 -# `rm'. + 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 +# 'rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in @@ -13301,15 +14642,16 @@ 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 case e in #( + e) { { 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; } +See 'config.log' for more details" "$LINENO" 5; } ;; +esac 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 @@ -13318,9 +14660,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { FILE *f = fopen ("conftest.out", "w"); + if (!f) + return 1; return ferror (f) || fclose (f) != 0; ; @@ -13330,8 +14674,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 @@ -13339,10 +14683,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 @@ -13350,39 +14694,41 @@ $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. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$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;} +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 +rm -f conftest.$ac_ext conftest$ac_cv_exeext \ + conftest.o conftest.obj 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +{ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { ; @@ -13396,11 +14742,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 @@ -13409,31 +14756,34 @@ $as_echo "$ac_try_echo"; } >&5 break;; esac done -else - $as_echo "$as_me: failed program was:" >&5 +else case e in #( + e) 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; } +See 'config.log' for more details" "$LINENO" 5; } ;; +esac fi -rm -f conftest.$ac_cv_objext conftest.$ac_ext +rm -f conftest.$ac_cv_objext conftest.$ac_ext ;; +esac 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +{ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __GNUC__ choke me @@ -13443,30 +14793,36 @@ 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 - ac_compiler_gnu=no +else case e in #( + e) ac_compiler_gnu=no ;; +esac 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 - + ;; +esac 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 - ac_save_c_werror_flag=$ac_c_werror_flag +{ 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 case e in #( + e) ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" @@ -13474,57 +14830,63 @@ 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 - CFLAGS="" +else case e in #( + e) 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 - ac_c_werror_flag=$ac_save_c_werror_flag +else case e in #( + e) 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 ;; +esac 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 fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag ;; +esac 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 @@ -13539,94 +14901,153 @@ 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_cv_prog_cc_c89=no +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 case e in #( + e) ac_cv_prog_cc_c11=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]; +$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 ;; +esac +fi -/* 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]; +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 case e in #( + e) 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 case e in #( + e) { 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" ;; +esac +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 + ac_prog_cc_stdc=c11 ;; +esac +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 case e in #( + e) 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 ;; +esac +fi -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; -} +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 case e in #( + e) 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 case e in #( + e) { 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" ;; +esac +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 + ac_prog_cc_stdc=c99 ;; +esac +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 case e in #( + e) ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$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 +CC=$ac_save_CC ;; +esac +fi +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 case e in #( + e) 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 case e in #( + e) { 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" ;; +esac 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; } ;; + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 + ac_prog_cc_stdc=c89 ;; esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - +fi fi ac_ext=c @@ -13648,16 +15069,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER @@ -13668,18 +15090,21 @@ 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 - bakefile_cv_c_compiler___INTEL_COMPILER=no - +else case e in #( + e) bakefile_cv_c_compiler___INTEL_COMPILER=no + ;; +esac 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 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 @@ -13703,16 +15128,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800 @@ -13723,18 +15149,21 @@ 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 - bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no - +else case e in #( + e) bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no + ;; +esac 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 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 @@ -13756,16 +15185,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000 @@ -13776,18 +15206,21 @@ 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 - bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no - +else case e in #( + e) bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no + ;; +esac 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 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 @@ -13814,16 +15247,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __xlC__ @@ -13834,18 +15268,21 @@ 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 - bakefile_cv_c_compiler___xlC__=no - +else case e in #( + e) bakefile_cv_c_compiler___xlC__=no + ;; +esac 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 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 @@ -13870,16 +15307,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __xlC__ @@ -13890,18 +15328,21 @@ 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 - bakefile_cv_c_compiler___xlC__=no - +else case e in #( + e) bakefile_cv_c_compiler___xlC__=no + ;; +esac 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 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 @@ -13926,16 +15367,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef _SGI_COMPILER_VERSION @@ -13946,18 +15388,21 @@ 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 - bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no - +else case e in #( + e) bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no + ;; +esac 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 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 @@ -13983,16 +15428,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __SUNPRO_C @@ -14003,18 +15449,21 @@ 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 - bakefile_cv_c_compiler___SUNPRO_C=no - +else case e in #( + e) bakefile_cv_c_compiler___SUNPRO_C=no + ;; +esac 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 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 @@ -14040,16 +15489,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __HP_cc @@ -14060,18 +15510,21 @@ 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 - bakefile_cv_c_compiler___HP_cc=no - +else case e in #( + e) bakefile_cv_c_compiler___HP_cc=no + ;; +esac 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 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 @@ -14096,16 +15549,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __DECC @@ -14116,18 +15570,21 @@ 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 - bakefile_cv_c_compiler___DECC=no - +else case e in #( + e) bakefile_cv_c_compiler___DECC=no + ;; +esac 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 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 @@ -14152,16 +15609,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __SUNPRO_C @@ -14172,18 +15630,21 @@ 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 - bakefile_cv_c_compiler___SUNPRO_C=no - +else case e in #( + e) bakefile_cv_c_compiler___SUNPRO_C=no + ;; +esac 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 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 @@ -14203,318 +15664,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_ext=c -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; } -# 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" - 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 - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -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 : - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -$as_echo "$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 - Syntax error -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - -else - # Broken: fails on valid input. -continue -fi -rm -f conftest.err conftest.i conftest.$ac_ext - - # OK, works on sane cases. Now check whether nonexistent headers - # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - # Broken: success on invalid input. -continue -else - # Passes both tests. -ac_preproc_ok=: -break -fi -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 : - -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 $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5; } -fi - -ac_ext=c -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 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 - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -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 - for ac_exec_ext in '' $ac_executable_extensions; do - 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 -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 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" - "$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 - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -$as_echo "$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 - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -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 - for ac_exec_ext in '' $ac_executable_extensions; do - 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 -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 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" - "$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 - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done - done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" +CXXFLAGS=${CXXFLAGS:=} -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 - ac_pattern="Autoconf.*'x'" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -Autoconf TIOCGETP -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "$ac_pattern" >/dev/null 2>&1; then : - ac_cv_prog_gcc_traditional=yes -else - ac_cv_prog_gcc_traditional=no -fi -rm -f conftest* - if test $ac_cv_prog_gcc_traditional = no; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -Autoconf TCGETA -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "$ac_pattern" >/dev/null 2>&1; then : - ac_cv_prog_gcc_traditional=yes -fi -rm -f 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; } - if test $ac_cv_prog_gcc_traditional = yes; then - CC="$CC -traditional" - fi -fi -CXXFLAGS=${CXXFLAGS:=} ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -14525,42 +15683,48 @@ 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 - if test -n "$CXX"; then +{ 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 case e in #( + e) if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -14569,42 +15733,48 @@ 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 - if test -n "$ac_ct_CXX"; then +{ 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 case e in #( + e) if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -14616,8 +15786,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 @@ -14627,7 +15797,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 @@ -14637,7 +15807,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 @@ -14647,20 +15817,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +{ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __GNUC__ choke me @@ -14670,30 +15841,36 @@ 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 - ac_compiler_gnu=no +else case e in #( + e) ac_compiler_gnu=no ;; +esac 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 - + ;; +esac 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 - ac_save_cxx_werror_flag=$ac_cxx_werror_flag +{ 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 case e in #( + e) ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" @@ -14701,57 +15878,63 @@ 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 - CXXFLAGS="" +else case e in #( + e) 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 - ac_cxx_werror_flag=$ac_save_cxx_werror_flag +else case e in #( + e) 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 ;; +esac 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 fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_cxx_werror_flag=$ac_save_cxx_werror_flag +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag ;; +esac 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 @@ -14766,6 +15949,106 @@ 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 case e in #( + e) 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 ;; +esac +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 case e in #( + e) 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 case e in #( + e) { 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" ;; +esac +fi + ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 + ac_prog_cxx_stdcxx=cxx11 ;; +esac +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 case e in #( + e) 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 ;; +esac +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 case e in #( + e) 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 case e in #( + e) { 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" ;; +esac +fi + ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 + ac_prog_cxx_stdcxx=cxx98 ;; +esac +fi +fi + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -14785,16 +16068,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER @@ -14805,18 +16089,21 @@ 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 - bakefile_cv_cxx_compiler___INTEL_COMPILER=no - +else case e in #( + e) bakefile_cv_cxx_compiler___INTEL_COMPILER=no + ;; +esac 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 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 @@ -14840,16 +16127,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800 @@ -14860,18 +16148,21 @@ 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 - bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no - +else case e in #( + e) bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no + ;; +esac 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 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 @@ -14893,16 +16184,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000 @@ -14913,18 +16205,21 @@ 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 - bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no - +else case e in #( + e) bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no + ;; +esac 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 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 @@ -14951,16 +16246,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __xlC__ @@ -14971,18 +16267,21 @@ 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 - bakefile_cv_cxx_compiler___xlC__=no - +else case e in #( + e) bakefile_cv_cxx_compiler___xlC__=no + ;; +esac 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 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 @@ -15007,16 +16306,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __xlC__ @@ -15027,18 +16327,21 @@ 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 - bakefile_cv_cxx_compiler___xlC__=no - +else case e in #( + e) bakefile_cv_cxx_compiler___xlC__=no + ;; +esac 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 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 @@ -15063,16 +16366,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef _SGI_COMPILER_VERSION @@ -15083,18 +16387,21 @@ 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 - bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no - +else case e in #( + e) bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no + ;; +esac 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 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 @@ -15120,16 +16427,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __SUNPRO_CC @@ -15140,18 +16448,21 @@ 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 - bakefile_cv_cxx_compiler___SUNPRO_CC=no - +else case e in #( + e) bakefile_cv_cxx_compiler___SUNPRO_CC=no + ;; +esac 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 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 @@ -15177,16 +16488,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __HP_aCC @@ -15197,18 +16509,21 @@ 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 - bakefile_cv_cxx_compiler___HP_aCC=no - +else case e in #( + e) bakefile_cv_cxx_compiler___HP_aCC=no + ;; +esac 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 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 @@ -15233,16 +16548,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __DECCXX @@ -15253,18 +16569,21 @@ 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 - bakefile_cv_cxx_compiler___DECCXX=no - +else case e in #( + e) bakefile_cv_cxx_compiler___DECCXX=no + ;; +esac 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 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 @@ -15289,16 +16608,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __SUNPRO_CC @@ -15309,18 +16629,21 @@ 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 - bakefile_cv_cxx_compiler___SUNPRO_CC=no - +else case e in #( + e) bakefile_cv_cxx_compiler___SUNPRO_CC=no + ;; +esac 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 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 @@ -15364,12 +16687,13 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15660,15 +16984,18 @@ 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 - ax_cv_cxx_compile_cxx11=no +else case e in #( + e) ax_cv_cxx_compile_cxx11=no ;; +esac 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 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 @@ -15676,13 +17003,14 @@ $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 - ac_save_CXX="$CXX" + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | sed "$as_sed_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 case e in #( + e) ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -15975,17 +17303,20 @@ namespace cxx11 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else - eval $cachevar=no +else case e in #( + e) eval $cachevar=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXX="$ac_save_CXX" +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXX="$ac_save_CXX" ;; +esac 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 @@ -16000,13 +17331,14 @@ $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 - ac_save_CXX="$CXX" + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | sed "$as_sed_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 case e in #( + e) ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -16299,17 +17631,20 @@ namespace cxx11 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else - eval $cachevar=no +else case e in #( + e) eval $cachevar=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXX="$ac_save_CXX" +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXX="$ac_save_CXX" ;; +esac 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 @@ -16337,12 +17672,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 @@ -16358,12 +17693,13 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -16774,15 +18110,18 @@ 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 - ax_cv_cxx_compile_cxx14=no +else case e in #( + e) ax_cv_cxx_compile_cxx14=no ;; +esac 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 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 @@ -16790,13 +18129,14 @@ $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 - ac_save_CXX="$CXX" + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx14_$switch" | sed "$as_sed_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 case e in #( + e) ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -17209,17 +18549,20 @@ namespace cxx14 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else - eval $cachevar=no +else case e in #( + e) eval $cachevar=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXX="$ac_save_CXX" +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXX="$ac_save_CXX" ;; +esac 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 @@ -17234,13 +18577,14 @@ $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 - ac_save_CXX="$CXX" + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx14_$switch" | sed "$as_sed_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 case e in #( + e) ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -17653,17 +18997,20 @@ namespace cxx14 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else - eval $cachevar=no +else case e in #( + e) eval $cachevar=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXX="$ac_save_CXX" +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXX="$ac_save_CXX" ;; +esac 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 @@ -17691,12 +19038,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 @@ -17712,12 +19059,13 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -18506,15 +19854,18 @@ 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 - ax_cv_cxx_compile_cxx17=no +else case e in #( + e) ax_cv_cxx_compile_cxx17=no ;; +esac 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 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 @@ -18522,13 +19873,14 @@ $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 - ac_save_CXX="$CXX" + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | sed "$as_sed_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 case e in #( + e) ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -19319,17 +20671,20 @@ namespace cxx17 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else - eval $cachevar=no +else case e in #( + e) eval $cachevar=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXX="$ac_save_CXX" +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXX="$ac_save_CXX" ;; +esac 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 @@ -19344,13 +20699,14 @@ $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 - ac_save_CXX="$CXX" + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | sed "$as_sed_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 case e in #( + e) ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -20141,17 +21497,20 @@ namespace cxx17 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else - eval $cachevar=no +else case e in #( + e) eval $cachevar=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXX="$ac_save_CXX" +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXX="$ac_save_CXX" ;; +esac 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 @@ -20179,12 +21538,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 @@ -20200,12 +21559,13 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -21020,15 +22380,18 @@ 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 - ax_cv_cxx_compile_cxx20=no +else case e in #( + e) ax_cv_cxx_compile_cxx20=no ;; +esac 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 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 @@ -21036,13 +22399,14 @@ $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 - ac_save_CXX="$CXX" + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx20_$switch" | sed "$as_sed_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 case e in #( + e) ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -21859,17 +23223,20 @@ namespace cxx20 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else - eval $cachevar=no +else case e in #( + e) eval $cachevar=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXX="$ac_save_CXX" +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXX="$ac_save_CXX" ;; +esac 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 @@ -21884,13 +23251,14 @@ $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 - ac_save_CXX="$CXX" + cachevar=`printf "%s\n" "ax_cv_cxx_compile_cxx20_$switch" | sed "$as_sed_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 case e in #( + e) ac_save_CXX="$CXX" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -22707,17 +24075,20 @@ namespace cxx20 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_cxx_try_compile "$LINENO" +then : eval $cachevar=yes -else - eval $cachevar=no +else case e in #( + e) eval $cachevar=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CXX="$ac_save_CXX" +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + CXX="$ac_save_CXX" ;; +esac 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 @@ -22745,12 +24116,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 @@ -22772,46 +24143,52 @@ 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 - if test -n "$AR"; then +{ 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 case e in #( + e) if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -22820,38 +24197,44 @@ 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 - if test -n "$ac_ct_AR"; then +{ 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 case e in #( + e) if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -22859,8 +24242,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 @@ -22885,8 +24268,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 @@ -22899,10 +24282,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 @@ -22913,13 +24296,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 @@ -22947,16 +24330,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; } +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 @@ -22967,8 +24350,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/'` @@ -22981,11 +24364,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 @@ -23037,30 +24420,32 @@ 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 case e in #( + e) { { 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; } - +See 'config.log' for more details" "$LINENO" 5; } + ;; +esac 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' @@ -23075,15 +24460,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) @@ -23101,17 +24486,19 @@ 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 case e in #( + e) { { 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; } - +See 'config.log' for more details" "$LINENO" 5; } + ;; +esac 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' @@ -23136,7 +24523,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" @@ -23153,56 +24540,60 @@ 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 case e in #( + e) { 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 case e in #( + e) { { 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; } - +See 'config.log' for more details" "$LINENO" 5; } + ;; +esac 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 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 @@ -23213,17 +24604,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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifdef __MINGW32__ @@ -23234,18 +24626,21 @@ 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 - wx_cv_nocygwin=yes - +else case e in #( + e) wx_cv_nocygwin=yes + ;; +esac 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 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 @@ -23270,13 +24665,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 @@ -23286,7 +24681,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 @@ -23294,187 +24689,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 +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 -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 +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : -$as_echo "#define STDC_HEADERS 1" >>confdefs.h +printf "%s\n" "#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 +ac_fn_c_check_header_compile "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$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 "x$ac_cv_header_langinfo_h" = xyes +then : + printf "%s\n" "#define HAVE_LANGINFO_H 1" >>confdefs.h 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 +ac_fn_c_check_header_compile "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$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 "x$ac_cv_header_wchar_h" = xyes +then : + printf "%s\n" "#define HAVE_WCHAR_H 1" >>confdefs.h fi -done - 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' @@ -23482,19 +24768,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' @@ -23504,16 +24785,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +{ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __cplusplus @@ -23526,7 +24808,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 */ @@ -23554,7 +24836,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; @@ -23570,47 +24852,53 @@ 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 - ac_cv_c_const=no +else case e in #( + e) ac_cv_c_const=no ;; +esac 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 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 - ac_cv_c_inline=no +{ 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 case e in #( + e) 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 - + ;; +esac 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) ;; @@ -23630,167 +24918,177 @@ esac # 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]];'. +# 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 : - -else - 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}: 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 case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default" +then : + +else case e in #( + e) if test "$ac_cv_type_short" = yes; then + { { 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; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_short=0 - fi + fi ;; +esac fi - + ;; +esac 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]];'. +# 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 : - -else - 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}: 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 case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default" +then : + +else case e in #( + e) if test "$ac_cv_type_void_p" = yes; then + { { 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; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_void_p=0 - fi + fi ;; +esac fi - + ;; +esac 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]];'. +# 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 : - -else - 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}: 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 case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default" +then : + +else case e in #( + e) if test "$ac_cv_type_int" = yes; then + { { 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; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_int=0 - fi + fi ;; +esac fi - + ;; +esac 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]];'. +# 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 : - -else - 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}: 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 case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" +then : + +else case e in #( + e) if test "$ac_cv_type_long" = yes; then + { { 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; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_long=0 - fi + fi ;; +esac fi - + ;; +esac 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]];'. +# 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 : - -else - 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}: 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 case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default" +then : + +else case e in #( + e) if test "$ac_cv_type_size_t" = yes; then + { { 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; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_size_t=0 - fi + fi ;; +esac fi - + ;; +esac 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 @@ -23798,70 +25096,74 @@ case "${host}" in arm-*-linux* ) # 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]];'. +# 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 : - -else - 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}: 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 case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" +then : + +else case e in #( + e) if test "$ac_cv_type_long_long" = yes; then + { { 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; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_long_long=0 - fi + fi ;; +esac fi - + ;; +esac 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 ;; *-hp-hpux* ) # 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]];'. +# 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 : - -else - 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}: 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 case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" +then : + +else case e in #( + e) if test "$ac_cv_type_long_long" = yes; then + { { 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; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_long_long=0 - fi + fi ;; +esac fi - + ;; +esac 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 @@ -23871,49 +25173,52 @@ _ACEOF * ) # 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]];'. +# 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 : - -else - 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}: 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 case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" +then : + +else case e in #( + e) if test "$ac_cv_type_long_long" = yes; then + { { 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; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_long_long=0 - fi + fi ;; +esac fi - + ;; +esac 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 # 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]];'. +# 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 - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" " +{ 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 case e in #( + e) 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 ) # error \"fake wchar_t\" @@ -23930,40 +25235,42 @@ else #include -"; then : +" +then : -else - 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;} +else case e in #( + e) if test "$ac_cv_type_wchar_t" = yes; then + { { 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; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_wchar_t=0 - fi + fi ;; +esac fi - + ;; +esac 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -23990,13 +25297,15 @@ 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 - wx_cv_func_va_copy=no - +else case e in #( + e) wx_cv_func_va_copy=no + ;; +esac 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' @@ -24005,26 +25314,29 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 - -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 - - if test "$cross_compiling" = yes; then : + printf "%s\n" "#define HAVE_VA_COPY 1" >>confdefs.h + +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 case e in #( + e) + if test "$cross_compiling" = yes +then : wx_cv_type_va_list_lvalue=yes -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24046,48 +25358,54 @@ 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 - wx_cv_type_va_list_lvalue=no +else case e in #( + e) wx_cv_type_va_list_lvalue=no ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - + ;; +esac 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 case e in #( + e) 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; @@ -24097,40 +25415,42 @@ 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 - ac_cv_sys_file_offset_bits=no +else case e in #( + e) ac_cv_sys_file_offset_bits=no ;; +esac 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 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 case e in #( + e) 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; @@ -24140,36 +25460,37 @@ 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 - ac_cv_sys_large_files=no +else case e in #( + e) ac_cv_sys_large_files=no ;; +esac 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 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 @@ -24182,12 +25503,13 @@ 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24198,7 +25520,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ int -main () +main (void) { #ifndef __STDC_EXT__ @@ -24209,13 +25531,15 @@ 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 - wx_cv_STDC_EXT_required=yes - +else case e in #( + e) wx_cv_STDC_EXT_required=yes + ;; +esac 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' @@ -24223,10 +25547,11 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 @@ -24241,71 +25566,97 @@ 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 - while :; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for declarations of fseeko and ftello" >&5 +printf %s "checking for declarations of fseeko and ftello... " >&6; } +if test ${ac_cv_func_fseeko_ftello+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + +#if defined __hpux && !defined _LARGEFILE_SOURCE +# include +# if LONG_MAX >> 31 == 0 +# error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++" +# endif +#endif #include /* for off_t */ - #include +#include + int -main () +main (void) { -int (*fp) (FILE *, off_t, int) = fseeko; - return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); + + int (*fp1) (FILE *, off_t, int) = fseeko; + off_t (*fp2) (FILE *) = ftello; + return fseeko (stdin, 0, 0) + && fp1 (stdin, 0, 0) + && ftello (stdin) >= 0 + && fp2 (stdin) >= 0; + ; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_sys_largefile_source=no; break -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +if ac_fn_cxx_try_compile "$LINENO" +then : + ac_cv_func_fseeko_ftello=yes +else case e in #( + e) ac_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE=1" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#define _LARGEFILE_SOURCE 1 + +#if defined __hpux && !defined _LARGEFILE_SOURCE +# include +# if LONG_MAX >> 31 == 0 +# error "32-bit HP-UX 11/ia64 needs _LARGEFILE_SOURCE for fseeko in C++" +# endif +#endif #include /* for off_t */ - #include +#include + int -main () +main (void) { -int (*fp) (FILE *, off_t, int) = fseeko; - return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); + + int (*fp1) (FILE *, off_t, int) = fseeko; + off_t (*fp2) (FILE *) = ftello; + return fseeko (stdin, 0, 0) + && fp1 (stdin, 0, 0) + && ftello (stdin) >= 0 + && fp2 (stdin) >= 0; + ; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_sys_largefile_source=1; break +if ac_fn_cxx_try_compile "$LINENO" +then : + ac_cv_func_fseeko_ftello="need _LARGEFILE_SOURCE" +else case e in #( + e) ac_cv_func_fseeko_ftello=no ;; +esac fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - ac_cv_sys_largefile_source=unknown - break -done +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 -$as_echo "$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 -;; +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac -rm -rf conftest* +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fseeko_ftello" >&5 +printf "%s\n" "$ac_cv_func_fseeko_ftello" >&6; } +if test "$ac_cv_func_fseeko_ftello" != no +then : -# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug -# in glibc 2.1.3, but that breaks too many other things. -# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. -if test $ac_cv_sys_largefile_source != unknown; then +printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h -$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h +fi +if test "$ac_cv_func_fseeko_ftello" = "need _LARGEFILE_SOURCE" +then : + +printf "%s\n" "#define _LARGEFILE_SOURCE 1" >>confdefs.h fi @@ -24320,12 +25671,13 @@ 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 - ac_cv_c_bigendian=unknown + { 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 case e in #( + e) ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -24335,7 +25687,8 @@ else typedef int dummy; _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO" +then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. @@ -24359,7 +25712,7 @@ if ac_fn_c_try_compile "$LINENO"; then : fi done 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 # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -24368,10 +25721,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext #include int -main () +main (void) { -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ + && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ && LITTLE_ENDIAN) bogus endian macros #endif @@ -24380,7 +25733,8 @@ 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. */ @@ -24388,7 +25742,7 @@ if ac_fn_c_try_compile "$LINENO"; then : #include int -main () +main (void) { #if BYTE_ORDER != BIG_ENDIAN not big endian @@ -24398,14 +25752,16 @@ 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 - ac_cv_c_bigendian=no +else case e in #( + e) ac_cv_c_bigendian=no ;; +esac 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 if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). @@ -24414,7 +25770,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext #include int -main () +main (void) { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros @@ -24424,14 +25780,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 int -main () +main (void) { #ifndef _BIG_ENDIAN not big endian @@ -24441,50 +25798,55 @@ 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 - ac_cv_c_bigendian=no +else case e in #( + e) ac_cv_c_bigendian=no ;; +esac 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 if test $ac_cv_c_bigendian = unknown; then # Compile a test program. - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes +then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -short int ascii_mm[] = +unsigned short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; - short int ascii_ii[] = + unsigned short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } - short int ebcdic_ii[] = + unsigned short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; - short int ebcdic_mm[] = + unsigned short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } - extern int foo; - -int -main () -{ -return use_ascii (foo) == use_ebcdic (foo); - ; - return 0; -} + int + main (int argc, char **argv) + { + /* Intimidate the compiler so that it does not + optimize the arrays away. */ + char *p = argv[0]; + ascii_mm[1] = *p++; ebcdic_mm[1] = *p++; + ascii_ii[1] = *p++; ebcdic_ii[1] = *p++; + return use_ascii (argc) == use_ebcdic (*p); + } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then +if ac_fn_c_try_link "$LINENO" +then : + if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then ac_cv_c_bigendian=yes fi - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then + if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else @@ -24493,13 +25855,14 @@ if ac_fn_c_try_compile "$LINENO"; then : fi fi fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int -main () +main (void) { /* Are we little or big endian? From Harbison&Steele. */ @@ -24515,28 +25878,32 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : ac_cv_c_bigendian=no -else - ac_cv_c_bigendian=yes +else case e in #( + e) ac_cv_c_bigendian=yes ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - fi + fi ;; +esac 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; } case $ac_cv_c_bigendian in #( yes) - $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h + printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) -$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h +printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) @@ -24554,17 +25921,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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #if _SGI_COMPILER_VERSION >= 744 @@ -24575,30 +25943,34 @@ 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 - wx_cv_prog_sgicc744=yes - +else case e in #( + e) wx_cv_prog_sgicc744=yes + ;; +esac 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 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24609,7 +25981,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ int -main () +main (void) { #if _SGI_COMPILER_VERSION >= 744 @@ -24620,13 +25992,15 @@ 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 - wx_cv_prog_sgicxx744=yes - +else case e in #( + e) wx_cv_prog_sgicxx744=yes + ;; +esac 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' @@ -24634,10 +26008,11 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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" @@ -24658,17 +26033,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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { unsigned int value=0; @@ -24679,20 +26055,23 @@ 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 - wx_cv_cc_gcc_atomic_builtins=no +else case e in #( + e) wx_cv_cc_gcc_atomic_builtins=no ;; +esac 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 - + ;; +esac 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 @@ -24738,15 +26117,16 @@ 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 case e in #( + e) for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do for e in a so sl dylib dll.a; do libc="$d/libc.$e" @@ -24759,10 +26139,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 @@ -24772,7 +26153,8 @@ rm -f core conftest.err conftest.$ac_objext \ done done - + ;; +esac fi ;; @@ -24820,8 +26202,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" @@ -24881,8 +26263,8 @@ cat >confcache <<\_ACEOF # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the +# 'ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* 'ac_cv_foo' will be assigned the # following values. _ACEOF @@ -24898,8 +26280,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) ;; #( @@ -24912,14 +26294,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote + # 'set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) - # `set' quotes correctly as required by POSIX, so do not add quotes. + # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | @@ -24929,15 +26311,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 @@ -24951,78 +26333,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 @@ -25038,12 +26420,13 @@ 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 - case $PKG_CONFIG in +{ 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 case e in #( + e) case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; @@ -25052,11 +26435,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 @@ -25064,15 +26451,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -25081,12 +26469,13 @@ 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 - case $ac_pt_PKG_CONFIG in +{ 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 case e in #( + e) 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. ;; @@ -25095,11 +26484,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 @@ -25107,15 +26500,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -25123,8 +26517,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 @@ -25136,14 +26530,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 fi @@ -25159,8 +26553,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;} @@ -25177,7 +26571,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 @@ -25195,17 +26589,17 @@ if test "$wxUSE_REGEX" != "no"; then if test "$wxUSE_REGEX" != "builtin"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpcre2-$pcre_suffix" >&5 -$as_echo_n "checking for libpcre2-$pcre_suffix... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpcre2-$pcre_suffix" >&5 +printf %s "checking for libpcre2-$pcre_suffix... " >&6; } if test -n "$LIBPCRE_CFLAGS"; then pkg_cv_LIBPCRE_CFLAGS="$LIBPCRE_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -25219,10 +26613,10 @@ if test -n "$LIBPCRE_LIBS"; then pkg_cv_LIBPCRE_LIBS="$LIBPCRE_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -25236,8 +26630,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -25257,8 +26651,8 @@ fi 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; } wxUSE_REGEX=builtin @@ -25266,8 +26660,8 @@ $as_echo "no" >&6; } 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" @@ -25277,11 +26671,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. @@ -25291,8 +26685,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 @@ -25307,6 +26701,7 @@ $as_echo "yes" >&6; } + # Various preliminary checks. @@ -25323,9 +26718,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/ ;; @@ -25385,7 +26780,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 @@ -25412,8 +26807,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 @@ -25425,20 +26820,22 @@ 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 case e in #( + e) if test "$cross_compiling" = yes +then : unset ac_cv_header_zlib_h -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -25458,65 +26855,77 @@ 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 - ac_cv_header_zlib_h=no +else case e in #( + e) ac_cv_header_zlib_h=no ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - + ;; +esac 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lz $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char deflate (); +char deflate (void); 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 - ac_cv_lib_z_deflate=no +else case e in #( + e) ac_cv_lib_z_deflate=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -25526,8 +26935,8 @@ fi if test "$wxUSE_ZLIB" = "sys" ; then as_fn_error $? "system 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: system zlib library not found or too old, will use built-in instead" >&5 -$as_echo "$as_me: WARNING: system zlib library not found or too old, will use built-in instead" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: system zlib library not found or too old, will use built-in instead" >&5 +printf "%s\n" "$as_me: WARNING: system zlib library not found or too old, will use built-in instead" >&2;} wxUSE_ZLIB=builtin fi else @@ -25536,11 +26945,11 @@ $as_echo "$as_me: WARNING: system zlib library not found or too old, will use bu 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. @@ -25550,8 +26959,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 @@ -25559,26 +26968,28 @@ 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 case e in #( + e) if test "$cross_compiling" = yes +then : unset ac_cv_header_png_h -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -25595,65 +27006,77 @@ 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 - ac_cv_header_png_h=no +else case e in #( + e) ac_cv_header_png_h=no ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - + ;; +esac 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lpng -lz -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char png_sig_cmp (); +char png_sig_cmp (void); 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 - ac_cv_lib_png_png_sig_cmp=no +else case e in #( + e) ac_cv_lib_png_png_sig_cmp=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -25663,8 +27086,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 @@ -25673,11 +27096,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. @@ -25687,8 +27110,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 @@ -25696,16 +27119,17 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #undef HAVE_STDLIB_H @@ -25713,7 +27137,7 @@ else #include int -main () +main (void) { @@ -25721,57 +27145,68 @@ 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 - ac_cv_header_jpeglib_h=no - +else case e in #( + e) ac_cv_header_jpeglib_h=no + ;; +esac 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 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ljpeg $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char jpeg_read_header (); +char jpeg_read_header (void); 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 - ac_cv_lib_jpeg_jpeg_read_header=no +else case e in #( + e) ac_cv_lib_jpeg_jpeg_read_header=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -25781,8 +27216,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 @@ -25791,49 +27226,50 @@ $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]];'. +# 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 - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" " +{ 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 case e in #( + e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" " #undef HAVE_BOOLEAN #include #include -"; then : +" +then : -else - 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;} +else case e in #( + e) if test "$ac_cv_type_boolean" = yes; then + { { 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; } +See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_boolean=0 - fi + fi ;; +esac fi - + ;; +esac 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 @@ -25848,11 +27284,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. @@ -25862,63 +27298,71 @@ $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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-llzma $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char lzma_code (); +char lzma_code (void); 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 - ac_cv_lib_lzma_lzma_code=no +else case e in #( + e) ac_cv_lib_lzma_lzma_code=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -25934,43 +27378,51 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ljbig $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char jbg_dec_init (); +char jbg_dec_init (void); 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 - ac_cv_lib_jbig_jbg_dec_init=no +else case e in #( + e) ac_cv_lib_jbig_jbg_dec_init=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -25979,23 +27431,23 @@ 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-4" >&5 -$as_echo_n "checking for libtiff-4... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libtiff-4" >&5 +printf %s "checking for libtiff-4... " >&6; } if test -n "$LIBTIFF_CFLAGS"; then pkg_cv_LIBTIFF_CFLAGS="$LIBTIFF_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -26009,10 +27461,10 @@ if test -n "$LIBTIFF_LIBS"; then pkg_cv_LIBTIFF_LIBS="$LIBTIFF_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -26026,8 +27478,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -26043,8 +27495,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 @@ -26063,45 +27515,54 @@ $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 : - - { $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 - ac_check_lib_save_LIBS=$LIBS +if test "x$ac_cv_header_tiffio_h" = xyes +then : + + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char TIFFError (); +char TIFFError (void); 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 - ac_cv_lib_tiff_TIFFError=no +else case e in #( + e) ac_cv_lib_tiff_TIFFError=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -26109,13 +27570,12 @@ fi fi - 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; } - { $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 @@ -26134,45 +27594,54 @@ $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 : - - { $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 - ac_check_lib_save_LIBS=$LIBS +if test "x$ac_cv_header_tiffio_h" = xyes +then : + + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char TIFFError (); +char TIFFError (void); 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 - ac_cv_lib_tiff_TIFFError=no +else case e in #( + e) ac_cv_lib_tiff_TIFFError=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -26180,12 +27649,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 CXXFLAGS="$LIBTIFF_CFLAGS $CXXFLAGS" @@ -26196,8 +27664,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 @@ -26205,11 +27673,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. @@ -26219,8 +27687,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 @@ -26252,9 +27720,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/ ;; @@ -26314,7 +27782,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 @@ -26346,8 +27814,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 @@ -26361,18 +27829,19 @@ 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -26383,20 +27852,22 @@ 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 - wx_cv_expat_is_not_broken=no - +else case e in #( + e) wx_cv_expat_is_not_broken=no + ;; +esac 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' @@ -26404,48 +27875,57 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lexpat $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char XML_ParserCreate (); +char XML_ParserCreate (void); 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 - ac_cv_lib_expat_XML_ParserCreate=no +else case e in #( + e) ac_cv_lib_expat_XML_ParserCreate=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -26455,8 +27935,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 @@ -26464,11 +27944,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. @@ -26478,8 +27958,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 save_CC="$CC" @@ -26491,38 +27971,44 @@ 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 - if test -n "$CC"; then +{ 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 case e in #( + e) 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 - 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -26531,38 +28017,44 @@ 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 - if test -n "$ac_ct_CC"; then +{ 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 case e in #( + e) 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 - 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -26570,8 +28062,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 @@ -26584,38 +28076,44 @@ 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 - if test -n "$CC"; then +{ 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 case e in #( + e) 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 - 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -26624,12 +28122,13 @@ 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 - if test -n "$CC"; then +{ 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 case e in #( + e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no @@ -26637,15 +28136,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 @@ -26661,18 +28164,19 @@ 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 ;; +esac 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 @@ -26683,38 +28187,44 @@ 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 - if test -n "$CC"; then +{ 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 case e in #( + e) 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 - 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -26727,38 +28237,44 @@ 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 - if test -n "$ac_ct_CC"; then +{ 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 case e in #( + e) 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 - 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -26770,8 +28286,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 @@ -26779,25 +28295,131 @@ 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 case e in #( + e) 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 ;; +esac +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 case e in #( + e) 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 ;; +esac +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; } +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 @@ -26807,20 +28429,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_c_compiler_gnu+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +{ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main () +main (void) { #ifndef __GNUC__ choke me @@ -26830,30 +28453,36 @@ 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 - ac_compiler_gnu=no +else case e in #( + e) ac_compiler_gnu=no ;; +esac 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 - + ;; +esac 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 - ac_save_c_werror_flag=$ac_c_werror_flag +{ 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 case e in #( + e) ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" @@ -26861,57 +28490,63 @@ 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 - CFLAGS="" +else case e in #( + e) 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 - ac_c_werror_flag=$ac_save_c_werror_flag +else case e in #( + e) 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 ;; +esac 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 fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag ;; +esac 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 @@ -26926,94 +28561,153 @@ 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_cv_prog_cc_c89=no +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 case e in #( + e) ac_cv_prog_cc_c11=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]; +$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 ;; +esac +fi -/* 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]; +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 case e in #( + e) 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 case e in #( + e) { 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" ;; +esac +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 + ac_prog_cc_stdc=c11 ;; +esac +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 case e in #( + e) 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 ;; +esac +fi -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; -} +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 case e in #( + e) 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 case e in #( + e) { 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" ;; +esac +fi + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 + ac_prog_cc_stdc=c99 ;; +esac +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 case e in #( + e) ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$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 +CC=$ac_save_CC ;; +esac +fi +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 case e in #( + e) 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 case e in #( + e) { 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" ;; +esac 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; } ;; + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 + ac_prog_cc_stdc=c89 ;; esac -if test "x$ac_cv_prog_cc_c89" != xno; then : - +fi fi ac_ext=c @@ -27045,9 +28739,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu 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/ ;; @@ -27107,7 +28801,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 @@ -27133,8 +28827,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 @@ -27143,7 +28837,7 @@ $as_echo "$as_me: WARNING: could not find source tree for $ax_dir" >&2;} 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 @@ -27151,13 +28845,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 @@ -27168,49 +28862,57 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lmspack $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char mspack_create_chm_decompressor (); +char mspack_create_chm_decompressor (void); 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 - ac_cv_lib_mspack_mspack_create_chm_decompressor=no +else case e in #( + e) ac_cv_lib_mspack_mspack_create_chm_decompressor=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -27221,7 +28923,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 @@ -27236,17 +28938,17 @@ 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 "$LIBCURL_CFLAGS"; then pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -27260,10 +28962,10 @@ if test -n "$LIBCURL_LIBS"; then pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -27277,8 +28979,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -27295,24 +28997,24 @@ 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 - { $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; } 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" @@ -27330,16 +29032,17 @@ 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 : - -else +if test "x$ac_cv_header_windows_h" = xyes +then : +else case e in #( + e) as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5 - + ;; +esac fi - LIBS="$LIBS -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lws2_32 -lgdi32 -lgdiplus -lmsimg32" case "${host}" in x86_64-*-mingw* ) @@ -27352,14 +29055,15 @@ 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 - wxUSE_WINHTTP=no +else case e in #( + e) wxUSE_WINHTTP=no ;; +esac fi - if test "$wxUSE_WINHTTP" = "yes" ; then LIBS="$LIBS -lwinhttp" fi @@ -27392,10 +29096,11 @@ if test "$wxUSE_GUI" = "yes"; then fi if test "$wxUSE_GTK" = 1; then - 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 case e in #( + e) if test -z "$wxGTK_VERSION"; then wxGTK_VERSION=any fi @@ -27405,17 +29110,17 @@ else if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0" >&5 -$as_echo_n "checking for gtk+-3.0... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0" >&5 +printf %s "checking for gtk+-3.0... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.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_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27429,10 +29134,10 @@ if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.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_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27446,8 +29151,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -27473,10 +29178,10 @@ Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $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}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { 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 $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -27486,12 +29191,12 @@ and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_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_cv_lib_gtk=3 fi fi @@ -27499,17 +29204,17 @@ fi if test "$wxGTK_VERSION" = 2 -o "$wxGTK_VERSION" = any; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.6.0" >&5 -$as_echo_n "checking for gtk+-2.0 >= 2.6.0... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.6.0" >&5 +printf %s "checking for gtk+-2.0 >= 2.6.0... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.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_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27523,10 +29228,10 @@ if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.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_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.6.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27540,8 +29245,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -27567,10 +29272,10 @@ Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $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}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { 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 $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -27580,12 +29285,12 @@ and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_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_cv_lib_gtk=2.0 fi fi @@ -27594,17 +29299,17 @@ fi if test "$wxGTK_VERSION" = 4 -o "$wxGTK_VERSION" = any; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk4" >&5 -$as_echo_n "checking for gtk4... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk4" >&5 +printf %s "checking for gtk4... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk4\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk4") 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_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27618,10 +29323,10 @@ if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk4\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk4\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk4") 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_GTK_LIBS=`$PKG_CONFIG --libs "gtk4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27635,8 +29340,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -27662,10 +29367,10 @@ Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $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}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { 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 $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -27675,12 +29380,12 @@ and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_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_cv_lib_gtk=4 fi fi @@ -27696,17 +29401,17 @@ fi if test "$wxUSE_THREADS" = "yes"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0" >&5 -$as_echo_n "checking for gthread-2.0... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0" >&5 +printf %s "checking for gthread-2.0... " >&6; } if test -n "$GTHREAD_CFLAGS"; then pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gthread-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_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27720,10 +29425,10 @@ if test -n "$GTHREAD_LIBS"; then pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5 + { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gthread-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_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -27737,8 +29442,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -27764,10 +29469,10 @@ Alternatively, you may set the environment variables GTHREAD_CFLAGS and GTHREAD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $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}: result: no" >&5 +printf "%s\n" "no" >&6; } + { { 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 $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -27777,12 +29482,12 @@ and GTHREAD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5; } +See 'config.log' for more details" "$LINENO" 5; } else GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS GTHREAD_LIBS=$pkg_cv_GTHREAD_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; } fi fi @@ -27791,12 +29496,13 @@ fi wx_cv_libs_gtk="$GTK_LIBS $GTHREAD_LIBS" fi - + ;; +esac fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK version to use" >&5 -$as_echo_n "checking for GTK version to use... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTK version to use" >&5 +printf %s "checking for GTK version to use... " >&6; } case "$wx_cv_lib_gtk" in 4) WXGTK4=1 @@ -27816,15 +29522,15 @@ installed, where VER is 2, 3 or 4. ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: GTK $TOOLKIT_VERSION" >&5 -$as_echo "GTK $TOOLKIT_VERSION" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: GTK $TOOLKIT_VERSION" >&5 +printf "%s\n" "GTK $TOOLKIT_VERSION" >&6; } 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" @@ -27833,19 +29539,20 @@ $as_echo "GTK $TOOLKIT_VERSION" >&6; } 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #if !GTK_CHECK_VERSION(2,20,0) @@ -27856,36 +29563,40 @@ 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 - wx_cv_gtk220=no - +else case e in #( + e) wx_cv_gtk220=no + ;; +esac 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 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #if !GTK_CHECK_VERSION(2,18,0) @@ -27896,37 +29607,41 @@ 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 - wx_cv_gtk218=no - +else case e in #( + e) wx_cv_gtk218=no + ;; +esac 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 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { #if !GTK_CHECK_VERSION(2,10,0) @@ -27937,21 +29652,24 @@ 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 - wx_cv_gtk210=no - +else case e in #( + e) wx_cv_gtk210=no + ;; +esac 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 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 @@ -27964,12 +29682,13 @@ $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 case e in #( + e) save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -27978,7 +29697,7 @@ else #include int -main () +main (void) { #ifndef GDK_WINDOWING_WAYLAND @@ -27989,34 +29708,37 @@ 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 - wx_cv_gdk_wayland=no - +else case e in #( + e) wx_cv_gdk_wayland=no + ;; +esac 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 - + ;; +esac 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 >= 0.9.23" >&5 -$as_echo_n "checking for directfb >= 0.9.23... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directfb >= 0.9.23" >&5 +printf %s "checking for directfb >= 0.9.23... " >&6; } if test -n "$DIRECTFB_CFLAGS"; then pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -28030,10 +29752,10 @@ if test -n "$DIRECTFB_LIBS"; then pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -28047,8 +29769,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -28068,8 +29790,8 @@ fi 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; } as_fn_error $? "DirectFB not found." "$LINENO" 5 @@ -28077,8 +29799,8 @@ $as_echo "no" >&6; } 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" @@ -28090,28 +29812,197 @@ 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; } + ac_ext=c +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 +{ 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 test ${ac_cv_prog_CPP+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) # 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. + # 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. */ +#include + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO" +then : + +else case e in #( + e) # Broken: fails on valid input. +continue ;; +esac +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO" +then : + # Broken: success on invalid input. +continue +else case e in #( + e) # Passes both tests. +ac_preproc_ok=: +break ;; +esac +fi +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 : + break +fi + + done + ac_cv_prog_CPP=$CPP + ;; +esac +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ 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. + # 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. */ +#include + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO" +then : + +else case e in #( + e) # Broken: fails on valid input. +continue ;; +esac +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO" +then : + # Broken: success on invalid input. +continue +else case e in #( + e) # Passes both tests. +ac_preproc_ok=: +break ;; +esac +fi +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 : + +else case e in #( + e) { { 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; } ;; +esac +fi + +ac_ext=c +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 + + +{ 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 -# $have_x is `yes', `no', `disabled', or empty when we do not yet know. +# $have_x is 'yes', 'no', 'disabled', or empty when we do not yet know. if test "x$with_x" = xno; then # The user explicitly disabled X. have_x=disabled 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 - # 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 + *,NONE | NONE,*) if test ${ac_cv_have_x+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) # One or both of the vars are not set, and there is no cached value. +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' @@ -28150,7 +30041,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 @@ -28177,6 +30068,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 @@ -28198,16 +30091,18 @@ 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 - for ac_dir in $ac_x_header_dirs; do +else case e in #( + e) for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir break fi -done +done ;; +esac fi rm -f conftest.err conftest.i conftest.$ac_ext fi # $ac_x_includes = no @@ -28222,20 +30117,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 - LIBS=$ac_save_LIBS -for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` +else case e in #( + e) LIBS=$ac_save_LIBS +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 @@ -28244,21 +30140,25 @@ do break 2 fi done -done +done ;; +esac 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 ;; esac fi ;; #( @@ -28268,8 +30168,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. @@ -28279,14 +30179,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 @@ -28299,8 +30199,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 @@ -28308,42 +30208,46 @@ $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 - LIBS="$ac_xsave_LIBS -R $x_libraries" +else case e in #( + e) 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 case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 +printf "%s\n" "neither works" >&6; } ;; +esac fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext ;; +esac 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 @@ -28365,106 +30269,127 @@ 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char XOpenDisplay (); +char XOpenDisplay (void); int -main () +main (void) { return XOpenDisplay (); ; return 0; } _ACEOF -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 - ac_check_lib_save_LIBS=$LIBS +if ac_fn_c_try_link "$LINENO" +then : + +else case e in #( + e) { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char dnet_ntoa (); +char dnet_ntoa (void); 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 - ac_cv_lib_dnet_dnet_ntoa=no +else case e in #( + e) ac_cv_lib_dnet_dnet_ntoa=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet_stub $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char dnet_ntoa (); +char dnet_ntoa (void); 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 - ac_cv_lib_dnet_stub_dnet_ntoa=no +else case e in #( + e) ac_cv_lib_dnet_stub_dnet_ntoa=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 ;; +esac 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" @@ -28477,89 +30402,106 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char gethostbyname (); +char gethostbyname (void); 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 - ac_cv_lib_nsl_gethostbyname=no +else case e in #( + e) ac_cv_lib_nsl_gethostbyname=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char gethostbyname (); +char gethostbyname (void); 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 - ac_cv_lib_bsd_gethostbyname=no +else case e in #( + e) ac_cv_lib_bsd_gethostbyname=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -28574,48 +30516,57 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char connect (); +char connect (void); 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 - ac_cv_lib_socket_connect=no +else case e in #( + e) ac_cv_lib_socket_connect=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -28623,48 +30574,57 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lposix $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char remove (); +char remove (void); 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 - ac_cv_lib_posix_remove=no +else case e in #( + e) ac_cv_lib_posix_remove=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -28672,48 +30632,57 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lipc $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char shmat (); +char shmat (void); 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 - ac_cv_lib_ipc_shmat=no +else case e in #( + e) ac_cv_lib_ipc_shmat=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -28729,43 +30698,51 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char IceConnectionNumber (); +char IceConnectionNumber (void); 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 - ac_cv_lib_ICE_IceConnectionNumber=no +else case e in #( + e) ac_cv_lib_ICE_IceConnectionNumber=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -28783,33 +30760,33 @@ 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 "$PANGOXFT_CFLAGS"; then pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -28823,10 +30800,10 @@ if test -n "$PANGOXFT_LIBS"; then pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -28840,8 +30817,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -28861,8 +30838,8 @@ fi 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; } as_fn_error $? "Required pangoxft library not found" "$LINENO" 5 @@ -28870,10 +30847,10 @@ $as_echo "no" >&6; } 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" @@ -28882,17 +30859,17 @@ $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 "$PANGOFT2_CFLAGS"; then pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -28906,10 +30883,10 @@ if test -n "$PANGOFT2_LIBS"; then pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -28923,8 +30900,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -28940,25 +30917,25 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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" @@ -28966,16 +30943,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" @@ -28992,8 +30965,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 @@ -29021,15 +30994,16 @@ $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; } - - { $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}: result: found in $ac_find_libraries" >&5 +printf "%s\n" "found in $ac_find_libraries" >&6; } + + { 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 case e in #( + e) save_CFLAGS=$CFLAGS CFLAGS="$TOOLKIT_INCLUDE $CFLAGS" @@ -29039,7 +31013,7 @@ else #include int -main () +main (void) { int version; @@ -29049,70 +31023,81 @@ 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 - wx_cv_x11_xpm_h=no - +else case e in #( + e) wx_cv_x11_xpm_h=no + ;; +esac 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 - + ;; +esac 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char XShapeQueryExtension (); +char XShapeQueryExtension (void); 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 - ac_cv_lib_Xext_XShapeQueryExtension=no +else case e in #( + e) ac_cv_lib_Xext_XShapeQueryExtension=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -29124,8 +31109,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. */ @@ -29133,7 +31118,7 @@ $as_echo_n "checking for X11/extensions/shape.h... " >&6; } #include int -main () +main (void) { int dummy1, dummy2; @@ -29144,20 +31129,22 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - - $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h +if ac_fn_c_try_compile "$LINENO" +then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 -$as_echo "found" >&6; } + printf "%s\n" "#define HAVE_XSHAPE 1" >>confdefs.h -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: found" >&5 +printf "%s\n" "found" >&6; } +else case e in #( + e) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +printf "%s\n" "not found" >&6; } + ;; +esac 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 @@ -29192,17 +31179,17 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test" >&5 -$as_echo_n "checking for Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test" >&5 +printf %s "checking for Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test... " >&6; } if test -n "$QT5_CFLAGS"; then pkg_cv_QT5_CFLAGS="$QT5_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -29216,10 +31203,10 @@ if test -n "$QT5_LIBS"; then pkg_cv_QT5_LIBS="$QT5_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -29233,8 +31220,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -29254,8 +31241,8 @@ fi 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; } as_fn_error $? "Qt5 libraries are not available" "$LINENO" 5 @@ -29263,8 +31250,8 @@ $as_echo "no" >&6; } 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}" @@ -29301,36 +31288,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 @@ -29354,12 +31331,13 @@ 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 - case $PKG_CONFIG in +{ 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 case e in #( + e) case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; @@ -29368,11 +31346,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 @@ -29380,15 +31362,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -29397,12 +31380,13 @@ 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 - case $ac_pt_PKG_CONFIG in +{ 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 case e in #( + e) 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. ;; @@ -29411,11 +31395,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 @@ -29423,15 +31411,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -29439,8 +31428,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 @@ -29452,30 +31441,30 @@ 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 $fl_pkgname" >&5 -$as_echo_n "checking for $fl_pkgname... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $fl_pkgname" >&5 +printf %s "checking for $fl_pkgname... " >&6; } if test -n "$Xinerama_CFLAGS"; then pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -29489,10 +31478,10 @@ if test -n "$Xinerama_LIBS"; then pkg_cv_Xinerama_LIBS="$Xinerama_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -29506,8 +31495,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -29525,43 +31514,51 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lXinerama $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char XineramaQueryScreens (); +char XineramaQueryScreens (void); 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 - ac_cv_lib_Xinerama_XineramaQueryScreens=no +else case e in #( + e) ac_cv_lib_Xinerama_XineramaQueryScreens=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -29569,8 +31566,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 @@ -29584,57 +31581,65 @@ $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 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; } 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lXinerama $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char XineramaQueryScreens (); +char XineramaQueryScreens (void); 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 - ac_cv_lib_Xinerama_XineramaQueryScreens=no +else case e in #( + e) ac_cv_lib_Xinerama_XineramaQueryScreens=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -29642,8 +31647,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 @@ -29657,19 +31662,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" @@ -29707,8 +31712,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 @@ -29731,12 +31736,13 @@ 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 - case $PKG_CONFIG in +{ 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 case e in #( + e) case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; @@ -29745,11 +31751,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 @@ -29757,15 +31767,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -29774,12 +31785,13 @@ 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 - case $ac_pt_PKG_CONFIG in +{ 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 case e in #( + e) 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. ;; @@ -29788,11 +31800,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 @@ -29800,15 +31816,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -29816,8 +31833,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 @@ -29829,30 +31846,30 @@ 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 $fl_pkgname" >&5 -$as_echo_n "checking for $fl_pkgname... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $fl_pkgname" >&5 +printf %s "checking for $fl_pkgname... " >&6; } if test -n "$Xxf86vm_CFLAGS"; then pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -29866,10 +31883,10 @@ if test -n "$Xxf86vm_LIBS"; then pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -29883,8 +31900,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -29902,43 +31919,51 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lXxf86vm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char XF86VidModeQueryExtension (); +char XF86VidModeQueryExtension (void); 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 - ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no +else case e in #( + e) ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -29946,8 +31971,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 @@ -29961,57 +31986,65 @@ $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 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; } 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lXxf86vm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char XF86VidModeQueryExtension (); +char XF86VidModeQueryExtension (void); 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 - ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no +else case e in #( + e) ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -30019,8 +32052,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 @@ -30034,19 +32067,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" @@ -30063,7 +32096,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 @@ -30071,17 +32104,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 @@ -30103,12 +32134,13 @@ 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 - case $PKG_CONFIG in +{ 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 case e in #( + e) case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; @@ -30117,11 +32149,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 @@ -30129,15 +32165,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -30146,12 +32183,13 @@ 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 - case $ac_pt_PKG_CONFIG in +{ 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 case e in #( + e) 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. ;; @@ -30160,11 +32198,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 @@ -30172,15 +32214,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -30188,8 +32231,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 @@ -30201,30 +32244,30 @@ 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 $fl_pkgname" >&5 -$as_echo_n "checking for $fl_pkgname... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $fl_pkgname" >&5 +printf %s "checking for $fl_pkgname... " >&6; } if test -n "$SM_CFLAGS"; then pkg_cv_SM_CFLAGS="$SM_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -30238,10 +32281,10 @@ if test -n "$SM_LIBS"; then pkg_cv_SM_LIBS="$SM_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -30255,8 +32298,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -30274,43 +32317,51 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lSM $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char SmcOpenConnection (); +char SmcOpenConnection (void); 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 - ac_cv_lib_SM_SmcOpenConnection=no +else case e in #( + e) ac_cv_lib_SM_SmcOpenConnection=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -30318,8 +32369,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 @@ -30333,57 +32384,65 @@ $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 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; } 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lSM $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char SmcOpenConnection (); +char SmcOpenConnection (void); 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 - ac_cv_lib_SM_SmcOpenConnection=no +else case e in #( + e) ac_cv_lib_SM_SmcOpenConnection=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -30391,8 +32450,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 @@ -30406,19 +32465,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" @@ -30455,8 +32514,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 @@ -30476,8 +32535,8 @@ if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then OPENGL_LIBS="-lopengl32" 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 @@ -30489,8 +32548,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="" @@ -30506,13 +32565,14 @@ $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 : found_gl=0 @@ -30531,12 +32591,13 @@ 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 - case $PKG_CONFIG in +{ 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 case e in #( + e) case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; @@ -30545,11 +32606,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 @@ -30557,15 +32622,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -30574,12 +32640,13 @@ 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 - case $ac_pt_PKG_CONFIG in +{ 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 case e in #( + e) 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. ;; @@ -30588,11 +32655,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 @@ -30600,15 +32671,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -30616,8 +32688,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 @@ -30629,30 +32701,30 @@ 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 $fl_pkgname" >&5 -$as_echo_n "checking for $fl_pkgname... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $fl_pkgname" >&5 +printf %s "checking for $fl_pkgname... " >&6; } if test -n "$GL_CFLAGS"; then pkg_cv_GL_CFLAGS="$GL_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -30666,10 +32738,10 @@ if test -n "$GL_LIBS"; then pkg_cv_GL_LIBS="$GL_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -30683,8 +32755,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -30702,43 +32774,51 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char glBegin (); +char glBegin (void); 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 - ac_cv_lib_GL_glBegin=no +else case e in #( + e) ac_cv_lib_GL_glBegin=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -30746,8 +32826,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 @@ -30761,57 +32841,65 @@ $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 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; } 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char glBegin (); +char glBegin (void); 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 - ac_cv_lib_GL_glBegin=no +else case e in #( + e) ac_cv_lib_GL_glBegin=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -30819,8 +32907,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 @@ -30834,19 +32922,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" @@ -30889,17 +32977,17 @@ fi if test "$wxUSE_GLCANVAS_EGL" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egl >= 1.5" >&5 -$as_echo_n "checking for egl >= 1.5... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egl >= 1.5" >&5 +printf %s "checking for egl >= 1.5... " >&6; } if test -n "$EGL_CFLAGS"; then pkg_cv_EGL_CFLAGS="$EGL_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -30913,10 +33001,10 @@ if test -n "$EGL_LIBS"; then pkg_cv_EGL_LIBS="$EGL_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -30930,8 +33018,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -30947,40 +33035,40 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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 "$WAYLAND_EGL_CFLAGS"; then pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -30994,10 +33082,10 @@ if test -n "$WAYLAND_EGL_LIBS"; then pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -31011,8 +33099,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -31030,15 +33118,15 @@ fi : 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 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" @@ -31049,8 +33137,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 @@ -31072,12 +33160,13 @@ 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 - case $PKG_CONFIG in +{ 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 case e in #( + e) case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; @@ -31086,11 +33175,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 @@ -31098,15 +33191,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -31115,12 +33209,13 @@ 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 - case $ac_pt_PKG_CONFIG in +{ 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 case e in #( + e) 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. ;; @@ -31129,11 +33224,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 @@ -31141,15 +33240,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -31157,8 +33257,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 @@ -31170,30 +33270,30 @@ 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 $fl_pkgname" >&5 -$as_echo_n "checking for $fl_pkgname... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $fl_pkgname" >&5 +printf %s "checking for $fl_pkgname... " >&6; } if test -n "$MesaGL_CFLAGS"; then pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -31207,10 +33307,10 @@ if test -n "$MesaGL_LIBS"; then pkg_cv_MesaGL_LIBS="$MesaGL_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -31224,8 +33324,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -31243,43 +33343,51 @@ 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lMesaGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char glEnable (); +char glEnable (void); 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 - ac_cv_lib_MesaGL_glEnable=no +else case e in #( + e) ac_cv_lib_MesaGL_glEnable=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -31287,8 +33395,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 @@ -31302,57 +33410,65 @@ $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 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; } 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lMesaGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char glEnable (); +char glEnable (void); 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 - ac_cv_lib_MesaGL_glEnable=no +else case e in #( + e) ac_cv_lib_MesaGL_glEnable=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -31360,8 +33476,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 @@ -31375,19 +33491,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" @@ -31429,20 +33545,19 @@ 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 @@ -31452,9 +33567,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" @@ -31462,6 +33577,64 @@ $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library wil fi +case "${host}" in + *-*-freebsd*) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libprocstat" >&5 +printf %s "checking for libprocstat... " >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_getpathname in -lprocstat" >&5 +printf %s "checking for procstat_getpathname in -lprocstat... " >&6; } +if test ${ac_cv_lib_procstat_procstat_getpathname+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_check_lib_save_LIBS=$LIBS +LIBS="-lprocstat $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* 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. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ +#ifdef __cplusplus +extern "C" +#endif +char procstat_getpathname (void); +int +main (void) +{ +return procstat_getpathname (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO" +then : + ac_cv_lib_procstat_procstat_getpathname=yes +else case e in #( + e) ac_cv_lib_procstat_procstat_getpathname=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_getpathname" >&5 +printf "%s\n" "$ac_cv_lib_procstat_procstat_getpathname" >&6; } +if test "x$ac_cv_lib_procstat_procstat_getpathname" = xyes +then : + + PROCSTAT_LINK=" -L/usr/lib -lprocstat" + PROCSTAT_FOUND=1 + +fi + + ;; +esac + if test -n "$TOOLKIT" ; then TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__" fi @@ -31477,12 +33650,13 @@ 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 case e in #( + e) echo "VER_1 { *; };" >conftest.sym echo "int main() { return 0; }" >conftest.cpp @@ -31492,7 +33666,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 @@ -31510,7 +33684,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_undefined_version=no @@ -31534,7 +33708,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 @@ -31542,7 +33716,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=' @@ -31551,7 +33725,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 @@ -31563,10 +33737,11 @@ else rm -f conftest.output conftest.stderr conftest.sym conftest.cpp rm -f conftest1.output conftest2.output conftest3.output - + ;; +esac 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" @@ -31584,12 +33759,13 @@ $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 case e in #( + e) wx_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY" ac_ext=cpp @@ -31639,37 +33815,41 @@ 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 - wx_cv_cc_visibility=no +else case e in #( + e) wx_cv_cc_visibility=no ;; +esac 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' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - CXXFLAGS="$wx_save_CXXFLAGS" + CXXFLAGS="$wx_save_CXXFLAGS" ;; +esac 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 case e in #( + e) wx_save_CXXFLAGS="$CXXFLAGS" wx_save_LDFLAGS="$LDFLAGS" CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY" @@ -31686,7 +33866,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { std::string s("hello"); @@ -31696,12 +33876,14 @@ 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 - wx_cv_cc_broken_libstdcxx_visibility=yes +else case e in #( + e) wx_cv_cc_broken_libstdcxx_visibility=yes ;; +esac 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' @@ -31710,19 +33892,21 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu CXXFLAGS="$wx_save_CXXFLAGS" - LDFLAGS="$wx_save_LDFLAGS" + LDFLAGS="$wx_save_LDFLAGS" ;; +esac 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -31737,7 +33921,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #pragma GCC visibility pop int -main () +main (void) { std::string s("hello"); @@ -31747,12 +33931,14 @@ 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 - wx_cv_cc_visibility_workaround=yes +else case e in #( + e) wx_cv_cc_visibility_workaround=yes ;; +esac 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' @@ -31760,11 +33946,12 @@ 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 - + ;; +esac 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 @@ -31773,10 +33960,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 @@ -31805,62 +33992,66 @@ $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; } DYLIB_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib" WXCONFIG_RPATH="-Wl,-rpath,\$libdir" -else - - { $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; } +else case e in #( + e) + { 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; } DYLIB_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib" WXCONFIG_RPATH="-Wl,-R,\$libdir" -else - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - +else case e in #( + e) + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + ;; +esac 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 - + ;; +esac 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" ;; @@ -31948,11 +34139,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 @@ -31963,17 +34153,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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { return 0; } @@ -31986,33 +34177,37 @@ 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 - wx_cv_size_t_is_uint=yes - +else case e in #( + e) wx_cv_size_t_is_uint=yes + ;; +esac 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 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { return 0; } @@ -32025,34 +34220,38 @@ 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 - wx_cv_size_t_is_ulong=yes - +else case e in #( + e) wx_cv_size_t_is_ulong=yes + ;; +esac 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 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +{ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { return 0; } @@ -32068,23 +34267,26 @@ 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 - wx_cv_wchar_t_is_separate_type=no - +else case e in #( + e) wx_cv_wchar_t_is_separate_type=no + ;; +esac 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 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 @@ -32095,17 +34297,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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *p; @@ -32116,123 +34319,142 @@ 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 case e in #( + e) wx_cv_struct_pw_gecos=no - + ;; +esac 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 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lmsvcrt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char wcslen (); +char wcslen (void); 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 - ac_cv_lib_msvcrt_wcslen=no +else case e in #( + e) ac_cv_lib_msvcrt_wcslen=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 - ac_check_lib_save_LIBS=$LIBS + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lw $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char wcslen (); +char wcslen (void); 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 - ac_cv_lib_w_wcslen=no +else case e in #( + e) ac_cv_lib_w_wcslen=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 @@ -32243,34 +34465,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 @@ -32280,22 +34517,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 @@ -32303,12 +34535,13 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32317,7 +34550,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -32330,23 +34563,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -32364,12 +34600,13 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32377,7 +34614,7 @@ else #include int -main () +main (void) { char *buf; @@ -32389,21 +34626,24 @@ 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 - wx_cv_func_broken_vsnprintf_decl=yes - +else case e in #( + e) wx_cv_func_broken_vsnprintf_decl=yes + ;; +esac 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 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 @@ -32411,23 +34651,25 @@ 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 - - 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}: 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 case e in #( + e) + if test "$cross_compiling" = yes +then : + + { 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ [ @@ -32443,35 +34685,40 @@ 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 - wx_cv_func_snprintf_pos_params=yes +else case e in #( + e) wx_cv_func_snprintf_pos_params=yes ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi - + ;; +esac 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32479,7 +34726,7 @@ else #include int -main () +main (void) { const char *buf; @@ -32490,21 +34737,24 @@ 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 - wx_cv_func_broken_vsscanf_decl=yes - +else case e in #( + e) wx_cv_func_broken_vsscanf_decl=yes + ;; +esac 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 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 @@ -32519,19 +34769,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 " @@ -32541,12 +34786,13 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32555,7 +34801,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -32568,23 +34814,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -32595,40 +34844,43 @@ _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 case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } ;; +esac 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -32637,7 +34889,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -32650,23 +34902,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -32691,7 +34946,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 @@ -32701,12 +34957,13 @@ 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 case e in #( + e) am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32714,7 +34971,7 @@ else #include #include int -main () +main (void) { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -32723,10 +34980,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" @@ -32736,7 +34994,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); @@ -32745,28 +35003,31 @@ 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 - + ;; +esac 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -32782,24 +35043,27 @@ 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 - wx_cv_func_iconv_const="yes" - +else case e in #( + e) wx_cv_func_iconv_const="yes" + ;; +esac 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 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 @@ -32807,9 +35071,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= @@ -32828,32 +35090,29 @@ 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 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32864,7 +35123,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main () +main (void) { @@ -32877,13 +35136,15 @@ 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 - wx_cv_func_backtrace=no - +else case e in #( + e) wx_cv_func_backtrace=no + ;; +esac 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' @@ -32891,82 +35152,96 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 - ac_func_search_save_LIBS=$LIBS + { 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 case e in #( + e) ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char backtrace (); +char backtrace (void); 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 - ac_cv_search_backtrace=no +else case e in #( + e) ac_cv_search_backtrace=no ;; +esac fi rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS +LIBS=$ac_func_search_save_LIBS ;; +esac 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 - wx_cv_func_backtrace=no +else case e in #( + e) wx_cv_func_backtrace=no ;; +esac 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -32977,7 +35252,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main () +main (void) { int rc; @@ -32987,13 +35262,15 @@ 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 - wx_cv_func_cxa_demangle=no - +else case e in #( + e) wx_cv_func_cxa_demangle=no + ;; +esac 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' @@ -33002,54 +35279,58 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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" | sed "$as_sed_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" | sed "$as_sed_cpp"` 1 _ACEOF break fi -done +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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +{ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main () +main (void) { statvfs("/", NULL); @@ -33058,25 +35339,29 @@ 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 - wx_cv_func_statvfs=no - +else case e in #( + e) wx_cv_func_statvfs=no + ;; +esac 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 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 - ac_ext=cpp + { 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 case e in #( + e) ac_ext=cpp 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' @@ -33088,7 +35373,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { long l; @@ -33102,17 +35387,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=statvfs_t -else - +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { long l; @@ -33126,30 +35412,34 @@ 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 - wx_cv_type_statvfs_t="unknown" - +else case e in #( + e) wx_cv_type_statvfs_t="unknown" + ;; +esac 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 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' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 @@ -33157,12 +35447,13 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined(__BSD__) @@ -33173,7 +35464,7 @@ else #endif int -main () +main (void) { long l; @@ -33187,25 +35478,29 @@ 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 - wx_cv_func_statfs=no - +else case e in #( + e) wx_cv_func_statfs=no + ;; +esac 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 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 - ac_ext=cpp + { 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 case e in #( + e) ac_ext=cpp 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' @@ -33222,7 +35517,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #endif int -main () +main (void) { struct statfs fs; @@ -33232,161 +35527,171 @@ 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 - wx_cv_func_statfs_decl=no - +else case e in #( + e) wx_cv_func_statfs_decl=no + ;; +esac 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' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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" | sed "$as_sed_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" | sed "$as_sed_cpp"` 1 _ACEOF break fi -done +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" | sed "$as_sed_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" | sed "$as_sed_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 - -else - - { $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 - ac_check_lib_save_LIBS=$LIBS +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 case e in #( + e) + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char nanosleep (); +char nanosleep (void); 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 - ac_cv_lib_posix4_nanosleep=no +else case e in #( + e) ac_cv_lib_posix4_nanosleep=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 case e in #( + e) 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33395,7 +35700,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -33408,23 +35713,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -33436,25 +35744,28 @@ _ACEOF done - + ;; +esac fi - + ;; +esac 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33463,7 +35774,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -33476,23 +35787,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -33506,12 +35820,13 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33520,7 +35835,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -33533,23 +35848,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -33564,12 +35882,13 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33578,7 +35897,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -33591,23 +35910,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -33619,257 +35941,302 @@ _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 - -else - - { $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 - ac_check_lib_save_LIBS=$LIBS +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 case e in #( + e) + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char inet_addr (); +char inet_addr (void); 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 - ac_cv_lib_nsl_inet_addr=no +else case e in #( + e) ac_cv_lib_nsl_inet_addr=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 - - { $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 - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lresolv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char inet_addr (); +char inet_addr (void); 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 - ac_cv_lib_resolv_inet_addr=no +else case e in #( + e) ac_cv_lib_resolv_inet_addr=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 - - { $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 - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char inet_addr (); +char inet_addr (void); 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 - ac_cv_lib_socket_inet_addr=no +else case e in #( + e) ac_cv_lib_socket_inet_addr=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 - - { $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 - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lnetwork $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char inet_addr (); +char inet_addr (void); 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 - ac_cv_lib_network_inet_addr=no +else case e in #( + e) ac_cv_lib_network_inet_addr=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 - + ;; +esac fi - + ;; +esac fi - + ;; +esac fi - + ;; +esac 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 - -else - - 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 - ac_check_lib_save_LIBS=$LIBS +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 case e in #( + e) + as_ac_Lib=`printf "%s\n" "ac_cv_lib_$INET_LINK""_inet_aton" | sed "$as_sed_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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-l$INET_LINK $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char inet_aton (); +char inet_aton (void); 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 - eval "$as_ac_Lib=no" +else case e in #( + e) eval "$as_ac_Lib=no" ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 - + ;; +esac fi -done +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 @@ -33877,12 +36244,13 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33891,7 +36259,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -33904,23 +36272,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -33935,12 +36306,13 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33949,7 +36321,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -33962,23 +36334,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -33992,12 +36367,13 @@ _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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34009,7 +36385,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -34026,23 +36402,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -34056,12 +36435,13 @@ _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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34073,7 +36453,7 @@ else $ac_includes_default int -main () +main (void) { #ifndef $wx_func @@ -34090,23 +36470,26 @@ 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 - eval wx_cv_func_$wx_func=no +else case e in #( + e) eval wx_cv_func_$wx_func=no ;; +esac 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 - + ;; +esac 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" | sed "$as_sed_cpp"` 1 _ACEOF @@ -34132,8 +36515,8 @@ cat >confcache <<\_ACEOF # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the +# 'ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* 'ac_cv_foo' will be assigned the # following values. _ACEOF @@ -34149,8 +36532,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) ;; #( @@ -34163,14 +36546,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote + # 'set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) - # `set' quotes correctly as required by POSIX, so do not add quotes. + # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | @@ -34180,15 +36563,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 @@ -34202,8 +36585,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 @@ -34217,8 +36600,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 @@ -34286,19 +36669,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 @@ -34312,24 +36695,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 @@ -34340,15 +36724,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*) @@ -34369,8 +36753,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 @@ -34380,43 +36764,46 @@ $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 case e in #( + e) - 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 - -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;} +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 case e in #( + e) { 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;} ;; +esac fi -done - -fi done + ;; +esac +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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34429,7 +36816,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu void ThreadCleanupFunc(void *p); int -main () +main (void) { void *p; @@ -34440,156 +36827,177 @@ 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 case e in #( + e) wx_cv_func_pthread_cleanup=no - + ;; +esac 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' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 - -else - - { $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 - ac_check_lib_save_LIBS=$LIBS +if test "x$ac_cv_func_sched_yield" = xyes +then : + printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h + +else case e in #( + e) + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char sched_yield (); +char sched_yield (void); 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 - ac_cv_lib_posix4_sched_yield=no +else case e in #( + e) ac_cv_lib_posix4_sched_yield=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 case e in #( + e) { 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;} + ;; +esac fi - + ;; +esac fi 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 - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char sched_get_priority_max (); +char sched_get_priority_max (void); 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 - ac_cv_lib_posix4_sched_get_priority_max=no +else case e in #( + e) ac_cv_lib_posix4_sched_get_priority_max=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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" fi - + ;; +esac fi @@ -34600,52 +37008,58 @@ 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 case e in #( + e) { 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;} ;; +esac 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 case e in #( + e) { 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;} ;; +esac 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { pthread_mutexattr_t attr; @@ -34655,33 +37069,37 @@ 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 - wx_cv_type_pthread_mutexattr_t=no - +else case e in #( + e) wx_cv_type_pthread_mutexattr_t=no + ;; +esac 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 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { pthread_mutexattr_t attr; @@ -34691,33 +37109,37 @@ 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 - wx_cv_func_pthread_mutexattr_settype_decl=no - +else case e in #( + e) wx_cv_func_pthread_mutexattr_settype_decl=no + ;; +esac 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 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; @@ -34726,37 +37148,41 @@ 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 case e in #( + e) wx_cv_type_pthread_rec_mutex_init=no - + ;; +esac 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 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34767,7 +37193,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main () +main (void) { void foo(abi::__forced_unwind&); @@ -34776,13 +37202,15 @@ 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 - wx_cv_type_abi_forced_unwind=no - +else case e in #( + e) wx_cv_type_abi_forced_unwind=no + ;; +esac 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' @@ -34790,13 +37218,14 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 @@ -34804,14 +37233,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 @@ -34824,13 +37255,14 @@ 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; } - - if ${ac_cv_func_which_gethostbyname_r+:} false; then : - $as_echo_n "(cached) " >&6 -else + { 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 test ${ac_cv_func_which_gethostbyname_r+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ################################################################ @@ -34849,7 +37281,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name = "www.gnu.org"; @@ -34859,10 +37291,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 @@ -34875,7 +37308,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name = "www.gnu.org"; @@ -34889,10 +37322,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 @@ -34907,7 +37341,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name = "www.gnu.org"; @@ -34921,10 +37355,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 @@ -34939,7 +37374,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name = "www.gnu.org"; @@ -34951,59 +37386,61 @@ 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 ################################################################ - + ;; +esac 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; } ;; *) @@ -35022,31 +37459,34 @@ 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 - -else +if test "x$ac_cv_func_gethostbyname" = xyes +then : + printf "%s\n" "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h +else case e in #( + e) 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 - + ;; +esac 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35058,7 +37498,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main () +main (void) { @@ -35073,15 +37513,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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { @@ -35096,15 +37537,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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { char *name; @@ -35117,21 +37559,25 @@ 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 - ac_cv_func_which_getservbyname_r=no - +else case e in #( + e) ac_cv_func_which_getservbyname_r=no + ;; +esac 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 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 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' @@ -35139,105 +37585,97 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 - -else +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 case e in #( + e) 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 - + ;; +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 @@ -35289,8 +37727,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 @@ -35306,41 +37744,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 @@ -35350,142 +37788,156 @@ 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 - - { $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 - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char dlopen (); +char dlopen (void); 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 - ac_cv_lib_dl_dlopen=no +else case e in #( + e) ac_cv_lib_dl_dlopen=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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" fi - + ;; +esac fi -done +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 - -else - - { $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 - ac_check_lib_save_LIBS=$LIBS +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 case e in #( + e) + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char dladdr (); +char dladdr (void); 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 - ac_cv_lib_dl_dladdr=no +else case e in #( + e) ac_cv_lib_dl_dladdr=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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" fi - + ;; +esac fi -done +done - for ac_func in dl_iterate_phdr -do : - ac_fn_c_check_func "$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr" -if test "x$ac_cv_func_dl_iterate_phdr" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_DL_ITERATE_PHDR 1 -_ACEOF + ac_fn_c_check_func "$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr" +if test "x$ac_cv_func_dl_iterate_phdr" = xyes +then : + printf "%s\n" "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h fi -done fi fi @@ -35497,13 +37949,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 @@ -35511,11 +37963,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 @@ -35523,77 +37975,76 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) 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 - wx_cv_inotify_usable=no - +else case e in #( + e) wx_cv_inotify_usable=no + ;; +esac 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 - + ;; +esac 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 @@ -35604,19 +38055,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 @@ -35624,17 +38075,17 @@ 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 "$XKBCOMMON_CFLAGS"; then pkg_cv_XKBCOMMON_CFLAGS="$XKBCOMMON_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -35648,10 +38099,10 @@ if test -n "$XKBCOMMON_LIBS"; then pkg_cv_XKBCOMMON_LIBS="$XKBCOMMON_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -35665,8 +38116,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35682,28 +38133,28 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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 @@ -35715,17 +38166,17 @@ 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-1" >&5 -$as_echo_n "checking for libsecret-1... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsecret-1" >&5 +printf %s "checking for libsecret-1... " >&6; } if test -n "$LIBSECRET_CFLAGS"; then pkg_cv_LIBSECRET_CFLAGS="$LIBSECRET_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -35739,10 +38190,10 @@ if test -n "$LIBSECRET_LIBS"; then pkg_cv_LIBSECRET_LIBS="$LIBSECRET_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -35756,8 +38207,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35773,25 +38224,25 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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" @@ -35804,7 +38255,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 @@ -35817,17 +38268,17 @@ if test "$wxUSE_SPELLCHECK" = "yes"; then if test "$WXGTK3" = 1; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gspell-1" >&5 -$as_echo_n "checking for gspell-1... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gspell-1" >&5 +printf %s "checking for gspell-1... " >&6; } if test -n "$GSPELL_CFLAGS"; then pkg_cv_GSPELL_CFLAGS="$GSPELL_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -35841,10 +38292,10 @@ if test -n "$GSPELL_LIBS"; then pkg_cv_GSPELL_LIBS="$GSPELL_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -35858,8 +38309,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -35875,25 +38326,25 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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" @@ -35902,44 +38353,45 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -35950,7 +38402,7 @@ else #endif int -main () +main (void) { ioctl(0, SNDCTL_DSP_SPEED, 0); @@ -35959,10 +38411,11 @@ 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 case e in #( + e) saveLibs="$LIBS" LIBS="$saveLibs -lossaudio" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -35975,7 +38428,7 @@ else #endif int -main () +main (void) { ioctl(0, SNDCTL_DSP_SPEED, 0); @@ -35984,29 +38437,33 @@ 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 case e in #( + e) LIBS="$saveLibs" ac_cv_header_sys_soundcard=no - + ;; +esac 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 - + ;; +esac 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 - + ;; +esac 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 @@ -36017,17 +38474,17 @@ if test "$wxUSE_SOUND" = "yes"; then if test "$wxUSE_LIBSDL" != "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sdl2 >= 2.0.0" >&5 -$as_echo_n "checking for sdl2 >= 2.0.0... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sdl2 >= 2.0.0" >&5 +printf %s "checking for sdl2 >= 2.0.0... " >&6; } if test -n "$SDL_CFLAGS"; then pkg_cv_SDL_CFLAGS="$SDL_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36041,10 +38498,10 @@ if test -n "$SDL_LIBS"; then pkg_cv_SDL_LIBS="$SDL_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36058,8 +38515,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36075,29 +38532,35 @@ 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 - sdl_prefix="" +else case e in #( + e) sdl_prefix="" ;; +esac 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 - sdl_exec_prefix="" +else case e in #( + e) sdl_exec_prefix="" ;; +esac fi # Check whether --enable-sdltest was given. -if test "${enable_sdltest+set}" = set; then : +if test ${enable_sdltest+y} +then : enableval=$enable_sdltest; -else - enable_sdltest=yes +else case e in #( + e) enable_sdltest=yes ;; +esac fi @@ -36119,12 +38582,13 @@ 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 - case $SDL_CONFIG in +{ 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 case e in #( + e) case $SDL_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. ;; @@ -36133,11 +38597,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 @@ -36146,21 +38614,22 @@ IFS=$as_save_IFS test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no" ;; +esac ;; 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 @@ -36182,10 +38651,11 @@ $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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -36246,13 +38716,16 @@ int main (int argc, char *argv[]) _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : -else - no_sdl=yes +else case e in #( + e) no_sdl=yes ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi CFLAGS="$ac_save_CFLAGS" @@ -36261,18 +38734,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" @@ -36290,7 +38763,7 @@ $as_echo "no" >&6; } /* end confdefs.h. */ int -main () +main (void) { ; @@ -36305,7 +38778,8 @@ int main(int argc, char *argv[]) #define main K_and_R_C_main ], 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" @@ -36315,13 +38789,14 @@ 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 - echo "*** The test program failed to compile or link. See the file config.log for the" +else case e in #( + e) 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" + echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ;; +esac 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" @@ -36338,32 +38813,38 @@ rm -f core conftest.err conftest.$ac_objext \ 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; } - { $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 - sdl_prefix="" +else case e in #( + e) sdl_prefix="" ;; +esac 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 - sdl_exec_prefix="" +else case e in #( + e) sdl_exec_prefix="" ;; +esac fi # Check whether --enable-sdltest was given. -if test "${enable_sdltest+set}" = set; then : +if test ${enable_sdltest+y} +then : enableval=$enable_sdltest; -else - enable_sdltest=yes +else case e in #( + e) enable_sdltest=yes ;; +esac fi @@ -36385,12 +38866,13 @@ 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 - case $SDL_CONFIG in +{ 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 case e in #( + e) case $SDL_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. ;; @@ -36399,11 +38881,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 @@ -36412,21 +38898,22 @@ IFS=$as_save_IFS test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no" ;; +esac ;; 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 @@ -36448,10 +38935,11 @@ $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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -36512,13 +39000,16 @@ int main (int argc, char *argv[]) _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +if ac_fn_c_try_run "$LINENO" +then : -else - no_sdl=yes +else case e in #( + e) no_sdl=yes ;; +esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac fi CFLAGS="$ac_save_CFLAGS" @@ -36527,18 +39018,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" @@ -36556,7 +39047,7 @@ $as_echo "no" >&6; } /* end confdefs.h. */ int -main () +main (void) { ; @@ -36571,7 +39062,8 @@ int main(int argc, char *argv[]) #define main K_and_R_C_main ], 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" @@ -36581,13 +39073,14 @@ 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 - echo "*** The test program failed to compile or link. See the file config.log for the" +else case e in #( + e) 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" + echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ;; +esac 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" @@ -36606,13 +39099,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 @@ -36624,7 +39117,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 @@ -36640,17 +39133,17 @@ if test "$wxUSE_GTK" = 1; then fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gtk_unix_print" >&5 -$as_echo_n "checking for $gtk_unix_print... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $gtk_unix_print" >&5 +printf %s "checking for $gtk_unix_print... " >&6; } if test -n "$GTKPRINT_CFLAGS"; then pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36664,10 +39157,10 @@ if test -n "$GTKPRINT_LIBS"; then pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36681,8 +39174,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36698,30 +39191,30 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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 @@ -36733,17 +39226,17 @@ fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnome-vfs-2.0 >= 2.0" >&5 -$as_echo_n "checking for gnome-vfs-2.0 >= 2.0... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnome-vfs-2.0 >= 2.0" >&5 +printf %s "checking for gnome-vfs-2.0 >= 2.0... " >&6; } if test -n "$GNOMEVFS_CFLAGS"; then pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36757,10 +39250,10 @@ if test -n "$GNOMEVFS_LIBS"; then pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36774,8 +39267,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36791,30 +39284,30 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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 @@ -36826,17 +39319,17 @@ fi HAVE_LIBNOTIFY=0 pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnotify >= 0.7" >&5 -$as_echo_n "checking for libnotify >= 0.7... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnotify >= 0.7" >&5 +printf %s "checking for libnotify >= 0.7... " >&6; } if test -n "$LIBNOTIFY_CFLAGS"; then pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36850,10 +39343,10 @@ if test -n "$LIBNOTIFY_LIBS"; then pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36867,8 +39360,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36886,17 +39379,17 @@ fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnotify >= 0.4" >&5 -$as_echo_n "checking for libnotify >= 0.4... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnotify >= 0.4" >&5 +printf %s "checking for libnotify >= 0.4... " >&6; } if test -n "$LIBNOTIFY_CFLAGS"; then pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36910,10 +39403,10 @@ if test -n "$LIBNOTIFY_LIBS"; then pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36927,8 +39420,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -36944,46 +39437,46 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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 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; } pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnotify >= 0.4" >&5 -$as_echo_n "checking for libnotify >= 0.4... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnotify >= 0.4" >&5 +printf %s "checking for libnotify >= 0.4... " >&6; } if test -n "$LIBNOTIFY_CFLAGS"; then pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -36997,10 +39490,10 @@ if test -n "$LIBNOTIFY_LIBS"; then pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -37014,8 +39507,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -37031,25 +39524,25 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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 @@ -37057,11 +39550,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 @@ -37070,7 +39563,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 @@ -37079,128 +39572,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" @@ -37209,19 +39702,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 @@ -37230,58 +39723,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 @@ -37289,10 +39782,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" @@ -37300,25 +39793,21 @@ $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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37335,7 +39824,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { locale_t t; @@ -37347,52 +39836,55 @@ 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 - wx_cv_type_locale_t=no - +else case e in #( + e) wx_cv_type_locale_t=no + ;; +esac 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' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 @@ -37400,90 +39892,88 @@ if test "$wxUSE_LOG" = "yes"; then 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" | sed "$as_sed_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" | sed "$as_sed_cpp"` 1 _ACEOF break fi -done +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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37491,7 +39981,7 @@ else #include int -main () +main (void) { struct timeval tv; @@ -37501,17 +39991,18 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main () +main (void) { struct timeval tv; @@ -37521,38 +40012,43 @@ 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 - - { $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;} +else case e in #( + e) + { 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 - + ;; +esac 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 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 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37565,7 +40061,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { int tz; @@ -37575,19 +40071,20 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { int tz; @@ -37597,19 +40094,20 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { int tz; @@ -37619,28 +40117,32 @@ 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 case e in #( + e) 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 - + ;; +esac 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 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 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' @@ -37648,44 +40150,40 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main () +main (void) { struct tm tm; @@ -37695,32 +40193,36 @@ 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 - wx_cv_struct_tm_has_gmtoff=no - +else case e in #( + e) wx_cv_struct_tm_has_gmtoff=no + ;; +esac 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 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37728,7 +40230,7 @@ else #include int -main () +main (void) { _NL_TIME_FIRST_WEEKDAY; @@ -37737,22 +40239,25 @@ 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 - wx_cv_have_nl_time_first_weekday=no - +else case e in #( + e) wx_cv_have_nl_time_first_weekday=no + ;; +esac 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 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 @@ -37760,123 +40265,139 @@ $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 : - -else - - { $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 - ac_check_lib_save_LIBS=$LIBS +if test "x$ac_cv_func_socket" = xyes +then : + +else case e in #( + e) + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char socket (); +char socket (void); 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 - ac_cv_lib_socket_socket=no +else case e in #( + e) ac_cv_lib_socket_socket=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 - - { $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 - ac_check_lib_save_LIBS=$LIBS +else case e in #( + e) + { 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 case e in #( + e) ac_check_lib_save_LIBS=$LIBS LIBS="-lnetwork $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* 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. */ + builtin and then its argument prototype would still apply. + The 'extern "C"' is for builds by C++ compilers; + although this is not generally supported in C code supporting it here + has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif -char socket (); +char socket (void); 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 - ac_cv_lib_network_socket=no +else case e in #( + e) ac_cv_lib_network_socket=no ;; +esac 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 +LIBS=$ac_check_lib_save_LIBS ;; +esac 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 - - { $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;} +else case e in #( + e) + { 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 - + ;; +esac fi - + ;; +esac fi - + ;; +esac fi fi @@ -37884,12 +40405,13 @@ 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -37903,7 +40425,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { socklen_t len; @@ -37913,10 +40435,11 @@ 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 case e in #( + e) CFLAGS_OLD="$CFLAGS" if test "$GCC" = yes ; then CFLAGS="-Werror $CFLAGS" @@ -37929,7 +40452,7 @@ else #include int -main () +main (void) { size_t len; @@ -37939,17 +40462,18 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main () +main (void) { int len; @@ -37959,49 +40483,53 @@ 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 - wx_cv_type_getsockname3=unknown - +else case e in #( + e) wx_cv_type_getsockname3=unknown + ;; +esac 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 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" - + ;; +esac 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' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38015,7 +40543,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { socklen_t len; @@ -38025,10 +40553,11 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38036,7 +40565,7 @@ else #include int -main () +main (void) { size_t len; @@ -38046,17 +40575,18 @@ 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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main () +main (void) { int len; @@ -38066,39 +40596,42 @@ 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 - wx_cv_type_getsockopt5=unknown - +else case e in #( + e) wx_cv_type_getsockopt5=unknown + ;; +esac 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 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 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' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 @@ -38106,12 +40639,13 @@ 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 case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38120,7 +40654,7 @@ else #include int -main () +main (void) { struct sockaddr_in6 sa6; @@ -38129,113 +40663,116 @@ 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 - wx_cv_type_sockaddr_in6=no - +else case e in #( + e) wx_cv_type_sockaddr_in6=no + ;; +esac 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 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 @@ -38247,125 +40784,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 @@ -38375,10 +40910,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 @@ -38388,11 +40923,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 @@ -38401,14 +40936,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 @@ -38416,13 +40951,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 @@ -38430,42 +40965,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 @@ -38476,12 +41011,12 @@ if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$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 @@ -38490,17 +41025,17 @@ 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 "$XTST_CFLAGS"; then pkg_cv_XTST_CFLAGS="$XTST_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -38514,10 +41049,10 @@ if test -n "$XTST_LIBS"; then pkg_cv_XTST_LIBS="$XTST_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -38531,8 +41066,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -38549,20 +41084,20 @@ 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" 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; } 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" @@ -38571,13 +41106,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 @@ -38585,20 +41120,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 @@ -38609,366 +41144,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 @@ -38976,31 +41511,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 @@ -39008,7 +41543,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 @@ -39017,47 +41552,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" @@ -39065,7 +41600,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 @@ -39075,17 +41610,17 @@ 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 fontconfig >= 2.8.0 pangoft2 >= 1.38.0" >&5 -$as_echo_n "checking for fontconfig >= 2.8.0 pangoft2 >= 1.38.0... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.8.0 pangoft2 >= 1.38.0" >&5 +printf %s "checking for fontconfig >= 2.8.0 pangoft2 >= 1.38.0... " >&6; } if test -n "$PRIVATE_FONTS_CFLAGS"; then pkg_cv_PRIVATE_FONTS_CFLAGS="$PRIVATE_FONTS_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -39099,10 +41634,10 @@ if test -n "$PRIVATE_FONTS_LIBS"; then pkg_cv_PRIVATE_FONTS_LIBS="$PRIVATE_FONTS_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -39116,8 +41651,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39132,20 +41667,20 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } - { $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}: result: no" >&5 +printf "%s\n" "no" >&6; } + { 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" @@ -39153,41 +41688,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 @@ -39202,22 +41737,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 @@ -39225,7 +41760,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" @@ -39235,11 +41770,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" @@ -39248,7 +41783,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" @@ -39256,7 +41791,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" @@ -39264,7 +41799,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" @@ -39290,19 +41825,20 @@ 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 - case $PYTHON in +{ 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 case e in #( + e) case $PYTHON in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. ;; @@ -39311,11 +41847,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 @@ -39323,15 +41863,16 @@ done IFS=$as_save_IFS ;; +esac ;; 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 @@ -39342,62 +41883,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" @@ -39411,17 +41952,17 @@ if test "$wxUSE_WEBVIEW" = "yes"; then if test "$WXGTK3" = 1; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit2gtk-4.1" >&5 -$as_echo_n "checking for webkit2gtk-4.1... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for webkit2gtk-4.1" >&5 +printf %s "checking for webkit2gtk-4.1... " >&6; } if test -n "$WEBKIT_CFLAGS"; then pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.1\""; } >&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=$? - $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.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39435,10 +41976,10 @@ if test -n "$WEBKIT_LIBS"; then pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.1\""; } >&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=$? - $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.1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39452,8 +41993,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39469,21 +42010,21 @@ fi echo "$WEBKIT_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&5 -$as_echo "$as_me: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&2;} + { 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 - { $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_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&5 -$as_echo "$as_me: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&2;} + { 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 - { $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" @@ -39493,17 +42034,17 @@ fi if test "$USE_WEBVIEW_WEBKIT2" = 0; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit2gtk-4.0" >&5 -$as_echo_n "checking for webkit2gtk-4.0... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for webkit2gtk-4.0" >&5 +printf %s "checking for webkit2gtk-4.0... " >&6; } if test -n "$WEBKIT_CFLAGS"; then pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" elif test -n "$PKG_CONFIG"; then 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_CFLAGS=`$PKG_CONFIG --cflags "webkit2gtk-4.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes @@ -39517,10 +42058,10 @@ if test -n "$WEBKIT_LIBS"; then pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -39534,8 +42075,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39551,21 +42092,21 @@ fi echo "$WEBKIT_PKG_ERRORS" >&5 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk-4.0 not found, falling back to webkitgtk" >&5 -$as_echo "$as_me: WARNING: webkit2gtk-4.0 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk-4.0 not found, falling back to webkitgtk" >&5 -$as_echo "$as_me: WARNING: webkit2gtk-4.0 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" @@ -39581,17 +42122,17 @@ fi fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $webkitgtk >= 1.3.1" >&5 -$as_echo_n "checking for $webkitgtk >= 1.3.1... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $webkitgtk >= 1.3.1" >&5 +printf %s "checking for $webkitgtk >= 1.3.1... " >&6; } if test -n "$WEBKIT_CFLAGS"; then pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -39605,10 +42146,10 @@ if test -n "$WEBKIT_LIBS"; then pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -39622,8 +42163,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -39639,21 +42180,21 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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" @@ -39671,33 +42212,33 @@ 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 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 else if test "$wxUSE_WEBVIEW_IE" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWebView IE backend only available under MSW, ignoring --enable-webviewie" >&5 -$as_echo "$as_me: WARNING: wxWebView IE backend only available under MSW, ignoring --enable-webviewie" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxWebView IE backend only available under MSW, ignoring --enable-webviewie" >&5 +printf "%s\n" "$as_me: WARNING: wxWebView IE backend only available under MSW, ignoring --enable-webviewie" >&2;} wxUSE_WEBVIEW_IE=no fi if test "$wxUSE_WEBVIEW_EDGE" = "yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWebView Edge backend only available under MSW, ignoring --enable-webviewedge" >&5 -$as_echo "$as_me: WARNING: wxWebView Edge backend only available under MSW, ignoring --enable-webviewedge" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxWebView Edge backend only available under MSW, ignoring --enable-webviewedge" >&5 +printf "%s\n" "$as_me: WARNING: wxWebView Edge backend only available under MSW, ignoring --enable-webviewedge" >&2;} wxUSE_WEBVIEW_EDGE=no fi fi @@ -39711,12 +42252,13 @@ $as_echo "$as_me: WARNING: wxWebView Edge backend only available under MSW, igno EXTRALDFLAGS_WEBVIEW="-L$CEF_DIR/Release -Wl,--no-as-needed -lcef -Wl,--as-needed" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CEF" >&5 -$as_echo_n "checking for CEF... " >&6; } -if ${wx_cv_lib_cef+:} false; then : - $as_echo_n "(cached) " >&6 -else - + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CEF" >&5 +printf %s "checking for CEF... " >&6; } +if test ${wx_cv_lib_cef+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39730,20 +42272,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include "include/cef_version.h" 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_lib_cef=yes -else - cef_error="Chromium headers not found" - +else case e in #( + e) cef_error="Chromium headers not found" + ;; +esac 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 "$wx_cv_lib_cef" = "yes"; then old_LIBS="$LIBS" @@ -39762,16 +42306,18 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext } _ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - -else +if ac_fn_cxx_try_link "$LINENO" +then : +else case e in #( + e) wx_cv_lib_cef=no, cef_error="Linking with CEF failed, check that CEF wrapper library is in $CEF_DLL_WRAPPER_DIR" - + ;; +esac 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="$old_LIBS" @@ -39786,10 +42332,11 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_cef" >&5 -$as_echo "$wx_cv_lib_cef" >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_cef" >&5 +printf "%s\n" "$wx_cv_lib_cef" >&6; } if test "$wx_cv_lib_cef" = "yes"; then if test "$wxUSE_MAC" = 1; then @@ -39798,11 +42345,11 @@ $as_echo "$wx_cv_lib_cef" >&6; } wxUSE_WEBVIEW="yes" USE_WEBVIEW_CHROMIUM=1 - $as_echo "#define wxUSE_WEBVIEW_CHROMIUM 1" >>confdefs.h + printf "%s\n" "#define wxUSE_WEBVIEW_CHROMIUM 1" >>confdefs.h if test "$wxUSE_CEF_DEBUG" = "yes"; then - $as_echo "#define wxHAVE_CEF_DEBUG 1" >>confdefs.h + printf "%s\n" "#define wxHAVE_CEF_DEBUG 1" >>confdefs.h fi else @@ -39817,137 +42364,137 @@ 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 USE_WEBVIEW=0 - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No wxWebView backends found, disabling wxWebView" >&5 -$as_echo "$as_me: WARNING: No wxWebView backends found, disabling wxWebView" >&2;} + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No wxWebView backends found, disabling wxWebView" >&5 +printf "%s\n" "$as_me: WARNING: No wxWebView backends found, disabling wxWebView" >&2;} 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 @@ -39955,7 +42502,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 @@ -39964,40 +42511,41 @@ 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40009,7 +42557,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include #include int -main () +main (void) { #ifndef API_VERSION_NUMBER @@ -40023,13 +42571,15 @@ 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 - wx_cv_lib_debughlp=no - +else case e in #( + e) wx_cv_lib_debughlp=no + ;; +esac 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' @@ -40037,32 +42587,33 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 @@ -40079,17 +42630,17 @@ 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 >= 1.2" >&5 -$as_echo_n "checking for cairo >= 1.2... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.2" >&5 +printf %s "checking for cairo >= 1.2... " >&6; } if test -n "$CAIRO_CFLAGS"; then pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -40103,10 +42654,10 @@ if test -n "$CAIRO_LIBS"; then pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -40120,8 +42671,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40136,23 +42687,23 @@ 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; } - { $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; } + { 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 @@ -40166,12 +42717,13 @@ 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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40183,7 +42735,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include #include int -main () +main (void) { using namespace Gdiplus; @@ -40192,13 +42744,15 @@ 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 - wx_cv_lib_gdiplus=no - +else case e in #( + e) wx_cv_lib_gdiplus=no + ;; +esac 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' @@ -40206,21 +42760,23 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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 if test "$wxUSE_GRAPHICS_DIRECT2D" = "yes"; then - { $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 case e in #( + e) ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40234,7 +42790,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main () +main (void) { ID2D1Factory* factory = NULL; @@ -40243,13 +42799,15 @@ 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 - wx_cv_lib_direct2d=no - +else case e in #( + e) wx_cv_lib_direct2d=no + ;; +esac 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' @@ -40257,13 +42815,14 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - + ;; +esac 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; } fi 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 @@ -40273,11 +42832,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 @@ -40296,17 +42855,17 @@ if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1" >&5 -$as_echo_n "checking for gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1" >&5 +printf %s "checking for gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1... " >&6; } if test -n "$GST_CFLAGS"; then pkg_cv_GST_CFLAGS="$GST_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -40320,10 +42879,10 @@ if test -n "$GST_LIBS"; then pkg_cv_GST_LIBS="$GST_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -40337,8 +42896,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40354,26 +42913,26 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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 @@ -40381,17 +42940,17 @@ fi if test $wxUSE_GSTREAMER = "no"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION" >&5 -$as_echo_n "checking for gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION" >&5 +printf %s "checking for gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION... " >&6; } if test -n "$GST_CFLAGS"; then pkg_cv_GST_CFLAGS="$GST_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -40405,10 +42964,10 @@ if test -n "$GST_LIBS"; then pkg_cv_GST_LIBS="$GST_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -40422,8 +42981,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40439,19 +42998,19 @@ 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 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; } - { $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 @@ -40460,8 +43019,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" @@ -40471,17 +43030,17 @@ fi if test $GST_VERSION_MINOR = "10"; then pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" >&5 -$as_echo_n "checking for gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION... " >&6; } +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" >&5 +printf %s "checking for gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION... " >&6; } if test -n "$GST_CFLAGS"; then pkg_cv_GST_CFLAGS="$GST_CFLAGS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -40495,10 +43054,10 @@ if test -n "$GST_LIBS"; then pkg_cv_GST_LIBS="$GST_LIBS" elif test -n "$PKG_CONFIG"; then 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` test "x$?" != "x0" && pkg_failed=yes @@ -40512,8 +43071,8 @@ fi if test $pkg_failed = yes; 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; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -40529,23 +43088,23 @@ 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}: result: no" >&5 -$as_echo "no" >&6; } + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } - { $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" @@ -40557,7 +43116,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 @@ -40568,13 +43127,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 @@ -40587,29 +43146,31 @@ 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 case e in #( + e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 +printf "%s\n" "no" >&6; } + ;; +esac 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 @@ -40630,9 +43191,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 @@ -40710,16 +43269,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 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { 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 case e in #( + e) 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 @@ -40727,12 +43288,13 @@ 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 - + ;; +esac 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 @@ -40789,12 +43351,13 @@ 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 - ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown" + { 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 case e in #( + e) ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown" ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -40808,17 +43371,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 @@ -40827,24 +43391,25 @@ 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 - + ;; +esac 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 @@ -40953,6 +43518,11 @@ case "$wxUSE_ZLIB" in ;; esac +case "${host}" in + *-*-freebsd*) + WXCONFIG_LIBS="$PROCSTAT_LINK $WXCONFIG_LIBS" +esac + for i in $wxconfig_3rdparty ; do WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS" done @@ -40963,15 +43533,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 @@ -41082,7 +43650,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 @@ -41096,20 +43665,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 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +if test ${ac_cv_path_install+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) 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/* ) ;; @@ -41119,13 +43693,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 @@ -41133,12 +43707,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 @@ -41152,9 +43726,10 @@ esac IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir - + ;; +esac 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 @@ -41164,8 +43739,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. @@ -41194,38 +43769,44 @@ 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 - if test -n "$RANLIB"; then +{ 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 case e in #( + e) if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -41234,38 +43815,44 @@ 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 - if test -n "$ac_ct_RANLIB"; then +{ 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 case e in #( + e) if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -41273,8 +43860,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 @@ -41284,26 +43871,27 @@ 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 - cat >conftest.make <<\_ACEOF +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 case e in #( + e) cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' @@ -41315,15 +43903,16 @@ case `${MAKE-make} -f conftest.make 2>/dev/null` in *) eval ac_cv_prog_make_${ac_make}_set=no;; esac -rm -f conftest.make +rm -f conftest.make ;; +esac 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 @@ -41341,38 +43930,44 @@ 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 - if test -n "$AR"; then +{ 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 case e in #( + e) if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -41381,38 +43976,44 @@ 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 - if test -n "$ac_ct_AR"; then +{ 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 case e in #( + e) if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -41420,8 +44021,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 @@ -41437,38 +44038,44 @@ 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 - if test -n "$STRIP"; then +{ 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 case e in #( + e) if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -41477,38 +44084,44 @@ 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 - if test -n "$ac_ct_STRIP"; then +{ 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 case e in #( + e) if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -41516,8 +44129,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 @@ -41529,38 +44142,44 @@ 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 - if test -n "$NM"; then +{ 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 case e in #( + e) if test -n "$NM"; then ac_cv_prog_NM="$NM" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -41569,38 +44188,44 @@ 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 - if test -n "$ac_ct_NM"; then +{ 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 case e in #( + e) if test -n "$ac_ct_NM"; then ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -41608,8 +44233,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 @@ -41631,22 +44256,24 @@ 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 case e in #( + e) if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null | grep -sE GNU > /dev/null); then bakefile_cv_prog_makeisgnu="yes" else bakefile_cv_prog_makeisgnu="no" fi - + ;; +esac 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="" @@ -41856,23 +44483,28 @@ $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 - if test -n "$AIX_CXX_LD"; then +{ 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 case e in #( + e) if test -n "$AIX_CXX_LD"; then ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test. else 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 @@ -41880,15 +44512,16 @@ done IFS=$as_save_IFS test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib" -fi +fi ;; +esac 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 @@ -41996,51 +44629,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 @@ -42157,38 +44791,44 @@ 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 - if test -n "$WINDRES"; then +{ 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 case e in #( + e) if test -n "$WINDRES"; then ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -42197,38 +44837,44 @@ 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 - if test -n "$ac_ct_WINDRES"; then +{ 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 case e in #( + e) if test -n "$ac_ct_WINDRES"; then ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. else 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 done IFS=$as_save_IFS -fi +fi ;; +esac 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 @@ -42236,8 +44882,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 @@ -42263,7 +44909,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 @@ -42281,13 +44928,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__) @@ -42307,17 +44954,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 case e in #( + e) 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" @@ -42327,12 +44975,13 @@ $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 - + ;; +esac 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 @@ -42831,16 +45480,6 @@ EOF COND_PLATFORM_WIN32_0="" fi - COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#" - if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then - COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="" - fi - - COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_4="#" - if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x4" ; then - COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_4="" - fi - COND_PLATFORM_WIN32_1="#" if test "x$PLATFORM_WIN32" = "x1" ; then COND_PLATFORM_WIN32_1="" @@ -43437,14 +46076,15 @@ 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 - cat >conftest.make <<\_ACEOF +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 case e in #( + e) cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' @@ -43456,15 +46096,16 @@ case `${MAKE-make} -f conftest.make 2>/dev/null` in *) eval ac_cv_prog_make_${ac_make}_set=no;; esac -rm -f conftest.make +rm -f conftest.make ;; +esac 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 @@ -43508,11 +46149,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. @@ -43523,8 +46164,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 @@ -43588,8 +46229,8 @@ cat >confcache <<\_ACEOF # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the +# 'ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* 'ac_cv_foo' will be assigned the # following values. _ACEOF @@ -43605,8 +46246,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) ;; #( @@ -43619,14 +46260,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote + # 'set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) - # `set' quotes correctly as required by POSIX, so do not add quotes. + # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | @@ -43636,15 +46277,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 @@ -43658,8 +46299,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 @@ -43676,7 +46317,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" @@ -43697,17 +46338,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/ ;; @@ -43747,8 +46388,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 @@ -43760,7 +46401,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 @@ -43774,8 +46415,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 @@ -43792,17 +46433,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/ ;; @@ -43842,8 +46483,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 @@ -43855,7 +46496,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 @@ -43869,8 +46510,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 @@ -43887,17 +46528,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/ ;; @@ -43937,8 +46578,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 @@ -43950,7 +46591,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 @@ -43964,8 +46605,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 @@ -43978,8 +46619,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 @@ -44002,63 +46643,65 @@ 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 : +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 - case `(set -o) 2>/dev/null` in #( +else case e in #( + e) case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; +esac ;; 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 || @@ -44067,13 +46710,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 #(( @@ -44082,43 +46718,27 @@ 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 ;; esac -# We did not find ourselves, most probably we were run as `sh COMMAND' +# We did not find ourselves, most probably we were run as 'sh COMMAND' # in which case we are not to be found in the path. 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] @@ -44131,9 +46751,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 @@ -44164,22 +46784,25 @@ 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 - as_fn_append () +else case e in #( + e) as_fn_append () { eval $1=\$$1\$2 - } + } ;; +esac fi # as_fn_append # as_fn_arith ARG... @@ -44187,16 +46810,18 @@ 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 - as_fn_arith () +else case e in #( + e) as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` - } + } ;; +esac fi # as_fn_arith @@ -44223,7 +46848,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 @@ -44245,6 +46870,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*) @@ -44258,6 +46887,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 @@ -44269,9 +46904,9 @@ if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. + # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable. + # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then @@ -44299,7 +46934,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" @@ -44308,7 +46943,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 @@ -44352,10 +46987,12 @@ as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" +as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" +as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated # Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" +as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" +as_tr_sh="eval sed '$as_sed_sh'" # deprecated exec 6>&1 @@ -44371,7 +47008,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.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -44403,7 +47040,7 @@ _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions +'$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. @@ -44433,14 +47070,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.72, with options \\"\$ac_cs_config\\" -Copyright (C) 2012 Free Software Foundation, Inc. +Copyright (C) 2023 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -44478,15 +47117,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'" @@ -44494,23 +47133,23 @@ 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;; --he | --h) # Conflict between --help and --header - as_fn_error $? "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; + 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=: ;; # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; + -*) as_fn_error $? "unrecognized option: '$1' +Try '$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; @@ -44531,7 +47170,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 "\$@" @@ -44545,7 +47184,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 @@ -44583,7 +47222,7 @@ do "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;; "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;; - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; esac done @@ -44593,9 +47232,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 @@ -44603,7 +47242,7 @@ fi # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. +# after its creation but before its name has been assigned to '$tmp'. $debug || { tmp= ac_tmp= @@ -44627,7 +47266,7 @@ ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. +# This happens for instance with './config.status config.h'. if test -n "$CONFIG_FILES"; then @@ -44785,13 +47424,13 @@ fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. +# This happens for instance with './config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF -# Transform confdefs.h into an awk script `defines.awk', embedded as +# Transform confdefs.h into an awk script 'defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. @@ -44901,7 +47540,7 @@ do esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -44923,33 +47562,33 @@ do -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. + # because $ac_f cannot contain ':'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + 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 - # Let's still pretend it is `configure' which instantiates (i.e., don't + # Let's still pretend it is 'configure' which instantiates (i.e., don't # 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 @@ -44966,7 +47605,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 @@ -44990,9 +47629,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/ ;; @@ -45049,8 +47688,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=' @@ -45063,7 +47702,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 esac _ACEOF -# Neutralize VPATH when `$srcdir' = `.'. +# Neutralize VPATH when '$srcdir' = '.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 @@ -45093,9 +47732,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" @@ -45111,27 +47750,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 @@ -45181,8 +47820,8 @@ if test "$no_create" != yes; then $ac_cs_success || as_fn_exit 1 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 @@ -45246,3 +47885,4 @@ else fi echo "" + From 917e8bdd69a17d1a5e8cc88a6b153a97eb5d763e Mon Sep 17 00:00:00 2001 From: sambler Date: Fri, 4 Apr 2025 13:00:19 +1030 Subject: [PATCH 08/14] move freebsd check to base CMakeLists.txt --- build/cmake/lib/CMakeLists.txt | 13 ------------- build/cmake/lib/base/CMakeLists.txt | 5 +++++ 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt index 722f1ed38d25..04d830d7debd 100644 --- a/build/cmake/lib/CMakeLists.txt +++ b/build/cmake/lib/CMakeLists.txt @@ -67,19 +67,6 @@ if(wxUSE_GUI) add_opt_lib(webview_chromium wxUSE_WEBVIEW wxUSE_WEBVIEW_CHROMIUM) endif() # wxUSE_GUI -if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") - find_library(PROCSTAT_LIBRARY - NAMES procstat - HINTS "/usr/lib" - ) - if (${PROCSTAT_LIBRARY}) - set(wxUSE_PROCSTAT 1) - add_opt_lib(procstat wxUSE_PROCSTAT) - target_link_libraries(procstat PRIVATE ${wxMONO_LIBS_${vis}}) - target_compile_definitions(wxHAS_PROCSTAT 1) - endif() -endif() - # Include XML library last # In the monolithic build, where all target properties (include dirs) from different targets are concatenated, # wxml might include system expat, which might use Mono, which has it's own copy of png. diff --git a/build/cmake/lib/base/CMakeLists.txt b/build/cmake/lib/base/CMakeLists.txt index 7f60e93f5273..5ded52062e55 100644 --- a/build/cmake/lib/base/CMakeLists.txt +++ b/build/cmake/lib/base/CMakeLists.txt @@ -71,3 +71,8 @@ if(APPLE) elseif(UNIX) wx_lib_link_libraries(wxbase PRIVATE ${CMAKE_DL_LIBS}) endif() + +if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") + wx_lib_link_libraries(wxbase PUBLIC "-lprocstat") + target_compile_definitions(wxbase PRIVATE "-DwxHAS_PROCSTAT") +endif() From da9600eee0371c936d7334b3e46281520ea1e20c Mon Sep 17 00:00:00 2001 From: sambler Date: Fri, 4 Apr 2025 13:01:43 +1030 Subject: [PATCH 09/14] cleanup unneeded cmake changes --- build/cmake/build_cfg.cmake | 1 - build/cmake/setup.h.in | 4 ---- setup.h.in | 6 ------ 3 files changed, 11 deletions(-) diff --git a/build/cmake/build_cfg.cmake b/build/cmake/build_cfg.cmake index a32c76708875..dbe7932d41a9 100644 --- a/build/cmake/build_cfg.cmake +++ b/build/cmake/build_cfg.cmake @@ -25,7 +25,6 @@ wx_buildfile_var(wxUSE_GUI) wx_buildfile_var(wxUSE_HTML) wx_buildfile_var(wxUSE_MEDIACTRL) wx_buildfile_var(wxUSE_OPENGL) -wx_buildfile_var(wxUSE_PROCSTAT) wx_buildfile_var(wxUSE_DEBUGREPORT) wx_buildfile_var(wxUSE_PROPGRID) wx_buildfile_var(wxUSE_RIBBON) diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in index 4e08cd927e60..8743057f556a 100644 --- a/build/cmake/setup.h.in +++ b/build/cmake/setup.h.in @@ -621,10 +621,6 @@ */ #cmakedefine01 wxUSE_XTEST -/* - On FreeBSD use libprocstat to get executable path name. -*/ -#cmakedefine01 wxHAS_PROCSTAT /* --- start MSW options --- */ diff --git a/setup.h.in b/setup.h.in index 52747dab4372..d09cb2788479 100644 --- a/setup.h.in +++ b/setup.h.in @@ -624,12 +624,6 @@ */ #define wxUSE_XTEST 0 -/* - On FreeBSD use libprocstat to get executable path name. -*/ -#define wxHAS_PROCSTAT 0 - - /* --- start MSW options --- */ From 3479b72d9a6dfbc0e3ee1b09bbe4f9902f3139e9 Mon Sep 17 00:00:00 2001 From: sambler Date: Sat, 5 Apr 2025 20:44:13 +1030 Subject: [PATCH 10/14] adjust define name missed earlier --- build/cmake/lib/base/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/lib/base/CMakeLists.txt b/build/cmake/lib/base/CMakeLists.txt index 5ded52062e55..dec084490092 100644 --- a/build/cmake/lib/base/CMakeLists.txt +++ b/build/cmake/lib/base/CMakeLists.txt @@ -74,5 +74,5 @@ endif() if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") wx_lib_link_libraries(wxbase PUBLIC "-lprocstat") - target_compile_definitions(wxbase PRIVATE "-DwxHAS_PROCSTAT") + target_compile_definitions(wxbase PRIVATE "-DwxHAVE_PROCSTAT") endif() From d22365dc9a2a910716bd13f50299f5caba051d3d Mon Sep 17 00:00:00 2001 From: sambler Date: Sat, 5 Apr 2025 20:48:10 +1030 Subject: [PATCH 11/14] rename use procstat to have procstat --- build/cmake/build.cfg.in | 1 - configure.ac | 3 +++ src/unix/stdpaths.cpp | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/build/cmake/build.cfg.in b/build/cmake/build.cfg.in index 55b584b2f96f..a12f83598146 100644 --- a/build/cmake/build.cfg.in +++ b/build/cmake/build.cfg.in @@ -22,7 +22,6 @@ USE_GUI=@wxUSE_GUI_bf@ USE_HTML=@wxUSE_HTML_bf@ USE_MEDIA=@wxUSE_MEDIA_bf@ USE_OPENGL=@wxUSE_OPENGL_bf@ -USE_PROCSTAT=@wxUSE_PROCSTAT_bf@ USE_QA=@wxUSE_DEBUGREPORT_bf@ USE_PROPGRID=@wxUSE_PROPGRID_bf@ USE_RIBBON=@wxUSE_RIBBON_bf@ diff --git a/configure.ac b/configure.ac index 06500956bcfc..189edf273a74 100644 --- a/configure.ac +++ b/configure.ac @@ -3435,6 +3435,9 @@ case "${host}" in PROCSTAT_LINK=" -L/usr/lib -lprocstat" PROCSTAT_FOUND=1 ]) + if test "$PROCSTAT_FOUND"; then + CXXFLAGS="${CXXFLAGS} -DwxHAVE_PROCSTAT" + fi ;; esac diff --git a/src/unix/stdpaths.cpp b/src/unix/stdpaths.cpp index 3bd1fc3d1ca2..d9872126979e 100644 --- a/src/unix/stdpaths.cpp +++ b/src/unix/stdpaths.cpp @@ -38,7 +38,7 @@ #include #endif -#ifdef wxHAS_PROCSTAT +#ifdef wxHAVE_PROCSTAT // for GetExecutablePath #include #include @@ -177,7 +177,7 @@ wxString wxStandardPaths::GetExecutablePath() const if ( !exeStr.empty() ) return exeStr; -#elif defined(wxHAS_PROCSTAT) +#elif defined(wxHAVE_PROCSTAT) unsigned int n_proc; char pathname[PATH_MAX]; From 102a38b25dd81dee7635aa8e2fc8af558d3284c0 Mon Sep 17 00:00:00 2001 From: sambler Date: Sat, 5 Apr 2025 20:50:00 +1030 Subject: [PATCH 12/14] add generated configure --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index f523b5467c34..a766af4513df 100755 --- a/configure +++ b/configure @@ -33632,6 +33632,9 @@ then : fi + if test "$PROCSTAT_FOUND"; then + CXXFLAGS="${CXXFLAGS} -DwxHAVE_PROCSTAT" + fi ;; esac From 52dccc501ef31de3e672ee56249e9c2c4ec1c4f8 Mon Sep 17 00:00:00 2001 From: sambler Date: Mon, 7 Apr 2025 01:13:08 +0930 Subject: [PATCH 13/14] use AC_DEFINE in configure.ac move FreeBSD test into setup.cmake to get the define in setup.h --- build/cmake/lib/base/CMakeLists.txt | 5 ----- build/cmake/setup.cmake | 5 +++++ build/cmake/setup.h.in | 4 ++++ configure | 3 ++- configure.ac | 2 +- setup.h.in | 3 +++ 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/build/cmake/lib/base/CMakeLists.txt b/build/cmake/lib/base/CMakeLists.txt index dec084490092..7f60e93f5273 100644 --- a/build/cmake/lib/base/CMakeLists.txt +++ b/build/cmake/lib/base/CMakeLists.txt @@ -71,8 +71,3 @@ if(APPLE) elseif(UNIX) wx_lib_link_libraries(wxbase PRIVATE ${CMAKE_DL_LIBS}) endif() - -if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") - wx_lib_link_libraries(wxbase PUBLIC "-lprocstat") - target_compile_definitions(wxbase PRIVATE "-DwxHAVE_PROCSTAT") -endif() diff --git a/build/cmake/setup.cmake b/build/cmake/setup.cmake index 6b0f6b8e0205..83ddf770d383 100644 --- a/build/cmake/setup.cmake +++ b/build/cmake/setup.cmake @@ -540,6 +540,11 @@ check_include_file(unistd.h HAVE_UNISTD_H) check_include_file(wchar.h HAVE_WCHAR_H) check_include_file(wcstr.h HAVE_WCSTR_H) +if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") + set(wxHAVE_PROCSTAT 1) + wx_lib_link_libraries(wxbase PUBLIC "procstat") +endif() + if(wxUSE_DATETIME) # check for timezone variable # doesn't exist under Darwin / Mac OS X which uses tm_gmtoff instead diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in index 8743057f556a..6506a32bf524 100644 --- a/build/cmake/setup.h.in +++ b/build/cmake/setup.h.in @@ -621,6 +621,10 @@ */ #cmakedefine01 wxUSE_XTEST +/* + On FreeBSD procstat provides the path to executable +*/ +#cmakedefine wxHAVE_PROCSTAT 1 /* --- start MSW options --- */ diff --git a/configure b/configure index a766af4513df..18415a054cc4 100755 --- a/configure +++ b/configure @@ -33633,7 +33633,8 @@ then : fi if test "$PROCSTAT_FOUND"; then - CXXFLAGS="${CXXFLAGS} -DwxHAVE_PROCSTAT" + printf "%s\n" "#define wxHAVE_PROCSTAT 1" >>confdefs.h + fi ;; esac diff --git a/configure.ac b/configure.ac index 189edf273a74..7e47fa0f832f 100644 --- a/configure.ac +++ b/configure.ac @@ -3436,7 +3436,7 @@ case "${host}" in PROCSTAT_FOUND=1 ]) if test "$PROCSTAT_FOUND"; then - CXXFLAGS="${CXXFLAGS} -DwxHAVE_PROCSTAT" + AC_DEFINE(wxHAVE_PROCSTAT) fi ;; esac diff --git a/setup.h.in b/setup.h.in index d09cb2788479..7b1e7c76561e 100644 --- a/setup.h.in +++ b/setup.h.in @@ -905,6 +905,9 @@ /* Define if you have wcsnlen() function */ #undef HAVE_WCSNLEN +/* define if you have procstat (FreeBSD) */ +#undef wxHAVE_PROCSTAT + /* The number of bytes in a wchar_t. */ #undef SIZEOF_WCHAR_T From 2acbf1ff252e22874ad02bdf4b51c19e8ba1fb5e Mon Sep 17 00:00:00 2001 From: sambler Date: Mon, 7 Apr 2025 01:24:50 +0930 Subject: [PATCH 14/14] keep link libraries in the base CMakeLists.txt --- build/cmake/lib/base/CMakeLists.txt | 4 ++++ build/cmake/setup.cmake | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build/cmake/lib/base/CMakeLists.txt b/build/cmake/lib/base/CMakeLists.txt index 7f60e93f5273..ecfef64c96be 100644 --- a/build/cmake/lib/base/CMakeLists.txt +++ b/build/cmake/lib/base/CMakeLists.txt @@ -71,3 +71,7 @@ if(APPLE) elseif(UNIX) wx_lib_link_libraries(wxbase PRIVATE ${CMAKE_DL_LIBS}) endif() + +if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") + wx_lib_link_libraries(wxbase PUBLIC "procstat") +endif() diff --git a/build/cmake/setup.cmake b/build/cmake/setup.cmake index 83ddf770d383..3766c791b9f2 100644 --- a/build/cmake/setup.cmake +++ b/build/cmake/setup.cmake @@ -542,7 +542,6 @@ check_include_file(wcstr.h HAVE_WCSTR_H) if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") set(wxHAVE_PROCSTAT 1) - wx_lib_link_libraries(wxbase PUBLIC "procstat") endif() if(wxUSE_DATETIME)