diff --git a/build/cmake/setup.cmake b/build/cmake/setup.cmake index 75d7f0c341..ff2eb7a6af 100644 --- a/build/cmake/setup.cmake +++ b/build/cmake/setup.cmake @@ -200,23 +200,6 @@ if(UNIX) endif() endif() - if(wxUSE_ON_FATAL_EXCEPTION) - wx_check_cxx_source_compiles( - "return 0; } - extern void testSigHandler(int) { }; - int foo() { - struct sigaction sa; - sa.sa_handler = testSigHandler;" - wxTYPE_SA_HANDLER_IS_INT - signal.h - ) - if(wxTYPE_SA_HANDLER_IS_INT) - set(wxTYPE_SA_HANDLER int) - else() - set(wxTYPE_SA_HANDLER void) - endif() - endif() - # backtrace() and backtrace_symbols() for wxStackWalker if(wxUSE_STACKWALKER) wx_check_cxx_source_compiles(" diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in index 92146454fc..5a520896ca 100644 --- a/build/cmake/setup.h.in +++ b/build/cmake/setup.h.in @@ -791,9 +791,6 @@ /* The type of statvfs(2) argument */ #cmakedefine WX_STATFS_T @WX_STATFS_T@ -/* The signal handler prototype */ -#define wxTYPE_SA_HANDLER @wxTYPE_SA_HANDLER@ - /* gettimeofday() usually takes 2 arguments, but some really old systems might * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ #cmakedefine WX_GETTIMEOFDAY_NO_TZ 1 diff --git a/configure b/configure index 0dc64ba2de..a6bf7fe6ba 100755 --- a/configure +++ b/configure @@ -1,12 +1,11 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for wxWidgets 3.3.0. +# Generated by GNU Autoconf 2.69 for wxWidgets 3.3.0. # # Report bugs to . # # -# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, -# Inc. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -17,16 +16,14 @@ # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -as_nop=: -if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 -then : +if test -n "${ZSH_VERSION+set}" && (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 $as_nop +else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -36,46 +33,46 @@ esac fi - -# Reset variables that may have inherited troublesome values from -# the environment. - -# IFS needs to be set, to space, tab, and newline, in precisely that order. -# (If _AS_PATH_WALK were called with IFS unset, it would have the -# side effect of setting IFS to empty, thus disabling word splitting.) -# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -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 +# 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 # The user is always right. -if ${PATH_SEPARATOR+false} :; then +if test "${PATH_SEPARATOR+set}" != set; 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 || @@ -84,6 +81,13 @@ if ${PATH_SEPARATOR+false} :; 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 #(( @@ -92,12 +96,8 @@ case $0 in #(( for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - test -r "$as_dir$0" && as_myself=$as_dir$0 && break + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS @@ -109,10 +109,30 @@ if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + $as_echo "$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. @@ -134,22 +154,20 @@ 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'. -printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 -exit 255 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_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="as_nop=: -if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 -then : + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (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 \$as_nop +else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( @@ -169,53 +187,42 @@ 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 \$as_nop +else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 -blah=\$(echo \$(echo blah)) -test x\"\$blah\" = xblah || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null -then : + if (eval "$as_required") 2>/dev/null; then : as_have_required=yes -else $as_nop +else as_have_required=no fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null -then : + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : -else $as_nop +else 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 - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null -then : + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes - if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null -then : + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi @@ -223,21 +230,14 @@ fi esac as_found=false done -IFS=$as_save_IFS -if $as_found -then : - -else $as_nop - if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null -then : +$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 -fi +fi; } +IFS=$as_save_IFS - if test "x$CONFIG_SHELL" != x -then : + if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also @@ -255,19 +255,18 @@ 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'. -printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi - 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." + 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." else - printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and + $as_echo "$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 @@ -295,7 +294,6 @@ as_fn_unset () } as_unset=as_fn_unset - # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -313,14 +311,6 @@ as_fn_exit () as_fn_set_status $1 exit $1 } # as_fn_exit -# as_fn_nop -# --------- -# Do nothing but, unlike ":", preserve the value of $?. -as_fn_nop () -{ - return $? -} -as_nop=as_fn_nop # as_fn_mkdir_p # ------------- @@ -335,7 +325,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -344,7 +334,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_dir" | +$as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -383,13 +373,12 @@ 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_nop +else as_fn_append () { eval $1=\$$1\$2 @@ -401,27 +390,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_nop +else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith -# as_fn_nop -# --------- -# Do nothing but, unlike ":", preserve the value of $?. -as_fn_nop () -{ - return $? -} -as_nop=as_fn_nop # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- @@ -433,9 +413,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 - printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - printf "%s\n" "$as_me: error: $2" >&2 + $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error @@ -462,7 +442,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X/"$0" | +$as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -506,7 +486,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + { $as_echo "$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 @@ -520,10 +500,6 @@ 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*) @@ -537,13 +513,6 @@ 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 @@ -619,36 +588,40 @@ PACKAGE_URL='' ac_unique_file="wx-config.in" # Factoring default headers for most tests. ac_includes_default="\ -#include -#ifdef HAVE_STDIO_H -# include +#include +#ifdef HAVE_SYS_TYPES_H +# include #endif -#ifdef HAVE_STDLIB_H +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS # include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif #endif #ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif # include #endif +#ifdef HAVE_STRINGS_H +# include +#endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif #ifdef HAVE_UNISTD_H # include #endif" -ac_header_c_list= enable_option_checking=no enable_option_checking=fatal ac_subst_vars='subdirs_extra @@ -1536,6 +1509,8 @@ do *) ac_optarg=yes ;; esac + # Accept the important Cygnus configure options, so we can diagnose typos. + case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; @@ -1576,9 +1551,9 @@ do ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: \`$ac_useropt'" + as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt - ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1602,9 +1577,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=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" @@ -1815,9 +1790,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=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1831,9 +1806,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=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" @@ -1877,9 +1852,9 @@ Try \`$0 --help' for more information" *) # FIXME: should be removed in autoconf 3.0. - printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; @@ -1895,7 +1870,7 @@ if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1959,7 +1934,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_myself" | +$as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -2534,9 +2509,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=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`$as_echo "$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/ ;; @@ -2564,8 +2539,7 @@ esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } - # Check for configure.gnu first; this name is used for a wrapper for - # Metaconfig's "Configure" on case-insensitive file systems. + # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive @@ -2573,7 +2547,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix echo && $SHELL "$ac_srcdir/configure" --help=recursive else - printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done @@ -2583,9 +2557,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.71 +generated by GNU Autoconf 2.69 -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -2602,14 +2576,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 conftest.beam + rm -f conftest.$ac_objext 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\"" -printf "%s\n" "$ac_try_echo"; } >&5 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2617,15 +2591,14 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$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_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2647,7 +2620,7 @@ case "(($ac_try" in *) 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 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2655,15 +2628,14 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $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 : + }; then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2679,14 +2651,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 conftest.beam + rm -f conftest.$ac_objext 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\"" -printf "%s\n" "$ac_try_echo"; } >&5 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2694,15 +2666,14 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$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_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2718,14 +2689,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.beam conftest$ac_exeext + rm -f conftest.$ac_objext 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\"" -printf "%s\n" "$ac_try_echo"; } >&5 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2733,18 +2704,17 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$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_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2765,14 +2735,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.beam conftest$ac_exeext + rm -f conftest.$ac_objext 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\"" -printf "%s\n" "$ac_try_echo"; } >&5 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -2780,18 +2750,17 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$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_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 @@ -2813,69 +2782,34 @@ fi ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" -else $as_nop +else eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $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_c_check_header_compile -# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES -# --------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_cxx_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else $as_nop - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : - eval "$3=yes" -else $as_nop - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_header_compile - # ac_fn_c_try_run LINENO # ---------------------- -# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that -# executables *can* be run. +# Try to link 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 @@ -2885,26 +2819,25 @@ case "(($ac_try" in *) 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 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$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\"" -printf "%s\n" "$ac_try_echo"; } >&5 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; } -then : + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: program exited with status $ac_status" >&5 - printf "%s\n" "$as_me: failed program was:" >&5 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status @@ -2915,6 +2848,37 @@ 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 @@ -2929,7 +2893,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main (void) +main () { static int test_array [1 - 2 * !(($2) >= 0)]; test_array [0] = 0; @@ -2939,15 +2903,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_lo=0 ac_mid=0 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main (void) +main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; @@ -2957,10 +2920,9 @@ 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_nop +else as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= @@ -2968,14 +2930,14 @@ else $as_nop fi as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done -else $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main (void) +main () { static int test_array [1 - 2 * !(($2) < 0)]; test_array [0] = 0; @@ -2985,15 +2947,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=-1 ac_mid=-1 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main (void) +main () { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; test_array [0] = 0; @@ -3003,10 +2964,9 @@ 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_nop +else as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= @@ -3014,14 +2974,14 @@ else $as_nop fi as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done -else $as_nop +else ac_lo= ac_hi= fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext 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 @@ -3029,7 +2989,7 @@ while test "x$ac_lo" != "x$ac_hi"; do /* end confdefs.h. */ $4 int -main (void) +main () { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; @@ -3039,13 +2999,12 @@ 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_nop +else as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in #(( ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; @@ -3055,12 +3014,12 @@ esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 -static long int longval (void) { return $2; } -static unsigned long int ulongval (void) { return $2; } +static long int longval () { return $2; } +static unsigned long int ulongval () { return $2; } #include #include int -main (void) +main () { FILE *f = fopen ("conftest.val", "w"); @@ -3088,10 +3047,9 @@ main (void) 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 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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. */ /* Define $2 to an innocuous variant, in case declares $2. @@ -3123,9 +3080,16 @@ else $as_nop #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. */ + 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 -#include #undef $2 /* Override any GCC internal prototype to avoid an error. @@ -3143,25 +3107,24 @@ choke me #endif int -main (void) +main () { 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 $as_nop +else eval "$3=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $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_c_check_func @@ -3173,18 +3136,17 @@ printf "%s\n" "$ac_res" >&6; } ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int -main (void) +main () { if (sizeof ($2)) return 0; @@ -3192,13 +3154,12 @@ 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 (void) +main () { if (sizeof (($2))) return 0; @@ -3206,27 +3167,117 @@ if (sizeof (($2))) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : -else $as_nop +else eval "$3=yes" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $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_c_check_type +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## -------------------------------------- ## +## Report this to wx-dev@googlegroups.com ## +## -------------------------------------- ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel + # ac_fn_cxx_try_run LINENO # ------------------------ -# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that -# executables *can* be run. +# Try to link 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 @@ -3236,26 +3287,25 @@ case "(($ac_try" in *) 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 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$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\"" -printf "%s\n" "$ac_try_echo"; } >&5 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; } -then : + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : ac_retval=0 -else $as_nop - printf "%s\n" "$as_me: program exited with status $ac_status" >&5 - printf "%s\n" "$as_me: failed program was:" >&5 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status @@ -3265,34 +3315,14 @@ fi as_fn_set_status $ac_retval } # ac_fn_cxx_try_run -ac_configure_args_raw= -for ac_arg -do - case $ac_arg in - *\'*) - ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append ac_configure_args_raw " '$ac_arg'" -done - -case $ac_configure_args_raw in - *$as_nl*) - ac_safe_unquote= ;; - *) - ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. - ac_unsafe_a="$ac_unsafe_z#~" - ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" - ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; -esac - cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by wxWidgets $as_me 3.3.0, which was -generated by GNU Autoconf 2.71. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was - $ $0$ac_configure_args_raw + $ $0 $@ _ACEOF exec 5>>config.log @@ -3325,12 +3355,8 @@ 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 - printf "%s\n" "PATH: $as_dir" + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" done IFS=$as_save_IFS @@ -3365,7 +3391,7 @@ do | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) - ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; @@ -3400,13 +3426,11 @@ 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 - printf "%s\n" "## ---------------- ## + $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo @@ -3417,8 +3441,8 @@ trap 'exit_status=$? case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_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;} ;; + *_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;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -3442,7 +3466,7 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ) echo - printf "%s\n" "## ----------------- ## + $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo @@ -3450,14 +3474,14 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - printf "%s\n" "$ac_var='\''$ac_val'\''" + $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then - printf "%s\n" "## ------------------- ## + $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo @@ -3465,15 +3489,15 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} do eval ac_val=\$$ac_var case $ac_val in - *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac - printf "%s\n" "$ac_var='\''$ac_val'\''" + $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then - printf "%s\n" "## ----------- ## + $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo @@ -3481,8 +3505,8 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} echo fi test "$ac_signal" != 0 && - printf "%s\n" "$as_me: caught signal $ac_signal" - printf "%s\n" "$as_me: exit $exit_status" + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && @@ -3496,48 +3520,63 @@ ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h -printf "%s\n" "/* confdefs.h */" > confdefs.h +$as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. -printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF -printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF -printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF -printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF -printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF -printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF # 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 - ac_site_files="$CONFIG_SITE" + # 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 elif test "x$prefix" != xNONE; then - ac_site_files="$prefix/share/config.site $prefix/etc/config.site" + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site else - ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site fi - -for ac_site_file in $ac_site_files +for ac_site_file in "$ac_site_file1" "$ac_site_file2" do - 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;} + 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;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ - || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi @@ -3547,650 +3586,19 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -printf "%s\n" "$as_me: loading cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -printf "%s\n" "$as_me: creating cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi -# Test code for whether the C compiler supports C89 (global declarations) -ac_c_conftest_c89_globals=' -/* Does the compiler advertise C89 conformance? - Do not test the value of __STDC__, because some compilers set it to 0 - while being otherwise adequately conformant. */ -#if !defined __STDC__ -# error "Compiler does not advertise C89 conformance" -#endif - -#include -#include -struct stat; -/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ -struct buf { int x; }; -struct buf * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not \xHH hex character constants. - These do not provoke an error unfortunately, instead are silently treated - as an "x". The following induces an error, until -std is added to get - proper ANSI mode. Curiously \x00 != x always comes out true, for an - array size at least. It is necessary to write \x00 == 0 to get something - that is true only with -std. */ -int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) '\''x'\'' -int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), - int, int);' - -# Test code for whether the C compiler supports C89 (body of main). -ac_c_conftest_c89_main=' -ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); -' - -# Test code for whether the C compiler supports C99 (global declarations) -ac_c_conftest_c99_globals=' -// Does the compiler advertise C99 conformance? -#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L -# error "Compiler does not advertise C99 conformance" -#endif - -#include -extern int puts (const char *); -extern int printf (const char *, ...); -extern int dprintf (int, const char *, ...); -extern void *malloc (size_t); - -// Check varargs macros. These examples are taken from C99 6.10.3.5. -// dprintf is used instead of fprintf to avoid needing to declare -// FILE and stderr. -#define debug(...) dprintf (2, __VA_ARGS__) -#define showlist(...) puts (#__VA_ARGS__) -#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) -static void -test_varargs_macros (void) -{ - int x = 1234; - int y = 5678; - debug ("Flag"); - debug ("X = %d\n", x); - showlist (The first, second, and third items.); - report (x>y, "x is %d but y is %d", x, y); -} - -// Check long long types. -#define BIG64 18446744073709551615ull -#define BIG32 4294967295ul -#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) -#if !BIG_OK - #error "your preprocessor is broken" -#endif -#if BIG_OK -#else - #error "your preprocessor is broken" -#endif -static long long int bignum = -9223372036854775807LL; -static unsigned long long int ubignum = BIG64; - -struct incomplete_array -{ - int datasize; - double data[]; -}; - -struct named_init { - int number; - const wchar_t *name; - double average; -}; - -typedef const char *ccp; - -static inline int -test_restrict (ccp restrict text) -{ - // See if C++-style comments work. - // Iterate through items via the restricted pointer. - // Also check for declarations in for loops. - for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) - continue; - return 0; -} - -// Check varargs and va_copy. -static bool -test_varargs (const char *format, ...) -{ - va_list args; - va_start (args, format); - va_list args_copy; - va_copy (args_copy, args); - - const char *str = ""; - int number = 0; - float fnumber = 0; - - while (*format) - { - switch (*format++) - { - case '\''s'\'': // string - str = va_arg (args_copy, const char *); - break; - case '\''d'\'': // int - number = va_arg (args_copy, int); - break; - case '\''f'\'': // float - fnumber = va_arg (args_copy, double); - break; - default: - break; - } - } - va_end (args_copy); - va_end (args); - - return *str && number && fnumber; -} -' - -# Test code for whether the C compiler supports C99 (body of main). -ac_c_conftest_c99_main=' - // Check bool. - _Bool success = false; - success |= (argc != 0); - - // Check restrict. - if (test_restrict ("String literal") == 0) - success = true; - char *restrict newvar = "Another string"; - - // Check varargs. - success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); - test_varargs_macros (); - - // Check flexible array members. - struct incomplete_array *ia = - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); - ia->datasize = 10; - for (int i = 0; i < ia->datasize; ++i) - ia->data[i] = i * 1.234; - - // Check named initializers. - struct named_init ni = { - .number = 34, - .name = L"Test wide string", - .average = 543.34343, - }; - - ni.number = 58; - - int dynamic_array[ni.number]; - dynamic_array[0] = argv[0][0]; - dynamic_array[ni.number - 1] = 543; - - // work around unused variable warnings - ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' - || dynamic_array[ni.number - 1] != 543); -' - -# Test code for whether the C compiler supports C11 (global declarations) -ac_c_conftest_c11_globals=' -// Does the compiler advertise C11 conformance? -#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L -# error "Compiler does not advertise C11 conformance" -#endif - -// Check _Alignas. -char _Alignas (double) aligned_as_double; -char _Alignas (0) no_special_alignment; -extern char aligned_as_int; -char _Alignas (0) _Alignas (int) aligned_as_int; - -// Check _Alignof. -enum -{ - int_alignment = _Alignof (int), - int_array_alignment = _Alignof (int[100]), - char_alignment = _Alignof (char) -}; -_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); - -// Check _Noreturn. -int _Noreturn does_not_return (void) { for (;;) continue; } - -// Check _Static_assert. -struct test_static_assert -{ - int x; - _Static_assert (sizeof (int) <= sizeof (long int), - "_Static_assert does not work in struct"); - long int y; -}; - -// Check UTF-8 literals. -#define u8 syntax error! -char const utf8_literal[] = u8"happens to be ASCII" "another string"; - -// Check duplicate typedefs. -typedef long *long_ptr; -typedef long int *long_ptr; -typedef long_ptr long_ptr; - -// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. -struct anonymous -{ - union { - struct { int i; int j; }; - struct { int k; long int l; } w; - }; - int m; -} v1; -' - -# Test code for whether the C compiler supports C11 (body of main). -ac_c_conftest_c11_main=' - _Static_assert ((offsetof (struct anonymous, i) - == offsetof (struct anonymous, w.k)), - "Anonymous union alignment botch"); - v1.i = 2; - v1.w.k = 5; - ok |= v1.i != 5; -' - -# Test code for whether the C compiler supports C11 (complete). -ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} -${ac_c_conftest_c99_globals} -${ac_c_conftest_c11_globals} - -int -main (int argc, char **argv) -{ - int ok = 0; - ${ac_c_conftest_c89_main} - ${ac_c_conftest_c99_main} - ${ac_c_conftest_c11_main} - return ok; -} -" - -# Test code for whether the C compiler supports C99 (complete). -ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} -${ac_c_conftest_c99_globals} - -int -main (int argc, char **argv) -{ - int ok = 0; - ${ac_c_conftest_c89_main} - ${ac_c_conftest_c99_main} - return ok; -} -" - -# Test code for whether the C compiler supports C89 (complete). -ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} - -int -main (int argc, char **argv) -{ - int ok = 0; - ${ac_c_conftest_c89_main} - return ok; -} -" - -# Test code for whether the C++ compiler supports C++98 (global declarations) -ac_cxx_conftest_cxx98_globals=' -// Does the compiler advertise C++98 conformance? -#if !defined __cplusplus || __cplusplus < 199711L -# error "Compiler does not advertise C++98 conformance" -#endif - -// These inclusions are to reject old compilers that -// lack the unsuffixed header files. -#include -#include - -// and are *not* freestanding headers in C++98. -extern void assert (int); -namespace std { - extern int strcmp (const char *, const char *); -} - -// Namespaces, exceptions, and templates were all added after "C++ 2.0". -using std::exception; -using std::strcmp; - -namespace { - -void test_exception_syntax() -{ - try { - throw "test"; - } catch (const char *s) { - // Extra parentheses suppress a warning when building autoconf itself, - // due to lint rules shared with more typical C programs. - assert (!(strcmp) (s, "test")); - } -} - -template struct test_template -{ - T const val; - explicit test_template(T t) : val(t) {} - template T add(U u) { return static_cast(u) + val; } -}; - -} // anonymous namespace -' - -# Test code for whether the C++ compiler supports C++98 (body of main) -ac_cxx_conftest_cxx98_main=' - assert (argc); - assert (! argv[0]); -{ - test_exception_syntax (); - test_template tt (2.0); - assert (tt.add (4) == 6.0); - assert (true && !false); -} -' - -# Test code for whether the C++ compiler supports C++11 (global declarations) -ac_cxx_conftest_cxx11_globals=' -// Does the compiler advertise C++ 2011 conformance? -#if !defined __cplusplus || __cplusplus < 201103L -# error "Compiler does not advertise C++11 conformance" -#endif - -namespace cxx11test -{ - constexpr int get_val() { return 20; } - - struct testinit - { - int i; - double d; - }; - - class delegate - { - public: - delegate(int n) : n(n) {} - delegate(): delegate(2354) {} - - virtual int getval() { return this->n; }; - protected: - int n; - }; - - class overridden : public delegate - { - public: - overridden(int n): delegate(n) {} - virtual int getval() override final { return this->n * 2; } - }; - - class nocopy - { - public: - nocopy(int i): i(i) {} - nocopy() = default; - nocopy(const nocopy&) = delete; - nocopy & operator=(const nocopy&) = delete; - private: - int i; - }; - - // for testing lambda expressions - template Ret eval(Fn f, Ret v) - { - return f(v); - } - - // for testing variadic templates and trailing return types - template auto sum(V first) -> V - { - return first; - } - template auto sum(V first, Args... rest) -> V - { - return first + sum(rest...); - } -} -' - -# Test code for whether the C++ compiler supports C++11 (body of main) -ac_cxx_conftest_cxx11_main=' -{ - // Test auto and decltype - auto a1 = 6538; - auto a2 = 48573953.4; - auto a3 = "String literal"; - - int total = 0; - for (auto i = a3; *i; ++i) { total += *i; } - - decltype(a2) a4 = 34895.034; -} -{ - // Test constexpr - short sa[cxx11test::get_val()] = { 0 }; -} -{ - // Test initializer lists - cxx11test::testinit il = { 4323, 435234.23544 }; -} -{ - // Test range-based for - int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, - 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; - for (auto &x : array) { x += 23; } -} -{ - // Test lambda expressions - using cxx11test::eval; - assert (eval ([](int x) { return x*2; }, 21) == 42); - double d = 2.0; - assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); - assert (d == 5.0); - assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); - assert (d == 5.0); -} -{ - // Test use of variadic templates - using cxx11test::sum; - auto a = sum(1); - auto b = sum(1, 2); - auto c = sum(1.0, 2.0, 3.0); -} -{ - // Test constructor delegation - cxx11test::delegate d1; - cxx11test::delegate d2(); - cxx11test::delegate d3(45); -} -{ - // Test override and final - cxx11test::overridden o1(55464); -} -{ - // Test nullptr - char *c = nullptr; -} -{ - // Test template brackets - test_template<::test_template> v(test_template(12)); -} -{ - // Unicode literals - char const *utf8 = u8"UTF-8 string \u2500"; - char16_t const *utf16 = u"UTF-8 string \u2500"; - char32_t const *utf32 = U"UTF-32 string \u2500"; -} -' - -# Test code for whether the C compiler supports C++11 (complete). -ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} -${ac_cxx_conftest_cxx11_globals} - -int -main (int argc, char **argv) -{ - int ok = 0; - ${ac_cxx_conftest_cxx98_main} - ${ac_cxx_conftest_cxx11_main} - return ok; -} -" - -# Test code for whether the C compiler supports C++98 (complete). -ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} -int -main (int argc, char **argv) -{ - int ok = 0; - ${ac_cxx_conftest_cxx98_main} - return ok; -} -" - -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" -as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" -as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" -as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" -as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" -as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" -as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" -as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" -as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" - -# Auxiliary files required by this configure script. -ac_aux_files="install-sh config.guess config.sub" - -# Locations in which to look for auxiliary files. -ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." - -# Search for a directory containing all of the required auxiliary files, -# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. -# If we don't find one directory that contains all the files we need, -# we report the set of missing files from the *first* directory in -# $ac_aux_dir_candidates and give up. -ac_missing_aux_files="" -ac_first_candidate=: -printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false -for as_dir in $ac_aux_dir_candidates -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - as_found=: - - printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 - ac_aux_dir_found=yes - ac_install_sh= - for ac_aux in $ac_aux_files - do - # As a special case, if "install-sh" is required, that requirement - # can be satisfied by any of "install-sh", "install.sh", or "shtool", - # and $ac_install_sh is set appropriately for whichever one is found. - if test x"$ac_aux" = x"install-sh" - then - if test -f "${as_dir}install-sh"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 - ac_install_sh="${as_dir}install-sh -c" - elif test -f "${as_dir}install.sh"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 - ac_install_sh="${as_dir}install.sh -c" - elif test -f "${as_dir}shtool"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 - ac_install_sh="${as_dir}shtool install -c" - else - ac_aux_dir_found=no - if $ac_first_candidate; then - ac_missing_aux_files="${ac_missing_aux_files} install-sh" - else - break - fi - fi - else - if test -f "${as_dir}${ac_aux}"; then - printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 - else - ac_aux_dir_found=no - if $ac_first_candidate; then - ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" - else - break - fi - fi - fi - done - if test "$ac_aux_dir_found" = yes; then - ac_aux_dir="$as_dir" - break - fi - ac_first_candidate=false - - as_found=false -done -IFS=$as_save_IFS -if $as_found -then : - -else $as_nop - as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 -fi - - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -if test -f "${ac_aux_dir}config.guess"; then - ac_config_guess="$SHELL ${ac_aux_dir}config.guess" -fi -if test -f "${ac_aux_dir}config.sub"; then - ac_config_sub="$SHELL ${ac_aux_dir}config.sub" -fi -if test -f "$ac_aux_dir/configure"; then - ac_configure="$SHELL ${ac_aux_dir}configure" -fi - # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -4201,12 +3609,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,) - { 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;} + { $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;} ac_cache_corrupted=: ;; ,set) - { 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;} + { $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;} ac_cache_corrupted=: ;; ,);; *) @@ -4215,24 +3623,24 @@ printf "%s\n" "$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 - { 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;} + { $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;} ac_cache_corrupted=: else - { 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;} + { $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;} eval $ac_var=\$ac_old_val fi - { 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;} + { $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;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in - *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in @@ -4242,12 +3650,11 @@ printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} fi done if $ac_cache_corrupted; then - { 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 + { $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 fi ## -------------------- ## ## Main body of script. ## @@ -4263,30 +3670,55 @@ 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 - -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -printf %s "checking build system type... " >&6; } -if test ${ac_cv_build+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -printf "%s\n" "$ac_cv_build" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; @@ -4305,22 +3737,21 @@ IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -printf %s "checking host system type... " >&6; } -if test ${ac_cv_host+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_host=$ac_cv_build else - ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || - as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -printf "%s\n" "$ac_cv_host" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; @@ -4422,14 +3853,14 @@ case "${host}" in USE_HPUX=1 DEFAULT_DEFAULT_wxUSE_GTK=1 NEEDS_D_REENTRANT_FOR_R_FUNCS=1 - printf "%s\n" "#define __HPUX__ 1" >>confdefs.h + $as_echo "#define __HPUX__ 1" >>confdefs.h CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS" ;; *-*-linux* ) USE_LINUX=1 - printf "%s\n" "#define __LINUX__ 1" >>confdefs.h + $as_echo "#define __LINUX__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; @@ -4440,15 +3871,15 @@ case "${host}" in *-*-irix5* | *-*-irix6* ) USE_SGI=1 USE_SVR4=1 - printf "%s\n" "#define __SGI__ 1" >>confdefs.h + $as_echo "#define __SGI__ 1" >>confdefs.h - printf "%s\n" "#define __SVR4__ 1" >>confdefs.h + $as_echo "#define __SVR4__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-qnx*) USE_QNX=1 - printf "%s\n" "#define __QNX__ 1" >>confdefs.h + $as_echo "#define __QNX__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_X11=1 ;; @@ -4456,11 +3887,11 @@ case "${host}" in USE_SUN=1 USE_SOLARIS=1 USE_SVR4=1 - printf "%s\n" "#define __SUN__ 1" >>confdefs.h + $as_echo "#define __SUN__ 1" >>confdefs.h - printf "%s\n" "#define __SOLARIS__ 1" >>confdefs.h + $as_echo "#define __SOLARIS__ 1" >>confdefs.h - printf "%s\n" "#define __SVR4__ 1" >>confdefs.h + $as_echo "#define __SVR4__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 NEEDS_D_REENTRANT_FOR_R_FUNCS=1 @@ -4469,38 +3900,38 @@ case "${host}" in USE_SUN=1 USE_SUNOS=1 USE_BSD=1 - printf "%s\n" "#define __SUN__ 1" >>confdefs.h + $as_echo "#define __SUN__ 1" >>confdefs.h - printf "%s\n" "#define __SUNOS__ 1" >>confdefs.h + $as_echo "#define __SUNOS__ 1" >>confdefs.h - printf "%s\n" "#define __BSD__ 1" >>confdefs.h + $as_echo "#define __BSD__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-freebsd*) USE_BSD=1 USE_FREEBSD=1 - printf "%s\n" "#define __FREEBSD__ 1" >>confdefs.h + $as_echo "#define __FREEBSD__ 1" >>confdefs.h - printf "%s\n" "#define __BSD__ 1" >>confdefs.h + $as_echo "#define __BSD__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-openbsd*|*-*-mirbsd*) USE_BSD=1 USE_OPENBSD=1 - printf "%s\n" "#define __OPENBSD__ 1" >>confdefs.h + $as_echo "#define __OPENBSD__ 1" >>confdefs.h - printf "%s\n" "#define __BSD__ 1" >>confdefs.h + $as_echo "#define __BSD__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-netbsd*) USE_BSD=1 USE_NETBSD=1 - printf "%s\n" "#define __NETBSD__ 1" >>confdefs.h + $as_echo "#define __NETBSD__ 1" >>confdefs.h - printf "%s\n" "#define __BSD__ 1" >>confdefs.h + $as_echo "#define __BSD__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 NEEDS_D_REENTRANT_FOR_R_FUNCS=1 @@ -4509,23 +3940,23 @@ case "${host}" in ;; *-*-osf* ) USE_OSF=1 - printf "%s\n" "#define __OSF__ 1" >>confdefs.h + $as_echo "#define __OSF__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 NEEDS_D_REENTRANT_FOR_R_FUNCS=1 ;; *-*-dgux5* ) USE_SVR4=1 - printf "%s\n" "#define __SVR4__ 1" >>confdefs.h + $as_echo "#define __SVR4__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-sysv5* ) USE_SYSV=1 USE_SVR4=1 - printf "%s\n" "#define __SYSV__ 1" >>confdefs.h + $as_echo "#define __SYSV__ 1" >>confdefs.h - printf "%s\n" "#define __SVR4__ 1" >>confdefs.h + $as_echo "#define __SVR4__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; @@ -4533,11 +3964,11 @@ case "${host}" in USE_AIX=1 USE_SYSV=1 USE_SVR4=1 - printf "%s\n" "#define __AIX__ 1" >>confdefs.h + $as_echo "#define __AIX__ 1" >>confdefs.h - printf "%s\n" "#define __SYSV__ 1" >>confdefs.h + $as_echo "#define __SYSV__ 1" >>confdefs.h - printf "%s\n" "#define __SVR4__ 1" >>confdefs.h + $as_echo "#define __SVR4__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_GTK=1 ;; @@ -4546,7 +3977,7 @@ case "${host}" in USE_SYSV=1 USE_SVR4=1 USE_UNIXWARE=1 - printf "%s\n" "#define __UNIXWARE__ 1" >>confdefs.h + $as_echo "#define __UNIXWARE__ 1" >>confdefs.h ;; @@ -4558,31 +3989,31 @@ case "${host}" in *-*-darwin* ) USE_BSD=1 USE_DARWIN=1 - printf "%s\n" "#define __BSD__ 1" >>confdefs.h + $as_echo "#define __BSD__ 1" >>confdefs.h - printf "%s\n" "#define __DARWIN__ 1" >>confdefs.h + $as_echo "#define __DARWIN__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_OSX_COCOA=1 ;; *-*-beos* ) USE_BEOS=1 - printf "%s\n" "#define __BEOS__ 1" >>confdefs.h + $as_echo "#define __BEOS__ 1" >>confdefs.h ;; *-*-haiku* ) USE_HAIKU=1 - printf "%s\n" "#define __HAIKU__ 1" >>confdefs.h + $as_echo "#define __HAIKU__ 1" >>confdefs.h DEFAULT_DEFAULT_wxUSE_QT=1 ;; *) - { 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;} + { $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;} DEFAULT_DEFAULT_wxUSE_X11=1 DEFAULT_wxUSE_SHARED=no @@ -4633,8 +4064,7 @@ DEFAULT_wxUSE_OBJC_UNIQUIFYING=no fi # Check whether --enable-gui was given. -if test ${enable_gui+y} -then : +if test "${enable_gui+set}" = set; then : enableval=$enable_gui; if test "$enableval" = yes; then wx_cv_use_gui='wxUSE_GUI=yes' @@ -4642,7 +4072,7 @@ then : wx_cv_use_gui='wxUSE_GUI=no' fi -else $as_nop +else wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}" @@ -4663,8 +4093,7 @@ fi fi # Check whether --enable-monolithic was given. -if test ${enable_monolithic+y} -then : +if test "${enable_monolithic+set}" = set; then : enableval=$enable_monolithic; if test "$enableval" = yes; then wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes' @@ -4672,7 +4101,7 @@ then : wx_cv_use_monolithic='wxUSE_MONOLITHIC=no' fi -else $as_nop +else wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}" @@ -4693,8 +4122,7 @@ fi fi # Check whether --enable-plugins was given. -if test ${enable_plugins+y} -then : +if test "${enable_plugins+set}" = set; then : enableval=$enable_plugins; if test "$enableval" = yes; then wx_cv_use_plugins='wxUSE_PLUGINS=yes' @@ -4702,7 +4130,7 @@ then : wx_cv_use_plugins='wxUSE_PLUGINS=no' fi -else $as_nop +else wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}" @@ -4723,8 +4151,7 @@ fi fi # Check whether --with-subdirs was given. -if test ${with_subdirs+y} -then : +if test "${with_subdirs+set}" = set; then : withval=$with_subdirs; if test "$withval" = yes; then wx_cv_use_subdirs='wxWITH_SUBDIRS=yes' @@ -4732,7 +4159,7 @@ then : wx_cv_use_subdirs='wxWITH_SUBDIRS=no' fi -else $as_nop +else wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}" @@ -4743,8 +4170,7 @@ fi # Check whether --with-flavour was given. -if test ${with_flavour+y} -then : +if test "${with_flavour+set}" = set; then : withval=$with_flavour; WX_FLAVOUR="$withval" fi @@ -4760,8 +4186,7 @@ fi fi # Check whether --enable-official_build was given. -if test ${enable_official_build+y} -then : +if test "${enable_official_build+set}" = set; then : enableval=$enable_official_build; if test "$enableval" = yes; then wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes' @@ -4769,7 +4194,7 @@ then : wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no' fi -else $as_nop +else wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}" @@ -4779,8 +4204,7 @@ fi eval "$wx_cv_use_official_build" # Check whether --enable-vendor was given. -if test ${enable_vendor+y} -then : +if test "${enable_vendor+set}" = set; then : enableval=$enable_vendor; VENDOR="$enableval" fi @@ -4800,8 +4224,7 @@ fi fi # Check whether --enable-all-features was given. -if test ${enable_all_features+y} -then : +if test "${enable_all_features+set}" = set; then : enableval=$enable_all_features; if test "$enableval" = yes; then wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes' @@ -4809,7 +4232,7 @@ then : wx_cv_use_all_features='wxUSE_ALL_FEATURES=no' fi -else $as_nop +else wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}" @@ -4830,8 +4253,7 @@ fi fi # Check whether --enable-sys-libs was given. -if test ${enable_sys_libs+y} -then : +if test "${enable_sys_libs+set}" = set; then : enableval=$enable_sys_libs; if test "$enableval" = yes; then wx_cv_use_sys_libs='wxUSE_SYS_LIBS=yes' @@ -4839,7 +4261,7 @@ then : wx_cv_use_sys_libs='wxUSE_SYS_LIBS=no' fi -else $as_nop +else wx_cv_use_sys_libs='wxUSE_SYS_LIBS=${'DEFAULT_wxUSE_SYS_LIBS":-$defaultval}" @@ -4860,8 +4282,7 @@ fi fi # Check whether --enable-tests was given. -if test ${enable_tests+y} -then : +if test "${enable_tests+set}" = set; then : enableval=$enable_tests; if test "$enableval" = yes; then wx_cv_use_tests='wxUSE_TESTS_SUBDIR=yes' @@ -4869,7 +4290,7 @@ then : wx_cv_use_tests='wxUSE_TESTS_SUBDIR=no' fi -else $as_nop +else wx_cv_use_tests='wxUSE_TESTS_SUBDIR=${'DEFAULT_wxUSE_TESTS_SUBDIR":-$defaultval}" @@ -4886,8 +4307,7 @@ fi # Check whether --with-dpi was given. -if test ${with_dpi+y} -then : +if test "${with_dpi+set}" = set; then : withval=$with_dpi; wxWITH_DPI_MANIFEST="$withval" fi @@ -4907,8 +4327,7 @@ if test "$wxUSE_GUI" = "yes"; then fi # Check whether --enable-universal was given. -if test ${enable_universal+y} -then : +if test "${enable_universal+set}" = set; then : enableval=$enable_universal; if test "$enableval" = yes; then wx_cv_use_universal='wxUSE_UNIVERSAL=yes' @@ -4916,7 +4335,7 @@ then : wx_cv_use_universal='wxUSE_UNIVERSAL=no' fi -else $as_nop +else wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}" @@ -4928,8 +4347,7 @@ fi if test "$wxUSE_UNIVERSAL" = "yes"; then # Check whether --with-themes was given. -if test ${with_themes+y} -then : +if test "${with_themes+set}" = set; then : withval=$with_themes; wxUNIV_THEMES="$withval" fi @@ -4937,16 +4355,14 @@ fi # Check whether --with-gtk was given. -if test ${with_gtk+y} -then : +if test "${with_gtk+set}" = set; 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+y} -then : +if test "${with_osx_cocoa+set}" = set; then : withval=$with_osx_cocoa; if test "$withval" != yes; then as_fn_error $? "Option --with-osx_cocoa doesn't accept any arguments" "$LINENO" 5 @@ -4959,8 +4375,7 @@ fi # Check whether --with-osx_iphone was given. -if test ${with_osx_iphone+y} -then : +if test "${with_osx_iphone+set}" = set; then : withval=$with_osx_iphone; if test "$withval" != yes; then as_fn_error $? "Option --with-osx_iphone doesn't accept any arguments" "$LINENO" 5 @@ -4973,8 +4388,7 @@ fi # Check whether --with-osx was given. -if test ${with_osx+y} -then : +if test "${with_osx+set}" = set; then : withval=$with_osx; if test "$withval" != yes; then as_fn_error $? "Option --with-osx doesn't accept any arguments" "$LINENO" 5 @@ -4987,8 +4401,7 @@ fi # Check whether --with-cocoa was given. -if test ${with_cocoa+y} -then : +if test "${with_cocoa+set}" = set; then : withval=$with_cocoa; if test "$withval" != yes; then as_fn_error $? "Option --with-cocoa doesn't accept any arguments" "$LINENO" 5 @@ -5001,8 +4414,7 @@ fi # Check whether --with-iphone was given. -if test ${with_iphone+y} -then : +if test "${with_iphone+set}" = set; then : withval=$with_iphone; if test "$withval" != yes; then as_fn_error $? "Option --with-iphone doesn't accept any arguments" "$LINENO" 5 @@ -5015,8 +4427,7 @@ fi # Check whether --with-mac was given. -if test ${with_mac+y} -then : +if test "${with_mac+set}" = set; then : withval=$with_mac; if test "$withval" != yes; then as_fn_error $? "Option --with-mac doesn't accept any arguments" "$LINENO" 5 @@ -5029,8 +4440,7 @@ fi # Check whether --with-wine was given. -if test ${with_wine+y} -then : +if test "${with_wine+set}" = set; then : withval=$with_wine; if test "$withval" != yes; then as_fn_error $? "Option --with-wine doesn't accept any arguments" "$LINENO" 5 @@ -5043,8 +4453,7 @@ fi # Check whether --with-msw was given. -if test ${with_msw+y} -then : +if test "${with_msw+set}" = set; then : withval=$with_msw; if test "$withval" != yes; then as_fn_error $? "Option --with-msw doesn't accept any arguments" "$LINENO" 5 @@ -5057,8 +4466,7 @@ fi # Check whether --with-directfb was given. -if test ${with_directfb+y} -then : +if test "${with_directfb+set}" = set; then : withval=$with_directfb; if test "$withval" != yes; then as_fn_error $? "Option --with-directfb doesn't accept any arguments" "$LINENO" 5 @@ -5071,8 +4479,7 @@ fi # Check whether --with-x11 was given. -if test ${with_x11+y} -then : +if test "${with_x11+set}" = set; then : withval=$with_x11; if test "$withval" != yes; then as_fn_error $? "Option --with-x11 doesn't accept any arguments" "$LINENO" 5 @@ -5085,8 +4492,7 @@ fi # Check whether --with-qt was given. -if test ${with_qt+y} -then : +if test "${with_qt+set}" = set; then : withval=$with_qt; if test "$withval" != yes; then as_fn_error $? "Option --with-qt doesn't accept any arguments" "$LINENO" 5 @@ -5108,8 +4514,7 @@ fi fi # Check whether --enable-nanox was given. -if test ${enable_nanox+y} -then : +if test "${enable_nanox+set}" = set; then : enableval=$enable_nanox; if test "$enableval" = yes; then wx_cv_use_nanox='wxUSE_NANOX=yes' @@ -5117,7 +4522,7 @@ then : wx_cv_use_nanox='wxUSE_NANOX=no' fi -else $as_nop +else wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}" @@ -5128,8 +4533,8 @@ fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5 -printf %s "checking for toolkit... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5 +$as_echo_n "checking for toolkit... " >&6; } @@ -5191,17 +4596,17 @@ if test "$wxUSE_GUI" = "yes"; then eval "value=\$${var}" if test "$value" = 1; then toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5 -printf "%s\n" "$toolkit_echo" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5 +$as_echo "$toolkit_echo" >&6; } fi done else if test "x$host_alias" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5 -printf "%s\n" "base ($host_alias hosted) only" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5 +$as_echo "base ($host_alias hosted) only" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: base only" >&5 -printf "%s\n" "base only" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5 +$as_echo "base only" >&6; } fi fi @@ -5215,8 +4620,7 @@ fi # Check whether --with-libpng was given. -if test ${with_libpng+y} -then : +if test "${with_libpng+set}" = set; then : withval=$with_libpng; if test "$withval" = yes; then wx_cv_use_libpng='wxUSE_LIBPNG=yes' @@ -5230,7 +4634,7 @@ then : as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else $as_nop +else if test "DEFAULT_wxUSE_LIBPNG" = no; then value=no @@ -5252,8 +4656,7 @@ fi # Check whether --with-libjpeg was given. -if test ${with_libjpeg+y} -then : +if test "${with_libjpeg+set}" = set; then : withval=$with_libjpeg; if test "$withval" = yes; then wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes' @@ -5267,7 +4670,7 @@ then : as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else $as_nop +else if test "DEFAULT_wxUSE_LIBJPEG" = no; then value=no @@ -5289,8 +4692,7 @@ fi # Check whether --with-libtiff was given. -if test ${with_libtiff+y} -then : +if test "${with_libtiff+set}" = set; then : withval=$with_libtiff; if test "$withval" = yes; then wx_cv_use_libtiff='wxUSE_LIBTIFF=yes' @@ -5304,7 +4706,7 @@ then : as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else $as_nop +else if test "DEFAULT_wxUSE_LIBTIFF" = no; then value=no @@ -5339,8 +4741,7 @@ else fi # Check whether --with-libjbig was given. -if test ${with_libjbig+y} -then : +if test "${with_libjbig+set}" = set; then : withval=$with_libjbig; if test "$withval" = yes; then wx_cv_use_libjbig='wxUSE_LIBJBIG=yes' @@ -5348,7 +4749,7 @@ then : wx_cv_use_libjbig='wxUSE_LIBJBIG=no' fi -else $as_nop +else wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}" @@ -5362,8 +4763,7 @@ fi # Check whether --with-libxpm was given. -if test ${with_libxpm+y} -then : +if test "${with_libxpm+set}" = set; then : withval=$with_libxpm; if test "$withval" = yes; then wx_cv_use_libxpm='wxUSE_LIBXPM=yes' @@ -5377,7 +4777,7 @@ then : as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else $as_nop +else if test "DEFAULT_wxUSE_LIBXPM" = no; then value=no @@ -5408,8 +4808,7 @@ fi fi # Check whether --with-libiconv was given. -if test ${with_libiconv+y} -then : +if test "${with_libiconv+set}" = set; then : withval=$with_libiconv; if test "$withval" = yes; then wx_cv_use_libiconv='wxUSE_LIBICONV=yes' @@ -5417,7 +4816,7 @@ then : wx_cv_use_libiconv='wxUSE_LIBICONV=no' fi -else $as_nop +else wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}" @@ -5438,8 +4837,7 @@ fi fi # Check whether --with-libmspack was given. -if test ${with_libmspack+y} -then : +if test "${with_libmspack+set}" = set; then : withval=$with_libmspack; if test "$withval" = yes; then wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes' @@ -5447,7 +4845,7 @@ then : wx_cv_use_libmspack='wxUSE_LIBMSPACK=no' fi -else $as_nop +else wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}" @@ -5468,8 +4866,7 @@ fi fi # Check whether --with-gtkprint was given. -if test ${with_gtkprint+y} -then : +if test "${with_gtkprint+set}" = set; then : withval=$with_gtkprint; if test "$withval" = yes; then wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes' @@ -5477,7 +4874,7 @@ then : wx_cv_use_gtkprint='wxUSE_GTKPRINT=no' fi -else $as_nop +else wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}" @@ -5498,8 +4895,7 @@ fi fi # Check whether --with-gnomevfs was given. -if test ${with_gnomevfs+y} -then : +if test "${with_gnomevfs+set}" = set; then : withval=$with_gnomevfs; if test "$withval" = yes; then wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes' @@ -5507,7 +4903,7 @@ then : wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no' fi -else $as_nop +else wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}" @@ -5528,8 +4924,7 @@ fi fi # Check whether --with-libnotify was given. -if test ${with_libnotify+y} -then : +if test "${with_libnotify+set}" = set; then : withval=$with_libnotify; if test "$withval" = yes; then wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes' @@ -5537,7 +4932,7 @@ then : wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no' fi -else $as_nop +else wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}" @@ -5558,8 +4953,7 @@ fi fi # Check whether --with-opengl was given. -if test ${with_opengl+y} -then : +if test "${with_opengl+set}" = set; then : withval=$with_opengl; if test "$withval" = yes; then wx_cv_use_opengl='wxUSE_OPENGL=yes' @@ -5567,7 +4961,7 @@ then : wx_cv_use_opengl='wxUSE_OPENGL=no' fi -else $as_nop +else wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}" @@ -5588,8 +4982,7 @@ fi fi # Check whether --with-xtest was given. -if test ${with_xtest+y} -then : +if test "${with_xtest+set}" = set; then : withval=$with_xtest; if test "$withval" = yes; then wx_cv_use_xtest='wxUSE_XTEST=yes' @@ -5597,7 +4990,7 @@ then : wx_cv_use_xtest='wxUSE_XTEST=no' fi -else $as_nop +else wx_cv_use_xtest='wxUSE_XTEST=${'DEFAULT_wxUSE_XTEST":-$defaultval}" @@ -5618,8 +5011,7 @@ fi fi # Check whether --with-nanosvg was given. -if test ${with_nanosvg+y} -then : +if test "${with_nanosvg+set}" = set; then : withval=$with_nanosvg; if test "$withval" = yes; then wx_cv_use_nanosvg='wxUSE_NANOSVG=yes' @@ -5627,7 +5019,7 @@ then : wx_cv_use_nanosvg='wxUSE_NANOSVG=no' fi -else $as_nop +else wx_cv_use_nanosvg='wxUSE_NANOSVG=${'DEFAULT_wxUSE_NANOSVG":-$defaultval}" @@ -5654,8 +5046,7 @@ if test "$wx_needs_cairo_for_gc" != 1; then fi # Check whether --with-cairo was given. -if test ${with_cairo+y} -then : +if test "${with_cairo+set}" = set; then : withval=$with_cairo; if test "$withval" = yes; then wx_cv_use_cairo='wxUSE_CAIRO=yes' @@ -5663,7 +5054,7 @@ then : wx_cv_use_cairo='wxUSE_CAIRO=no' fi -else $as_nop +else wx_cv_use_cairo='wxUSE_CAIRO=${'DEFAULT_wxUSE_CAIRO":-$defaultval}" @@ -5688,8 +5079,7 @@ fi fi # Check whether --with-dmalloc was given. -if test ${with_dmalloc+y} -then : +if test "${with_dmalloc+set}" = set; then : withval=$with_dmalloc; if test "$withval" = yes; then wx_cv_use_dmalloc='wxUSE_DMALLOC=yes' @@ -5697,7 +5087,7 @@ then : wx_cv_use_dmalloc='wxUSE_DMALLOC=no' fi -else $as_nop +else wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}" @@ -5718,8 +5108,7 @@ fi fi # Check whether --with-sdl was given. -if test ${with_sdl+y} -then : +if test "${with_sdl+set}" = set; then : withval=$with_sdl; if test "$withval" = yes; then wx_cv_use_sdl='wxUSE_LIBSDL=yes' @@ -5727,7 +5116,7 @@ then : wx_cv_use_sdl='wxUSE_LIBSDL=no' fi -else $as_nop +else wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}" @@ -5739,8 +5128,7 @@ fi # Check whether --with-regex was given. -if test ${with_regex+y} -then : +if test "${with_regex+set}" = set; then : withval=$with_regex; if test "$withval" = yes; then wx_cv_use_regex='wxUSE_REGEX=yes' @@ -5754,7 +5142,7 @@ then : as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else $as_nop +else if test "DEFAULT_wxUSE_REGEX" = no; then value=no @@ -5785,8 +5173,7 @@ fi fi # Check whether --with-liblzma was given. -if test ${with_liblzma+y} -then : +if test "${with_liblzma+set}" = set; then : withval=$with_liblzma; if test "$withval" = yes; then wx_cv_use_liblzma='wxUSE_LIBLZMA=yes' @@ -5794,7 +5181,7 @@ then : wx_cv_use_liblzma='wxUSE_LIBLZMA=no' fi -else $as_nop +else wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}" @@ -5806,8 +5193,7 @@ fi # Check whether --with-zlib was given. -if test ${with_zlib+y} -then : +if test "${with_zlib+set}" = set; then : withval=$with_zlib; if test "$withval" = yes; then wx_cv_use_zlib='wxUSE_ZLIB=yes' @@ -5821,7 +5207,7 @@ then : as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else $as_nop +else if test "DEFAULT_wxUSE_ZLIB" = no; then value=no @@ -5843,8 +5229,7 @@ fi # Check whether --with-expat was given. -if test ${with_expat+y} -then : +if test "${with_expat+set}" = set; then : withval=$with_expat; if test "$withval" = yes; then wx_cv_use_expat='wxUSE_EXPAT=yes' @@ -5858,7 +5243,7 @@ then : as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5 fi -else $as_nop +else if test "DEFAULT_wxUSE_EXPAT" = no; then value=no @@ -5890,8 +5275,7 @@ fi fi # Check whether --with-libcurl was given. -if test ${with_libcurl+y} -then : +if test "${with_libcurl+set}" = set; then : withval=$with_libcurl; if test "$withval" = yes; then wx_cv_use_libcurl='wxUSE_LIBCURL=yes' @@ -5899,7 +5283,7 @@ then : wx_cv_use_libcurl='wxUSE_LIBCURL=no' fi -else $as_nop +else wx_cv_use_libcurl='wxUSE_LIBCURL=${'DEFAULT_wxUSE_LIBCURL":-$defaultval}" @@ -5920,8 +5304,7 @@ fi fi # Check whether --with-winhttp was given. -if test ${with_winhttp+y} -then : +if test "${with_winhttp+set}" = set; then : withval=$with_winhttp; if test "$withval" = yes; then wx_cv_use_winhttp='wxUSE_WINHTTP=yes' @@ -5929,7 +5312,7 @@ then : wx_cv_use_winhttp='wxUSE_WINHTTP=no' fi -else $as_nop +else wx_cv_use_winhttp='wxUSE_WINHTTP=${'DEFAULT_wxUSE_WINHTTP":-$defaultval}" @@ -5951,8 +5334,7 @@ if test "$USE_DARWIN" = 1; then fi # Check whether --with-urlsession was given. -if test ${with_urlsession+y} -then : +if test "${with_urlsession+set}" = set; then : withval=$with_urlsession; if test "$withval" = yes; then wx_cv_use_urlsession='wxUSE_URLSESSION=yes' @@ -5960,7 +5342,7 @@ then : wx_cv_use_urlsession='wxUSE_URLSESSION=no' fi -else $as_nop +else wx_cv_use_urlsession='wxUSE_URLSESSION=${'DEFAULT_wxUSE_URLSESSION":-$defaultval}" @@ -5975,8 +5357,7 @@ if test "$USE_DARWIN" = 1; then # Check whether --with-macosx-sdk was given. -if test ${with_macosx_sdk+y} -then : +if test "${with_macosx_sdk+set}" = set; then : withval=$with_macosx_sdk; wxUSE_MACOSX_SDK=$withval wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval" @@ -5986,8 +5367,7 @@ fi # Check whether --with-macosx-version-min was given. -if test ${with_macosx_version_min+y} -then : +if test "${with_macosx_version_min+set}" = set; then : withval=$with_macosx_version_min; wxUSE_MACOSX_VERSION_MIN=$withval wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval" @@ -5998,8 +5378,7 @@ fi fi # Check whether --enable-debug was given. -if test ${enable_debug+y} -then : +if test "${enable_debug+set}" = set; then : enableval=$enable_debug; if test "$enableval" = yes; then wxUSE_DEBUG=yes @@ -6012,7 +5391,7 @@ then : as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5 fi -else $as_nop +else wxUSE_DEBUG=default fi @@ -6049,8 +5428,7 @@ esac fi # Check whether --enable-debug_flag was given. -if test ${enable_debug_flag+y} -then : +if test "${enable_debug_flag+set}" = set; then : enableval=$enable_debug_flag; if test "$enableval" = yes; then wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes' @@ -6058,7 +5436,7 @@ then : wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no' fi -else $as_nop +else wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}" @@ -6079,8 +5457,7 @@ fi fi # Check whether --enable-debug_info was given. -if test ${enable_debug_info+y} -then : +if test "${enable_debug_info+set}" = set; then : enableval=$enable_debug_info; if test "$enableval" = yes; then wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes' @@ -6088,7 +5465,7 @@ then : wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no' fi -else $as_nop +else wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}" @@ -6111,8 +5488,7 @@ fi fi # Check whether --enable-debug_gdb was given. -if test ${enable_debug_gdb+y} -then : +if test "${enable_debug_gdb+set}" = set; then : enableval=$enable_debug_gdb; if test "$enableval" = yes; then wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes' @@ -6120,7 +5496,7 @@ then : wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no' fi -else $as_nop +else wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}" @@ -6143,8 +5519,7 @@ fi fi # Check whether --enable-shared was given. -if test ${enable_shared+y} -then : +if test "${enable_shared+set}" = set; then : enableval=$enable_shared; if test "$enableval" = yes; then wx_cv_use_shared='wxUSE_SHARED=yes' @@ -6152,7 +5527,7 @@ then : wx_cv_use_shared='wxUSE_SHARED=no' fi -else $as_nop +else wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}" @@ -6162,15 +5537,13 @@ fi eval "$wx_cv_use_shared" # Check whether --enable-cxx11 was given. -if test ${enable_cxx11+y} -then : +if test "${enable_cxx11+set}" = set; then : enableval=$enable_cxx11; fi # Check whether --with-cxx was given. -if test ${with_cxx+y} -then : +if test "${with_cxx+set}" = set; then : withval=$with_cxx; wxWITH_CXX="$withval" fi @@ -6186,8 +5559,7 @@ fi fi # Check whether --enable-stl was given. -if test ${enable_stl+y} -then : +if test "${enable_stl+set}" = set; then : enableval=$enable_stl; if test "$enableval" = yes; then wx_cv_use_stl='wxUSE_STL=yes' @@ -6195,7 +5567,7 @@ then : wx_cv_use_stl='wxUSE_STL=no' fi -else $as_nop +else wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}" @@ -6216,8 +5588,7 @@ fi fi # Check whether --enable-std_containers was given. -if test ${enable_std_containers+y} -then : +if test "${enable_std_containers+set}" = set; then : enableval=$enable_std_containers; if test "$enableval" = yes; then wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes' @@ -6225,7 +5596,7 @@ then : wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no' fi -else $as_nop +else wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}" @@ -6246,8 +5617,7 @@ fi fi # Check whether --enable-std_iostreams was given. -if test ${enable_std_iostreams+y} -then : +if test "${enable_std_iostreams+set}" = set; then : enableval=$enable_std_iostreams; if test "$enableval" = yes; then wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes' @@ -6255,7 +5625,7 @@ then : wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no' fi -else $as_nop +else wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}" @@ -6276,8 +5646,7 @@ fi fi # Check whether --enable-std_string_conv_in_wxstring was given. -if test ${enable_std_string_conv_in_wxstring+y} -then : +if test "${enable_std_string_conv_in_wxstring+set}" = set; 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' @@ -6285,7 +5654,7 @@ then : wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no' fi -else $as_nop +else wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}" @@ -6306,8 +5675,7 @@ fi fi # Check whether --enable-unsafe_conv_in_wxstring was given. -if test ${enable_unsafe_conv_in_wxstring+y} -then : +if test "${enable_unsafe_conv_in_wxstring+set}" = set; then : enableval=$enable_unsafe_conv_in_wxstring; if test "$enableval" = yes; then wx_cv_use_unsafe_conv_in_wxstring='wxUSE_UNSAFE_WXSTRING_CONV=yes' @@ -6315,7 +5683,7 @@ then : wx_cv_use_unsafe_conv_in_wxstring='wxUSE_UNSAFE_WXSTRING_CONV=no' fi -else $as_nop +else wx_cv_use_unsafe_conv_in_wxstring='wxUSE_UNSAFE_WXSTRING_CONV=${'DEFAULT_wxUSE_UNSAFE_WXSTRING_CONV":-$defaultval}" @@ -6327,12 +5695,11 @@ fi enablestring= # Check whether --enable-utf8 was given. -if test ${enable_utf8+y} -then : +if test "${enable_utf8+set}" = set; then : enableval=$enable_utf8; wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'" -else $as_nop +else wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8 @@ -6353,8 +5720,7 @@ fi fi # Check whether --enable-utf8only was given. -if test ${enable_utf8only+y} -then : +if test "${enable_utf8only+set}" = set; then : enableval=$enable_utf8only; if test "$enableval" = yes; then wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes' @@ -6362,7 +5728,7 @@ then : wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no' fi -else $as_nop +else wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}" @@ -6383,8 +5749,7 @@ fi fi # Check whether --enable-extended_rtti was given. -if test ${enable_extended_rtti+y} -then : +if test "${enable_extended_rtti+set}" = set; then : enableval=$enable_extended_rtti; if test "$enableval" = yes; then wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes' @@ -6392,7 +5757,7 @@ then : wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no' fi -else $as_nop +else wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}" @@ -6414,8 +5779,7 @@ fi fi # Check whether --enable-optimise was given. -if test ${enable_optimise+y} -then : +if test "${enable_optimise+set}" = set; then : enableval=$enable_optimise; if test "$enableval" = yes; then wx_cv_use_optimise='wxUSE_OPTIMISE=yes' @@ -6423,7 +5787,7 @@ then : wx_cv_use_optimise='wxUSE_OPTIMISE=no' fi -else $as_nop +else wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}" @@ -6445,8 +5809,7 @@ fi fi # Check whether --enable-profile was given. -if test ${enable_profile+y} -then : +if test "${enable_profile+set}" = set; then : enableval=$enable_profile; if test "$enableval" = yes; then wx_cv_use_profile='wxUSE_PROFILE=yes' @@ -6454,7 +5817,7 @@ then : wx_cv_use_profile='wxUSE_PROFILE=no' fi -else $as_nop +else wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}" @@ -6475,8 +5838,7 @@ fi fi # Check whether --enable-pic was given. -if test ${enable_pic+y} -then : +if test "${enable_pic+set}" = set; then : enableval=$enable_pic; if test "$enableval" = yes; then wx_cv_use_pic='wxUSE_PIC=yes' @@ -6484,7 +5846,7 @@ then : wx_cv_use_pic='wxUSE_PIC=no' fi -else $as_nop +else wx_cv_use_pic='wxUSE_PIC=${'DEFAULT_wxUSE_PIC":-$defaultval}" @@ -6505,8 +5867,7 @@ fi fi # Check whether --enable-no_rtti was given. -if test ${enable_no_rtti+y} -then : +if test "${enable_no_rtti+set}" = set; then : enableval=$enable_no_rtti; if test "$enableval" = yes; then wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes' @@ -6514,7 +5875,7 @@ then : wx_cv_use_no_rtti='wxUSE_NO_RTTI=no' fi -else $as_nop +else wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}" @@ -6535,8 +5896,7 @@ fi fi # Check whether --enable-no_exceptions was given. -if test ${enable_no_exceptions+y} -then : +if test "${enable_no_exceptions+set}" = set; then : enableval=$enable_no_exceptions; if test "$enableval" = yes; then wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes' @@ -6544,7 +5904,7 @@ then : wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no' fi -else $as_nop +else wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}" @@ -6565,8 +5925,7 @@ fi fi # Check whether --enable-permissive was given. -if test ${enable_permissive+y} -then : +if test "${enable_permissive+set}" = set; then : enableval=$enable_permissive; if test "$enableval" = yes; then wx_cv_use_permissive='wxUSE_PERMISSIVE=yes' @@ -6574,7 +5933,7 @@ then : wx_cv_use_permissive='wxUSE_PERMISSIVE=no' fi -else $as_nop +else wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}" @@ -6595,8 +5954,7 @@ fi fi # Check whether --enable-vararg_macros was given. -if test ${enable_vararg_macros+y} -then : +if test "${enable_vararg_macros+set}" = set; then : enableval=$enable_vararg_macros; if test "$enableval" = yes; then wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes' @@ -6604,7 +5962,7 @@ then : wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no' fi -else $as_nop +else wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}" @@ -6618,12 +5976,11 @@ if test "$USE_DARWIN" = 1; then enablestring= # Check whether --enable-universal_binary was given. -if test ${enable_universal_binary+y} -then : +if test "${enable_universal_binary+set}" = set; then : enableval=$enable_universal_binary; wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'" -else $as_nop +else wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY @@ -6635,12 +5992,11 @@ fi enablestring= # Check whether --enable-macosx_arch was given. -if test ${enable_macosx_arch+y} -then : +if test "${enable_macosx_arch+set}" = set; then : enableval=$enable_macosx_arch; wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'" -else $as_nop +else wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH @@ -6662,8 +6018,7 @@ fi fi # Check whether --enable-compat30 was given. -if test ${enable_compat30+y} -then : +if test "${enable_compat30+set}" = set; then : enableval=$enable_compat30; if test "$enableval" = yes; then wx_cv_use_compat30='WXWIN_COMPATIBILITY_3_0=yes' @@ -6671,7 +6026,7 @@ then : wx_cv_use_compat30='WXWIN_COMPATIBILITY_3_0=no' fi -else $as_nop +else wx_cv_use_compat30='WXWIN_COMPATIBILITY_3_0=${'DEFAULT_WXWIN_COMPATIBILITY_3_0":-$defaultval}" @@ -6692,8 +6047,7 @@ fi fi # Check whether --enable-compat32 was given. -if test ${enable_compat32+y} -then : +if test "${enable_compat32+set}" = set; then : enableval=$enable_compat32; if test "$enableval" = yes; then wx_cv_use_compat32='WXWIN_COMPATIBILITY_3_2=yes' @@ -6701,7 +6055,7 @@ then : wx_cv_use_compat32='WXWIN_COMPATIBILITY_3_2=no' fi -else $as_nop +else wx_cv_use_compat32='WXWIN_COMPATIBILITY_3_2=${'DEFAULT_WXWIN_COMPATIBILITY_3_2":-$defaultval}" @@ -6723,8 +6077,7 @@ fi fi # Check whether --enable-rpath was given. -if test ${enable_rpath+y} -then : +if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; if test "$enableval" = yes; then wx_cv_use_rpath='wxUSE_RPATH=yes' @@ -6732,7 +6085,7 @@ then : wx_cv_use_rpath='wxUSE_RPATH=no' fi -else $as_nop +else wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}" @@ -6754,8 +6107,7 @@ fi fi # Check whether --enable-visibility was given. -if test ${enable_visibility+y} -then : +if test "${enable_visibility+set}" = set; then : enableval=$enable_visibility; if test "$enableval" = yes; then wx_cv_use_visibility='wxUSE_VISIBILITY=yes' @@ -6763,7 +6115,7 @@ then : wx_cv_use_visibility='wxUSE_VISIBILITY=no' fi -else $as_nop +else wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}" @@ -6785,8 +6137,7 @@ fi fi # Check whether --enable-repro_build was given. -if test ${enable_repro_build+y} -then : +if test "${enable_repro_build+set}" = set; then : enableval=$enable_repro_build; if test "$enableval" = yes; then wx_cv_use_repro_build='wxUSE_REPRODUCIBLE_BUILD=yes' @@ -6794,7 +6145,7 @@ then : wx_cv_use_repro_build='wxUSE_REPRODUCIBLE_BUILD=no' fi -else $as_nop +else wx_cv_use_repro_build='wxUSE_REPRODUCIBLE_BUILD=${'DEFAULT_wxUSE_REPRODUCIBLE_BUILD":-$defaultval}" @@ -6815,8 +6166,7 @@ fi fi # Check whether --enable-pch was given. -if test ${enable_pch+y} -then : +if test "${enable_pch+set}" = set; then : enableval=$enable_pch; if test "$enableval" = yes; then wx_cv_use_pch='wxUSE_PCH=yes' @@ -6824,7 +6174,7 @@ then : wx_cv_use_pch='wxUSE_PCH=no' fi -else $as_nop +else wx_cv_use_pch='wxUSE_PCH=${'DEFAULT_wxUSE_PCH":-$defaultval}" @@ -6847,8 +6197,7 @@ fi fi # Check whether --enable-intl was given. -if test ${enable_intl+y} -then : +if test "${enable_intl+set}" = set; then : enableval=$enable_intl; if test "$enableval" = yes; then wx_cv_use_intl='wxUSE_INTL=yes' @@ -6856,7 +6205,7 @@ then : wx_cv_use_intl='wxUSE_INTL=no' fi -else $as_nop +else wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}" @@ -6877,8 +6226,7 @@ fi fi # Check whether --enable-xlocale was given. -if test ${enable_xlocale+y} -then : +if test "${enable_xlocale+set}" = set; then : enableval=$enable_xlocale; if test "$enableval" = yes; then wx_cv_use_xlocale='wxUSE_XLOCALE=yes' @@ -6886,7 +6234,7 @@ then : wx_cv_use_xlocale='wxUSE_XLOCALE=no' fi -else $as_nop +else wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}" @@ -6907,8 +6255,7 @@ fi fi # Check whether --enable-config was given. -if test ${enable_config+y} -then : +if test "${enable_config+set}" = set; then : enableval=$enable_config; if test "$enableval" = yes; then wx_cv_use_config='wxUSE_CONFIG=yes' @@ -6916,7 +6263,7 @@ then : wx_cv_use_config='wxUSE_CONFIG=no' fi -else $as_nop +else wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}" @@ -6938,8 +6285,7 @@ fi fi # Check whether --enable-protocols was given. -if test ${enable_protocols+y} -then : +if test "${enable_protocols+set}" = set; then : enableval=$enable_protocols; if test "$enableval" = yes; then wx_cv_use_protocols='wxUSE_PROTOCOL=yes' @@ -6947,7 +6293,7 @@ then : wx_cv_use_protocols='wxUSE_PROTOCOL=no' fi -else $as_nop +else wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}" @@ -6968,8 +6314,7 @@ fi fi # Check whether --enable-ftp was given. -if test ${enable_ftp+y} -then : +if test "${enable_ftp+set}" = set; then : enableval=$enable_ftp; if test "$enableval" = yes; then wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes' @@ -6977,7 +6322,7 @@ then : wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no' fi -else $as_nop +else wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}" @@ -6998,8 +6343,7 @@ fi fi # Check whether --enable-http was given. -if test ${enable_http+y} -then : +if test "${enable_http+set}" = set; then : enableval=$enable_http; if test "$enableval" = yes; then wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes' @@ -7007,7 +6351,7 @@ then : wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no' fi -else $as_nop +else wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}" @@ -7028,8 +6372,7 @@ fi fi # Check whether --enable-fileproto was given. -if test ${enable_fileproto+y} -then : +if test "${enable_fileproto+set}" = set; then : enableval=$enable_fileproto; if test "$enableval" = yes; then wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes' @@ -7037,7 +6380,7 @@ then : wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no' fi -else $as_nop +else wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}" @@ -7058,8 +6401,7 @@ fi fi # Check whether --enable-sockets was given. -if test ${enable_sockets+y} -then : +if test "${enable_sockets+set}" = set; then : enableval=$enable_sockets; if test "$enableval" = yes; then wx_cv_use_sockets='wxUSE_SOCKETS=yes' @@ -7067,7 +6409,7 @@ then : wx_cv_use_sockets='wxUSE_SOCKETS=no' fi -else $as_nop +else wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}" @@ -7088,8 +6430,7 @@ fi fi # Check whether --enable-ipv6 was given. -if test ${enable_ipv6+y} -then : +if test "${enable_ipv6+set}" = set; then : enableval=$enable_ipv6; if test "$enableval" = yes; then wx_cv_use_ipv6='wxUSE_IPV6=yes' @@ -7097,7 +6438,7 @@ then : wx_cv_use_ipv6='wxUSE_IPV6=no' fi -else $as_nop +else wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}" @@ -7118,8 +6459,7 @@ fi fi # Check whether --enable-ole was given. -if test ${enable_ole+y} -then : +if test "${enable_ole+set}" = set; then : enableval=$enable_ole; if test "$enableval" = yes; then wx_cv_use_ole='wxUSE_OLE=yes' @@ -7127,7 +6467,7 @@ then : wx_cv_use_ole='wxUSE_OLE=no' fi -else $as_nop +else wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}" @@ -7148,8 +6488,7 @@ fi fi # Check whether --enable-dataobj was given. -if test ${enable_dataobj+y} -then : +if test "${enable_dataobj+set}" = set; then : enableval=$enable_dataobj; if test "$enableval" = yes; then wx_cv_use_dataobj='wxUSE_DATAOBJ=yes' @@ -7157,7 +6496,7 @@ then : wx_cv_use_dataobj='wxUSE_DATAOBJ=no' fi -else $as_nop +else wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}" @@ -7178,8 +6517,7 @@ fi fi # Check whether --enable-webrequest was given. -if test ${enable_webrequest+y} -then : +if test "${enable_webrequest+set}" = set; then : enableval=$enable_webrequest; if test "$enableval" = yes; then wx_cv_use_webrequest='wxUSE_WEBREQUEST=yes' @@ -7187,7 +6525,7 @@ then : wx_cv_use_webrequest='wxUSE_WEBREQUEST=no' fi -else $as_nop +else wx_cv_use_webrequest='wxUSE_WEBREQUEST=${'DEFAULT_wxUSE_WEBREQUEST":-$defaultval}" @@ -7209,8 +6547,7 @@ fi fi # Check whether --enable-ipc was given. -if test ${enable_ipc+y} -then : +if test "${enable_ipc+set}" = set; then : enableval=$enable_ipc; if test "$enableval" = yes; then wx_cv_use_ipc='wxUSE_IPC=yes' @@ -7218,7 +6555,7 @@ then : wx_cv_use_ipc='wxUSE_IPC=no' fi -else $as_nop +else wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}" @@ -7240,8 +6577,7 @@ fi fi # Check whether --enable-baseevtloop was given. -if test ${enable_baseevtloop+y} -then : +if test "${enable_baseevtloop+set}" = set; then : enableval=$enable_baseevtloop; if test "$enableval" = yes; then wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes' @@ -7249,7 +6585,7 @@ then : wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no' fi -else $as_nop +else wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}" @@ -7270,8 +6606,7 @@ fi fi # Check whether --enable-epollloop was given. -if test ${enable_epollloop+y} -then : +if test "${enable_epollloop+set}" = set; then : enableval=$enable_epollloop; if test "$enableval" = yes; then wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes' @@ -7279,7 +6614,7 @@ then : wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no' fi -else $as_nop +else wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}" @@ -7300,8 +6635,7 @@ fi fi # Check whether --enable-selectloop was given. -if test ${enable_selectloop+y} -then : +if test "${enable_selectloop+set}" = set; then : enableval=$enable_selectloop; if test "$enableval" = yes; then wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes' @@ -7309,7 +6643,7 @@ then : wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no' fi -else $as_nop +else wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}" @@ -7331,8 +6665,7 @@ fi fi # Check whether --enable-any was given. -if test ${enable_any+y} -then : +if test "${enable_any+set}" = set; then : enableval=$enable_any; if test "$enableval" = yes; then wx_cv_use_any='wxUSE_ANY=yes' @@ -7340,7 +6673,7 @@ then : wx_cv_use_any='wxUSE_ANY=no' fi -else $as_nop +else wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}" @@ -7361,8 +6694,7 @@ fi fi # Check whether --enable-apple_ieee was given. -if test ${enable_apple_ieee+y} -then : +if test "${enable_apple_ieee+set}" = set; then : enableval=$enable_apple_ieee; if test "$enableval" = yes; then wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes' @@ -7370,7 +6702,7 @@ then : wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no' fi -else $as_nop +else wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}" @@ -7391,8 +6723,7 @@ fi fi # Check whether --enable-arcstream was given. -if test ${enable_arcstream+y} -then : +if test "${enable_arcstream+set}" = set; then : enableval=$enable_arcstream; if test "$enableval" = yes; then wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes' @@ -7400,7 +6731,7 @@ then : wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no' fi -else $as_nop +else wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}" @@ -7421,8 +6752,7 @@ fi fi # Check whether --enable-base64 was given. -if test ${enable_base64+y} -then : +if test "${enable_base64+set}" = set; then : enableval=$enable_base64; if test "$enableval" = yes; then wx_cv_use_base64='wxUSE_BASE64=yes' @@ -7430,7 +6760,7 @@ then : wx_cv_use_base64='wxUSE_BASE64=no' fi -else $as_nop +else wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}" @@ -7451,8 +6781,7 @@ fi fi # Check whether --enable-backtrace was given. -if test ${enable_backtrace+y} -then : +if test "${enable_backtrace+set}" = set; then : enableval=$enable_backtrace; if test "$enableval" = yes; then wx_cv_use_backtrace='wxUSE_STACKWALKER=yes' @@ -7460,7 +6789,7 @@ then : wx_cv_use_backtrace='wxUSE_STACKWALKER=no' fi -else $as_nop +else wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}" @@ -7481,8 +6810,7 @@ fi fi # Check whether --enable-catch_segvs was given. -if test ${enable_catch_segvs+y} -then : +if test "${enable_catch_segvs+set}" = set; then : enableval=$enable_catch_segvs; if test "$enableval" = yes; then wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes' @@ -7490,7 +6818,7 @@ then : wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no' fi -else $as_nop +else wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}" @@ -7511,8 +6839,7 @@ fi fi # Check whether --enable-cmdline was given. -if test ${enable_cmdline+y} -then : +if test "${enable_cmdline+set}" = set; then : enableval=$enable_cmdline; if test "$enableval" = yes; then wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes' @@ -7520,7 +6847,7 @@ then : wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no' fi -else $as_nop +else wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}" @@ -7541,8 +6868,7 @@ fi fi # Check whether --enable-datetime was given. -if test ${enable_datetime+y} -then : +if test "${enable_datetime+set}" = set; then : enableval=$enable_datetime; if test "$enableval" = yes; then wx_cv_use_datetime='wxUSE_DATETIME=yes' @@ -7550,7 +6876,7 @@ then : wx_cv_use_datetime='wxUSE_DATETIME=no' fi -else $as_nop +else wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}" @@ -7571,8 +6897,7 @@ fi fi # Check whether --enable-debugreport was given. -if test ${enable_debugreport+y} -then : +if test "${enable_debugreport+set}" = set; then : enableval=$enable_debugreport; if test "$enableval" = yes; then wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes' @@ -7580,7 +6905,7 @@ then : wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no' fi -else $as_nop +else wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}" @@ -7601,8 +6926,7 @@ fi fi # Check whether --enable-dialupman was given. -if test ${enable_dialupman+y} -then : +if test "${enable_dialupman+set}" = set; then : enableval=$enable_dialupman; if test "$enableval" = yes; then wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes' @@ -7610,7 +6934,7 @@ then : wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no' fi -else $as_nop +else wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}" @@ -7631,8 +6955,7 @@ fi fi # Check whether --enable-dynlib was given. -if test ${enable_dynlib+y} -then : +if test "${enable_dynlib+set}" = set; then : enableval=$enable_dynlib; if test "$enableval" = yes; then wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes' @@ -7640,7 +6963,7 @@ then : wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no' fi -else $as_nop +else wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}" @@ -7661,8 +6984,7 @@ fi fi # Check whether --enable-dynamicloader was given. -if test ${enable_dynamicloader+y} -then : +if test "${enable_dynamicloader+set}" = set; then : enableval=$enable_dynamicloader; if test "$enableval" = yes; then wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes' @@ -7670,7 +6992,7 @@ then : wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no' fi -else $as_nop +else wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}" @@ -7691,8 +7013,7 @@ fi fi # Check whether --enable-exceptions was given. -if test ${enable_exceptions+y} -then : +if test "${enable_exceptions+set}" = set; then : enableval=$enable_exceptions; if test "$enableval" = yes; then wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes' @@ -7700,7 +7021,7 @@ then : wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no' fi -else $as_nop +else wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}" @@ -7721,8 +7042,7 @@ fi fi # Check whether --enable-ffile was given. -if test ${enable_ffile+y} -then : +if test "${enable_ffile+set}" = set; then : enableval=$enable_ffile; if test "$enableval" = yes; then wx_cv_use_ffile='wxUSE_FFILE=yes' @@ -7730,7 +7050,7 @@ then : wx_cv_use_ffile='wxUSE_FFILE=no' fi -else $as_nop +else wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}" @@ -7751,8 +7071,7 @@ fi fi # Check whether --enable-file was given. -if test ${enable_file+y} -then : +if test "${enable_file+set}" = set; then : enableval=$enable_file; if test "$enableval" = yes; then wx_cv_use_file='wxUSE_FILE=yes' @@ -7760,7 +7079,7 @@ then : wx_cv_use_file='wxUSE_FILE=no' fi -else $as_nop +else wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}" @@ -7781,8 +7100,7 @@ fi fi # Check whether --enable-filehistory was given. -if test ${enable_filehistory+y} -then : +if test "${enable_filehistory+set}" = set; then : enableval=$enable_filehistory; if test "$enableval" = yes; then wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes' @@ -7790,7 +7108,7 @@ then : wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no' fi -else $as_nop +else wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}" @@ -7811,8 +7129,7 @@ fi fi # Check whether --enable-filesystem was given. -if test ${enable_filesystem+y} -then : +if test "${enable_filesystem+set}" = set; then : enableval=$enable_filesystem; if test "$enableval" = yes; then wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes' @@ -7820,7 +7137,7 @@ then : wx_cv_use_filesystem='wxUSE_FILESYSTEM=no' fi -else $as_nop +else wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}" @@ -7841,8 +7158,7 @@ fi fi # Check whether --enable-fontenum was given. -if test ${enable_fontenum+y} -then : +if test "${enable_fontenum+set}" = set; then : enableval=$enable_fontenum; if test "$enableval" = yes; then wx_cv_use_fontenum='wxUSE_FONTENUM=yes' @@ -7850,7 +7166,7 @@ then : wx_cv_use_fontenum='wxUSE_FONTENUM=no' fi -else $as_nop +else wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}" @@ -7871,8 +7187,7 @@ fi fi # Check whether --enable-fontmap was given. -if test ${enable_fontmap+y} -then : +if test "${enable_fontmap+set}" = set; then : enableval=$enable_fontmap; if test "$enableval" = yes; then wx_cv_use_fontmap='wxUSE_FONTMAP=yes' @@ -7880,7 +7195,7 @@ then : wx_cv_use_fontmap='wxUSE_FONTMAP=no' fi -else $as_nop +else wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}" @@ -7901,8 +7216,7 @@ fi fi # Check whether --enable-fs_archive was given. -if test ${enable_fs_archive+y} -then : +if test "${enable_fs_archive+set}" = set; then : enableval=$enable_fs_archive; if test "$enableval" = yes; then wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes' @@ -7910,7 +7224,7 @@ then : wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no' fi -else $as_nop +else wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}" @@ -7931,8 +7245,7 @@ fi fi # Check whether --enable-fs_inet was given. -if test ${enable_fs_inet+y} -then : +if test "${enable_fs_inet+set}" = set; then : enableval=$enable_fs_inet; if test "$enableval" = yes; then wx_cv_use_fs_inet='wxUSE_FS_INET=yes' @@ -7940,7 +7253,7 @@ then : wx_cv_use_fs_inet='wxUSE_FS_INET=no' fi -else $as_nop +else wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}" @@ -7961,8 +7274,7 @@ fi fi # Check whether --enable-fs_zip was given. -if test ${enable_fs_zip+y} -then : +if test "${enable_fs_zip+set}" = set; then : enableval=$enable_fs_zip; if test "$enableval" = yes; then wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes' @@ -7970,7 +7282,7 @@ then : wx_cv_use_fs_zip='wxUSE_FS_ZIP=no' fi -else $as_nop +else wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}" @@ -7991,8 +7303,7 @@ fi fi # Check whether --enable-fsvolume was given. -if test ${enable_fsvolume+y} -then : +if test "${enable_fsvolume+set}" = set; then : enableval=$enable_fsvolume; if test "$enableval" = yes; then wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes' @@ -8000,7 +7311,7 @@ then : wx_cv_use_fsvolume='wxUSE_FSVOLUME=no' fi -else $as_nop +else wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}" @@ -8021,8 +7332,7 @@ fi fi # Check whether --enable-fswatcher was given. -if test ${enable_fswatcher+y} -then : +if test "${enable_fswatcher+set}" = set; then : enableval=$enable_fswatcher; if test "$enableval" = yes; then wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes' @@ -8030,7 +7340,7 @@ then : wx_cv_use_fswatcher='wxUSE_FSWATCHER=no' fi -else $as_nop +else wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}" @@ -8051,8 +7361,7 @@ fi fi # Check whether --enable-geometry was given. -if test ${enable_geometry+y} -then : +if test "${enable_geometry+set}" = set; then : enableval=$enable_geometry; if test "$enableval" = yes; then wx_cv_use_geometry='wxUSE_GEOMETRY=yes' @@ -8060,7 +7369,7 @@ then : wx_cv_use_geometry='wxUSE_GEOMETRY=no' fi -else $as_nop +else wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}" @@ -8081,8 +7390,7 @@ fi fi # Check whether --enable-log was given. -if test ${enable_log+y} -then : +if test "${enable_log+set}" = set; then : enableval=$enable_log; if test "$enableval" = yes; then wx_cv_use_log='wxUSE_LOG=yes' @@ -8090,7 +7398,7 @@ then : wx_cv_use_log='wxUSE_LOG=no' fi -else $as_nop +else wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}" @@ -8111,8 +7419,7 @@ fi fi # Check whether --enable-longlong was given. -if test ${enable_longlong+y} -then : +if test "${enable_longlong+set}" = set; then : enableval=$enable_longlong; if test "$enableval" = yes; then wx_cv_use_longlong='wxUSE_LONGLONG=yes' @@ -8120,7 +7427,7 @@ then : wx_cv_use_longlong='wxUSE_LONGLONG=no' fi -else $as_nop +else wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}" @@ -8141,8 +7448,7 @@ fi fi # Check whether --enable-mimetype was given. -if test ${enable_mimetype+y} -then : +if test "${enable_mimetype+set}" = set; then : enableval=$enable_mimetype; if test "$enableval" = yes; then wx_cv_use_mimetype='wxUSE_MIMETYPE=yes' @@ -8150,7 +7456,7 @@ then : wx_cv_use_mimetype='wxUSE_MIMETYPE=no' fi -else $as_nop +else wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}" @@ -8171,8 +7477,7 @@ fi fi # Check whether --enable-printfposparam was given. -if test ${enable_printfposparam+y} -then : +if test "${enable_printfposparam+set}" = set; then : enableval=$enable_printfposparam; if test "$enableval" = yes; then wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes' @@ -8180,7 +7485,7 @@ then : wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no' fi -else $as_nop +else wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}" @@ -8201,8 +7506,7 @@ fi fi # Check whether --enable-secretstore was given. -if test ${enable_secretstore+y} -then : +if test "${enable_secretstore+set}" = set; then : enableval=$enable_secretstore; if test "$enableval" = yes; then wx_cv_use_secretstore='wxUSE_SECRETSTORE=yes' @@ -8210,7 +7514,7 @@ then : wx_cv_use_secretstore='wxUSE_SECRETSTORE=no' fi -else $as_nop +else wx_cv_use_secretstore='wxUSE_SECRETSTORE=${'DEFAULT_wxUSE_SECRETSTORE":-$defaultval}" @@ -8231,8 +7535,7 @@ fi fi # Check whether --enable-snglinst was given. -if test ${enable_snglinst+y} -then : +if test "${enable_snglinst+set}" = set; then : enableval=$enable_snglinst; if test "$enableval" = yes; then wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes' @@ -8240,7 +7543,7 @@ then : wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no' fi -else $as_nop +else wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}" @@ -8261,8 +7564,7 @@ fi fi # Check whether --enable-sound was given. -if test ${enable_sound+y} -then : +if test "${enable_sound+set}" = set; then : enableval=$enable_sound; if test "$enableval" = yes; then wx_cv_use_sound='wxUSE_SOUND=yes' @@ -8270,7 +7572,7 @@ then : wx_cv_use_sound='wxUSE_SOUND=no' fi -else $as_nop +else wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}" @@ -8291,8 +7593,7 @@ fi fi # Check whether --enable-spellcheck was given. -if test ${enable_spellcheck+y} -then : +if test "${enable_spellcheck+set}" = set; then : enableval=$enable_spellcheck; if test "$enableval" = yes; then wx_cv_use_spellcheck='wxUSE_SPELLCHECK=yes' @@ -8300,7 +7601,7 @@ then : wx_cv_use_spellcheck='wxUSE_SPELLCHECK=no' fi -else $as_nop +else wx_cv_use_spellcheck='wxUSE_SPELLCHECK=${'DEFAULT_wxUSE_SPELLCHECK":-$defaultval}" @@ -8321,8 +7622,7 @@ fi fi # Check whether --enable-stdpaths was given. -if test ${enable_stdpaths+y} -then : +if test "${enable_stdpaths+set}" = set; then : enableval=$enable_stdpaths; if test "$enableval" = yes; then wx_cv_use_stdpaths='wxUSE_STDPATHS=yes' @@ -8330,7 +7630,7 @@ then : wx_cv_use_stdpaths='wxUSE_STDPATHS=no' fi -else $as_nop +else wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}" @@ -8351,8 +7651,7 @@ fi fi # Check whether --enable-stopwatch was given. -if test ${enable_stopwatch+y} -then : +if test "${enable_stopwatch+set}" = set; then : enableval=$enable_stopwatch; if test "$enableval" = yes; then wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes' @@ -8360,7 +7659,7 @@ then : wx_cv_use_stopwatch='wxUSE_STOPWATCH=no' fi -else $as_nop +else wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}" @@ -8381,8 +7680,7 @@ fi fi # Check whether --enable-streams was given. -if test ${enable_streams+y} -then : +if test "${enable_streams+set}" = set; then : enableval=$enable_streams; if test "$enableval" = yes; then wx_cv_use_streams='wxUSE_STREAMS=yes' @@ -8390,7 +7688,7 @@ then : wx_cv_use_streams='wxUSE_STREAMS=no' fi -else $as_nop +else wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}" @@ -8411,8 +7709,7 @@ fi fi # Check whether --enable-sysoptions was given. -if test ${enable_sysoptions+y} -then : +if test "${enable_sysoptions+set}" = set; then : enableval=$enable_sysoptions; if test "$enableval" = yes; then wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes' @@ -8420,7 +7717,7 @@ then : wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no' fi -else $as_nop +else wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}" @@ -8441,8 +7738,7 @@ fi fi # Check whether --enable-tarstream was given. -if test ${enable_tarstream+y} -then : +if test "${enable_tarstream+set}" = set; then : enableval=$enable_tarstream; if test "$enableval" = yes; then wx_cv_use_tarstream='wxUSE_TARSTREAM=yes' @@ -8450,7 +7746,7 @@ then : wx_cv_use_tarstream='wxUSE_TARSTREAM=no' fi -else $as_nop +else wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}" @@ -8471,8 +7767,7 @@ fi fi # Check whether --enable-textbuf was given. -if test ${enable_textbuf+y} -then : +if test "${enable_textbuf+set}" = set; then : enableval=$enable_textbuf; if test "$enableval" = yes; then wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes' @@ -8480,7 +7775,7 @@ then : wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no' fi -else $as_nop +else wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}" @@ -8501,8 +7796,7 @@ fi fi # Check whether --enable-textfile was given. -if test ${enable_textfile+y} -then : +if test "${enable_textfile+set}" = set; then : enableval=$enable_textfile; if test "$enableval" = yes; then wx_cv_use_textfile='wxUSE_TEXTFILE=yes' @@ -8510,7 +7804,7 @@ then : wx_cv_use_textfile='wxUSE_TEXTFILE=no' fi -else $as_nop +else wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}" @@ -8531,8 +7825,7 @@ fi fi # Check whether --enable-timer was given. -if test ${enable_timer+y} -then : +if test "${enable_timer+set}" = set; then : enableval=$enable_timer; if test "$enableval" = yes; then wx_cv_use_timer='wxUSE_TIMER=yes' @@ -8540,7 +7833,7 @@ then : wx_cv_use_timer='wxUSE_TIMER=no' fi -else $as_nop +else wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}" @@ -8561,8 +7854,7 @@ fi fi # Check whether --enable-variant was given. -if test ${enable_variant+y} -then : +if test "${enable_variant+set}" = set; then : enableval=$enable_variant; if test "$enableval" = yes; then wx_cv_use_variant='wxUSE_VARIANT=yes' @@ -8570,7 +7862,7 @@ then : wx_cv_use_variant='wxUSE_VARIANT=no' fi -else $as_nop +else wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}" @@ -8591,8 +7883,7 @@ fi fi # Check whether --enable-zipstream was given. -if test ${enable_zipstream+y} -then : +if test "${enable_zipstream+set}" = set; then : enableval=$enable_zipstream; if test "$enableval" = yes; then wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes' @@ -8600,7 +7891,7 @@ then : wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no' fi -else $as_nop +else wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}" @@ -8622,8 +7913,7 @@ fi fi # Check whether --enable-url was given. -if test ${enable_url+y} -then : +if test "${enable_url+set}" = set; then : enableval=$enable_url; if test "$enableval" = yes; then wx_cv_use_url='wxUSE_URL=yes' @@ -8631,7 +7921,7 @@ then : wx_cv_use_url='wxUSE_URL=no' fi -else $as_nop +else wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}" @@ -8652,8 +7942,7 @@ fi fi # Check whether --enable-protocol was given. -if test ${enable_protocol+y} -then : +if test "${enable_protocol+set}" = set; then : enableval=$enable_protocol; if test "$enableval" = yes; then wx_cv_use_protocol='wxUSE_PROTOCOL=yes' @@ -8661,7 +7950,7 @@ then : wx_cv_use_protocol='wxUSE_PROTOCOL=no' fi -else $as_nop +else wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}" @@ -8682,8 +7971,7 @@ fi fi # Check whether --enable-protocol_http was given. -if test ${enable_protocol_http+y} -then : +if test "${enable_protocol_http+set}" = set; then : enableval=$enable_protocol_http; if test "$enableval" = yes; then wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes' @@ -8691,7 +7979,7 @@ then : wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no' fi -else $as_nop +else wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}" @@ -8712,8 +8000,7 @@ fi fi # Check whether --enable-protocol_ftp was given. -if test ${enable_protocol_ftp+y} -then : +if test "${enable_protocol_ftp+set}" = set; then : enableval=$enable_protocol_ftp; if test "$enableval" = yes; then wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes' @@ -8721,7 +8008,7 @@ then : wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no' fi -else $as_nop +else wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}" @@ -8742,8 +8029,7 @@ fi fi # Check whether --enable-protocol_file was given. -if test ${enable_protocol_file+y} -then : +if test "${enable_protocol_file+set}" = set; then : enableval=$enable_protocol_file; if test "$enableval" = yes; then wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes' @@ -8751,7 +8037,7 @@ then : wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no' fi -else $as_nop +else wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}" @@ -8773,8 +8059,7 @@ fi fi # Check whether --enable-threads was given. -if test ${enable_threads+y} -then : +if test "${enable_threads+set}" = set; then : enableval=$enable_threads; if test "$enableval" = yes; then wx_cv_use_threads='wxUSE_THREADS=yes' @@ -8782,7 +8067,7 @@ then : wx_cv_use_threads='wxUSE_THREADS=no' fi -else $as_nop +else wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}" @@ -8805,8 +8090,7 @@ if test "$wxUSE_MSW" = 1 ; then fi # Check whether --enable-dbghelp was given. -if test ${enable_dbghelp+y} -then : +if test "${enable_dbghelp+set}" = set; then : enableval=$enable_dbghelp; if test "$enableval" = yes; then wx_cv_use_dbghelp='wxUSE_DBGHELP=yes' @@ -8814,7 +8098,7 @@ then : wx_cv_use_dbghelp='wxUSE_DBGHELP=no' fi -else $as_nop +else wx_cv_use_dbghelp='wxUSE_DBGHELP=${'DEFAULT_wxUSE_DBGHELP":-$defaultval}" @@ -8835,8 +8119,7 @@ fi fi # Check whether --enable-iniconf was given. -if test ${enable_iniconf+y} -then : +if test "${enable_iniconf+set}" = set; then : enableval=$enable_iniconf; if test "$enableval" = yes; then wx_cv_use_iniconf='wxUSE_INICONF=yes' @@ -8844,7 +8127,7 @@ then : wx_cv_use_iniconf='wxUSE_INICONF=no' fi -else $as_nop +else wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}" @@ -8867,8 +8150,7 @@ fi fi # Check whether --enable-regkey was given. -if test ${enable_regkey+y} -then : +if test "${enable_regkey+set}" = set; then : enableval=$enable_regkey; if test "$enableval" = yes; then wx_cv_use_regkey='wxUSE_REGKEY=yes' @@ -8876,7 +8158,7 @@ then : wx_cv_use_regkey='wxUSE_REGKEY=no' fi -else $as_nop +else wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}" @@ -8901,8 +8183,7 @@ if test "$wxUSE_GUI" = "yes"; then fi # Check whether --enable-docview was given. -if test ${enable_docview+y} -then : +if test "${enable_docview+set}" = set; then : enableval=$enable_docview; if test "$enableval" = yes; then wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes' @@ -8910,7 +8191,7 @@ then : wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no' fi -else $as_nop +else wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}" @@ -8931,8 +8212,7 @@ fi fi # Check whether --enable-help was given. -if test ${enable_help+y} -then : +if test "${enable_help+set}" = set; then : enableval=$enable_help; if test "$enableval" = yes; then wx_cv_use_help='wxUSE_HELP=yes' @@ -8940,7 +8220,7 @@ then : wx_cv_use_help='wxUSE_HELP=no' fi -else $as_nop +else wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}" @@ -8961,8 +8241,7 @@ fi fi # Check whether --enable-mshtmlhelp was given. -if test ${enable_mshtmlhelp+y} -then : +if test "${enable_mshtmlhelp+set}" = set; then : enableval=$enable_mshtmlhelp; if test "$enableval" = yes; then wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes' @@ -8970,7 +8249,7 @@ then : wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no' fi -else $as_nop +else wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}" @@ -8991,8 +8270,7 @@ fi fi # Check whether --enable-html was given. -if test ${enable_html+y} -then : +if test "${enable_html+set}" = set; then : enableval=$enable_html; if test "$enableval" = yes; then wx_cv_use_html='wxUSE_HTML=yes' @@ -9000,7 +8278,7 @@ then : wx_cv_use_html='wxUSE_HTML=no' fi -else $as_nop +else wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}" @@ -9021,8 +8299,7 @@ fi fi # Check whether --enable-htmlhelp was given. -if test ${enable_htmlhelp+y} -then : +if test "${enable_htmlhelp+set}" = set; then : enableval=$enable_htmlhelp; if test "$enableval" = yes; then wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes' @@ -9030,7 +8307,7 @@ then : wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no' fi -else $as_nop +else wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}" @@ -9051,8 +8328,7 @@ fi fi # Check whether --enable-xrc was given. -if test ${enable_xrc+y} -then : +if test "${enable_xrc+set}" = set; then : enableval=$enable_xrc; if test "$enableval" = yes; then wx_cv_use_xrc='wxUSE_XRC=yes' @@ -9060,7 +8336,7 @@ then : wx_cv_use_xrc='wxUSE_XRC=no' fi -else $as_nop +else wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}" @@ -9081,8 +8357,7 @@ fi fi # Check whether --enable-aui was given. -if test ${enable_aui+y} -then : +if test "${enable_aui+set}" = set; then : enableval=$enable_aui; if test "$enableval" = yes; then wx_cv_use_aui='wxUSE_AUI=yes' @@ -9090,7 +8365,7 @@ then : wx_cv_use_aui='wxUSE_AUI=no' fi -else $as_nop +else wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}" @@ -9111,8 +8386,7 @@ fi fi # Check whether --enable-propgrid was given. -if test ${enable_propgrid+y} -then : +if test "${enable_propgrid+set}" = set; then : enableval=$enable_propgrid; if test "$enableval" = yes; then wx_cv_use_propgrid='wxUSE_PROPGRID=yes' @@ -9120,7 +8394,7 @@ then : wx_cv_use_propgrid='wxUSE_PROPGRID=no' fi -else $as_nop +else wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}" @@ -9141,8 +8415,7 @@ fi fi # Check whether --enable-ribbon was given. -if test ${enable_ribbon+y} -then : +if test "${enable_ribbon+set}" = set; then : enableval=$enable_ribbon; if test "$enableval" = yes; then wx_cv_use_ribbon='wxUSE_RIBBON=yes' @@ -9150,7 +8423,7 @@ then : wx_cv_use_ribbon='wxUSE_RIBBON=no' fi -else $as_nop +else wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}" @@ -9171,8 +8444,7 @@ fi fi # Check whether --enable-stc was given. -if test ${enable_stc+y} -then : +if test "${enable_stc+set}" = set; then : enableval=$enable_stc; if test "$enableval" = yes; then wx_cv_use_stc='wxUSE_STC=yes' @@ -9180,7 +8452,7 @@ then : wx_cv_use_stc='wxUSE_STC=no' fi -else $as_nop +else wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}" @@ -9201,8 +8473,7 @@ fi fi # Check whether --enable-constraints was given. -if test ${enable_constraints+y} -then : +if test "${enable_constraints+set}" = set; then : enableval=$enable_constraints; if test "$enableval" = yes; then wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes' @@ -9210,7 +8481,7 @@ then : wx_cv_use_constraints='wxUSE_CONSTRAINTS=no' fi -else $as_nop +else wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}" @@ -9231,8 +8502,7 @@ fi fi # Check whether --enable-loggui was given. -if test ${enable_loggui+y} -then : +if test "${enable_loggui+set}" = set; then : enableval=$enable_loggui; if test "$enableval" = yes; then wx_cv_use_loggui='wxUSE_LOGGUI=yes' @@ -9240,7 +8510,7 @@ then : wx_cv_use_loggui='wxUSE_LOGGUI=no' fi -else $as_nop +else wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}" @@ -9261,8 +8531,7 @@ fi fi # Check whether --enable-logwin was given. -if test ${enable_logwin+y} -then : +if test "${enable_logwin+set}" = set; then : enableval=$enable_logwin; if test "$enableval" = yes; then wx_cv_use_logwin='wxUSE_LOGWINDOW=yes' @@ -9270,7 +8539,7 @@ then : wx_cv_use_logwin='wxUSE_LOGWINDOW=no' fi -else $as_nop +else wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}" @@ -9291,8 +8560,7 @@ fi fi # Check whether --enable-logdialog was given. -if test ${enable_logdialog+y} -then : +if test "${enable_logdialog+set}" = set; then : enableval=$enable_logdialog; if test "$enableval" = yes; then wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes' @@ -9300,7 +8568,7 @@ then : wx_cv_use_logdialog='wxUSE_LOGDIALOG=no' fi -else $as_nop +else wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}" @@ -9321,8 +8589,7 @@ fi fi # Check whether --enable-mdi was given. -if test ${enable_mdi+y} -then : +if test "${enable_mdi+set}" = set; then : enableval=$enable_mdi; if test "$enableval" = yes; then wx_cv_use_mdi='wxUSE_MDI=yes' @@ -9330,7 +8597,7 @@ then : wx_cv_use_mdi='wxUSE_MDI=no' fi -else $as_nop +else wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}" @@ -9351,8 +8618,7 @@ fi fi # Check whether --enable-mdidoc was given. -if test ${enable_mdidoc+y} -then : +if test "${enable_mdidoc+set}" = set; then : enableval=$enable_mdidoc; if test "$enableval" = yes; then wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes' @@ -9360,7 +8626,7 @@ then : wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no' fi -else $as_nop +else wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}" @@ -9381,8 +8647,7 @@ fi fi # Check whether --enable-mediactrl was given. -if test ${enable_mediactrl+y} -then : +if test "${enable_mediactrl+set}" = set; then : enableval=$enable_mediactrl; if test "$enableval" = yes; then wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes' @@ -9390,7 +8655,7 @@ then : wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no' fi -else $as_nop +else wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}" @@ -9411,8 +8676,7 @@ fi fi # Check whether --enable-richtext was given. -if test ${enable_richtext+y} -then : +if test "${enable_richtext+set}" = set; then : enableval=$enable_richtext; if test "$enableval" = yes; then wx_cv_use_richtext='wxUSE_RICHTEXT=yes' @@ -9420,7 +8684,7 @@ then : wx_cv_use_richtext='wxUSE_RICHTEXT=no' fi -else $as_nop +else wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}" @@ -9441,8 +8705,7 @@ fi fi # Check whether --enable-postscript was given. -if test ${enable_postscript+y} -then : +if test "${enable_postscript+set}" = set; then : enableval=$enable_postscript; if test "$enableval" = yes; then wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes' @@ -9450,7 +8713,7 @@ then : wx_cv_use_postscript='wxUSE_POSTSCRIPT=no' fi -else $as_nop +else wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}" @@ -9471,8 +8734,7 @@ fi fi # Check whether --enable-printarch was given. -if test ${enable_printarch+y} -then : +if test "${enable_printarch+set}" = set; then : enableval=$enable_printarch; if test "$enableval" = yes; then wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes' @@ -9480,7 +8742,7 @@ then : wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no' fi -else $as_nop +else wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}" @@ -9501,8 +8763,7 @@ fi fi # Check whether --enable-svg was given. -if test ${enable_svg+y} -then : +if test "${enable_svg+set}" = set; then : enableval=$enable_svg; if test "$enableval" = yes; then wx_cv_use_svg='wxUSE_SVG=yes' @@ -9510,7 +8771,7 @@ then : wx_cv_use_svg='wxUSE_SVG=no' fi -else $as_nop +else wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}" @@ -9531,8 +8792,7 @@ fi fi # Check whether --enable-webview was given. -if test ${enable_webview+y} -then : +if test "${enable_webview+set}" = set; then : enableval=$enable_webview; if test "$enableval" = yes; then wx_cv_use_webview='wxUSE_WEBVIEW=yes' @@ -9540,7 +8800,7 @@ then : wx_cv_use_webview='wxUSE_WEBVIEW=no' fi -else $as_nop +else wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}" @@ -9563,8 +8823,7 @@ if test "$wxUSE_MAC" != 1; then fi # Check whether --enable-graphics_ctx was given. -if test ${enable_graphics_ctx+y} -then : +if test "${enable_graphics_ctx+set}" = set; then : enableval=$enable_graphics_ctx; if test "$enableval" = yes; then wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes' @@ -9572,7 +8831,7 @@ then : wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no' fi -else $as_nop +else wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}" @@ -9596,8 +8855,7 @@ if test "$wxUSE_MSW" = 1 ; then fi # Check whether --enable-graphics_d2d was given. -if test ${enable_graphics_d2d+y} -then : +if test "${enable_graphics_d2d+set}" = set; then : enableval=$enable_graphics_d2d; if test "$enableval" = yes; then wx_cv_use_graphics_d2d='wxUSE_GRAPHICS_DIRECT2D=yes' @@ -9605,7 +8863,7 @@ then : wx_cv_use_graphics_d2d='wxUSE_GRAPHICS_DIRECT2D=no' fi -else $as_nop +else wx_cv_use_graphics_d2d='wxUSE_GRAPHICS_DIRECT2D=${'DEFAULT_wxUSE_GRAPHICS_DIRECT2D":-$defaultval}" @@ -9629,8 +8887,7 @@ fi fi # Check whether --enable-clipboard was given. -if test ${enable_clipboard+y} -then : +if test "${enable_clipboard+set}" = set; then : enableval=$enable_clipboard; if test "$enableval" = yes; then wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes' @@ -9638,7 +8895,7 @@ then : wx_cv_use_clipboard='wxUSE_CLIPBOARD=no' fi -else $as_nop +else wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}" @@ -9659,8 +8916,7 @@ fi fi # Check whether --enable-dnd was given. -if test ${enable_dnd+y} -then : +if test "${enable_dnd+set}" = set; then : enableval=$enable_dnd; if test "$enableval" = yes; then wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes' @@ -9668,7 +8924,7 @@ then : wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no' fi -else $as_nop +else wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}" @@ -9692,8 +8948,7 @@ DEFAULT_wxUSE_CONTROLS=none fi # Check whether --enable-controls was given. -if test ${enable_controls+y} -then : +if test "${enable_controls+set}" = set; then : enableval=$enable_controls; if test "$enableval" = yes; then wx_cv_use_controls='wxUSE_CONTROLS=yes' @@ -9701,7 +8956,7 @@ then : wx_cv_use_controls='wxUSE_CONTROLS=no' fi -else $as_nop +else wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}" @@ -9787,8 +9042,7 @@ fi fi # Check whether --enable-markup was given. -if test ${enable_markup+y} -then : +if test "${enable_markup+set}" = set; then : enableval=$enable_markup; if test "$enableval" = yes; then wx_cv_use_markup='wxUSE_MARKUP=yes' @@ -9796,7 +9050,7 @@ then : wx_cv_use_markup='wxUSE_MARKUP=no' fi -else $as_nop +else wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}" @@ -9818,8 +9072,7 @@ fi fi # Check whether --enable-accel was given. -if test ${enable_accel+y} -then : +if test "${enable_accel+set}" = set; then : enableval=$enable_accel; if test "$enableval" = yes; then wx_cv_use_accel='wxUSE_ACCEL=yes' @@ -9827,7 +9080,7 @@ then : wx_cv_use_accel='wxUSE_ACCEL=no' fi -else $as_nop +else wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}" @@ -9848,8 +9101,7 @@ fi fi # Check whether --enable-actindicator was given. -if test ${enable_actindicator+y} -then : +if test "${enable_actindicator+set}" = set; then : enableval=$enable_actindicator; if test "$enableval" = yes; then wx_cv_use_actindicator='wxUSE_ACTIVITYINDICATOR=yes' @@ -9857,7 +9109,7 @@ then : wx_cv_use_actindicator='wxUSE_ACTIVITYINDICATOR=no' fi -else $as_nop +else wx_cv_use_actindicator='wxUSE_ACTIVITYINDICATOR=${'DEFAULT_wxUSE_ACTIVITYINDICATOR":-$defaultval}" @@ -9878,8 +9130,7 @@ fi fi # Check whether --enable-addremovectrl was given. -if test ${enable_addremovectrl+y} -then : +if test "${enable_addremovectrl+set}" = set; then : enableval=$enable_addremovectrl; if test "$enableval" = yes; then wx_cv_use_addremovectrl='wxUSE_ADDREMOVECTRL=yes' @@ -9887,7 +9138,7 @@ then : wx_cv_use_addremovectrl='wxUSE_ADDREMOVECTRL=no' fi -else $as_nop +else wx_cv_use_addremovectrl='wxUSE_ADDREMOVECTRL=${'DEFAULT_wxUSE_ADDREMOVECTRL":-$defaultval}" @@ -9908,8 +9159,7 @@ fi fi # Check whether --enable-animatectrl was given. -if test ${enable_animatectrl+y} -then : +if test "${enable_animatectrl+set}" = set; then : enableval=$enable_animatectrl; if test "$enableval" = yes; then wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes' @@ -9917,7 +9167,7 @@ then : wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no' fi -else $as_nop +else wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}" @@ -9938,8 +9188,7 @@ fi fi # Check whether --enable-bannerwindow was given. -if test ${enable_bannerwindow+y} -then : +if test "${enable_bannerwindow+set}" = set; then : enableval=$enable_bannerwindow; if test "$enableval" = yes; then wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes' @@ -9947,7 +9196,7 @@ then : wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no' fi -else $as_nop +else wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}" @@ -9968,8 +9217,7 @@ fi fi # Check whether --enable-artstd was given. -if test ${enable_artstd+y} -then : +if test "${enable_artstd+set}" = set; then : enableval=$enable_artstd; if test "$enableval" = yes; then wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes' @@ -9977,7 +9225,7 @@ then : wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no' fi -else $as_nop +else wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}" @@ -9998,8 +9246,7 @@ fi fi # Check whether --enable-arttango was given. -if test ${enable_arttango+y} -then : +if test "${enable_arttango+set}" = set; then : enableval=$enable_arttango; if test "$enableval" = yes; then wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes' @@ -10007,7 +9254,7 @@ then : wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no' fi -else $as_nop +else wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}" @@ -10028,8 +9275,7 @@ fi fi # Check whether --enable-bmpbutton was given. -if test ${enable_bmpbutton+y} -then : +if test "${enable_bmpbutton+set}" = set; then : enableval=$enable_bmpbutton; if test "$enableval" = yes; then wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes' @@ -10037,7 +9283,7 @@ then : wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no' fi -else $as_nop +else wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}" @@ -10058,8 +9304,7 @@ fi fi # Check whether --enable-bmpcombobox was given. -if test ${enable_bmpcombobox+y} -then : +if test "${enable_bmpcombobox+set}" = set; then : enableval=$enable_bmpcombobox; if test "$enableval" = yes; then wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes' @@ -10067,7 +9312,7 @@ then : wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no' fi -else $as_nop +else wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}" @@ -10088,8 +9333,7 @@ fi fi # Check whether --enable-button was given. -if test ${enable_button+y} -then : +if test "${enable_button+set}" = set; then : enableval=$enable_button; if test "$enableval" = yes; then wx_cv_use_button='wxUSE_BUTTON=yes' @@ -10097,7 +9341,7 @@ then : wx_cv_use_button='wxUSE_BUTTON=no' fi -else $as_nop +else wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}" @@ -10118,8 +9362,7 @@ fi fi # Check whether --enable-calendar was given. -if test ${enable_calendar+y} -then : +if test "${enable_calendar+set}" = set; then : enableval=$enable_calendar; if test "$enableval" = yes; then wx_cv_use_calendar='wxUSE_CALCTRL=yes' @@ -10127,7 +9370,7 @@ then : wx_cv_use_calendar='wxUSE_CALCTRL=no' fi -else $as_nop +else wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}" @@ -10148,8 +9391,7 @@ fi fi # Check whether --enable-caret was given. -if test ${enable_caret+y} -then : +if test "${enable_caret+set}" = set; then : enableval=$enable_caret; if test "$enableval" = yes; then wx_cv_use_caret='wxUSE_CARET=yes' @@ -10157,7 +9399,7 @@ then : wx_cv_use_caret='wxUSE_CARET=no' fi -else $as_nop +else wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}" @@ -10178,8 +9420,7 @@ fi fi # Check whether --enable-checkbox was given. -if test ${enable_checkbox+y} -then : +if test "${enable_checkbox+set}" = set; then : enableval=$enable_checkbox; if test "$enableval" = yes; then wx_cv_use_checkbox='wxUSE_CHECKBOX=yes' @@ -10187,7 +9428,7 @@ then : wx_cv_use_checkbox='wxUSE_CHECKBOX=no' fi -else $as_nop +else wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}" @@ -10208,8 +9449,7 @@ fi fi # Check whether --enable-checklst was given. -if test ${enable_checklst+y} -then : +if test "${enable_checklst+set}" = set; then : enableval=$enable_checklst; if test "$enableval" = yes; then wx_cv_use_checklst='wxUSE_CHECKLST=yes' @@ -10217,7 +9457,7 @@ then : wx_cv_use_checklst='wxUSE_CHECKLST=no' fi -else $as_nop +else wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}" @@ -10238,8 +9478,7 @@ fi fi # Check whether --enable-choice was given. -if test ${enable_choice+y} -then : +if test "${enable_choice+set}" = set; then : enableval=$enable_choice; if test "$enableval" = yes; then wx_cv_use_choice='wxUSE_CHOICE=yes' @@ -10247,7 +9486,7 @@ then : wx_cv_use_choice='wxUSE_CHOICE=no' fi -else $as_nop +else wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}" @@ -10268,8 +9507,7 @@ fi fi # Check whether --enable-choicebook was given. -if test ${enable_choicebook+y} -then : +if test "${enable_choicebook+set}" = set; then : enableval=$enable_choicebook; if test "$enableval" = yes; then wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes' @@ -10277,7 +9515,7 @@ then : wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no' fi -else $as_nop +else wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}" @@ -10298,8 +9536,7 @@ fi fi # Check whether --enable-collpane was given. -if test ${enable_collpane+y} -then : +if test "${enable_collpane+set}" = set; then : enableval=$enable_collpane; if test "$enableval" = yes; then wx_cv_use_collpane='wxUSE_COLLPANE=yes' @@ -10307,7 +9544,7 @@ then : wx_cv_use_collpane='wxUSE_COLLPANE=no' fi -else $as_nop +else wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}" @@ -10328,8 +9565,7 @@ fi fi # Check whether --enable-colourpicker was given. -if test ${enable_colourpicker+y} -then : +if test "${enable_colourpicker+set}" = set; then : enableval=$enable_colourpicker; if test "$enableval" = yes; then wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes' @@ -10337,7 +9573,7 @@ then : wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no' fi -else $as_nop +else wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}" @@ -10358,8 +9594,7 @@ fi fi # Check whether --enable-combobox was given. -if test ${enable_combobox+y} -then : +if test "${enable_combobox+set}" = set; then : enableval=$enable_combobox; if test "$enableval" = yes; then wx_cv_use_combobox='wxUSE_COMBOBOX=yes' @@ -10367,7 +9602,7 @@ then : wx_cv_use_combobox='wxUSE_COMBOBOX=no' fi -else $as_nop +else wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}" @@ -10388,8 +9623,7 @@ fi fi # Check whether --enable-comboctrl was given. -if test ${enable_comboctrl+y} -then : +if test "${enable_comboctrl+set}" = set; then : enableval=$enable_comboctrl; if test "$enableval" = yes; then wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes' @@ -10397,7 +9631,7 @@ then : wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no' fi -else $as_nop +else wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}" @@ -10418,8 +9652,7 @@ fi fi # Check whether --enable-commandlinkbutton was given. -if test ${enable_commandlinkbutton+y} -then : +if test "${enable_commandlinkbutton+set}" = set; then : enableval=$enable_commandlinkbutton; if test "$enableval" = yes; then wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes' @@ -10427,7 +9660,7 @@ then : wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no' fi -else $as_nop +else wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}" @@ -10448,8 +9681,7 @@ fi fi # Check whether --enable-dataviewctrl was given. -if test ${enable_dataviewctrl+y} -then : +if test "${enable_dataviewctrl+set}" = set; then : enableval=$enable_dataviewctrl; if test "$enableval" = yes; then wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes' @@ -10457,7 +9689,7 @@ then : wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no' fi -else $as_nop +else wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}" @@ -10478,8 +9710,7 @@ fi fi # Check whether --enable-nativedvc was given. -if test ${enable_nativedvc+y} -then : +if test "${enable_nativedvc+set}" = set; then : enableval=$enable_nativedvc; if test "$enableval" = yes; then wx_cv_use_nativedvc='wxUSE_NATIVE_DATAVIEWCTRL=yes' @@ -10487,7 +9718,7 @@ then : wx_cv_use_nativedvc='wxUSE_NATIVE_DATAVIEWCTRL=no' fi -else $as_nop +else wx_cv_use_nativedvc='wxUSE_NATIVE_DATAVIEWCTRL=${'DEFAULT_wxUSE_NATIVE_DATAVIEWCTRL":-$defaultval}" @@ -10508,8 +9739,7 @@ fi fi # Check whether --enable-datepick was given. -if test ${enable_datepick+y} -then : +if test "${enable_datepick+set}" = set; then : enableval=$enable_datepick; if test "$enableval" = yes; then wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes' @@ -10517,7 +9747,7 @@ then : wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no' fi -else $as_nop +else wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}" @@ -10538,8 +9768,7 @@ fi fi # Check whether --enable-detect_sm was given. -if test ${enable_detect_sm+y} -then : +if test "${enable_detect_sm+set}" = set; then : enableval=$enable_detect_sm; if test "$enableval" = yes; then wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes' @@ -10547,7 +9776,7 @@ then : wx_cv_use_detect_sm='wxUSE_DETECT_SM=no' fi -else $as_nop +else wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}" @@ -10568,8 +9797,7 @@ fi fi # Check whether --enable-dirpicker was given. -if test ${enable_dirpicker+y} -then : +if test "${enable_dirpicker+set}" = set; then : enableval=$enable_dirpicker; if test "$enableval" = yes; then wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes' @@ -10577,7 +9805,7 @@ then : wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no' fi -else $as_nop +else wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}" @@ -10598,8 +9826,7 @@ fi fi # Check whether --enable-display was given. -if test ${enable_display+y} -then : +if test "${enable_display+set}" = set; then : enableval=$enable_display; if test "$enableval" = yes; then wx_cv_use_display='wxUSE_DISPLAY=yes' @@ -10607,7 +9834,7 @@ then : wx_cv_use_display='wxUSE_DISPLAY=no' fi -else $as_nop +else wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}" @@ -10628,8 +9855,7 @@ fi fi # Check whether --enable-editablebox was given. -if test ${enable_editablebox+y} -then : +if test "${enable_editablebox+set}" = set; then : enableval=$enable_editablebox; if test "$enableval" = yes; then wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes' @@ -10637,7 +9863,7 @@ then : wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no' fi -else $as_nop +else wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}" @@ -10658,8 +9884,7 @@ fi fi # Check whether --enable-filectrl was given. -if test ${enable_filectrl+y} -then : +if test "${enable_filectrl+set}" = set; then : enableval=$enable_filectrl; if test "$enableval" = yes; then wx_cv_use_filectrl='wxUSE_FILECTRL=yes' @@ -10667,7 +9892,7 @@ then : wx_cv_use_filectrl='wxUSE_FILECTRL=no' fi -else $as_nop +else wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}" @@ -10688,8 +9913,7 @@ fi fi # Check whether --enable-filepicker was given. -if test ${enable_filepicker+y} -then : +if test "${enable_filepicker+set}" = set; then : enableval=$enable_filepicker; if test "$enableval" = yes; then wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes' @@ -10697,7 +9921,7 @@ then : wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no' fi -else $as_nop +else wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}" @@ -10718,8 +9942,7 @@ fi fi # Check whether --enable-fontpicker was given. -if test ${enable_fontpicker+y} -then : +if test "${enable_fontpicker+set}" = set; then : enableval=$enable_fontpicker; if test "$enableval" = yes; then wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes' @@ -10727,7 +9950,7 @@ then : wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no' fi -else $as_nop +else wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}" @@ -10748,8 +9971,7 @@ fi fi # Check whether --enable-gauge was given. -if test ${enable_gauge+y} -then : +if test "${enable_gauge+set}" = set; then : enableval=$enable_gauge; if test "$enableval" = yes; then wx_cv_use_gauge='wxUSE_GAUGE=yes' @@ -10757,7 +9979,7 @@ then : wx_cv_use_gauge='wxUSE_GAUGE=no' fi -else $as_nop +else wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}" @@ -10778,8 +10000,7 @@ fi fi # Check whether --enable-grid was given. -if test ${enable_grid+y} -then : +if test "${enable_grid+set}" = set; then : enableval=$enable_grid; if test "$enableval" = yes; then wx_cv_use_grid='wxUSE_GRID=yes' @@ -10787,7 +10008,7 @@ then : wx_cv_use_grid='wxUSE_GRID=no' fi -else $as_nop +else wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}" @@ -10808,8 +10029,7 @@ fi fi # Check whether --enable-headerctrl was given. -if test ${enable_headerctrl+y} -then : +if test "${enable_headerctrl+set}" = set; then : enableval=$enable_headerctrl; if test "$enableval" = yes; then wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes' @@ -10817,7 +10037,7 @@ then : wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no' fi -else $as_nop +else wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}" @@ -10838,8 +10058,7 @@ fi fi # Check whether --enable-hyperlink was given. -if test ${enable_hyperlink+y} -then : +if test "${enable_hyperlink+set}" = set; then : enableval=$enable_hyperlink; if test "$enableval" = yes; then wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes' @@ -10847,7 +10066,7 @@ then : wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no' fi -else $as_nop +else wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}" @@ -10868,8 +10087,7 @@ fi fi # Check whether --enable-imaglist was given. -if test ${enable_imaglist+y} -then : +if test "${enable_imaglist+set}" = set; then : enableval=$enable_imaglist; if test "$enableval" = yes; then wx_cv_use_imaglist='wxUSE_IMAGLIST=yes' @@ -10877,7 +10095,7 @@ then : wx_cv_use_imaglist='wxUSE_IMAGLIST=no' fi -else $as_nop +else wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}" @@ -10898,8 +10116,7 @@ fi fi # Check whether --enable-infobar was given. -if test ${enable_infobar+y} -then : +if test "${enable_infobar+set}" = set; then : enableval=$enable_infobar; if test "$enableval" = yes; then wx_cv_use_infobar='wxUSE_INFOBAR=yes' @@ -10907,7 +10124,7 @@ then : wx_cv_use_infobar='wxUSE_INFOBAR=no' fi -else $as_nop +else wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}" @@ -10928,8 +10145,7 @@ fi fi # Check whether --enable-listbook was given. -if test ${enable_listbook+y} -then : +if test "${enable_listbook+set}" = set; then : enableval=$enable_listbook; if test "$enableval" = yes; then wx_cv_use_listbook='wxUSE_LISTBOOK=yes' @@ -10937,7 +10153,7 @@ then : wx_cv_use_listbook='wxUSE_LISTBOOK=no' fi -else $as_nop +else wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}" @@ -10958,8 +10174,7 @@ fi fi # Check whether --enable-listbox was given. -if test ${enable_listbox+y} -then : +if test "${enable_listbox+set}" = set; then : enableval=$enable_listbox; if test "$enableval" = yes; then wx_cv_use_listbox='wxUSE_LISTBOX=yes' @@ -10967,7 +10182,7 @@ then : wx_cv_use_listbox='wxUSE_LISTBOX=no' fi -else $as_nop +else wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}" @@ -10988,8 +10203,7 @@ fi fi # Check whether --enable-listctrl was given. -if test ${enable_listctrl+y} -then : +if test "${enable_listctrl+set}" = set; then : enableval=$enable_listctrl; if test "$enableval" = yes; then wx_cv_use_listctrl='wxUSE_LISTCTRL=yes' @@ -10997,7 +10211,7 @@ then : wx_cv_use_listctrl='wxUSE_LISTCTRL=no' fi -else $as_nop +else wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}" @@ -11018,8 +10232,7 @@ fi fi # Check whether --enable-notebook was given. -if test ${enable_notebook+y} -then : +if test "${enable_notebook+set}" = set; then : enableval=$enable_notebook; if test "$enableval" = yes; then wx_cv_use_notebook='wxUSE_NOTEBOOK=yes' @@ -11027,7 +10240,7 @@ then : wx_cv_use_notebook='wxUSE_NOTEBOOK=no' fi -else $as_nop +else wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}" @@ -11048,8 +10261,7 @@ fi fi # Check whether --enable-notifmsg was given. -if test ${enable_notifmsg+y} -then : +if test "${enable_notifmsg+set}" = set; then : enableval=$enable_notifmsg; if test "$enableval" = yes; then wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes' @@ -11057,7 +10269,7 @@ then : wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no' fi -else $as_nop +else wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}" @@ -11078,8 +10290,7 @@ fi fi # Check whether --enable-odcombobox was given. -if test ${enable_odcombobox+y} -then : +if test "${enable_odcombobox+set}" = set; then : enableval=$enable_odcombobox; if test "$enableval" = yes; then wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes' @@ -11087,7 +10298,7 @@ then : wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no' fi -else $as_nop +else wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}" @@ -11108,8 +10319,7 @@ fi fi # Check whether --enable-popupwin was given. -if test ${enable_popupwin+y} -then : +if test "${enable_popupwin+set}" = set; then : enableval=$enable_popupwin; if test "$enableval" = yes; then wx_cv_use_popupwin='wxUSE_POPUPWIN=yes' @@ -11117,7 +10327,7 @@ then : wx_cv_use_popupwin='wxUSE_POPUPWIN=no' fi -else $as_nop +else wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}" @@ -11138,8 +10348,7 @@ fi fi # Check whether --enable-prefseditor was given. -if test ${enable_prefseditor+y} -then : +if test "${enable_prefseditor+set}" = set; then : enableval=$enable_prefseditor; if test "$enableval" = yes; then wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=yes' @@ -11147,7 +10356,7 @@ then : wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no' fi -else $as_nop +else wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}" @@ -11168,8 +10377,7 @@ fi fi # Check whether --enable-privatefonts was given. -if test ${enable_privatefonts+y} -then : +if test "${enable_privatefonts+set}" = set; then : enableval=$enable_privatefonts; if test "$enableval" = yes; then wx_cv_use_privatefonts='wxUSE_PRIVATE_FONTS=yes' @@ -11177,7 +10385,7 @@ then : wx_cv_use_privatefonts='wxUSE_PRIVATE_FONTS=no' fi -else $as_nop +else wx_cv_use_privatefonts='wxUSE_PRIVATE_FONTS=${'DEFAULT_wxUSE_PRIVATE_FONTS":-$defaultval}" @@ -11198,8 +10406,7 @@ fi fi # Check whether --enable-radiobox was given. -if test ${enable_radiobox+y} -then : +if test "${enable_radiobox+set}" = set; then : enableval=$enable_radiobox; if test "$enableval" = yes; then wx_cv_use_radiobox='wxUSE_RADIOBOX=yes' @@ -11207,7 +10414,7 @@ then : wx_cv_use_radiobox='wxUSE_RADIOBOX=no' fi -else $as_nop +else wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}" @@ -11228,8 +10435,7 @@ fi fi # Check whether --enable-radiobtn was given. -if test ${enable_radiobtn+y} -then : +if test "${enable_radiobtn+set}" = set; then : enableval=$enable_radiobtn; if test "$enableval" = yes; then wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes' @@ -11237,7 +10443,7 @@ then : wx_cv_use_radiobtn='wxUSE_RADIOBTN=no' fi -else $as_nop +else wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}" @@ -11258,8 +10464,7 @@ fi fi # Check whether --enable-richmsgdlg was given. -if test ${enable_richmsgdlg+y} -then : +if test "${enable_richmsgdlg+set}" = set; then : enableval=$enable_richmsgdlg; if test "$enableval" = yes; then wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes' @@ -11267,7 +10472,7 @@ then : wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no' fi -else $as_nop +else wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}" @@ -11288,8 +10493,7 @@ fi fi # Check whether --enable-richtooltip was given. -if test ${enable_richtooltip+y} -then : +if test "${enable_richtooltip+set}" = set; then : enableval=$enable_richtooltip; if test "$enableval" = yes; then wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes' @@ -11297,7 +10501,7 @@ then : wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no' fi -else $as_nop +else wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}" @@ -11318,8 +10522,7 @@ fi fi # Check whether --enable-rearrangectrl was given. -if test ${enable_rearrangectrl+y} -then : +if test "${enable_rearrangectrl+set}" = set; then : enableval=$enable_rearrangectrl; if test "$enableval" = yes; then wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes' @@ -11327,7 +10530,7 @@ then : wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no' fi -else $as_nop +else wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}" @@ -11348,8 +10551,7 @@ fi fi # Check whether --enable-sash was given. -if test ${enable_sash+y} -then : +if test "${enable_sash+set}" = set; then : enableval=$enable_sash; if test "$enableval" = yes; then wx_cv_use_sash='wxUSE_SASH=yes' @@ -11357,7 +10559,7 @@ then : wx_cv_use_sash='wxUSE_SASH=no' fi -else $as_nop +else wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}" @@ -11378,8 +10580,7 @@ fi fi # Check whether --enable-scrollbar was given. -if test ${enable_scrollbar+y} -then : +if test "${enable_scrollbar+set}" = set; then : enableval=$enable_scrollbar; if test "$enableval" = yes; then wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes' @@ -11387,7 +10588,7 @@ then : wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no' fi -else $as_nop +else wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}" @@ -11408,8 +10609,7 @@ fi fi # Check whether --enable-searchctrl was given. -if test ${enable_searchctrl+y} -then : +if test "${enable_searchctrl+set}" = set; then : enableval=$enable_searchctrl; if test "$enableval" = yes; then wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes' @@ -11417,7 +10617,7 @@ then : wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no' fi -else $as_nop +else wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}" @@ -11438,8 +10638,7 @@ fi fi # Check whether --enable-slider was given. -if test ${enable_slider+y} -then : +if test "${enable_slider+set}" = set; then : enableval=$enable_slider; if test "$enableval" = yes; then wx_cv_use_slider='wxUSE_SLIDER=yes' @@ -11447,7 +10646,7 @@ then : wx_cv_use_slider='wxUSE_SLIDER=no' fi -else $as_nop +else wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}" @@ -11468,8 +10667,7 @@ fi fi # Check whether --enable-spinbtn was given. -if test ${enable_spinbtn+y} -then : +if test "${enable_spinbtn+set}" = set; then : enableval=$enable_spinbtn; if test "$enableval" = yes; then wx_cv_use_spinbtn='wxUSE_SPINBTN=yes' @@ -11477,7 +10675,7 @@ then : wx_cv_use_spinbtn='wxUSE_SPINBTN=no' fi -else $as_nop +else wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}" @@ -11498,8 +10696,7 @@ fi fi # Check whether --enable-spinctrl was given. -if test ${enable_spinctrl+y} -then : +if test "${enable_spinctrl+set}" = set; then : enableval=$enable_spinctrl; if test "$enableval" = yes; then wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes' @@ -11507,7 +10704,7 @@ then : wx_cv_use_spinctrl='wxUSE_SPINCTRL=no' fi -else $as_nop +else wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}" @@ -11528,8 +10725,7 @@ fi fi # Check whether --enable-splitter was given. -if test ${enable_splitter+y} -then : +if test "${enable_splitter+set}" = set; then : enableval=$enable_splitter; if test "$enableval" = yes; then wx_cv_use_splitter='wxUSE_SPLITTER=yes' @@ -11537,7 +10733,7 @@ then : wx_cv_use_splitter='wxUSE_SPLITTER=no' fi -else $as_nop +else wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}" @@ -11558,8 +10754,7 @@ fi fi # Check whether --enable-statbmp was given. -if test ${enable_statbmp+y} -then : +if test "${enable_statbmp+set}" = set; then : enableval=$enable_statbmp; if test "$enableval" = yes; then wx_cv_use_statbmp='wxUSE_STATBMP=yes' @@ -11567,7 +10762,7 @@ then : wx_cv_use_statbmp='wxUSE_STATBMP=no' fi -else $as_nop +else wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}" @@ -11588,8 +10783,7 @@ fi fi # Check whether --enable-statbox was given. -if test ${enable_statbox+y} -then : +if test "${enable_statbox+set}" = set; then : enableval=$enable_statbox; if test "$enableval" = yes; then wx_cv_use_statbox='wxUSE_STATBOX=yes' @@ -11597,7 +10791,7 @@ then : wx_cv_use_statbox='wxUSE_STATBOX=no' fi -else $as_nop +else wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}" @@ -11618,8 +10812,7 @@ fi fi # Check whether --enable-statline was given. -if test ${enable_statline+y} -then : +if test "${enable_statline+set}" = set; then : enableval=$enable_statline; if test "$enableval" = yes; then wx_cv_use_statline='wxUSE_STATLINE=yes' @@ -11627,7 +10820,7 @@ then : wx_cv_use_statline='wxUSE_STATLINE=no' fi -else $as_nop +else wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}" @@ -11648,8 +10841,7 @@ fi fi # Check whether --enable-stattext was given. -if test ${enable_stattext+y} -then : +if test "${enable_stattext+set}" = set; then : enableval=$enable_stattext; if test "$enableval" = yes; then wx_cv_use_stattext='wxUSE_STATTEXT=yes' @@ -11657,7 +10849,7 @@ then : wx_cv_use_stattext='wxUSE_STATTEXT=no' fi -else $as_nop +else wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}" @@ -11678,8 +10870,7 @@ fi fi # Check whether --enable-statusbar was given. -if test ${enable_statusbar+y} -then : +if test "${enable_statusbar+set}" = set; then : enableval=$enable_statusbar; if test "$enableval" = yes; then wx_cv_use_statusbar='wxUSE_STATUSBAR=yes' @@ -11687,7 +10878,7 @@ then : wx_cv_use_statusbar='wxUSE_STATUSBAR=no' fi -else $as_nop +else wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}" @@ -11708,8 +10899,7 @@ fi fi # Check whether --enable-taskbaricon was given. -if test ${enable_taskbaricon+y} -then : +if test "${enable_taskbaricon+set}" = set; then : enableval=$enable_taskbaricon; if test "$enableval" = yes; then wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes' @@ -11717,7 +10907,7 @@ then : wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no' fi -else $as_nop +else wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}" @@ -11738,8 +10928,7 @@ fi fi # Check whether --enable-tbarnative was given. -if test ${enable_tbarnative+y} -then : +if test "${enable_tbarnative+set}" = set; then : enableval=$enable_tbarnative; if test "$enableval" = yes; then wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes' @@ -11747,7 +10936,7 @@ then : wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no' fi -else $as_nop +else wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}" @@ -11768,8 +10957,7 @@ fi fi # Check whether --enable-textctrl was given. -if test ${enable_textctrl+y} -then : +if test "${enable_textctrl+set}" = set; then : enableval=$enable_textctrl; if test "$enableval" = yes; then wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes' @@ -11777,7 +10965,7 @@ then : wx_cv_use_textctrl='wxUSE_TEXTCTRL=no' fi -else $as_nop +else wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}" @@ -11798,8 +10986,7 @@ fi fi # Check whether --enable-timepick was given. -if test ${enable_timepick+y} -then : +if test "${enable_timepick+set}" = set; then : enableval=$enable_timepick; if test "$enableval" = yes; then wx_cv_use_timepick='wxUSE_TIMEPICKCTRL=yes' @@ -11807,7 +10994,7 @@ then : wx_cv_use_timepick='wxUSE_TIMEPICKCTRL=no' fi -else $as_nop +else wx_cv_use_timepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}" @@ -11828,8 +11015,7 @@ fi fi # Check whether --enable-tipwindow was given. -if test ${enable_tipwindow+y} -then : +if test "${enable_tipwindow+set}" = set; then : enableval=$enable_tipwindow; if test "$enableval" = yes; then wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes' @@ -11837,7 +11023,7 @@ then : wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no' fi -else $as_nop +else wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}" @@ -11858,8 +11044,7 @@ fi fi # Check whether --enable-togglebtn was given. -if test ${enable_togglebtn+y} -then : +if test "${enable_togglebtn+set}" = set; then : enableval=$enable_togglebtn; if test "$enableval" = yes; then wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes' @@ -11867,7 +11052,7 @@ then : wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no' fi -else $as_nop +else wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}" @@ -11888,8 +11073,7 @@ fi fi # Check whether --enable-toolbar was given. -if test ${enable_toolbar+y} -then : +if test "${enable_toolbar+set}" = set; then : enableval=$enable_toolbar; if test "$enableval" = yes; then wx_cv_use_toolbar='wxUSE_TOOLBAR=yes' @@ -11897,7 +11081,7 @@ then : wx_cv_use_toolbar='wxUSE_TOOLBAR=no' fi -else $as_nop +else wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}" @@ -11918,8 +11102,7 @@ fi fi # Check whether --enable-toolbook was given. -if test ${enable_toolbook+y} -then : +if test "${enable_toolbook+set}" = set; then : enableval=$enable_toolbook; if test "$enableval" = yes; then wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes' @@ -11927,7 +11110,7 @@ then : wx_cv_use_toolbook='wxUSE_TOOLBOOK=no' fi -else $as_nop +else wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}" @@ -11948,8 +11131,7 @@ fi fi # Check whether --enable-treebook was given. -if test ${enable_treebook+y} -then : +if test "${enable_treebook+set}" = set; then : enableval=$enable_treebook; if test "$enableval" = yes; then wx_cv_use_treebook='wxUSE_TREEBOOK=yes' @@ -11957,7 +11139,7 @@ then : wx_cv_use_treebook='wxUSE_TREEBOOK=no' fi -else $as_nop +else wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}" @@ -11978,8 +11160,7 @@ fi fi # Check whether --enable-treectrl was given. -if test ${enable_treectrl+y} -then : +if test "${enable_treectrl+set}" = set; then : enableval=$enable_treectrl; if test "$enableval" = yes; then wx_cv_use_treectrl='wxUSE_TREECTRL=yes' @@ -11987,7 +11168,7 @@ then : wx_cv_use_treectrl='wxUSE_TREECTRL=no' fi -else $as_nop +else wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}" @@ -12008,8 +11189,7 @@ fi fi # Check whether --enable-treelist was given. -if test ${enable_treelist+y} -then : +if test "${enable_treelist+set}" = set; then : enableval=$enable_treelist; if test "$enableval" = yes; then wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes' @@ -12017,7 +11197,7 @@ then : wx_cv_use_treelist='wxUSE_TREELISTCTRL=no' fi -else $as_nop +else wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}" @@ -12040,8 +11220,7 @@ fi fi # Check whether --enable-commondlg was given. -if test ${enable_commondlg+y} -then : +if test "${enable_commondlg+set}" = set; then : enableval=$enable_commondlg; if test "$enableval" = yes; then wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes' @@ -12049,7 +11228,7 @@ then : wx_cv_use_commondlg='wxUSE_COMMONDLGS=no' fi -else $as_nop +else wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}" @@ -12070,8 +11249,7 @@ fi fi # Check whether --enable-aboutdlg was given. -if test ${enable_aboutdlg+y} -then : +if test "${enable_aboutdlg+set}" = set; then : enableval=$enable_aboutdlg; if test "$enableval" = yes; then wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes' @@ -12079,7 +11257,7 @@ then : wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no' fi -else $as_nop +else wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}" @@ -12100,8 +11278,7 @@ fi fi # Check whether --enable-choicedlg was given. -if test ${enable_choicedlg+y} -then : +if test "${enable_choicedlg+set}" = set; then : enableval=$enable_choicedlg; if test "$enableval" = yes; then wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes' @@ -12109,7 +11286,7 @@ then : wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no' fi -else $as_nop +else wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}" @@ -12130,8 +11307,7 @@ fi fi # Check whether --enable-coldlg was given. -if test ${enable_coldlg+y} -then : +if test "${enable_coldlg+set}" = set; then : enableval=$enable_coldlg; if test "$enableval" = yes; then wx_cv_use_coldlg='wxUSE_COLOURDLG=yes' @@ -12139,7 +11315,7 @@ then : wx_cv_use_coldlg='wxUSE_COLOURDLG=no' fi -else $as_nop +else wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}" @@ -12160,8 +11336,7 @@ fi fi # Check whether --enable-creddlg was given. -if test ${enable_creddlg+y} -then : +if test "${enable_creddlg+set}" = set; then : enableval=$enable_creddlg; if test "$enableval" = yes; then wx_cv_use_creddlg='wxUSE_CREDENTIALDLG=yes' @@ -12169,7 +11344,7 @@ then : wx_cv_use_creddlg='wxUSE_CREDENTIALDLG=no' fi -else $as_nop +else wx_cv_use_creddlg='wxUSE_CREDENTIALDLG=${'DEFAULT_wxUSE_CREDENTIALDLG":-$defaultval}" @@ -12190,8 +11365,7 @@ fi fi # Check whether --enable-filedlg was given. -if test ${enable_filedlg+y} -then : +if test "${enable_filedlg+set}" = set; then : enableval=$enable_filedlg; if test "$enableval" = yes; then wx_cv_use_filedlg='wxUSE_FILEDLG=yes' @@ -12199,7 +11373,7 @@ then : wx_cv_use_filedlg='wxUSE_FILEDLG=no' fi -else $as_nop +else wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}" @@ -12220,8 +11394,7 @@ fi fi # Check whether --enable-finddlg was given. -if test ${enable_finddlg+y} -then : +if test "${enable_finddlg+set}" = set; then : enableval=$enable_finddlg; if test "$enableval" = yes; then wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes' @@ -12229,7 +11402,7 @@ then : wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no' fi -else $as_nop +else wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}" @@ -12250,8 +11423,7 @@ fi fi # Check whether --enable-fontdlg was given. -if test ${enable_fontdlg+y} -then : +if test "${enable_fontdlg+set}" = set; then : enableval=$enable_fontdlg; if test "$enableval" = yes; then wx_cv_use_fontdlg='wxUSE_FONTDLG=yes' @@ -12259,7 +11431,7 @@ then : wx_cv_use_fontdlg='wxUSE_FONTDLG=no' fi -else $as_nop +else wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}" @@ -12280,8 +11452,7 @@ fi fi # Check whether --enable-dirdlg was given. -if test ${enable_dirdlg+y} -then : +if test "${enable_dirdlg+set}" = set; then : enableval=$enable_dirdlg; if test "$enableval" = yes; then wx_cv_use_dirdlg='wxUSE_DIRDLG=yes' @@ -12289,7 +11460,7 @@ then : wx_cv_use_dirdlg='wxUSE_DIRDLG=no' fi -else $as_nop +else wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}" @@ -12310,8 +11481,7 @@ fi fi # Check whether --enable-msgdlg was given. -if test ${enable_msgdlg+y} -then : +if test "${enable_msgdlg+set}" = set; then : enableval=$enable_msgdlg; if test "$enableval" = yes; then wx_cv_use_msgdlg='wxUSE_MSGDLG=yes' @@ -12319,7 +11489,7 @@ then : wx_cv_use_msgdlg='wxUSE_MSGDLG=no' fi -else $as_nop +else wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}" @@ -12340,8 +11510,7 @@ fi fi # Check whether --enable-numberdlg was given. -if test ${enable_numberdlg+y} -then : +if test "${enable_numberdlg+set}" = set; then : enableval=$enable_numberdlg; if test "$enableval" = yes; then wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes' @@ -12349,7 +11518,7 @@ then : wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no' fi -else $as_nop +else wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}" @@ -12370,8 +11539,7 @@ fi fi # Check whether --enable-splash was given. -if test ${enable_splash+y} -then : +if test "${enable_splash+set}" = set; then : enableval=$enable_splash; if test "$enableval" = yes; then wx_cv_use_splash='wxUSE_SPLASH=yes' @@ -12379,7 +11547,7 @@ then : wx_cv_use_splash='wxUSE_SPLASH=no' fi -else $as_nop +else wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}" @@ -12400,8 +11568,7 @@ fi fi # Check whether --enable-textdlg was given. -if test ${enable_textdlg+y} -then : +if test "${enable_textdlg+set}" = set; then : enableval=$enable_textdlg; if test "$enableval" = yes; then wx_cv_use_textdlg='wxUSE_TEXTDLG=yes' @@ -12409,7 +11576,7 @@ then : wx_cv_use_textdlg='wxUSE_TEXTDLG=no' fi -else $as_nop +else wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}" @@ -12430,8 +11597,7 @@ fi fi # Check whether --enable-tipdlg was given. -if test ${enable_tipdlg+y} -then : +if test "${enable_tipdlg+set}" = set; then : enableval=$enable_tipdlg; if test "$enableval" = yes; then wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes' @@ -12439,7 +11605,7 @@ then : wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no' fi -else $as_nop +else wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}" @@ -12460,8 +11626,7 @@ fi fi # Check whether --enable-progressdlg was given. -if test ${enable_progressdlg+y} -then : +if test "${enable_progressdlg+set}" = set; then : enableval=$enable_progressdlg; if test "$enableval" = yes; then wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes' @@ -12469,7 +11634,7 @@ then : wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no' fi -else $as_nop +else wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}" @@ -12490,8 +11655,7 @@ fi fi # Check whether --enable-wizarddlg was given. -if test ${enable_wizarddlg+y} -then : +if test "${enable_wizarddlg+set}" = set; then : enableval=$enable_wizarddlg; if test "$enableval" = yes; then wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes' @@ -12499,7 +11663,7 @@ then : wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no' fi -else $as_nop +else wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}" @@ -12526,8 +11690,7 @@ fi fi # Check whether --enable-menus was given. -if test ${enable_menus+y} -then : +if test "${enable_menus+set}" = set; then : enableval=$enable_menus; if test "$enableval" = yes; then wx_cv_use_menus='wxUSE_MENUS=yes' @@ -12535,7 +11698,7 @@ then : wx_cv_use_menus='wxUSE_MENUS=no' fi -else $as_nop +else wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}" @@ -12556,8 +11719,7 @@ fi fi # Check whether --enable-menubar was given. -if test ${enable_menubar+y} -then : +if test "${enable_menubar+set}" = set; then : enableval=$enable_menubar; if test "$enableval" = yes; then wx_cv_use_menubar='wxUSE_MENUBAR=yes' @@ -12565,7 +11727,7 @@ then : wx_cv_use_menubar='wxUSE_MENUBAR=no' fi -else $as_nop +else wx_cv_use_menubar='wxUSE_MENUBAR=${'DEFAULT_wxUSE_MENUBAR":-$defaultval}" @@ -12586,8 +11748,7 @@ fi fi # Check whether --enable-miniframe was given. -if test ${enable_miniframe+y} -then : +if test "${enable_miniframe+set}" = set; then : enableval=$enable_miniframe; if test "$enableval" = yes; then wx_cv_use_miniframe='wxUSE_MINIFRAME=yes' @@ -12595,7 +11756,7 @@ then : wx_cv_use_miniframe='wxUSE_MINIFRAME=no' fi -else $as_nop +else wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}" @@ -12616,8 +11777,7 @@ fi fi # Check whether --enable-tooltips was given. -if test ${enable_tooltips+y} -then : +if test "${enable_tooltips+set}" = set; then : enableval=$enable_tooltips; if test "$enableval" = yes; then wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes' @@ -12625,7 +11785,7 @@ then : wx_cv_use_tooltips='wxUSE_TOOLTIPS=no' fi -else $as_nop +else wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}" @@ -12646,8 +11806,7 @@ fi fi # Check whether --enable-splines was given. -if test ${enable_splines+y} -then : +if test "${enable_splines+set}" = set; then : enableval=$enable_splines; if test "$enableval" = yes; then wx_cv_use_splines='wxUSE_SPLINES=yes' @@ -12655,7 +11814,7 @@ then : wx_cv_use_splines='wxUSE_SPLINES=no' fi -else $as_nop +else wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}" @@ -12676,8 +11835,7 @@ fi fi # Check whether --enable-mousewheel was given. -if test ${enable_mousewheel+y} -then : +if test "${enable_mousewheel+set}" = set; then : enableval=$enable_mousewheel; if test "$enableval" = yes; then wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes' @@ -12685,7 +11843,7 @@ then : wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no' fi -else $as_nop +else wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}" @@ -12706,8 +11864,7 @@ fi fi # Check whether --enable-validators was given. -if test ${enable_validators+y} -then : +if test "${enable_validators+set}" = set; then : enableval=$enable_validators; if test "$enableval" = yes; then wx_cv_use_validators='wxUSE_VALIDATORS=yes' @@ -12715,7 +11872,7 @@ then : wx_cv_use_validators='wxUSE_VALIDATORS=no' fi -else $as_nop +else wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}" @@ -12736,8 +11893,7 @@ fi fi # Check whether --enable-busyinfo was given. -if test ${enable_busyinfo+y} -then : +if test "${enable_busyinfo+set}" = set; then : enableval=$enable_busyinfo; if test "$enableval" = yes; then wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes' @@ -12745,7 +11901,7 @@ then : wx_cv_use_busyinfo='wxUSE_BUSYINFO=no' fi -else $as_nop +else wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}" @@ -12766,8 +11922,7 @@ fi fi # Check whether --enable-hotkey was given. -if test ${enable_hotkey+y} -then : +if test "${enable_hotkey+set}" = set; then : enableval=$enable_hotkey; if test "$enableval" = yes; then wx_cv_use_hotkey='wxUSE_HOTKEY=yes' @@ -12775,7 +11930,7 @@ then : wx_cv_use_hotkey='wxUSE_HOTKEY=no' fi -else $as_nop +else wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}" @@ -12796,8 +11951,7 @@ fi fi # Check whether --enable-joystick was given. -if test ${enable_joystick+y} -then : +if test "${enable_joystick+set}" = set; then : enableval=$enable_joystick; if test "$enableval" = yes; then wx_cv_use_joystick='wxUSE_JOYSTICK=yes' @@ -12805,7 +11959,7 @@ then : wx_cv_use_joystick='wxUSE_JOYSTICK=no' fi -else $as_nop +else wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}" @@ -12826,8 +11980,7 @@ fi fi # Check whether --enable-metafile was given. -if test ${enable_metafile+y} -then : +if test "${enable_metafile+set}" = set; then : enableval=$enable_metafile; if test "$enableval" = yes; then wx_cv_use_metafile='wxUSE_METAFILE=yes' @@ -12835,7 +11988,7 @@ then : wx_cv_use_metafile='wxUSE_METAFILE=no' fi -else $as_nop +else wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}" @@ -12856,8 +12009,7 @@ fi fi # Check whether --enable-dragimage was given. -if test ${enable_dragimage+y} -then : +if test "${enable_dragimage+set}" = set; then : enableval=$enable_dragimage; if test "$enableval" = yes; then wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes' @@ -12865,7 +12017,7 @@ then : wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no' fi -else $as_nop +else wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}" @@ -12886,8 +12038,7 @@ fi fi # Check whether --enable-accessibility was given. -if test ${enable_accessibility+y} -then : +if test "${enable_accessibility+set}" = set; then : enableval=$enable_accessibility; if test "$enableval" = yes; then wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes' @@ -12895,7 +12046,7 @@ then : wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no' fi -else $as_nop +else wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}" @@ -12916,8 +12067,7 @@ fi fi # Check whether --enable-uiactionsim was given. -if test ${enable_uiactionsim+y} -then : +if test "${enable_uiactionsim+set}" = set; then : enableval=$enable_uiactionsim; if test "$enableval" = yes; then wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes' @@ -12925,7 +12075,7 @@ then : wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no' fi -else $as_nop +else wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}" @@ -12946,8 +12096,7 @@ fi fi # Check whether --enable-dctransform was given. -if test ${enable_dctransform+y} -then : +if test "${enable_dctransform+set}" = set; then : enableval=$enable_dctransform; if test "$enableval" = yes; then wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes' @@ -12955,7 +12104,7 @@ then : wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no' fi -else $as_nop +else wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}" @@ -12976,8 +12125,7 @@ fi fi # Check whether --enable-webviewwebkit was given. -if test ${enable_webviewwebkit+y} -then : +if test "${enable_webviewwebkit+set}" = set; then : enableval=$enable_webviewwebkit; if test "$enableval" = yes; then wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes' @@ -12985,7 +12133,7 @@ then : wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no' fi -else $as_nop +else wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}" @@ -13006,8 +12154,7 @@ fi fi # Check whether --enable-glcanvasegl was given. -if test ${enable_glcanvasegl+y} -then : +if test "${enable_glcanvasegl+set}" = set; then : enableval=$enable_glcanvasegl; if test "$enableval" = yes; then wx_cv_use_glcanvasegl='wxUSE_GLCANVAS_EGL=yes' @@ -13015,7 +12162,7 @@ then : wx_cv_use_glcanvasegl='wxUSE_GLCANVAS_EGL=no' fi -else $as_nop +else wx_cv_use_glcanvasegl='wxUSE_GLCANVAS_EGL=${'DEFAULT_wxUSE_GLCANVAS_EGL":-$defaultval}" @@ -13038,8 +12185,7 @@ fi fi # Check whether --enable-palette was given. -if test ${enable_palette+y} -then : +if test "${enable_palette+set}" = set; then : enableval=$enable_palette; if test "$enableval" = yes; then wx_cv_use_palette='wxUSE_PALETTE=yes' @@ -13047,7 +12193,7 @@ then : wx_cv_use_palette='wxUSE_PALETTE=no' fi -else $as_nop +else wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}" @@ -13068,8 +12214,7 @@ fi fi # Check whether --enable-image was given. -if test ${enable_image+y} -then : +if test "${enable_image+set}" = set; then : enableval=$enable_image; if test "$enableval" = yes; then wx_cv_use_image='wxUSE_IMAGE=yes' @@ -13077,7 +12222,7 @@ then : wx_cv_use_image='wxUSE_IMAGE=no' fi -else $as_nop +else wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}" @@ -13098,8 +12243,7 @@ fi fi # Check whether --enable-gif was given. -if test ${enable_gif+y} -then : +if test "${enable_gif+set}" = set; then : enableval=$enable_gif; if test "$enableval" = yes; then wx_cv_use_gif='wxUSE_GIF=yes' @@ -13107,7 +12251,7 @@ then : wx_cv_use_gif='wxUSE_GIF=no' fi -else $as_nop +else wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}" @@ -13128,8 +12272,7 @@ fi fi # Check whether --enable-pcx was given. -if test ${enable_pcx+y} -then : +if test "${enable_pcx+set}" = set; then : enableval=$enable_pcx; if test "$enableval" = yes; then wx_cv_use_pcx='wxUSE_PCX=yes' @@ -13137,7 +12280,7 @@ then : wx_cv_use_pcx='wxUSE_PCX=no' fi -else $as_nop +else wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}" @@ -13158,8 +12301,7 @@ fi fi # Check whether --enable-tga was given. -if test ${enable_tga+y} -then : +if test "${enable_tga+set}" = set; then : enableval=$enable_tga; if test "$enableval" = yes; then wx_cv_use_tga='wxUSE_TGA=yes' @@ -13167,7 +12309,7 @@ then : wx_cv_use_tga='wxUSE_TGA=no' fi -else $as_nop +else wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}" @@ -13188,8 +12330,7 @@ fi fi # Check whether --enable-iff was given. -if test ${enable_iff+y} -then : +if test "${enable_iff+set}" = set; then : enableval=$enable_iff; if test "$enableval" = yes; then wx_cv_use_iff='wxUSE_IFF=yes' @@ -13197,7 +12338,7 @@ then : wx_cv_use_iff='wxUSE_IFF=no' fi -else $as_nop +else wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}" @@ -13218,8 +12359,7 @@ fi fi # Check whether --enable-pnm was given. -if test ${enable_pnm+y} -then : +if test "${enable_pnm+set}" = set; then : enableval=$enable_pnm; if test "$enableval" = yes; then wx_cv_use_pnm='wxUSE_PNM=yes' @@ -13227,7 +12367,7 @@ then : wx_cv_use_pnm='wxUSE_PNM=no' fi -else $as_nop +else wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}" @@ -13248,8 +12388,7 @@ fi fi # Check whether --enable-xpm was given. -if test ${enable_xpm+y} -then : +if test "${enable_xpm+set}" = set; then : enableval=$enable_xpm; if test "$enableval" = yes; then wx_cv_use_xpm='wxUSE_XPM=yes' @@ -13257,7 +12396,7 @@ then : wx_cv_use_xpm='wxUSE_XPM=no' fi -else $as_nop +else wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}" @@ -13278,8 +12417,7 @@ fi fi # Check whether --enable-ico_cur was given. -if test ${enable_ico_cur+y} -then : +if test "${enable_ico_cur+set}" = set; then : enableval=$enable_ico_cur; if test "$enableval" = yes; then wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes' @@ -13287,7 +12425,7 @@ then : wx_cv_use_ico_cur='wxUSE_ICO_CUR=no' fi -else $as_nop +else wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}" @@ -13310,8 +12448,7 @@ fi fi # Check whether --enable-dccache was given. -if test ${enable_dccache+y} -then : +if test "${enable_dccache+set}" = set; then : enableval=$enable_dccache; if test "$enableval" = yes; then wx_cv_use_dccache='wxUSE_DC_CACHEING=yes' @@ -13319,7 +12456,7 @@ then : wx_cv_use_dccache='wxUSE_DC_CACHEING=no' fi -else $as_nop +else wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}" @@ -13340,8 +12477,7 @@ fi fi # Check whether --enable-ps-in-msw was given. -if test ${enable_ps_in_msw+y} -then : +if test "${enable_ps_in_msw+set}" = set; then : enableval=$enable_ps_in_msw; if test "$enableval" = yes; then wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes' @@ -13349,7 +12485,7 @@ then : wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no' fi -else $as_nop +else wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}" @@ -13370,8 +12506,7 @@ fi fi # Check whether --enable-ownerdrawn was given. -if test ${enable_ownerdrawn+y} -then : +if test "${enable_ownerdrawn+set}" = set; then : enableval=$enable_ownerdrawn; if test "$enableval" = yes; then wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes' @@ -13379,7 +12514,7 @@ then : wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no' fi -else $as_nop +else wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}" @@ -13400,8 +12535,7 @@ fi fi # Check whether --enable-taskbarbutton was given. -if test ${enable_taskbarbutton+y} -then : +if test "${enable_taskbarbutton+set}" = set; then : enableval=$enable_taskbarbutton; if test "$enableval" = yes; then wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=yes' @@ -13409,7 +12543,7 @@ then : wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=no' fi -else $as_nop +else wx_cv_use_taskbarbutton='wxUSE_TASKBARBUTTON=${'DEFAULT_wxUSE_TASKBARBUTTON":-$defaultval}" @@ -13430,8 +12564,7 @@ fi fi # Check whether --enable-uxtheme was given. -if test ${enable_uxtheme+y} -then : +if test "${enable_uxtheme+set}" = set; then : enableval=$enable_uxtheme; if test "$enableval" = yes; then wx_cv_use_uxtheme='wxUSE_UXTHEME=yes' @@ -13439,7 +12572,7 @@ then : wx_cv_use_uxtheme='wxUSE_UXTHEME=no' fi -else $as_nop +else wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}" @@ -13460,8 +12593,7 @@ fi fi # Check whether --enable-wxdib was given. -if test ${enable_wxdib+y} -then : +if test "${enable_wxdib+set}" = set; then : enableval=$enable_wxdib; if test "$enableval" = yes; then wx_cv_use_wxdib='wxUSE_DIB=yes' @@ -13469,7 +12601,7 @@ then : wx_cv_use_wxdib='wxUSE_DIB=no' fi -else $as_nop +else wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}" @@ -13490,8 +12622,7 @@ fi fi # Check whether --enable-webviewie was given. -if test ${enable_webviewie+y} -then : +if test "${enable_webviewie+set}" = set; then : enableval=$enable_webviewie; if test "$enableval" = yes; then wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes' @@ -13499,7 +12630,7 @@ then : wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no' fi -else $as_nop +else wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}" @@ -13520,8 +12651,7 @@ fi fi # Check whether --enable-webviewedge was given. -if test ${enable_webviewedge+y} -then : +if test "${enable_webviewedge+set}" = set; then : enableval=$enable_webviewedge; if test "$enableval" = yes; then wx_cv_use_webviewedge='wxUSE_WEBVIEW_EDGE=yes' @@ -13529,7 +12659,7 @@ then : wx_cv_use_webviewedge='wxUSE_WEBVIEW_EDGE=no' fi -else $as_nop +else wx_cv_use_webviewedge='wxUSE_WEBVIEW_EDGE=${'DEFAULT_wxUSE_WEBVIEW_EDGE":-$defaultval}" @@ -13555,8 +12685,7 @@ fi fi # Check whether --enable-autoidman was given. -if test ${enable_autoidman+y} -then : +if test "${enable_autoidman+set}" = set; then : enableval=$enable_autoidman; if test "$enableval" = yes; then wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes' @@ -13564,7 +12693,7 @@ then : wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no' fi -else $as_nop +else wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}" @@ -13604,8 +12733,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_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;} ;; + *_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;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -13635,15 +12764,15 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -printf "%s\n" "$as_me: updating cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -13657,22 +12786,13 @@ printf "%s\n" "$as_me: updating cache $cache_file" >&6;} fi fi else - { 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;} + { $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;} fi fi rm -f confcache CFLAGS=${CFLAGS:=} - - - - - - - - - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -13681,12 +12801,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_CC+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -13694,15 +12813,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13713,11 +12828,11 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf "%s\n" "$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -13726,12 +12841,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_CC+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else @@ -13739,15 +12853,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13758,11 +12868,11 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -printf "%s\n" "$ac_ct_CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -13770,8 +12880,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -13784,12 +12894,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_CC+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -13797,15 +12906,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13816,11 +12921,11 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf "%s\n" "$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -13829,12 +12934,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_CC+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -13843,19 +12947,15 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13871,18 +12971,18 @@ if test $ac_prog_rejected = yes; then # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift - ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf "%s\n" "$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -13893,12 +12993,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_CC+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_CC="$CC" # Let the user override the test. else @@ -13906,15 +13005,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13925,11 +13020,11 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf "%s\n" "$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -13942,12 +13037,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_CC+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else @@ -13955,15 +13049,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -13974,11 +13064,11 @@ fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -printf "%s\n" "$ac_ct_CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -13990,8 +13080,8 @@ done 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;} +{ $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;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -13999,129 +13089,25 @@ esac fi fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. -set dummy ${ac_tool_prefix}clang; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_CC+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then - ac_cv_prog_CC="${ac_tool_prefix}clang" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -printf "%s\n" "$CC" >&6; } -else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } -fi -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "clang", so it can be a program name with args. -set dummy clang; ac_word=$2 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_CC+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_CC="clang" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -printf "%s\n" "$ac_ct_CC" >&6; } -else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -fi - - -test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. -printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +$as_echo "$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 -version; do +for ac_option in --version -v -V -qversion; 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\"" -printf "%s\n" "$ac_try_echo"; } >&5 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -14131,7 +13117,7 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done @@ -14139,7 +13125,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { ; @@ -14151,9 +13137,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. -{ 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[^ ]*//'` +{ $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[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" @@ -14174,12 +13160,11 @@ case "(($ac_try" in *) 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 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -then : + $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' # in a Makefile. We should not override ac_cv_exeext if it was cached, @@ -14196,7 +13181,7 @@ do # certainly right. break;; *.* ) - if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi @@ -14212,46 +13197,44 @@ do done test "$ac_cv_exeext" = no && ac_cv_exeext= -else $as_nop +else ac_file='' fi -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 +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 sed 's/^/| /' conftest.$ac_ext >&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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$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_nop - { 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: yes" >&5 +$as_echo "yes" >&6; } fi -{ 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; } +{ $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; } 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -printf %s "checking for suffix of executables... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "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\"" -printf "%s\n" "$ac_try_echo"; } >&5 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -then : + $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 @@ -14265,15 +13248,15 @@ for ac_file in conftest.exe conftest conftest.*; do * ) break;; esac done -else $as_nop - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +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 compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -printf "%s\n" "$ac_cv_exeext" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext @@ -14282,7 +13265,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; @@ -14294,8 +13277,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. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -printf %s "checking whether we are cross compiling... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in @@ -14303,10 +13286,10 @@ case "(($ac_try" in *) 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 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in @@ -14314,40 +13297,39 @@ printf "%s\n" "$ac_try_echo"; } >&5 *) 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 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$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 - { { 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. + { { $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; } fi fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -printf "%s\n" "$cross_compiling" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -printf %s "checking for suffix of object files... " >&6; } -if test ${ac_cv_objext+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 /* end confdefs.h. */ int -main (void) +main () { ; @@ -14361,12 +13343,11 @@ case "(($ac_try" in *) 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 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -then : + $as_echo "$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 @@ -14375,32 +13356,31 @@ then : break;; esac done -else $as_nop - printf "%s\n" "$as_me: failed program was:" >&5 +else + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -printf "%s\n" "$ac_cv_objext" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 -printf %s "checking whether the compiler supports GNU C... " >&6; } -if test ${ac_cv_c_compiler_gnu+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __GNUC__ choke me @@ -14410,33 +13390,29 @@ main (void) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes -else $as_nop +else ac_compiler_gnu=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ 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 - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi -ac_test_CFLAGS=${CFLAGS+y} +ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -printf %s "checking whether $CC accepts -g... " >&6; } -if test ${ac_cv_prog_cc_g+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_c_werror_flag=yes ac_cv_prog_cc_g=no @@ -14445,60 +13421,57 @@ else $as_nop /* end confdefs.h. */ int -main (void) +main () { ; 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 $as_nop +else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : -else $as_nop +else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { ; 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.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ 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 +{ $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 CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then @@ -14513,144 +13486,94 @@ else CFLAGS= fi fi -ac_prog_cc_stdc=no -if test x$ac_prog_cc_stdc = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 -printf %s "checking for $CC option to enable C11 features... " >&6; } -if test ${ac_cv_prog_cc_c11+y} -then : - printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cc_c11=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_c_conftest_c11_program -_ACEOF -for ac_arg in '' -std=gnu11 -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO" -then : - ac_cv_prog_cc_c11=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam - test "x$ac_cv_prog_cc_c11" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC -fi - -if test "x$ac_cv_prog_cc_c11" = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cc_c11" = x -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 -printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } - CC="$CC $ac_cv_prog_cc_c11" -fi - ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 - ac_prog_cc_stdc=c11 -fi -fi -if test x$ac_prog_cc_stdc = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 -printf %s "checking for $CC option to enable C99 features... " >&6; } -if test ${ac_cv_prog_cc_c99+y} -then : - printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cc_c99=no -ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_c_conftest_c99_program -_ACEOF -for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= -do - CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO" -then : - ac_cv_prog_cc_c99=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam - test "x$ac_cv_prog_cc_c99" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC -fi - -if test "x$ac_cv_prog_cc_c99" = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cc_c99" = x -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 -printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } - CC="$CC $ac_cv_prog_cc_c99" -fi - ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 - ac_prog_cc_stdc=c99 -fi -fi -if test x$ac_prog_cc_stdc = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 -printf %s "checking for $CC option to enable C89 features... " >&6; } -if test ${ac_cv_prog_cc_c89+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$ac_c_conftest_c89_program +#include +#include +struct stat; +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} _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 conftest.beam +rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC -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 $as_nop - if test "x$ac_cv_prog_cc_c89" = x -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } - CC="$CC $ac_cv_prog_cc_c89" -fi - ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 - ac_prog_cc_stdc=c89 fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + fi ac_ext=c @@ -14672,17 +13595,16 @@ 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 whether we are using the Intel C compiler" >&5 -printf %s "checking whether we are using the Intel C compiler... " >&6; } -if test ${bakefile_cv_c_compiler___INTEL_COMPILER+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __INTEL_COMPILER @@ -14693,19 +13615,18 @@ main (void) 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 $as_nop +else bakefile_cv_c_compiler___INTEL_COMPILER=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5 +$as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; } if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then :; INTELCC=yes else @@ -14729,17 +13650,16 @@ 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 whether we are using Intel C compiler v8 or later" >&5 -printf %s "checking whether we are using Intel C compiler v8 or later... " >&6; } -if test ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800 @@ -14750,19 +13670,18 @@ main (void) 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 $as_nop +else bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then :; INTELCC8=yes else @@ -14784,17 +13703,16 @@ 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 whether we are using Intel C compiler v10 or later" >&5 -printf %s "checking whether we are using Intel C compiler v10 or later... " >&6; } -if test ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000 @@ -14805,19 +13723,18 @@ main (void) 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 $as_nop +else bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then :; INTELCC10=yes else @@ -14844,17 +13761,16 @@ 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 whether we are using the IBM xlC C compiler" >&5 -printf %s "checking whether we are using the IBM xlC C compiler... " >&6; } -if test ${bakefile_cv_c_compiler___xlC__+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __xlC__ @@ -14865,19 +13781,18 @@ main (void) 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 $as_nop +else bakefile_cv_c_compiler___xlC__=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5 -printf "%s\n" "$bakefile_cv_c_compiler___xlC__" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5 +$as_echo "$bakefile_cv_c_compiler___xlC__" >&6; } if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then :; XLCC=yes else @@ -14902,17 +13817,16 @@ 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 whether we are using the IBM xlC C compiler" >&5 -printf %s "checking whether we are using the IBM xlC C compiler... " >&6; } -if test ${bakefile_cv_c_compiler___xlC__+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __xlC__ @@ -14923,19 +13837,18 @@ main (void) 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 $as_nop +else bakefile_cv_c_compiler___xlC__=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5 -printf "%s\n" "$bakefile_cv_c_compiler___xlC__" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5 +$as_echo "$bakefile_cv_c_compiler___xlC__" >&6; } if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then :; XLCC=yes else @@ -14960,17 +13873,16 @@ 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 whether we are using the SGI C compiler" >&5 -printf %s "checking whether we are using the SGI C compiler... " >&6; } -if test ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef _SGI_COMPILER_VERSION @@ -14981,19 +13893,18 @@ main (void) 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 $as_nop +else bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then :; SGICC=yes else @@ -15019,17 +13930,16 @@ 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 whether we are using the Sun C compiler" >&5 -printf %s "checking whether we are using the Sun C compiler... " >&6; } -if test ${bakefile_cv_c_compiler___SUNPRO_C+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __SUNPRO_C @@ -15040,19 +13950,18 @@ main (void) 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 $as_nop +else bakefile_cv_c_compiler___SUNPRO_C=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5 +$as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; } if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then :; SUNCC=yes else @@ -15078,17 +13987,16 @@ 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 whether we are using the HP C compiler" >&5 -printf %s "checking whether we are using the HP C compiler... " >&6; } -if test ${bakefile_cv_c_compiler___HP_cc+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __HP_cc @@ -15099,19 +14007,18 @@ main (void) 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 $as_nop +else bakefile_cv_c_compiler___HP_cc=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5 +$as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; } if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then :; HPCC=yes else @@ -15136,17 +14043,16 @@ 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 whether we are using the Compaq C compiler" >&5 -printf %s "checking whether we are using the Compaq C compiler... " >&6; } -if test ${bakefile_cv_c_compiler___DECC+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __DECC @@ -15157,19 +14063,18 @@ main (void) 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 $as_nop +else bakefile_cv_c_compiler___DECC=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5 -printf "%s\n" "$bakefile_cv_c_compiler___DECC" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5 +$as_echo "$bakefile_cv_c_compiler___DECC" >&6; } if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then :; COMPAQCC=yes else @@ -15194,17 +14099,16 @@ 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 whether we are using the Sun C compiler" >&5 -printf %s "checking whether we are using the Sun C compiler... " >&6; } -if test ${bakefile_cv_c_compiler___SUNPRO_C+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __SUNPRO_C @@ -15215,19 +14119,18 @@ main (void) 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 $as_nop +else bakefile_cv_c_compiler___SUNPRO_C=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5 +$as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; } if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then :; SUNCC=yes else @@ -15252,36 +14155,40 @@ 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; } +{ $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 test ${ac_cv_prog_CPP+y} -then : - printf %s "(cached) " >&6 -else $as_nop - # Double quotes because $CC needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp + 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. */ -#include +#ifdef __STDC__ +# include +#else +# include +#endif Syntax error _ACEOF -if ac_fn_c_try_cpp "$LINENO" -then : +if ac_fn_c_try_cpp "$LINENO"; then : -else $as_nop +else # Broken: fails on valid input. continue fi @@ -15293,11 +14200,10 @@ rm -f conftest.err conftest.i conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO" -then : +if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue -else $as_nop +else # Passes both tests. ac_preproc_ok=: break @@ -15307,8 +14213,7 @@ rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok -then : +if $ac_preproc_ok; then : break fi @@ -15320,24 +14225,29 @@ fi else ac_cv_prog_CPP=$CPP fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -printf "%s\n" "$CPP" >&6; } +{ $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. */ -#include +#ifdef __STDC__ +# include +#else +# include +#endif Syntax error _ACEOF -if ac_fn_c_try_cpp "$LINENO" -then : +if ac_fn_c_try_cpp "$LINENO"; then : -else $as_nop +else # Broken: fails on valid input. continue fi @@ -15349,11 +14259,10 @@ rm -f conftest.err conftest.i conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO" -then : +if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue -else $as_nop +else # Passes both tests. ac_preproc_ok=: break @@ -15363,12 +14272,11 @@ rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok -then : +if $ac_preproc_ok; then : -else $as_nop - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +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 @@ -15380,12 +14288,11 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -printf %s "checking for grep that handles long lines and -e... " >&6; } -if test ${ac_cv_path_GREP+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 @@ -15393,15 +14300,10 @@ else $as_nop for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - for ac_prog in grep ggrep - do + 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" + 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 @@ -15410,13 +14312,13 @@ case `"$ac_path_GREP" --version 2>&1` in ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 - printf %s 0123456789 >"conftest.in" + $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" - printf "%s\n" 'GREP' >> "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 @@ -15444,17 +14346,16 @@ else fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -printf "%s\n" "$ac_cv_path_GREP" >&6; } +{ $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" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -printf %s "checking for egrep... " >&6; } -if test ${ac_cv_path_EGREP+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 @@ -15465,15 +14366,10 @@ else $as_nop for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - for ac_prog in egrep - do + 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" + 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 @@ -15482,13 +14378,13 @@ case `"$ac_path_EGREP" --version 2>&1` in ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 - printf %s 0123456789 >"conftest.in" + $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" - printf "%s\n" 'EGREP' >> "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 @@ -15517,18 +14413,17 @@ fi fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -printf "%s\n" "$ac_cv_path_EGREP" >&6; } +{ $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" if test $ac_cv_c_compiler_gnu = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 -printf %s "checking whether $CC needs -traditional... " >&6; } -if test ${ac_cv_prog_gcc_traditional+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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. */ @@ -15536,13 +14431,12 @@ else $as_nop Autoconf TIOCGETP _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "$ac_pattern" >/dev/null 2>&1 -then : + $EGREP "$ac_pattern" >/dev/null 2>&1; then : ac_cv_prog_gcc_traditional=yes -else $as_nop +else ac_cv_prog_gcc_traditional=no fi -rm -rf conftest* +rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then @@ -15552,16 +14446,15 @@ rm -rf conftest* Autoconf TCGETA _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "$ac_pattern" >/dev/null 2>&1 -then : + $EGREP "$ac_pattern" >/dev/null 2>&1; then : ac_cv_prog_gcc_traditional=yes fi -rm -rf conftest* +rm -f conftest* fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 -printf "%s\n" "$ac_cv_prog_gcc_traditional" >&6; } +{ $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 @@ -15569,12 +14462,6 @@ fi CXXFLAGS=${CXXFLAGS:=} - - - - - - ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -15585,16 +14472,15 @@ 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 clang++ + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_CXX+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_CXX="$CXX" # Let the user override the test. else @@ -15602,15 +14488,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -15621,11 +14503,11 @@ fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 -printf "%s\n" "$CXX" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 +$as_echo "$CXX" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -15634,16 +14516,15 @@ 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 clang++ + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; 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_CXX+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else @@ -15651,15 +14532,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -15670,11 +14547,11 @@ fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 -printf "%s\n" "$ac_ct_CXX" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 +$as_echo "$ac_ct_CXX" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -15686,8 +14563,8 @@ done 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;} +{ $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;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX @@ -15697,7 +14574,7 @@ fi fi fi # Provide some information about the compiler. -printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 +$as_echo "$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 @@ -15707,7 +14584,7 @@ case "(($ac_try" in *) 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 +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then @@ -15717,21 +14594,20 @@ printf "%s\n" "$ac_try_echo"; } >&5 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 -printf %s "checking whether the compiler supports GNU C++... " >&6; } -if test ${ac_cv_cxx_compiler_gnu+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __GNUC__ choke me @@ -15741,33 +14617,29 @@ main (void) return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : +if ac_fn_cxx_try_compile "$LINENO"; then : ac_compiler_gnu=yes -else $as_nop +else ac_compiler_gnu=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi -{ 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 - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes else GXX= fi -ac_test_CXXFLAGS=${CXXFLAGS+y} +ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 -printf %s "checking whether $CXX accepts -g... " >&6; } -if test ${ac_cv_prog_cxx_g+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no @@ -15776,60 +14648,57 @@ else $as_nop /* end confdefs.h. */ int -main (void) +main () { ; 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 $as_nop +else CXXFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : +if ac_fn_cxx_try_compile "$LINENO"; then : -else $as_nop +else ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { ; 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.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi -{ 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 +{ $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 CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then @@ -15844,100 +14713,6 @@ else CXXFLAGS= fi fi -ac_prog_cxx_stdcxx=no -if test x$ac_prog_cxx_stdcxx = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 -printf %s "checking for $CXX option to enable C++11 features... " >&6; } -if test ${ac_cv_prog_cxx_cxx11+y} -then : - printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cxx_cxx11=no -ac_save_CXX=$CXX -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_cxx_conftest_cxx11_program -_ACEOF -for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA -do - CXX="$ac_save_CXX $ac_arg" - if ac_fn_cxx_try_compile "$LINENO" -then : - ac_cv_prog_cxx_cxx11=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam - test "x$ac_cv_prog_cxx_cxx11" != "xno" && break -done -rm -f conftest.$ac_ext -CXX=$ac_save_CXX -fi - -if test "x$ac_cv_prog_cxx_cxx11" = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cxx_cxx11" = x -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 -printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } - CXX="$CXX $ac_cv_prog_cxx_cxx11" -fi - ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 - ac_prog_cxx_stdcxx=cxx11 -fi -fi -if test x$ac_prog_cxx_stdcxx = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 -printf %s "checking for $CXX option to enable C++98 features... " >&6; } -if test ${ac_cv_prog_cxx_cxx98+y} -then : - printf %s "(cached) " >&6 -else $as_nop - ac_cv_prog_cxx_cxx98=no -ac_save_CXX=$CXX -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$ac_cxx_conftest_cxx98_program -_ACEOF -for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA -do - CXX="$ac_save_CXX $ac_arg" - if ac_fn_cxx_try_compile "$LINENO" -then : - ac_cv_prog_cxx_cxx98=$ac_arg -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam - test "x$ac_cv_prog_cxx_cxx98" != "xno" && break -done -rm -f conftest.$ac_ext -CXX=$ac_save_CXX -fi - -if test "x$ac_cv_prog_cxx_cxx98" = xno -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -printf "%s\n" "unsupported" >&6; } -else $as_nop - if test "x$ac_cv_prog_cxx_cxx98" = x -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -printf "%s\n" "none needed" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 -printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } - CXX="$CXX $ac_cv_prog_cxx_cxx98" -fi - ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 - ac_prog_cxx_stdcxx=cxx98 -fi -fi - ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -15957,17 +14732,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5 -printf %s "checking whether we are using the Intel C++ compiler... " >&6; } -if test ${bakefile_cv_cxx_compiler___INTEL_COMPILER+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __INTEL_COMPILER @@ -15978,19 +14752,18 @@ main (void) 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 $as_nop +else bakefile_cv_cxx_compiler___INTEL_COMPILER=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5 +$as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; } if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then :; INTELCXX=yes else @@ -16014,17 +14787,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5 -printf %s "checking whether we are using Intel C++ compiler v8 or later... " >&6; } -if test ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800 @@ -16035,19 +14807,18 @@ main (void) 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 $as_nop +else bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then :; INTELCXX8=yes else @@ -16069,17 +14840,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5 -printf %s "checking whether we are using Intel C++ compiler v10 or later... " >&6; } -if test ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000 @@ -16090,19 +14860,18 @@ main (void) 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 $as_nop +else bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then :; INTELCXX10=yes else @@ -16129,17 +14898,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5 -printf %s "checking whether we are using the IBM xlC C++ compiler... " >&6; } -if test ${bakefile_cv_cxx_compiler___xlC__+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __xlC__ @@ -16150,19 +14918,18 @@ main (void) 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 $as_nop +else bakefile_cv_cxx_compiler___xlC__=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5 -printf "%s\n" "$bakefile_cv_cxx_compiler___xlC__" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5 +$as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; } if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then :; XLCXX=yes else @@ -16187,17 +14954,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5 -printf %s "checking whether we are using the IBM xlC C++ compiler... " >&6; } -if test ${bakefile_cv_cxx_compiler___xlC__+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __xlC__ @@ -16208,19 +14974,18 @@ main (void) 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 $as_nop +else bakefile_cv_cxx_compiler___xlC__=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5 -printf "%s\n" "$bakefile_cv_cxx_compiler___xlC__" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5 +$as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; } if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then :; XLCXX=yes else @@ -16245,17 +15010,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5 -printf %s "checking whether we are using the SGI C++ compiler... " >&6; } -if test ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef _SGI_COMPILER_VERSION @@ -16266,19 +15030,18 @@ main (void) 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 $as_nop +else bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then :; SGICXX=yes else @@ -16304,17 +15067,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5 -printf %s "checking whether we are using the Sun C++ compiler... " >&6; } -if test ${bakefile_cv_cxx_compiler___SUNPRO_CC+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __SUNPRO_CC @@ -16325,19 +15087,18 @@ main (void) 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 $as_nop +else bakefile_cv_cxx_compiler___SUNPRO_CC=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5 +$as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; } if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then :; SUNCXX=yes else @@ -16363,17 +15124,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5 -printf %s "checking whether we are using the HP C++ compiler... " >&6; } -if test ${bakefile_cv_cxx_compiler___HP_aCC+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __HP_aCC @@ -16384,19 +15144,18 @@ main (void) 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 $as_nop +else bakefile_cv_cxx_compiler___HP_aCC=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5 +$as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; } if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then :; HPCXX=yes else @@ -16421,17 +15180,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5 -printf %s "checking whether we are using the Compaq C++ compiler... " >&6; } -if test ${bakefile_cv_cxx_compiler___DECCXX+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __DECCXX @@ -16442,19 +15200,18 @@ main (void) 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 $as_nop +else bakefile_cv_cxx_compiler___DECCXX=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5 -printf "%s\n" "$bakefile_cv_cxx_compiler___DECCXX" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5 +$as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; } if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then :; COMPAQCXX=yes else @@ -16479,17 +15236,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5 -printf %s "checking whether we are using the Sun C++ compiler... " >&6; } -if test ${bakefile_cv_cxx_compiler___SUNPRO_CC+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __SUNPRO_CC @@ -16500,19 +15256,18 @@ main (void) 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 $as_nop +else bakefile_cv_cxx_compiler___SUNPRO_CC=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5 +$as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; } if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then :; SUNCXX=yes else @@ -16546,12 +15301,11 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_success=no - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 -printf %s "checking whether $CXX supports C++11 features by default... " >&6; } -if test ${ax_cv_cxx_compile_cxx11+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ @@ -16843,16 +15597,15 @@ 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 $as_nop +else ax_cv_cxx_compile_cxx11=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 -printf "%s\n" "$ax_cv_cxx_compile_cxx11" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 +$as_echo "$ax_cv_cxx_compile_cxx11" >&6; } if test x$ax_cv_cxx_compile_cxx11 = xyes; then ac_success=yes fi @@ -16860,13 +15613,12 @@ printf "%s\n" "$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=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 -printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; } -if eval test \${$cachevar+y} -then : - printf %s "(cached) " >&6 -else $as_nop + 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" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17160,18 +15912,17 @@ namespace cxx11 _ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : +if ac_fn_cxx_try_compile "$LINENO"; then : eval $cachevar=yes -else $as_nop +else eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -17186,13 +15937,12 @@ printf "%s\n" "$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=`printf "%s\n" "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 -printf %s "checking whether $CXX supports C++11 features with $switch... " >&6; } -if eval test \${$cachevar+y} -then : - printf %s "(cached) " >&6 -else $as_nop + 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" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -17486,18 +16236,17 @@ namespace cxx11 _ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : +if ac_fn_cxx_try_compile "$LINENO"; then : eval $cachevar=yes -else $as_nop +else eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -17525,12 +16274,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX11=0 - { 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;} + { $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;} else HAVE_CXX11=1 -printf "%s\n" "#define HAVE_CXX11 1" >>confdefs.h +$as_echo "#define HAVE_CXX11 1" >>confdefs.h fi @@ -17546,12 +16295,11 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_success=no - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features by default" >&5 -printf %s "checking whether $CXX supports C++14 features by default... " >&6; } -if test ${ax_cv_cxx_compile_cxx14+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ @@ -17963,16 +16711,15 @@ 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 $as_nop +else ax_cv_cxx_compile_cxx14=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx14" >&5 -printf "%s\n" "$ax_cv_cxx_compile_cxx14" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx14" >&5 +$as_echo "$ax_cv_cxx_compile_cxx14" >&6; } if test x$ax_cv_cxx_compile_cxx14 = xyes; then ac_success=yes fi @@ -17980,13 +16727,12 @@ printf "%s\n" "$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=`printf "%s\n" "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5 -printf %s "checking whether $CXX supports C++14 features with $switch... " >&6; } -if eval test \${$cachevar+y} -then : - printf %s "(cached) " >&6 -else $as_nop + 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" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -18400,18 +17146,17 @@ namespace cxx14 _ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : +if ac_fn_cxx_try_compile "$LINENO"; then : eval $cachevar=yes -else $as_nop +else eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -18426,13 +17171,12 @@ printf "%s\n" "$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=`printf "%s\n" "ax_cv_cxx_compile_cxx14_$switch" | $as_tr_sh` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++14 features with $switch" >&5 -printf %s "checking whether $CXX supports C++14 features with $switch... " >&6; } -if eval test \${$cachevar+y} -then : - printf %s "(cached) " >&6 -else $as_nop + 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" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -18846,18 +17590,17 @@ namespace cxx14 _ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : +if ac_fn_cxx_try_compile "$LINENO"; then : eval $cachevar=yes -else $as_nop +else eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -18885,12 +17628,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX14=0 - { 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;} + { $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;} else HAVE_CXX14=1 -printf "%s\n" "#define HAVE_CXX14 1" >>confdefs.h +$as_echo "#define HAVE_CXX14 1" >>confdefs.h fi @@ -18906,12 +17649,11 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_success=no - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features by default" >&5 -printf %s "checking whether $CXX supports C++17 features by default... " >&6; } -if test ${ax_cv_cxx_compile_cxx17+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ @@ -19701,16 +18443,15 @@ 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 $as_nop +else ax_cv_cxx_compile_cxx17=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx17" >&5 -printf "%s\n" "$ax_cv_cxx_compile_cxx17" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx17" >&5 +$as_echo "$ax_cv_cxx_compile_cxx17" >&6; } if test x$ax_cv_cxx_compile_cxx17 = xyes; then ac_success=yes fi @@ -19718,13 +18459,12 @@ printf "%s\n" "$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=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 -printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; } -if eval test \${$cachevar+y} -then : - printf %s "(cached) " >&6 -else $as_nop + 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" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -20516,18 +19256,17 @@ namespace cxx17 _ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : +if ac_fn_cxx_try_compile "$LINENO"; then : eval $cachevar=yes -else $as_nop +else eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -20542,13 +19281,12 @@ printf "%s\n" "$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=`printf "%s\n" "ax_cv_cxx_compile_cxx17_$switch" | $as_tr_sh` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++17 features with $switch" >&5 -printf %s "checking whether $CXX supports C++17 features with $switch... " >&6; } -if eval test \${$cachevar+y} -then : - printf %s "(cached) " >&6 -else $as_nop + 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" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -21340,18 +20078,17 @@ namespace cxx17 _ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : +if ac_fn_cxx_try_compile "$LINENO"; then : eval $cachevar=yes -else $as_nop +else eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -21379,12 +20116,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX17=0 - { 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;} + { $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;} else HAVE_CXX17=1 -printf "%s\n" "#define HAVE_CXX17 1" >>confdefs.h +$as_echo "#define HAVE_CXX17 1" >>confdefs.h fi @@ -21400,12 +20137,11 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_success=no - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++20 features by default" >&5 -printf %s "checking whether $CXX supports C++20 features by default... " >&6; } -if test ${ax_cv_cxx_compile_cxx20+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ @@ -22221,16 +20957,15 @@ 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 $as_nop +else ax_cv_cxx_compile_cxx20=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx20" >&5 -printf "%s\n" "$ax_cv_cxx_compile_cxx20" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx20" >&5 +$as_echo "$ax_cv_cxx_compile_cxx20" >&6; } if test x$ax_cv_cxx_compile_cxx20 = xyes; then ac_success=yes fi @@ -22238,13 +20973,12 @@ printf "%s\n" "$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=`printf "%s\n" "ax_cv_cxx_compile_cxx20_$switch" | $as_tr_sh` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++20 features with $switch" >&5 -printf %s "checking whether $CXX supports C++20 features with $switch... " >&6; } -if eval test \${$cachevar+y} -then : - printf %s "(cached) " >&6 -else $as_nop + 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" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -23062,18 +21796,17 @@ namespace cxx20 _ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : +if ac_fn_cxx_try_compile "$LINENO"; then : eval $cachevar=yes -else $as_nop +else eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -23088,13 +21821,12 @@ printf "%s\n" "$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=`printf "%s\n" "ax_cv_cxx_compile_cxx20_$switch" | $as_tr_sh` - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++20 features with $switch" >&5 -printf %s "checking whether $CXX supports C++20 features with $switch... " >&6; } -if eval test \${$cachevar+y} -then : - printf %s "(cached) " >&6 -else $as_nop + 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" CXX="$CXX $switch" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -23912,18 +22644,17 @@ namespace cxx20 _ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : +if ac_fn_cxx_try_compile "$LINENO"; then : eval $cachevar=yes -else $as_nop +else eval $cachevar=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXX="$ac_save_CXX" fi eval ac_res=\$$cachevar - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test x\$$cachevar = xyes; then CXX="$CXX $switch" if test -n "$CXXCPP" ; then @@ -23951,12 +22682,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test x$ac_success = xno; then HAVE_CXX20=0 - { 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;} + { $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;} else HAVE_CXX20=1 -printf "%s\n" "#define HAVE_CXX20 1" >>confdefs.h +$as_echo "#define HAVE_CXX20 1" >>confdefs.h fi @@ -23978,20 +22709,19 @@ case "$wxWITH_DPI_MANIFEST" in USE_DPI_AWARE_MANIFEST=2 ;; *) USE_DPI_AWARE_MANIFEST=0 - { 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;} + { $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;} 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_AR+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_AR="$AR" # Let the user override the test. else @@ -23999,15 +22729,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -24018,11 +22744,11 @@ fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -printf "%s\n" "$AR" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -24031,12 +22757,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_AR+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else @@ -24044,15 +22769,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -24063,11 +22784,11 @@ fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -printf "%s\n" "$ac_ct_AR" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_AR" = x; then @@ -24075,8 +22796,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR @@ -24101,8 +22822,8 @@ OSX_ARCH_OPTS="" if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then if test "x$wxUSE_MAC_ARCH" != xno; then - { 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;} + { $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;} fi if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then @@ -24113,10 +22834,10 @@ printf "%s\n" "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-un fi fi - { 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; } + { $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; } retest_macosx_linking=yes else @@ -24127,13 +22848,13 @@ fi if test "x$OSX_ARCH_OPTS" != "x"; then if echo $OSX_ARCH_OPTS | grep -q ","; then - { 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;} + { $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;} disable_macosx_deps=yes if test "x$wxUSE_PCH" = "xyes"; then - { 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;} + { $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;} wxUSE_PCH=no fi fi @@ -24161,16 +22882,16 @@ fi if test "x$wxUSE_MACOSX_SDK" != "x"; then - { 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; } + { $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; } if ! test -d "$wxUSE_MACOSX_SDK"; 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "not found See \`config.log' for more details" "$LINENO" 5; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: exists" >&5 -printf "%s\n" "exists" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5 +$as_echo "exists" >&6; } fi MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK" retest_macosx_linking=yes @@ -24181,8 +22902,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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5 -printf %s "checking SDK deployment version... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5 +$as_echo_n "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/'` @@ -24195,11 +22916,11 @@ printf %s "checking SDK deployment version... " >&6; } if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5 -printf "%s\n" "$wxUSE_MACOSX_VERSION_MIN" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5 +$as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; } else - { 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;} + { $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;} wxUSE_MACOSX_VERSION_MIN= fi else @@ -24251,30 +22972,29 @@ 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 if C compiler ($CC) works with SDK/version options" >&5 -printf %s "checking if C compiler ($CC) works with SDK/version options... " >&6; } + { $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; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +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;} as_fn_error $? "$error_message See \`config.log' for more details" "$LINENO" 5; } fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -24289,15 +23009,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 - { 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; } + { $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; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) @@ -24315,18 +23035,17 @@ main (void) return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO" -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +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;} as_fn_error $? "$error_message See \`config.log' for more details" "$LINENO" 5; } fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -24351,7 +23070,7 @@ esac if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then - printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + $as_echo "#define _GNU_SOURCE 1" >>confdefs.h GNU_SOURCE_FLAG="-D_GNU_SOURCE" @@ -24368,59 +23087,57 @@ fi case "${host}" in *-*-darwin* ) - { 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; } + { $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; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5 -printf %s "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; } +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; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define __CF_USE_FRAMEWORK_INCLUDES__ #include int -main (void) +main () { ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } +if ac_fn_c_try_compile "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS" -else $as_nop - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} +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 $? "no. CoreFoundation not available. See \`config.log' for more details" "$LINENO" 5; } fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; esac @@ -24431,18 +23148,17 @@ case "${host}" in if test "$wxUSE_MSW" = 1 ; then wants_win32=1 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5 -printf %s "checking if -mno-cygwin is in effect... " >&6; } -if test ${wx_cv_nocygwin+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { #ifdef __MINGW32__ @@ -24453,19 +23169,18 @@ main (void) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : wx_cv_nocygwin=no -else $as_nop +else wx_cv_nocygwin=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5 -printf "%s\n" "$wx_cv_nocygwin" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5 +$as_echo "$wx_cv_nocygwin" >&6; } if test "$wx_cv_nocygwin" = "yes"; then wants_win32=1 @@ -24490,13 +23205,13 @@ fi if test "$wants_win32" = 1 ; then USE_UNIX=0 USE_WIN32=1 - printf "%s\n" "#define __WIN32__ 1" >>confdefs.h + $as_echo "#define __WIN32__ 1" >>confdefs.h - printf "%s\n" "#define __WINDOWS__ 1" >>confdefs.h + $as_echo "#define __WINDOWS__ 1" >>confdefs.h - printf "%s\n" "#define __GNUWIN32__ 1" >>confdefs.h + $as_echo "#define __GNUWIN32__ 1" >>confdefs.h - printf "%s\n" "#define STRICT 1" >>confdefs.h + $as_echo "#define STRICT 1" >>confdefs.h fi if test "$doesnt_want_win32" = 1 ; then @@ -24506,7 +23221,7 @@ fi if test "$USE_UNIX" = 1 ; then wxUSE_UNIX=yes - printf "%s\n" "#define __UNIX__ 1" >>confdefs.h + $as_echo "#define __UNIX__ 1" >>confdefs.h fi @@ -24514,78 +23229,187 @@ 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 - { 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;} + { $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;} cache_file="/dev/null" fi 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + done - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi -ac_fn_c_check_header_compile "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default +for ac_header in langinfo.h wchar.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " -if test "x$ac_cv_header_langinfo_h" = xyes -then : - printf "%s\n" "#define HAVE_LANGINFO_H 1" >>confdefs.h +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF fi -ac_fn_c_check_header_compile "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default -" -if test "x$ac_cv_header_wchar_h" = xyes -then : - printf "%s\n" "#define HAVE_WCHAR_H 1" >>confdefs.h -fi +done if test "$ac_cv_header_wchar_h" != "yes"; then - ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default + for ac_header in wcstr.h +do : + 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 : - printf "%s\n" "#define HAVE_WCSTR_H 1" >>confdefs.h +if test "x$ac_cv_header_wcstr_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_WCSTR_H 1 +_ACEOF fi +done + fi if test "$USE_UNIX" = 1 ; then - ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default + 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 " -if test "x$ac_cv_header_sys_select_h" = xyes -then : - printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h +if test "x$ac_cv_header_sys_select_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SYS_SELECT_H 1 +_ACEOF fi +done + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -24593,14 +23417,19 @@ 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 - ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default + for ac_header in cxxabi.h +do : + 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 : - printf "%s\n" "#define HAVE_CXXABI_H 1" >>confdefs.h +if test "x$ac_cv_header_cxxabi_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_CXXABI_H 1 +_ACEOF fi +done + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -24610,17 +23439,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 -printf %s "checking for an ANSI C-conforming const... " >&6; } -if test ${ac_cv_c_const+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 /* end confdefs.h. */ int -main (void) +main () { #ifndef __cplusplus @@ -24633,7 +23461,7 @@ main (void) /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; - /* IBM XL C 1.02.0.0 rejects this. + /* AIX 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 */ @@ -24661,7 +23489,7 @@ main (void) iptr p = 0; ++p; } - { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying + { /* AIX 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; @@ -24677,50 +23505,47 @@ main (void) 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 $as_nop +else ac_cv_c_const=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 -printf "%s\n" "$ac_cv_c_const" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 +$as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then -printf "%s\n" "#define const /**/" >>confdefs.h +$as_echo "#define const /**/" >>confdefs.h fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 -printf %s "checking for inline... " >&6; } -if test ${ac_cv_c_inline+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 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 (void) {return 0; } -$ac_kw foo_t foo (void) {return 0; } +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {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.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 -printf "%s\n" "$ac_cv_c_inline" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +$as_echo "$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; @@ -24742,19 +23567,17 @@ esac # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 -printf %s "checking size of short... " >&6; } -if test ${ac_cv_sizeof_short+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default" -then : +{ $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 $as_nop +else 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (short) See \`config.log' for more details" "$LINENO" 5; } else @@ -24763,31 +23586,31 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 -printf "%s\n" "$ac_cv_sizeof_short" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 +$as_echo "$ac_cv_sizeof_short" >&6; } -printf "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define SIZEOF_SHORT $ac_cv_sizeof_short +_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]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 -printf %s "checking size of void *... " >&6; } -if test ${ac_cv_sizeof_void_p+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default" -then : +{ $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 $as_nop +else 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (void *) See \`config.log' for more details" "$LINENO" 5; } else @@ -24796,31 +23619,31 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5 -printf "%s\n" "$ac_cv_sizeof_void_p" >&6; } +{ $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" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p +_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]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 -printf %s "checking size of int... " >&6; } -if test ${ac_cv_sizeof_int+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default" -then : +{ $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 $as_nop +else 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (int) See \`config.log' for more details" "$LINENO" 5; } else @@ -24829,31 +23652,31 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 -printf "%s\n" "$ac_cv_sizeof_int" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 +$as_echo "$ac_cv_sizeof_int" >&6; } -printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define SIZEOF_INT $ac_cv_sizeof_int +_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]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 -printf %s "checking size of long... " >&6; } -if test ${ac_cv_sizeof_long+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default" -then : +{ $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 $as_nop +else 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long) See \`config.log' for more details" "$LINENO" 5; } else @@ -24862,31 +23685,31 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +$as_echo "$ac_cv_sizeof_long" >&6; } -printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG $ac_cv_sizeof_long +_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]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 -printf %s "checking size of size_t... " >&6; } -if test ${ac_cv_sizeof_size_t+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default" -then : +{ $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 $as_nop +else 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (size_t) See \`config.log' for more details" "$LINENO" 5; } else @@ -24895,12 +23718,14 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 -printf "%s\n" "$ac_cv_sizeof_size_t" >&6; } +{ $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" "#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t +_ACEOF @@ -24910,19 +23735,17 @@ case "${host}" in # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 -printf %s "checking size of long long... " >&6; } -if test ${ac_cv_sizeof_long_long+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" -then : +{ $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 $as_nop +else 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long long) See \`config.log' for more details" "$LINENO" 5; } else @@ -24931,12 +23754,14 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long_long" >&6; } +{ $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" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long +_ACEOF ;; @@ -24945,19 +23770,17 @@ printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 -printf %s "checking size of long long... " >&6; } -if test ${ac_cv_sizeof_long_long+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" -then : +{ $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 $as_nop +else 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long long) See \`config.log' for more details" "$LINENO" 5; } else @@ -24966,12 +23789,14 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long_long" >&6; } +{ $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" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long +_ACEOF if test "$ac_cv_sizeof_long_long" != 0; then @@ -24983,19 +23808,17 @@ printf "%s\n" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 -printf %s "checking size of long long... " >&6; } -if test ${ac_cv_sizeof_long_long+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default" -then : +{ $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 $as_nop +else 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (long long) See \`config.log' for more details" "$LINENO" 5; } else @@ -25004,12 +23827,14 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 -printf "%s\n" "$ac_cv_sizeof_long_long" >&6; } +{ $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" "#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long +_ACEOF esac @@ -25018,12 +23843,11 @@ esac # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 -printf %s "checking size of wchar_t... " >&6; } -if test ${ac_cv_sizeof_wchar_t+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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" " /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */ #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 ) @@ -25041,13 +23865,12 @@ else $as_nop #include -" -then : +"; then : -else $as_nop +else 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (wchar_t) See \`config.log' for more details" "$LINENO" 5; } else @@ -25056,24 +23879,25 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 -printf "%s\n" "$ac_cv_sizeof_wchar_t" >&6; } +{ $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" "#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t +_ACEOF if test "$ac_cv_sizeof_wchar_t" = 0; then as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5 fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 -printf %s "checking for va_copy... " >&6; } -if test ${wx_cv_func_va_copy+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -25101,14 +23925,13 @@ 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 $as_nop +else wx_cv_func_va_copy=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -25119,25 +23942,23 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5 -printf "%s\n" "$wx_cv_func_va_copy" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5 +$as_echo "$wx_cv_func_va_copy" >&6; } if test $wx_cv_func_va_copy = "yes"; then - printf "%s\n" "#define HAVE_VA_COPY 1" >>confdefs.h + $as_echo "#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 $as_nop + { $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 : + if test "$cross_compiling" = yes; then : wx_cv_type_va_list_lvalue=yes -else $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -25160,10 +23981,9 @@ else $as_nop } _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 $as_nop +else wx_cv_type_va_list_lvalue=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -25173,38 +23993,36 @@ fi fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5 +$as_echo "$wx_cv_type_va_list_lvalue" >&6; } if test $wx_cv_type_va_list_lvalue != "yes"; then - printf "%s\n" "#define VA_LIST_IS_ARRAY 1" >>confdefs.h + $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h fi fi LARGEFILE_CPPFLAGS= # Check whether --enable-largefile was given. -if test ${enable_largefile+y} -then : +if test "${enable_largefile+set}" = set; then : enableval=$enable_largefile; fi if test "$enable_largefile" != no; then wx_largefile=no - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 -printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } -if test ${ac_cv_sys_file_offset_bits+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include int -main (void) +main () { typedef struct { unsigned int field: sizeof(off_t) == 8; @@ -25214,40 +24032,40 @@ typedef struct { return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=64 -else $as_nop +else ac_cv_sys_file_offset_bits=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 +$as_echo "$ac_cv_sys_file_offset_bits" >&6; } if test "$ac_cv_sys_file_offset_bits" != no; then wx_largefile=yes - printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits +_ACEOF fi if test "x$wx_largefile" != "xyes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 -printf %s "checking for _LARGE_FILES value needed for large files... " >&6; } -if test ${ac_cv_sys_large_files+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGE_FILES 1 #include int -main (void) +main () { typedef struct { unsigned int field: sizeof(off_t) == 8; @@ -25257,35 +24075,36 @@ 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 $as_nop +else ac_cv_sys_large_files=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 -printf "%s\n" "$ac_cv_sys_large_files" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 +$as_echo "$ac_cv_sys_large_files" >&6; } if test "$ac_cv_sys_large_files" != no; then wx_largefile=yes - printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define _LARGE_FILES $ac_cv_sys_large_files +_ACEOF fi fi - { 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; } + { $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; } if test "x$wx_largefile" = "xyes"; then - printf "%s\n" "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h + $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5 -printf "%s\n" "$wx_largefile" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5 +$as_echo "$wx_largefile" >&6; } fi if test "$ac_cv_sys_file_offset_bits" = "64"; then @@ -25298,12 +24117,11 @@ if test -n "$LARGEFILE_CPPFLAGS"; then WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS" if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5 -printf %s "checking if -D__STDC_EXT__ is required... " >&6; } -if test ${wx_cv_STDC_EXT_required+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -25315,7 +24133,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ int -main (void) +main () { #ifndef __STDC_EXT__ @@ -25326,14 +24144,13 @@ main (void) 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 $as_nop +else wx_cv_STDC_EXT_required=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25343,8 +24160,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5 -printf "%s\n" "$wx_cv_STDC_EXT_required" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5 +$as_echo "$wx_cv_STDC_EXT_required" >&6; } if test "x$wx_cv_STDC_EXT_required" = "xyes"; then WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__" fi @@ -25359,19 +24176,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu old_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 -printf %s "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } -if test ${ac_cv_sys_largefile_source+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 /* end confdefs.h. */ #include /* for off_t */ #include int -main (void) +main () { int (*fp) (FILE *, off_t, int) = fseeko; return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); @@ -25379,11 +24195,10 @@ int (*fp) (FILE *, off_t, int) = fseeko; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO" -then : +if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_sys_largefile_source=no; break fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -25391,7 +24206,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ #include /* for off_t */ #include int -main (void) +main () { int (*fp) (FILE *, off_t, int) = fseeko; return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); @@ -25399,22 +24214,23 @@ int (*fp) (FILE *, off_t, int) = fseeko; return 0; } _ACEOF -if ac_fn_cxx_try_link "$LINENO" -then : +if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_sys_largefile_source=1; break fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_cv_sys_largefile_source=unknown break done fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5 -printf "%s\n" "$ac_cv_sys_largefile_source" >&6; } +{ $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) ;; *) -printf "%s\n" "#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source +_ACEOF ;; esac rm -rf conftest* @@ -25424,7 +24240,7 @@ rm -rf conftest* # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. if test $ac_cv_sys_largefile_source != unknown; then -printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h +$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h fi @@ -25439,12 +24255,11 @@ if test "$ac_cv_sys_largefile_source" != no; then WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source" fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 -printf %s "checking whether byte ordering is bigendian... " >&6; } -if test ${ac_cv_c_bigendian+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -25452,7 +24267,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #include #include int -main (void) +main () { #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN @@ -25462,15 +24277,14 @@ main (void) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int -main (void) +main () { #if BYTE_ORDER != BIG_ENDIAN @@ -25480,20 +24294,18 @@ main (void) 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 $as_nop +else ac_cv_c_bigendian=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then -if test "$cross_compiling" = yes -then : +if test "$cross_compiling" = yes; then : ac_cv_c_bigendian=unknown -else $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ main () { @@ -25507,10 +24319,9 @@ main () { exit (u.c[sizeof (long) - 1] == 1); } _ACEOF -if ac_fn_c_try_run "$LINENO" -then : +if ac_fn_c_try_run "$LINENO"; then : ac_cv_c_bigendian=no -else $as_nop +else ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -25519,14 +24330,14 @@ fi fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 -printf "%s\n" "$ac_cv_c_bigendian" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +$as_echo "$ac_cv_c_bigendian" >&6; } if test $ac_cv_c_bigendian = unknown; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5 -printf "%s\n" "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5 +$as_echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;} fi if test $ac_cv_c_bigendian = yes; then - printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h + $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h fi @@ -25540,18 +24351,17 @@ if test "x$SUNCC" = xyes; then fi if test "x$SGICC" = "xyes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5 -printf %s "checking if cc version is 7.4.4 or greater... " >&6; } -if test ${wx_cv_prog_sgicc744+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { #if _SGI_COMPILER_VERSION >= 744 @@ -25562,31 +24372,29 @@ main (void) 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 $as_nop +else wx_cv_prog_sgicc744=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5 -printf "%s\n" "$wx_cv_prog_sgicc744" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5 +$as_echo "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5 -printf %s "checking if CC version is 7.4.4 or greater... " >&6; } -if test ${wx_cv_prog_sgicxx744+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -25598,7 +24406,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ int -main (void) +main () { #if _SGI_COMPILER_VERSION >= 744 @@ -25609,14 +24417,13 @@ main (void) 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 $as_nop +else wx_cv_prog_sgicxx744=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -25626,8 +24433,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5 -printf "%s\n" "$wx_cv_prog_sgicxx744" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5 +$as_echo "$wx_cv_prog_sgicxx744" >&6; } if test "x$wx_cv_prog_sgicxx744" = "xyes"; then CXXFLAGS="-woff 3970 $CXXFLAGS" @@ -25648,18 +24455,17 @@ fi if test -n "$GCC"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __sync_xxx_and_fetch builtins" >&5 -printf %s "checking for __sync_xxx_and_fetch builtins... " >&6; } - if test ${wx_cv_cc_gcc_atomic_builtins+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { unsigned int value=0; @@ -25670,21 +24476,20 @@ main (void) 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 $as_nop +else wx_cv_cc_gcc_atomic_builtins=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi - { 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; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5 +$as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; } if test $wx_cv_cc_gcc_atomic_builtins = yes; then - printf "%s\n" "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h + $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h fi fi @@ -25730,15 +24535,14 @@ SEARCH_INCLUDE="\ \ /usr/openwin/share/include" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5 -printf %s "checking for libraries directories... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5 +$as_echo_n "checking for libraries directories... " >&6; } case "${host}" in *-*-irix6* ) - if test ${wx_cv_std_libpath+y} -then : - printf %s "(cached) " >&6 -else $as_nop + if ${wx_cv_std_libpath+:} false; then : + $as_echo_n "(cached) " >&6 +else for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do for e in a so sl dylib dll.a; do @@ -25752,11 +24556,10 @@ else $as_nop 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 conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$save_LIBS" if test "x$wx_cv_std_libpath" != "x"; then @@ -25814,8 +24617,8 @@ if test -z "$wx_cv_std_libfullpath"; then fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5 -printf "%s\n" "$wx_cv_std_libfullpath" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5 +$as_echo "$wx_cv_std_libfullpath" >&6; } SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath" @@ -25892,8 +24695,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_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;} ;; + *_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;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -25923,15 +24726,15 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -printf "%s\n" "$as_me: updating cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -25945,78 +24748,78 @@ printf "%s\n" "$as_me: updating cache $cache_file" >&6;} fi fi else - { 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;} + { $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;} 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 : - printf "%s\n" "#define HAVE_COS 1" >>confdefs.h +if test "x$ac_cv_func_cos" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_COS 1 +_ACEOF 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 : - printf "%s\n" "#define HAVE_FLOOR 1" >>confdefs.h +if test "x$ac_cv_func_floor" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_FLOOR 1 +_ACEOF have_floor=1 fi - 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; } + +{ $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; } if test "$have_cos" = 1 -a "$have_floor" = 1; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "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 : - printf "%s\n" "#define HAVE_SIN 1" >>confdefs.h +if test "x$ac_cv_func_sin" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SIN 1 +_ACEOF 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 : - printf "%s\n" "#define HAVE_CEIL 1" >>confdefs.h +if test "x$ac_cv_func_ceil" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_CEIL 1 +_ACEOF have_ceil=1 fi - 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; } + + { $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; } if test "$have_sin" = 1 -a "$have_ceil" = 1; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } LIBS="$save_LIBS" fi fi @@ -26027,12 +24830,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -26042,15 +24844,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -26062,11 +24860,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -26075,12 +24873,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -26090,15 +24887,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -26110,11 +24903,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -26122,8 +24915,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -26135,14 +24928,14 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { 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; } + { $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; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } PKG_CONFIG="" fi @@ -26159,8 +24952,8 @@ if test "$build" != "$host"; then ;; * ) - { 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;} + { $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;} @@ -26177,7 +24970,7 @@ fi if test "$wxUSE_REGEX" != "no"; then - printf "%s\n" "#define wxUSE_REGEX 1" >>confdefs.h + $as_echo "#define wxUSE_REGEX 1" >>confdefs.h if test "$wxUSE_UNICODE_UTF8" = "yes"; then @@ -26195,18 +24988,18 @@ if test "$wxUSE_REGEX" != "no"; then if test "$wxUSE_REGEX" != "builtin"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBPCRE" >&5 -printf %s "checking for LIBPCRE... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPCRE" >&5 +$as_echo_n "checking for LIBPCRE... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBPCRE_CFLAGS"; then pkg_cv_LIBPCRE_CFLAGS="$LIBPCRE_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre2-\$pcre_suffix\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBPCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre2-$pcre_suffix" 2>/dev/null` else @@ -26221,10 +25014,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBPCRE_LIBS="$LIBPCRE_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre2-\$pcre_suffix\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBPCRE_LIBS=`$PKG_CONFIG --libs "libpcre2-$pcre_suffix" 2>/dev/null` else @@ -26264,8 +25057,8 @@ elif test $pkg_failed = untried; then else LIBPCRE_CFLAGS=$pkg_cv_LIBPCRE_CFLAGS LIBPCRE_LIBS=$pkg_cv_LIBPCRE_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } PCRE_LINK=$LIBPCRE_LIBS CXXFLAGS="$LIBPCRE_CFLAGS $CXXFLAGS" @@ -26275,11 +25068,11 @@ fi fi if test "$wxUSE_REGEX" = "builtin"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pcre submodule exists" >&5 -printf %s "checking whether pcre submodule exists... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pcre submodule exists" >&5 +$as_echo_n "checking whether pcre submodule exists... " >&6; } if ! test -f "$srcdir/3rdparty/pcre/pcre2-config.in" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "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. @@ -26289,8 +25082,8 @@ printf "%s\n" "no" >&6; } to fix this." "$LINENO" 5 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } fi if test $pcre_suffix != 8; then @@ -26305,7 +25098,6 @@ printf "%s\n" "yes" >&6; } - # Various preliminary checks. @@ -26322,9 +25114,9 @@ printf "%s\n" "yes" >&6; } case "$ax_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf "%s\n" "$ax_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`$as_echo "$ax_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`$as_echo "$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/ ;; @@ -26384,7 +25176,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix --disable-option-checking) ;; *) case $ax_arg in - *\'*) ax_arg=$(printf "%s\n" "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; + *\'*) ax_arg=$($as_echo "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; esac as_fn_append ax_args " '$ax_arg'" ;; esac @@ -26411,8 +25203,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 - { 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;} + { $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;} fi @@ -26424,21 +25216,19 @@ fi ZLIB_LINK= if test "$wxUSE_ZLIB" != "no" ; then - printf "%s\n" "#define wxUSE_ZLIB 1" >>confdefs.h + $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5 -printf %s "checking for zlib.h >= 1.1.4... " >&6; } -if test ${ac_cv_header_zlib_h+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if test "$cross_compiling" = yes -then : + { $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 : unset ac_cv_header_zlib_h -else $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26459,10 +25249,9 @@ else $as_nop } _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 $as_nop +else ac_cv_header_zlib_h=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -26471,23 +25260,22 @@ fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5 -printf "%s\n" "$ac_cv_header_zlib_h" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5 +$as_echo "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 -printf %s "checking for deflate in -lz... " >&6; } -if test ${ac_cv_lib_z_deflate+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lz $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26496,29 +25284,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char deflate (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_z_deflate=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ZLIB_LINK=" -lz" fi @@ -26528,8 +25317,8 @@ fi if test "$wxUSE_ZLIB" = "sys" ; then as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5 -printf "%s\n" "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5 +$as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;} wxUSE_ZLIB=builtin fi else @@ -26538,11 +25327,11 @@ printf "%s\n" "$as_me: WARNING: zlib library not found or too old, will use buil fi if test "$wxUSE_ZLIB" = "builtin" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether zlib.h file exists" >&5 -printf %s "checking whether zlib.h file exists... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether zlib.h file exists" >&5 +$as_echo_n "checking whether zlib.h file exists... " >&6; } if ! test -f "$srcdir/src/zlib/zlib.h" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "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. @@ -26552,8 +25341,8 @@ printf "%s\n" "no" >&6; } to fix this." "$LINENO" 5 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } fi fi fi @@ -26561,27 +25350,25 @@ fi PNG_LINK= if test "$wxUSE_LIBPNG" != "no" ; then - printf "%s\n" "#define wxUSE_LIBPNG 1" >>confdefs.h + $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then - { 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;} + { $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;} wxUSE_LIBPNG=builtin fi if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5 -printf %s "checking for png.h > 0.90... " >&6; } -if test ${ac_cv_header_png_h+y} -then : - printf %s "(cached) " >&6 -else $as_nop - if test "$cross_compiling" = yes -then : + { $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 : unset ac_cv_header_png_h -else $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -26599,10 +25386,9 @@ else $as_nop } _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 $as_nop +else ac_cv_header_png_h=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -26611,23 +25397,22 @@ fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5 -printf "%s\n" "$ac_cv_header_png_h" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5 +$as_echo "$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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5 -printf %s "checking for png_sig_cmp in -lpng... " >&6; } -if test ${ac_cv_lib_png_png_sig_cmp+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lpng -lz -lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26636,29 +25421,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char png_sig_cmp (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_png_png_sig_cmp=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : PNG_LINK=" -lpng -lz" fi @@ -26668,8 +25454,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 - { 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;} + { $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;} wxUSE_LIBPNG=builtin fi else @@ -26678,11 +25464,11 @@ printf "%s\n" "$as_me: WARNING: system png library not found or too old, will us fi if test "$wxUSE_LIBPNG" = "builtin" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether png.c file exists" >&5 -printf %s "checking whether png.c file exists... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether png.c file exists" >&5 +$as_echo_n "checking whether png.c file exists... " >&6; } if ! test -f "$srcdir/src/png/png.c" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "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. @@ -26692,8 +25478,8 @@ printf "%s\n" "no" >&6; } to fix this." "$LINENO" 5 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } fi fi fi @@ -26701,16 +25487,15 @@ fi JPEG_LINK= if test "$wxUSE_LIBJPEG" != "no" ; then - printf "%s\n" "#define wxUSE_LIBJPEG 1" >>confdefs.h + $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5 -printf %s "checking for jpeglib.h... " >&6; } - if test ${ac_cv_header_jpeglib_h+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ @@ -26719,7 +25504,7 @@ else $as_nop #include int -main (void) +main () { @@ -26727,27 +25512,25 @@ main (void) 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 $as_nop +else ac_cv_header_jpeglib_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5 -printf "%s\n" "$ac_cv_header_jpeglib_h" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5 +$as_echo "$ac_cv_header_jpeglib_h" >&6; } if test "$ac_cv_header_jpeglib_h" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5 -printf %s "checking for jpeg_read_header in -ljpeg... " >&6; } -if test ${ac_cv_lib_jpeg_jpeg_read_header+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-ljpeg $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26756,29 +25539,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char jpeg_read_header (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_jpeg_jpeg_read_header=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : JPEG_LINK=" -ljpeg" fi @@ -26788,8 +25572,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 - { 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;} + { $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;} wxUSE_LIBJPEG=builtin fi else @@ -26798,34 +25582,33 @@ printf "%s\n" "$as_me: WARNING: system jpeg library not found, will use built-in 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 : -printf "%s\n" "#define HAVE_BOOLEAN 1" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define HAVE_BOOLEAN 1 +_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]];'. # This bug is HP SR number 8606223364. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5 -printf %s "checking size of boolean... " >&6; } -if test ${ac_cv_sizeof_boolean+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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" " #undef HAVE_BOOLEAN #include #include -" -then : +"; then : -else $as_nop +else 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_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (boolean) See \`config.log' for more details" "$LINENO" 5; } else @@ -26834,12 +25617,14 @@ See \`config.log' for more details" "$LINENO" 5; } fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5 -printf "%s\n" "$ac_cv_sizeof_boolean" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5 +$as_echo "$ac_cv_sizeof_boolean" >&6; } -printf "%s\n" "#define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean +_ACEOF cat >>confdefs.h <<_ACEOF @@ -26854,11 +25639,11 @@ fi fi if test "$wxUSE_LIBJPEG" = "builtin" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether jpeglib.h file exists" >&5 -printf %s "checking whether jpeglib.h file exists... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether jpeglib.h file exists" >&5 +$as_echo_n "checking whether jpeglib.h file exists... " >&6; } if ! test -f "$srcdir/src/jpeg/jpeglib.h" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "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. @@ -26868,28 +25653,27 @@ printf "%s\n" "no" >&6; } to fix this." "$LINENO" 5 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } fi fi fi if test "$wxUSE_LIBLZMA" != "no"; 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 : + 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 : fi + if test "$ac_cv_header_lzma_h" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5 -printf %s "checking for lzma_code in -llzma... " >&6; } -if test ${ac_cv_lib_lzma_lzma_code+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-llzma $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26898,33 +25682,34 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char lzma_code (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_lzma_lzma_code=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : LZMA_LINK="-llzma" LIBS="$LZMA_LINK $LIBS" - printf "%s\n" "#define wxUSE_LIBLZMA 1" >>confdefs.h + $as_echo "#define wxUSE_LIBLZMA 1" >>confdefs.h wxUSE_LIBLZMA=sys @@ -26940,12 +25725,11 @@ fi JBIG_LINK= if test "$wxUSE_LIBJBIG" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5 -printf %s "checking for jbg_dec_init in -ljbig... " >&6; } -if test ${ac_cv_lib_jbig_jbg_dec_init+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-ljbig $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -26954,29 +25738,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char jbg_dec_init (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_jbig_jbg_dec_init=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : JBIG_LINK=" -ljbig" fi @@ -26985,24 +25770,24 @@ fi TIFF_LINK= if test "$wxUSE_LIBTIFF" != "no" ; then - printf "%s\n" "#define wxUSE_LIBTIFF 1" >>confdefs.h + $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBTIFF" >&5 -printf %s "checking for LIBTIFF... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTIFF" >&5 +$as_echo_n "checking for LIBTIFF... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBTIFF_CFLAGS"; then pkg_cv_LIBTIFF_CFLAGS="$LIBTIFF_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBTIFF_CFLAGS=`$PKG_CONFIG --cflags "libtiff-4" 2>/dev/null` else @@ -27017,10 +25802,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBTIFF_LIBS="$LIBTIFF_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBTIFF_LIBS=`$PKG_CONFIG --libs "libtiff-4" 2>/dev/null` else @@ -27049,8 +25834,8 @@ fi echo "$LIBTIFF_PKG_ERRORS" >&5 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found via pkg-config" >&5 -printf "%s\n" "not found via pkg-config" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found via pkg-config" >&5 +$as_echo "not found via pkg-config" >&6; } TIFF_PREREQ_LINKS=-lm @@ -27069,15 +25854,13 @@ printf "%s\n" "not found via pkg-config" >&6; } ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" " " -if test "x$ac_cv_header_tiffio_h" = xyes -then : +if test "x$ac_cv_header_tiffio_h" = xyes; then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5 -printf %s "checking for TIFFError in -ltiff... " >&6; } -if test ${ac_cv_lib_tiff_TIFFError+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -27086,29 +25869,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char TIFFError (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_tiff_TIFFError=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : TIFF_LINK=" -ltiff" fi @@ -27116,10 +25900,11 @@ fi fi + elif test $pkg_failed = untried; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found via pkg-config" >&5 -printf "%s\n" "not found via pkg-config" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found via pkg-config" >&5 +$as_echo "not found via pkg-config" >&6; } TIFF_PREREQ_LINKS=-lm @@ -27138,15 +25923,13 @@ printf "%s\n" "not found via pkg-config" >&6; } ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" " " -if test "x$ac_cv_header_tiffio_h" = xyes -then : +if test "x$ac_cv_header_tiffio_h" = xyes; then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5 -printf %s "checking for TIFFError in -ltiff... " >&6; } -if test ${ac_cv_lib_tiff_TIFFError+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -27155,29 +25938,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char TIFFError (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_tiff_TIFFError=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : TIFF_LINK=" -ltiff" fi @@ -27185,11 +25969,12 @@ fi fi + else LIBTIFF_CFLAGS=$pkg_cv_LIBTIFF_CFLAGS LIBTIFF_LIBS=$pkg_cv_LIBTIFF_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } TIFF_LINK=$LIBTIFF_LIBS CFLAGS="$LIBTIFF_CFLAGS $CFLAGS" @@ -27200,8 +25985,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 - { 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;} + { $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;} wxUSE_LIBTIFF=builtin fi else @@ -27209,11 +25994,11 @@ printf "%s\n" "$as_me: WARNING: system tiff library not found, will use built-in fi fi if test "$wxUSE_LIBTIFF" = "builtin" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether tiff.h file exists" >&5 -printf %s "checking whether tiff.h file exists... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tiff.h file exists" >&5 +$as_echo_n "checking whether tiff.h file exists... " >&6; } if ! test -f "$srcdir/src/tiff/libtiff/tiff.h" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "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. @@ -27223,8 +26008,8 @@ printf "%s\n" "no" >&6; } to fix this." "$LINENO" 5 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } fi if test "$wxUSE_LIBLZMA" = "no"; then @@ -27256,9 +26041,9 @@ printf "%s\n" "yes" >&6; } case "$ax_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf "%s\n" "$ax_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`$as_echo "$ax_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`$as_echo "$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/ ;; @@ -27318,7 +26103,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix --disable-option-checking) ;; *) case $ax_arg in - *\'*) ax_arg=$(printf "%s\n" "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; + *\'*) ax_arg=$($as_echo "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; esac as_fn_append ax_args " '$ax_arg'" ;; esac @@ -27349,8 +26134,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 - { 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;} + { $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;} fi @@ -27364,18 +26149,17 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5 -printf %s "checking if expat.h is valid C++ header... " >&6; } -if test ${wx_cv_expat_is_not_broken+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -27387,21 +26171,20 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main (void) +main () { ; 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 $as_nop +else wx_cv_expat_is_not_broken=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -27411,15 +26194,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5 +$as_echo "$wx_cv_expat_is_not_broken" >&6; } if test "$wx_cv_expat_is_not_broken" = "yes" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5 -printf %s "checking for XML_ParserCreate in -lexpat... " >&6; } -if test ${ac_cv_lib_expat_XML_ParserCreate+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lexpat $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -27428,29 +26210,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char XML_ParserCreate (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_expat_XML_ParserCreate=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : EXPAT_LINK=" -lexpat" fi @@ -27460,8 +26243,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 - { 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;} + { $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;} wxUSE_EXPAT=builtin fi else @@ -27469,11 +26252,11 @@ printf "%s\n" "$as_me: WARNING: system expat library not found, will use built-i fi fi if test "$wxUSE_EXPAT" = "builtin" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether expat.h file exists" >&5 -printf %s "checking whether expat.h file exists... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether expat.h file exists" >&5 +$as_echo_n "checking whether expat.h file exists... " >&6; } if ! test -f "$srcdir/src/expat/expat/lib/expat.h" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "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. @@ -27483,11 +26266,187 @@ printf "%s\n" "no" >&6; } to fix this." "$LINENO" 5 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } fi save_CC="$CC" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 +$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } +if ${ac_cv_prog_cc_c99+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c99=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +#include + +// Check varargs macros. These examples are taken from C99 6.10.3.5. +#define debug(...) fprintf (stderr, __VA_ARGS__) +#define showlist(...) puts (#__VA_ARGS__) +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) +static void +test_varargs_macros (void) +{ + int x = 1234; + int y = 5678; + debug ("Flag"); + debug ("X = %d\n", x); + showlist (The first, second, and third items.); + report (x>y, "x is %d but y is %d", x, y); +} + +// Check long long types. +#define BIG64 18446744073709551615ull +#define BIG32 4294967295ul +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) +#if !BIG_OK + your preprocessor is broken; +#endif +#if BIG_OK +#else + your preprocessor is broken; +#endif +static long long int bignum = -9223372036854775807LL; +static unsigned long long int ubignum = BIG64; + +struct incomplete_array +{ + int datasize; + double data[]; +}; + +struct named_init { + int number; + const wchar_t *name; + double average; +}; + +typedef const char *ccp; + +static inline int +test_restrict (ccp restrict text) +{ + // See if C++-style comments work. + // Iterate through items via the restricted pointer. + // Also check for declarations in for loops. + for (unsigned int i = 0; *(text+i) != '\0'; ++i) + continue; + return 0; +} + +// Check varargs and va_copy. +static void +test_varargs (const char *format, ...) +{ + va_list args; + va_start (args, format); + va_list args_copy; + va_copy (args_copy, args); + + const char *str; + int number; + float fnumber; + + while (*format) + { + switch (*format++) + { + case 's': // string + str = va_arg (args_copy, const char *); + break; + case 'd': // int + number = va_arg (args_copy, int); + break; + case 'f': // float + fnumber = va_arg (args_copy, double); + break; + default: + break; + } + } + va_end (args_copy); + va_end (args); +} + +int +main () +{ + + // Check bool. + _Bool success = false; + + // Check restrict. + if (test_restrict ("String literal") == 0) + success = true; + char *restrict newvar = "Another string"; + + // Check varargs. + test_varargs ("s, d' f .", "string", 65, 34.234); + test_varargs_macros (); + + // Check flexible array members. + struct incomplete_array *ia = + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); + ia->datasize = 10; + for (int i = 0; i < ia->datasize; ++i) + ia->data[i] = i * 1.234; + + // Check named initializers. + struct named_init ni = { + .number = 34, + .name = L"Test wide string", + .average = 543.34343, + }; + + ni.number = 58; + + int dynamic_array[ni.number]; + dynamic_array[ni.number - 1] = 543; + + // work around unused variable warnings + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' + || dynamic_array[ni.number - 1] != 543); + + ; + return 0; +} +_ACEOF +for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c99=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c99" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c99" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c99" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 +$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c99" != xno; then : + +fi + CC="$save_CC" @@ -27499,7 +26458,7 @@ printf "%s\n" "yes" >&6; } fi wxUSE_XML=yes - printf "%s\n" "#define wxUSE_XML 1" >>confdefs.h + $as_echo "#define wxUSE_XML 1" >>confdefs.h else wxUSE_XML=no @@ -27507,13 +26466,13 @@ fi if test "$wxUSE_NANOSVG" = "yes"; then - printf "%s\n" "#define wxUSE_NANOSVG 1" >>confdefs.h + $as_echo "#define wxUSE_NANOSVG 1" >>confdefs.h fi if test "$wxUSE_XML" != "yes"; then - { 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;} + { $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;} USE_XML=0 else USE_XML=1 @@ -27524,18 +26483,17 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5 -printf %s "checking for mspack_create_chm_decompressor in -lmspack... " >&6; } -if test ${ac_cv_lib_mspack_mspack_create_chm_decompressor+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lmspack $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -27544,29 +26502,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char mspack_create_chm_decompressor (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_mspack_mspack_create_chm_decompressor=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : MSPACK_LINK=" -lmspack" fi @@ -27577,7 +26536,7 @@ fi fi if test "$wxUSE_LIBMSPACK" != "no"; then - printf "%s\n" "#define wxUSE_LIBMSPACK 1" >>confdefs.h + $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h fi @@ -27592,18 +26551,18 @@ if test "$wxUSE_WEBREQUEST" = "yes"; then if test "$wxUSE_LIBCURL" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5 -printf %s "checking for LIBCURL... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5 +$as_echo_n "checking for LIBCURL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBCURL_CFLAGS"; then pkg_cv_LIBCURL_CFLAGS="$LIBCURL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBCURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null` else @@ -27618,10 +26577,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBCURL_LIBS="$LIBCURL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBCURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null` else @@ -27651,22 +26610,22 @@ fi wxUSE_LIBCURL=no - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -printf "%s\n" "not found" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } elif test $pkg_failed = untried; then wxUSE_LIBCURL=no - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -printf "%s\n" "not found" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } else LIBCURL_CFLAGS=$pkg_cv_LIBCURL_CFLAGS LIBCURL_LIBS=$pkg_cv_LIBCURL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } wxUSE_LIBCURL=yes CXXFLAGS="$LIBCURL_CFLAGS $CXXFLAGS" @@ -27684,16 +26643,16 @@ WIDGET_SET= if test "$USE_WIN32" = 1 ; then ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" " " -if test "x$ac_cv_header_windows_h" = xyes -then : +if test "x$ac_cv_header_windows_h" = xyes; then : -else $as_nop +else as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5 fi + LIBS="$LIBS -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lws2_32 -lgdi32" case "${host}" in x86_64-*-mingw* ) @@ -27706,14 +26665,14 @@ fi if test "$wxUSE_WINHTTP" = "yes" ; then ac_fn_c_check_header_compile "$LINENO" "winhttp.h" "ac_cv_header_winhttp_h" "#include " -if test "x$ac_cv_header_winhttp_h" = xyes -then : +if test "x$ac_cv_header_winhttp_h" = xyes; then : -else $as_nop +else wxUSE_WINHTTP=no fi + if test "$wxUSE_WINHTTP" = "yes" ; then LIBS="$LIBS -lwinhttp" fi @@ -27746,18 +26705,17 @@ if test "$wxUSE_GUI" = "yes"; then fi if test "$wxUSE_GTK" = 1; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5 -printf %s "checking for GTK+ version... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5 +$as_echo_n "checking for GTK+ version... " >&6; } gtk_version_cached=1 - if test ${wx_cv_lib_gtk+y} -then : - printf %s "(cached) " >&6 -else $as_nop + if ${wx_cv_lib_gtk+:} false; then : + $as_echo_n "(cached) " >&6 +else gtk_version_cached=0 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: " >&5 -printf "%s\n" "" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 +$as_echo "" >&6; } GTK_MODULES= if test "$wxUSE_THREADS" = "yes"; then @@ -27780,10 +26738,9 @@ printf "%s\n" "" >&6; } if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then # Check whether --enable-gtktest was given. -if test ${enable_gtktest+y} -then : +if test "${enable_gtktest+set}" = set; then : enableval=$enable_gtktest; -else $as_nop +else enable_gtktest=yes fi @@ -27807,12 +26764,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -27822,15 +26778,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -27842,11 +26794,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -27855,12 +26807,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -27870,15 +26821,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -27890,11 +26837,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -27902,8 +26849,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -27915,14 +26862,14 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.16 - { 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; } + { $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; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } PKG_CONFIG="" fi @@ -27932,8 +26879,8 @@ fi no_gtk=yes fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 -printf %s "checking for GTK+ - version >= $min_gtk_version... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 +$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } if test -n "$PKG_CONFIG"; then ## don't try to run the test against uninstalled libtool libs @@ -27964,10 +26911,9 @@ printf %s "checking for GTK+ - version >= $min_gtk_version... " >&6; } CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$GTK_LIBS $LIBS" rm -f conf.gtktest - if test "$cross_compiling" = yes -then : + if test "$cross_compiling" = yes; then : echo $ac_n "cross compiling; assumed OK... $ac_c" -else $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28040,10 +26986,9 @@ main () } _ACEOF -if ac_fn_c_try_run "$LINENO" -then : +if ac_fn_c_try_run "$LINENO"; then : -else $as_nop +else no_gtk=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -28055,12 +27000,12 @@ fi fi fi if test "x$no_gtk" = x ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 -printf "%s\n" "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 +$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } wx_cv_lib_gtk=3 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } if test -z "$PKG_CONFIG"; then echo "*** A new enough version of pkg-config was not found." echo "*** See http://pkgconfig.sourceforge.net" @@ -28080,15 +27025,14 @@ printf "%s\n" "no" >&6; } #include int -main (void) +main () { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : +if ac_fn_c_try_link "$LINENO"; then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK+ or finding the wrong" echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" @@ -28098,11 +27042,11 @@ 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 $as_nop +else echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed." fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" @@ -28120,10 +27064,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ if test -z "$wx_cv_lib_gtk"; then if test "$wxGTK_VERSION" = 2 -o "$wxGTK_VERSION" = any; then # Check whether --enable-gtktest was given. -if test ${enable_gtktest+y} -then : +if test "${enable_gtktest+set}" = set; then : enableval=$enable_gtktest; -else $as_nop +else enable_gtktest=yes fi @@ -28147,12 +27090,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -28162,15 +27104,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -28182,11 +27120,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -28195,12 +27133,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -28210,15 +27147,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -28230,11 +27163,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -28242,8 +27175,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -28255,22 +27188,22 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.7 - { 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; } + { $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; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } PKG_CONFIG="" fi fi min_gtk_version=2.6.0 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 -printf %s "checking for GTK+ - version >= $min_gtk_version... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 +$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } if test x$PKG_CONFIG != xno ; then ## don't try to run the test against uninstalled libtool libs @@ -28301,10 +27234,9 @@ printf %s "checking for GTK+ - version >= $min_gtk_version... " >&6; } CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$GTK_LIBS $LIBS" rm -f conf.gtktest - if test "$cross_compiling" = yes -then : + if test "$cross_compiling" = yes; then : echo $ac_n "cross compiling; assumed OK... $ac_c" -else $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28382,10 +27314,9 @@ main () } _ACEOF -if ac_fn_c_try_run "$LINENO" -then : +if ac_fn_c_try_run "$LINENO"; then : -else $as_nop +else no_gtk=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -28397,12 +27328,12 @@ fi fi fi if test "x$no_gtk" = x ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 -printf "%s\n" "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 +$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } wx_cv_lib_gtk=2.0 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } if test "$PKG_CONFIG" = "no" ; then echo "*** A new enough version of pkg-config was not found." echo "*** See http://pkgconfig.sourceforge.net" @@ -28422,15 +27353,14 @@ printf "%s\n" "no" >&6; } #include int -main (void) +main () { return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : +if ac_fn_c_try_link "$LINENO"; then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK+ or finding the wrong" echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" @@ -28440,11 +27370,11 @@ 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 $as_nop +else echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means GTK+ is incorrectly installed." fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" @@ -28464,10 +27394,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ if test "$wxGTK_VERSION" = 4 -o "$wxGTK_VERSION" = any; then # Check whether --enable-gtktest was given. -if test ${enable_gtktest+y} -then : +if test "${enable_gtktest+set}" = set; then : enableval=$enable_gtktest; -else $as_nop +else enable_gtktest=yes fi @@ -28487,12 +27416,11 @@ fi # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; 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_path_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -28502,15 +27430,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -28523,11 +27447,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -28544,8 +27468,8 @@ fi no_gtk=yes fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 -printf %s "checking for GTK+ - version >= $min_gtk_version... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 +$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } if test x$PKG_CONFIG != xno ; then ## don't try to run the test against uninstalled libtool libs @@ -28576,10 +27500,9 @@ printf %s "checking for GTK+ - version >= $min_gtk_version... " >&6; } CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$GTK_LIBS $LIBS" rm -f conf.gtktest - if test "$cross_compiling" = yes -then : + if test "$cross_compiling" = yes; then : echo $ac_n "cross compiling; assumed OK... $ac_c" -else $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28652,10 +27575,9 @@ main () } _ACEOF -if ac_fn_c_try_run "$LINENO" -then : +if ac_fn_c_try_run "$LINENO"; then : -else $as_nop +else no_gtk=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -28667,12 +27589,12 @@ fi fi fi if test "x$no_gtk" = x ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 -printf "%s\n" "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 +$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } wx_cv_lib_gtk=4 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } if test "$PKG_CONFIG" = "no" ; then echo "*** A new enough version of pkg-config was not found." echo "*** See http://pkgconfig.sourceforge.net" @@ -28692,15 +27614,14 @@ printf "%s\n" "no" >&6; } #include int -main (void) +main () { return ((gtk_get_major_version()) || (gtk_get_minor_version()) || (gtk_get_micro_version())); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : +if ac_fn_c_try_link "$LINENO"; then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding GTK+ or finding the wrong" echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" @@ -28710,11 +27631,11 @@ 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 $as_nop +else echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed." fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" @@ -28747,8 +27668,8 @@ fi if test "$gtk_version_cached" = 1; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5 -printf "%s\n" "$wx_cv_lib_gtk" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5 +$as_echo "$wx_cv_lib_gtk" >&6; } fi case "$wx_cv_lib_gtk" in @@ -28770,11 +27691,11 @@ installed, where VER is 2, 3 or 4. esac if test "$WXGTK3" = 1; then - printf "%s\n" "#define __WXGTK220__ 1" >>confdefs.h + $as_echo "#define __WXGTK220__ 1" >>confdefs.h - printf "%s\n" "#define __WXGTK218__ 1" >>confdefs.h + $as_echo "#define __WXGTK218__ 1" >>confdefs.h - printf "%s\n" "#define __WXGTK210__ 1" >>confdefs.h + $as_echo "#define __WXGTK210__ 1" >>confdefs.h else save_CFLAGS="$CFLAGS" @@ -28783,12 +27704,11 @@ installed, where VER is 2, 3 or 4. LIBS="$LIBS $wx_cv_libs_gtk" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.20" >&5 -printf %s "checking if GTK+ is version >= 2.20... " >&6; } -if test ${wx_cv_gtk220+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28796,7 +27716,7 @@ else $as_nop #include int -main (void) +main () { #if !GTK_CHECK_VERSION(2,20,0) @@ -28807,30 +27727,28 @@ main (void) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : wx_cv_gtk220=yes -else $as_nop +else wx_cv_gtk220=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk220" >&5 -printf "%s\n" "$wx_cv_gtk220" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk220" >&5 +$as_echo "$wx_cv_gtk220" >&6; } if test "$wx_cv_gtk220" = "yes"; then - printf "%s\n" "#define __WXGTK220__ 1" >>confdefs.h + $as_echo "#define __WXGTK220__ 1" >>confdefs.h wx_cv_gtk218=yes else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5 -printf %s "checking if GTK+ is version >= 2.18... " >&6; } -if test ${wx_cv_gtk218+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28838,7 +27756,7 @@ else $as_nop #include int -main (void) +main () { #if !GTK_CHECK_VERSION(2,18,0) @@ -28849,31 +27767,29 @@ main (void) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : wx_cv_gtk218=yes -else $as_nop +else wx_cv_gtk218=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk218" >&5 -printf "%s\n" "$wx_cv_gtk218" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk218" >&5 +$as_echo "$wx_cv_gtk218" >&6; } fi if test "$wx_cv_gtk218" = "yes"; then - printf "%s\n" "#define __WXGTK218__ 1" >>confdefs.h + $as_echo "#define __WXGTK218__ 1" >>confdefs.h wx_cv_gtk210=yes else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5 -printf %s "checking if GTK+ is version >= 2.10... " >&6; } -if test ${wx_cv_gtk210+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -28881,7 +27797,7 @@ else $as_nop #include int -main (void) +main () { #if !GTK_CHECK_VERSION(2,10,0) @@ -28892,22 +27808,21 @@ main (void) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : wx_cv_gtk210=yes -else $as_nop +else wx_cv_gtk210=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk210" >&5 -printf "%s\n" "$wx_cv_gtk210" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gtk210" >&5 +$as_echo "$wx_cv_gtk210" >&6; } fi if test "$wx_cv_gtk210" = "yes"; then - printf "%s\n" "#define __WXGTK210__ 1" >>confdefs.h + $as_echo "#define __WXGTK210__ 1" >>confdefs.h fi @@ -28920,12 +27835,11 @@ printf "%s\n" "$wx_cv_gtk210" >&6; } TOOLKIT=GTK GUIDIST=GTK_DIST - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GDK Wayland backend" >&5 -printf %s "checking for GDK Wayland backend... " >&6; } -if test ${wx_cv_gdk_wayland+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS $TOOLKIT_INCLUDE" @@ -28935,7 +27849,7 @@ else $as_nop #include int -main (void) +main () { #ifndef GDK_WINDOWING_WAYLAND @@ -28946,36 +27860,35 @@ main (void) 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 $as_nop +else wx_cv_gdk_wayland=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS=$save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gdk_wayland" >&5 -printf "%s\n" "$wx_cv_gdk_wayland" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gdk_wayland" >&5 +$as_echo "$wx_cv_gdk_wayland" >&6; } fi if test "$wxUSE_DFB" = 1; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5 -printf %s "checking for DIRECTFB... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5 +$as_echo_n "checking for DIRECTFB... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$DIRECTFB_CFLAGS"; then pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null` else @@ -28990,10 +27903,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null` else @@ -29033,8 +27946,8 @@ elif test $pkg_failed = untried; then else DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } wxUSE_UNIVERSAL="yes" TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS" @@ -29046,13 +27959,12 @@ fi fi if test "$wxUSE_X11" = 1; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5 -printf %s "checking for X... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 +$as_echo_n "checking for X... " >&6; } # Check whether --with-x was given. -if test ${with_x+y} -then : +if test "${with_x+set}" = set; then : withval=$with_x; fi @@ -29063,41 +27975,12 @@ if test "x$with_x" = xno; then else case $x_includes,$x_libraries in #( *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( - *,NONE | NONE,*) if test ${ac_cv_have_x+y} -then : - printf %s "(cached) " >&6 -else $as_nop + *,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 -# 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 +ac_x_includes=no ac_x_libraries=no +rm -f -r conftest.dir if mkdir conftest.dir; then cd conftest.dir cat >Imakefile <<'_ACEOF' @@ -29136,7 +28019,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 @@ -29163,8 +28046,6 @@ 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 @@ -29186,11 +28067,10 @@ 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 $as_nop +else for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir @@ -29211,21 +28091,20 @@ if test "$ac_x_libraries" = no; then /* end confdefs.h. */ #include int -main (void) +main () { 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 $as_nop +else LIBS=$ac_save_LIBS -for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` +for ac_dir in `$as_echo "$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 @@ -29236,21 +28115,19 @@ do done done fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi # $ac_x_libraries = no -fi -# Record the results. case $ac_x_includes,$ac_x_libraries in #( - no,* | *,no | *\'*) : + no,* | *,no | *\'*) # Didn't find X, or a directory has "'" in its name. - ac_cv_have_x="have_x=no" ;; #( - *) : + ac_cv_have_x="have_x=no";; #( + *) # Record where we found X for the cache. ac_cv_have_x="have_x=yes\ ac_x_includes='$ac_x_includes'\ - ac_x_libraries='$ac_x_libraries'" ;; + ac_x_libraries='$ac_x_libraries'" esac fi ;; #( @@ -29260,8 +28137,8 @@ fi fi # $with_x != no if test "$have_x" != yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 -printf "%s\n" "$have_x" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 +$as_echo "$have_x" >&6; } no_x=yes else # If each of the values was on the command line, it overrides each guess. @@ -29271,14 +28148,14 @@ else ac_cv_have_x="have_x=yes\ ac_x_includes='$x_includes'\ ac_x_libraries='$x_libraries'" - { 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; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 +$as_echo "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. -printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h +$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= else @@ -29291,8 +28168,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 . . . . - { 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; } + { $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; } ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" ac_xsave_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes @@ -29300,44 +28177,42 @@ printf %s "checking whether -R must be followed by a space... " >&6; } /* end confdefs.h. */ int -main (void) +main () { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } +if ac_fn_c_try_link "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } X_LIBS="$X_LIBS -R$x_libraries" -else $as_nop +else LIBS="$ac_xsave_LIBS -R $x_libraries" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } +if ac_fn_c_try_link "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } X_LIBS="$X_LIBS -R $x_libraries" -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 -printf "%s\n" "neither works" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 +$as_echo "neither works" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_c_werror_flag=$ac_xsave_c_werror_flag LIBS=$ac_xsave_LIBS @@ -29360,25 +28235,26 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char XOpenDisplay (); int -main (void) +main () { return XOpenDisplay (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : +if ac_fn_c_try_link "$LINENO"; then : -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 -printf %s "checking for dnet_ntoa in -ldnet... " >&6; } -if test ${ac_cv_lib_dnet_dnet_ntoa+y} -then : - printf %s "(cached) " >&6 -else $as_nop +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 LIBS="-ldnet $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29387,39 +28263,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char dnet_ntoa (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_dnet_dnet_ntoa=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" fi if test $ac_cv_lib_dnet_dnet_ntoa = no; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 -printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; } -if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-ldnet_stub $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29428,35 +28304,36 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char dnet_ntoa (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_dnet_stub_dnet_ntoa=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" fi fi fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$ac_xsave_LIBS" @@ -29469,18 +28346,16 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ # 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 -printf %s "checking for gethostbyname in -lnsl... " >&6; } -if test ${ac_cv_lib_nsl_gethostbyname+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lnsl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29489,39 +28364,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char gethostbyname (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_nsl_gethostbyname=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" fi if test $ac_cv_lib_nsl_gethostbyname = no; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 -printf %s "checking for gethostbyname in -lbsd... " >&6; } -if test ${ac_cv_lib_bsd_gethostbyname+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lbsd $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29530,29 +28405,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char gethostbyname (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_bsd_gethostbyname=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" fi @@ -29567,18 +28443,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 -printf %s "checking for connect in -lsocket... " >&6; } -if test ${ac_cv_lib_socket_connect+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29587,29 +28461,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char connect (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_socket_connect=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" fi @@ -29617,18 +28492,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 -printf %s "checking for remove in -lposix... " >&6; } -if test ${ac_cv_lib_posix_remove+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lposix $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29637,29 +28510,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char remove (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_posix_remove=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" fi @@ -29667,18 +28541,16 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 -printf %s "checking for shmat in -lipc... " >&6; } -if test ${ac_cv_lib_ipc_shmat+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lipc $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29687,29 +28559,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char shmat (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_ipc_shmat=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" fi @@ -29725,12 +28598,11 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 -printf %s "checking for IceConnectionNumber in -lICE... " >&6; } -if test ${ac_cv_lib_ICE_IceConnectionNumber+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -29739,29 +28611,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char IceConnectionNumber (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_ICE_IceConnectionNumber=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" fi @@ -29779,34 +28652,34 @@ fi COMPILED_X_PROGRAM=0 if test "$wxUSE_NANOX" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5 -printf %s "checking for MicroWindows/NanoX distribution... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5 +$as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; } if test "x$MICROWIN" = x ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -printf "%s\n" "not found" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5 else - { 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 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5 +$as_echo "$MICROWIN" >&6; } + $as_echo "#define wxUSE_NANOX 1" >>confdefs.h fi fi pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5 -printf %s "checking for PANGOXFT... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5 +$as_echo_n "checking for PANGOXFT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PANGOXFT_CFLAGS"; then pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null` else @@ -29821,10 +28694,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null` else @@ -29864,10 +28737,10 @@ elif test $pkg_failed = untried; then else PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } - printf "%s\n" "#define HAVE_PANGO_XFT 1" >>confdefs.h + $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h CFLAGS="$PANGOXFT_CFLAGS $CFLAGS" CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS" @@ -29876,18 +28749,18 @@ printf "%s\n" "yes" >&6; } fi pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5 -printf %s "checking for PANGOFT2... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5 +$as_echo_n "checking for PANGOFT2... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PANGOFT2_CFLAGS"; then pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null` else @@ -29902,10 +28775,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null` else @@ -29934,23 +28807,23 @@ fi echo "$PANGOFT2_PKG_ERRORS" >&5 - { 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;} + { $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;} wxUSE_PRINTING_ARCHITECTURE="no" elif test $pkg_failed = untried; then - { 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;} + { $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;} wxUSE_PRINTING_ARCHITECTURE="no" else PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } CFLAGS="$PANGOFT2_CFLAGS $CFLAGS" CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS" @@ -29958,12 +28831,16 @@ printf "%s\n" "yes" >&6; } fi - 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 + 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 fi +done wxUSE_UNIVERSAL="yes" @@ -29980,8 +28857,8 @@ fi GUIDIST=X11_DIST if test "$wxUSE_LIBXPM" = "sys"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5 -printf %s "checking for Xpm library... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5 +$as_echo_n "checking for Xpm library... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -30009,15 +28886,14 @@ printf %s "checking for Xpm library... " >&6; } fi GUI_TK_LIBRARY="$GUI_TK_LIBRARY $ac_path_to_link" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5 -printf "%s\n" "found in $ac_find_libraries" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5 +$as_echo "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 $as_nop + { $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 save_CFLAGS=$CFLAGS CFLAGS="$TOOLKIT_INCLUDE $CFLAGS" @@ -30028,7 +28904,7 @@ else $as_nop #include int -main (void) +main () { int version; @@ -30038,40 +28914,38 @@ main (void) 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 $as_nop +else wx_cv_x11_xpm_h=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS=$save_CFLAGS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5 -printf "%s\n" "$wx_cv_x11_xpm_h" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5 +$as_echo "$wx_cv_x11_xpm_h" >&6; } if test $wx_cv_x11_xpm_h = "yes"; then GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm" - printf "%s\n" "#define wxHAVE_LIB_XPM 1" >>confdefs.h + $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h else - { 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;} + { $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;} fi fi fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 -printf %s "checking for XShapeQueryExtension in -lXext... " >&6; } -if test ${ac_cv_lib_Xext_XShapeQueryExtension+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30080,29 +28954,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char XShapeQueryExtension (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_Xext_XShapeQueryExtension=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext" wxHAVE_XEXT_LIB=1 @@ -30114,8 +28989,8 @@ fi save_CFLAGS="$CFLAGS" CFLAGS="$TOOLKIT_INCLUDE $CFLAGS" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5 -printf %s "checking for X11/extensions/shape.h... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5 +$as_echo_n "checking for X11/extensions/shape.h... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30123,7 +28998,7 @@ printf %s "checking for X11/extensions/shape.h... " >&6; } #include int -main (void) +main () { int dummy1, dummy2; @@ -30134,21 +29009,20 @@ main (void) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : - printf "%s\n" "#define HAVE_XSHAPE 1" >>confdefs.h + $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5 -printf "%s\n" "found" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } -else $as_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -printf "%s\n" "not found" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$save_CFLAGS" fi @@ -30183,18 +29057,18 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext else pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QT5" >&5 -printf %s "checking for QT5... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT5" >&5 +$as_echo_n "checking for QT5... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$QT5_CFLAGS"; then pkg_cv_QT5_CFLAGS="$QT5_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_QT5_CFLAGS=`$PKG_CONFIG --cflags "Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test" 2>/dev/null` else @@ -30209,10 +29083,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_QT5_LIBS="$QT5_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_QT5_LIBS=`$PKG_CONFIG --libs "Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test" 2>/dev/null` else @@ -30252,8 +29126,8 @@ elif test $pkg_failed = untried; then else QT5_CFLAGS=$pkg_cv_QT5_CFLAGS QT5_LIBS=$pkg_cv_QT5_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } TOOLKIT_INCLUDE="${TOOLKIT_INCLUDE} ${QT5_CFLAGS}" GUI_TK_LIBRARY="${GUI_TK_LIBRARY} ${QT5_LIBS}" @@ -30290,26 +29164,36 @@ fi if test "$wxUSE_GUI" = "yes"; then if test "$wxUSE_UNIX" = "yes"; then - ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" " + for ac_header in X11/Xlib.h +do : + 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 : - printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h +if test "x$ac_cv_header_X11_Xlib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_X11_XLIB_H 1 +_ACEOF fi - ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" " +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" " #if HAVE_X11_XLIB_H #include #endif " -if test "x$ac_cv_header_X11_XKBlib_h" = xyes -then : - printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h +if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_X11_XKBLIB_H 1 +_ACEOF fi +done + fi fi @@ -30328,12 +29212,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -30343,15 +29226,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -30363,11 +29242,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -30376,12 +29255,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -30391,15 +29269,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -30411,11 +29285,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -30423,8 +29297,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -30436,32 +29310,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { 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; } + { $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; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5 -printf %s "checking for Xinerama... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5 +$as_echo_n "checking for Xinerama... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$Xinerama_CFLAGS"; then pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -30476,10 +29350,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_Xinerama_LIBS="$Xinerama_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -30510,12 +29384,11 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xXineramaQueryScreens" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5 -printf %s "checking for XineramaQueryScreens in -lXinerama... " >&6; } -if test ${ac_cv_lib_Xinerama_XineramaQueryScreens+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lXinerama $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30524,29 +29397,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char XineramaQueryScreens (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_Xinerama_XineramaQueryScreens=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ac_find_libraries="std" fi @@ -30554,8 +29428,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -30569,11 +29443,11 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi @@ -30581,12 +29455,11 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xXineramaQueryScreens" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5 -printf %s "checking for XineramaQueryScreens in -lXinerama... " >&6; } -if test ${ac_cv_lib_Xinerama_XineramaQueryScreens+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lXinerama $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30595,29 +29468,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char XineramaQueryScreens (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_Xinerama_XineramaQueryScreens=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ac_find_libraries="std" fi @@ -30625,8 +29499,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -30640,19 +29514,19 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi else Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS Xinerama_LIBS=$pkg_cv_Xinerama_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } ac_find_libraries="std" @@ -30690,8 +29564,8 @@ fi USE_XINERAMA=1 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama" else - { 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;} + { $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;} wxUSE_DISPLAY="no" fi fi @@ -30709,12 +29583,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -30724,15 +29597,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -30744,11 +29613,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -30757,12 +29626,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -30772,15 +29640,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -30792,11 +29656,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -30804,8 +29668,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -30817,32 +29681,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { 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; } + { $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; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5 -printf %s "checking for Xxf86vm... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5 +$as_echo_n "checking for Xxf86vm... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$Xxf86vm_CFLAGS"; then pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -30857,10 +29721,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -30891,12 +29755,11 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xXF86VidModeQueryExtension" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5 -printf %s "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; } -if test ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lXxf86vm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30905,29 +29768,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char XF86VidModeQueryExtension (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ac_find_libraries="std" fi @@ -30935,8 +29799,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -30950,11 +29814,11 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi @@ -30962,12 +29826,11 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xXF86VidModeQueryExtension" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5 -printf %s "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; } -if test ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lXxf86vm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -30976,29 +29839,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char XF86VidModeQueryExtension (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ac_find_libraries="std" fi @@ -31006,8 +29870,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -31021,19 +29885,19 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi else Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } ac_find_libraries="std" @@ -31050,7 +29914,7 @@ printf "%s\n" "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 @@ -31058,15 +29922,17 @@ do : #endif " -if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes -then : - printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h +if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1 +_ACEOF GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm" fi done + fi fi fi @@ -31083,12 +29949,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -31098,15 +29963,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -31118,11 +29979,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -31131,12 +29992,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -31146,15 +30006,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -31166,11 +30022,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -31178,8 +30034,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -31191,32 +30047,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { 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; } + { $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; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SM" >&5 -printf %s "checking for SM... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5 +$as_echo_n "checking for SM... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$SM_CFLAGS"; then pkg_cv_SM_CFLAGS="$SM_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -31231,10 +30087,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_SM_LIBS="$SM_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -31265,12 +30121,11 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xSmcOpenConnection" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 -printf %s "checking for SmcOpenConnection in -lSM... " >&6; } -if test ${ac_cv_lib_SM_SmcOpenConnection+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lSM $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31279,29 +30134,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char SmcOpenConnection (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_SM_SmcOpenConnection=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ac_find_libraries="std" fi @@ -31309,8 +30165,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -31324,11 +30180,11 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi @@ -31336,12 +30192,11 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xSmcOpenConnection" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5 -printf %s "checking for SmcOpenConnection in -lSM... " >&6; } -if test ${ac_cv_lib_SM_SmcOpenConnection+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lSM $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31350,29 +30205,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char SmcOpenConnection (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_SM_SmcOpenConnection=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ac_find_libraries="std" fi @@ -31380,8 +30236,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in $SEARCH_LIB @@ -31395,19 +30251,19 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi else SM_CFLAGS=$pkg_cv_SM_CFLAGS SM_LIBS=$pkg_cv_SM_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } ac_find_libraries="std" @@ -31444,8 +30300,8 @@ fi fi GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM" else - { 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;} + { $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;} wxUSE_DETECT_SM="no" fi else @@ -31465,8 +30321,8 @@ if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then OPENGL_LIBS="-lopengl32 -lglu32" elif test "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_QT" = 1; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5 -printf %s "checking for OpenGL headers... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5 +$as_echo_n "checking for OpenGL headers... " >&6; } ac_find_includes= for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include @@ -31478,8 +30334,8 @@ for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include done if test "$ac_find_includes" != "" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5 -printf "%s\n" "found in $ac_find_includes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5 +$as_echo "found in $ac_find_includes" >&6; } if test "x$ac_find_includes" = "x/usr/include"; then ac_path_to_include="" @@ -31495,19 +30351,17 @@ printf "%s\n" "found in $ac_find_includes" >&6; } CPPFLAGS="$CPPFLAGS $ac_path_to_include" else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 -printf "%s\n" "not found" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } fi ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" " " -if test "x$ac_cv_header_GL_gl_h" = xyes -then : +if test "x$ac_cv_header_GL_gl_h" = xyes; then : ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" " " -if test "x$ac_cv_header_GL_glu_h" = xyes -then : +if test "x$ac_cv_header_GL_glu_h" = xyes; then : found_gl=0 @@ -31521,12 +30375,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -31536,15 +30389,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -31556,11 +30405,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -31569,12 +30418,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -31584,15 +30432,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -31604,11 +30448,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -31616,8 +30460,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -31629,32 +30473,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { 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; } + { $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; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GL" >&5 -printf %s "checking for GL... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5 +$as_echo_n "checking for GL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GL_CFLAGS"; then pkg_cv_GL_CFLAGS="$GL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -31669,10 +30513,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GL_LIBS="$GL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -31703,12 +30547,11 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xglBegin" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5 -printf %s "checking for glBegin in -lGL... " >&6; } -if test ${ac_cv_lib_GL_glBegin+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31717,29 +30560,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char glBegin (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_GL_glBegin=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ac_find_libraries="std" fi @@ -31747,8 +30591,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -31762,11 +30606,11 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi @@ -31774,12 +30618,11 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xglBegin" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5 -printf %s "checking for glBegin in -lGL... " >&6; } -if test ${ac_cv_lib_GL_glBegin+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -31788,29 +30631,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char glBegin (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_GL_glBegin=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ac_find_libraries="std" fi @@ -31818,8 +30662,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -31833,19 +30677,19 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi else GL_CFLAGS=$pkg_cv_GL_CFLAGS GL_LIBS=$pkg_cv_GL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } ac_find_libraries="std" @@ -31891,12 +30735,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -31906,15 +30749,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -31926,11 +30765,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -31939,12 +30778,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -31954,15 +30792,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -31974,11 +30808,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -31986,8 +30820,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -31999,32 +30833,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { 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; } + { $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; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5 -printf %s "checking for GLU... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5 +$as_echo_n "checking for GLU... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GLU_CFLAGS"; then pkg_cv_GLU_CFLAGS="$GLU_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -32039,10 +30873,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GLU_LIBS="$GLU_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -32073,12 +30907,11 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xgluBeginCurve" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5 -printf %s "checking for gluBeginCurve in -lGLU... " >&6; } -if test ${ac_cv_lib_GLU_gluBeginCurve+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5 +$as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; } +if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then : + $as_echo_n "(cached) " >&6 +else ac_check_lib_save_LIBS=$LIBS LIBS="-lGLU $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32087,29 +30920,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char gluBeginCurve (); int -main (void) +main () { return gluBeginCurve (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_GLU_gluBeginCurve=yes -else $as_nop +else ac_cv_lib_GLU_gluBeginCurve=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5 -printf "%s\n" "$ac_cv_lib_GLU_gluBeginCurve" >&6; } -if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes -then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5 +$as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; } +if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then : ac_find_libraries="std" fi @@ -32117,8 +30951,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -32132,11 +30966,11 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi @@ -32144,12 +30978,11 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xgluBeginCurve" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5 -printf %s "checking for gluBeginCurve in -lGLU... " >&6; } -if test ${ac_cv_lib_GLU_gluBeginCurve+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5 +$as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; } +if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then : + $as_echo_n "(cached) " >&6 +else ac_check_lib_save_LIBS=$LIBS LIBS="-lGLU $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32158,29 +30991,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char gluBeginCurve (); int -main (void) +main () { return gluBeginCurve (); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_GLU_gluBeginCurve=yes -else $as_nop +else ac_cv_lib_GLU_gluBeginCurve=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5 -printf "%s\n" "$ac_cv_lib_GLU_gluBeginCurve" >&6; } -if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes -then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5 +$as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; } +if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then : ac_find_libraries="std" fi @@ -32188,8 +31022,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -32203,19 +31037,19 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi else GLU_CFLAGS=$pkg_cv_GLU_CFLAGS GLU_LIBS=$pkg_cv_GLU_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } ac_find_libraries="std" @@ -32259,18 +31093,18 @@ fi if test "$wxUSE_GLCANVAS_EGL" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EGL" >&5 -printf %s "checking for EGL... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGL" >&5 +$as_echo_n "checking for EGL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$EGL_CFLAGS"; then pkg_cv_EGL_CFLAGS="$EGL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 1.5\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl >= 1.5" 2>/dev/null` else @@ -32285,10 +31119,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_EGL_LIBS="$EGL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 1.5\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 1.5" 2>/dev/null` else @@ -32317,39 +31151,39 @@ fi echo "$EGL_PKG_ERRORS" >&5 - { 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;} + { $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;} elif test $pkg_failed = untried; then - { 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;} + { $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;} else EGL_CFLAGS=$pkg_cv_EGL_CFLAGS EGL_LIBS=$pkg_cv_EGL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } OPENGL_LIBS="$OPENGL_LIBS $EGL_LIBS" - printf "%s\n" "#define wxUSE_GLCANVAS_EGL 1" >>confdefs.h + $as_echo "#define wxUSE_GLCANVAS_EGL 1" >>confdefs.h pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5 -printf %s "checking for WAYLAND_EGL... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5 +$as_echo_n "checking for WAYLAND_EGL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$WAYLAND_EGL_CFLAGS"; then pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "wayland-egl" 2>/dev/null` else @@ -32364,10 +31198,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "wayland-egl" 2>/dev/null` else @@ -32403,8 +31237,8 @@ elif test $pkg_failed = untried; then else WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } if test $wx_cv_gdk_wayland = "yes"; then OPENGL_LIBS="$OPENGL_LIBS $WAYLAND_EGL_LIBS" @@ -32415,8 +31249,8 @@ fi fi if test "$have_wayland" != 1; then - { 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;} + { $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;} fi fi fi @@ -32434,12 +31268,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. @@ -32449,15 +31282,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -32469,11 +31298,11 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 -printf "%s\n" "$PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -32482,12 +31311,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. @@ -32497,15 +31325,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -32517,11 +31341,11 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 -printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then @@ -32529,8 +31353,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG @@ -32542,32 +31366,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { 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; } + { $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; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } PKG_CONFIG="" fi fi 6> /dev/null pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5 -printf %s "checking for MesaGL... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5 +$as_echo_n "checking for MesaGL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$MesaGL_CFLAGS"; then pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null` else @@ -32582,10 +31406,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_MesaGL_LIBS="$MesaGL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null` else @@ -32616,12 +31440,11 @@ fi if test "x$ac_find_libraries" = "x"; then if test "xglEnable" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5 -printf %s "checking for glEnable in -lMesaGL... " >&6; } -if test ${ac_cv_lib_MesaGL_glEnable+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lMesaGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32630,29 +31453,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char glEnable (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_MesaGL_glEnable=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ac_find_libraries="std" fi @@ -32660,8 +31484,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -32675,11 +31499,11 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi @@ -32687,12 +31511,11 @@ elif test $pkg_failed = untried; then if test "x$ac_find_libraries" = "x"; then if test "xglEnable" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5 -printf %s "checking for glEnable in -lMesaGL... " >&6; } -if test ${ac_cv_lib_MesaGL_glEnable+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lMesaGL $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -32701,29 +31524,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char glEnable (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_MesaGL_glEnable=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : ac_find_libraries="std" fi @@ -32731,8 +31555,8 @@ fi fi if test "x$ac_find_libraries" = "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 -printf %s "checking elsewhere... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5 +$as_echo_n "checking elsewhere... " >&6; } ac_find_libraries= for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB @@ -32746,19 +31570,19 @@ printf %s "checking elsewhere... " >&6; } done if test "x$ac_find_libraries" != "x"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi else MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS MesaGL_LIBS=$pkg_cv_MesaGL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } ac_find_libraries="std" @@ -32800,22 +31624,24 @@ fi fi + fi + if test "x$OPENGL_LIBS" = "x"; then if test "$wxUSE_OPENGL" = "yes"; then as_fn_error $? "OpenGL libraries not available" "$LINENO" 5 else - { 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;} + { $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;} wxUSE_OPENGL=no USE_OPENGL=0 fi fi else - { 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;} + { $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;} wxUSE_OPENGL="no" fi @@ -32825,9 +31651,9 @@ printf "%s\n" "$as_me: WARNING: wxGLCanvas not implemented for this port, librar if test "$wxUSE_OPENGL" = "yes"; then USE_OPENGL=1 - printf "%s\n" "#define wxUSE_OPENGL 1" >>confdefs.h + $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h - printf "%s\n" "#define wxUSE_GLCANVAS 1" >>confdefs.h + $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl/cube opengl/penguin opengl/isosurf opengl/pyramid" SAMPLES_SUBTREES="$SAMPLES_SUBTREES opengl" @@ -32850,12 +31676,11 @@ if test "$wxUSE_SHARED" = "yes"; then ;; *) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5 -printf %s "checking if the linker accepts --version-script... " >&6; } -if test ${wx_cv_version_script+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 echo "VER_1 { *; };" >conftest.sym echo "int main() { return 0; }" >conftest.cpp @@ -32866,7 +31691,7 @@ else $as_nop { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } ; then if test -s conftest.stderr ; then wx_cv_version_script=no @@ -32889,7 +31714,7 @@ else $as_nop { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$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 @@ -32897,7 +31722,7 @@ else $as_nop { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then if { ac_try=' @@ -32906,7 +31731,7 @@ else $as_nop { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then wx_cv_version_script=yes @@ -32920,8 +31745,8 @@ else $as_nop rm -f conftest1.output conftest2.output conftest3.output fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5 -printf "%s\n" "$wx_cv_version_script" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5 +$as_echo "$wx_cv_version_script" >&6; } if test $wx_cv_version_script = yes ; then LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script" @@ -32936,12 +31761,11 @@ printf "%s\n" "$wx_cv_version_script" >&6; } if test -n "$GCC"; then CFLAGS_VISIBILITY="-fvisibility=hidden" CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5 -printf %s "checking for symbols visibility support... " >&6; } - if test ${wx_cv_cc_visibility+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 wx_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY" @@ -32992,20 +31816,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu }; int -main (void) +main () { ; 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 $as_nop +else wx_cv_cc_visibility=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -33015,15 +31838,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu CXXFLAGS="$wx_save_CXXFLAGS" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5 -printf "%s\n" "$wx_cv_cc_visibility" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5 +$as_echo "$wx_cv_cc_visibility" >&6; } if test $wx_cv_cc_visibility = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5 -printf %s "checking for broken libstdc++ visibility... " >&6; } - if test ${wx_cv_cc_broken_libstdcxx_visibility+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 wx_save_CXXFLAGS="$CXXFLAGS" wx_save_LDFLAGS="$LDFLAGS" @@ -33041,7 +31863,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main (void) +main () { std::string s("hello"); @@ -33051,13 +31873,12 @@ main (void) 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 $as_nop +else wx_cv_cc_broken_libstdcxx_visibility=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -33069,16 +31890,15 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu LDFLAGS="$wx_save_LDFLAGS" fi - { 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; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5 +$as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; } if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5 -printf %s "checking whether we can work around it... " >&6; } - if test ${wx_cv_cc_visibility_workaround+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -33094,7 +31914,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #pragma GCC visibility pop int -main (void) +main () { std::string s("hello"); @@ -33104,13 +31924,12 @@ main (void) 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 $as_nop +else wx_cv_cc_visibility_workaround=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -33121,8 +31940,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5 -printf "%s\n" "$wx_cv_cc_visibility_workaround" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5 +$as_echo "$wx_cv_cc_visibility_workaround" >&6; } if test $wx_cv_cc_visibility_workaround = no; then wx_cv_cc_visibility=no @@ -33131,10 +31950,10 @@ printf "%s\n" "$wx_cv_cc_visibility_workaround" >&6; } fi if test $wx_cv_cc_visibility = yes; then - printf "%s\n" "#define HAVE_VISIBILITY 1" >>confdefs.h + $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then - printf "%s\n" "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h + $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h fi else @@ -33163,64 +31982,62 @@ printf "%s\n" "$wx_cv_cc_visibility_workaround" >&6; } saveLdflags="$LDFLAGS" LDFLAGS="$saveLdflags -Wl,-rpath,/" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5 -printf %s "checking if the linker accepts -rpath... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5 +$as_echo_n "checking if the linker accepts -rpath... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : +if ac_fn_c_try_link "$LINENO"; then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib" WXCONFIG_RPATH="-Wl,-rpath,\$libdir" -else $as_nop +else - { 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; } + { $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; } LDFLAGS="$saveLdflags -Wl,-R,/" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : +if ac_fn_c_try_link "$LINENO"; then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib" WXCONFIG_RPATH="-Wl,-R,\$libdir" -else $as_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$saveLdflags" ;; @@ -33304,10 +32121,11 @@ 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 : -printf "%s\n" "#define HAVE_SSIZE_T 1" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define HAVE_SSIZE_T 1 +_ACEOF fi @@ -33318,18 +32136,17 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5 -printf %s "checking if size_t is unsigned int... " >&6; } -if test ${wx_cv_size_t_is_uint+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { return 0; } @@ -33342,35 +32159,33 @@ main (void) 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 $as_nop +else wx_cv_size_t_is_uint=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5 +$as_echo "$wx_cv_size_t_is_uint" >&6; } if test "$wx_cv_size_t_is_uint" = "yes"; then - printf "%s\n" "#define wxSIZE_T_IS_UINT 1" >>confdefs.h + $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5 -printf %s "checking if size_t is unsigned long... " >&6; } -if test ${wx_cv_size_t_is_ulong+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ #include int -main (void) +main () { return 0; } @@ -33383,36 +32198,34 @@ main (void) 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 $as_nop +else wx_cv_size_t_is_ulong=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5 +$as_echo "$wx_cv_size_t_is_ulong" >&6; } if test "$wx_cv_size_t_is_ulong" = "yes"; then - printf "%s\n" "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h + $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5 -printf %s "checking if wchar_t is separate type... " >&6; } -if test ${wx_cv_wchar_t_is_separate_type+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 /* end confdefs.h. */ #include int -main (void) +main () { return 0; } @@ -33428,24 +32241,23 @@ main (void) 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 $as_nop +else wx_cv_wchar_t_is_separate_type=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then - printf "%s\n" "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h + $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h else - printf "%s\n" "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h + $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h fi @@ -33456,18 +32268,17 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5 -printf %s "checking for pw_gecos in struct passwd... " >&6; } -if test ${wx_cv_struct_pw_gecos+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { char *p; @@ -33478,52 +32289,50 @@ main (void) 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 $as_nop +else wx_cv_struct_pw_gecos=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5 -printf "%s\n" "$wx_cv_struct_pw_gecos" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5 +$as_echo "$wx_cv_struct_pw_gecos" >&6; } if test "$wx_cv_struct_pw_gecos" = "yes"; then - printf "%s\n" "#define HAVE_PW_GECOS 1" >>confdefs.h + $as_echo "#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 : - printf "%s\n" "#define HAVE_WCSLEN 1" >>confdefs.h +if test "x$ac_cv_func_wcslen" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_WCSLEN 1 +_ACEOF WCSLEN_FOUND=1 fi - done + if test "$WCSLEN_FOUND" = 0; then if test "$TOOLKIT" = "MSW"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5 -printf %s "checking for wcslen in -lmsvcrt... " >&6; } -if test ${ac_cv_lib_msvcrt_wcslen+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lmsvcrt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -33532,39 +32341,39 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char wcslen (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_msvcrt_wcslen=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : WCHAR_OK=1 fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5 -printf %s "checking for wcslen in -lw... " >&6; } -if test ${ac_cv_lib_w_wcslen+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lw $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -33573,29 +32382,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char wcslen (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_w_wcslen=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : WCHAR_LINK=" -lw" WCSLEN_FOUND=1 @@ -33606,49 +32416,34 @@ fi fi if test "$WCSLEN_FOUND" = 1; then - printf "%s\n" "#define HAVE_WCSLEN 1" >>confdefs.h + $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h fi -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 +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 fi +done if test "$wxUSE_MAC" != 1; then - 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 + 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 fi +done fi @@ -33658,17 +32453,22 @@ 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 : -printf "%s\n" "#define HAVE_MBSTATE_T 1" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define HAVE_MBSTATE_T 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 +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 fi +done fi @@ -33676,12 +32476,11 @@ fi for wx_func in snprintf vsnprintf vsscanf do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33691,7 +32490,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -33704,24 +32503,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -33739,12 +32537,11 @@ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5 -printf %s "checking if vsnprintf declaration is broken... " >&6; } -if test ${wx_cv_func_broken_vsnprintf_decl+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33753,7 +32550,7 @@ else $as_nop #include int -main (void) +main () { char *buf; @@ -33765,22 +32562,21 @@ main (void) 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 $as_nop +else wx_cv_func_broken_vsnprintf_decl=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5 +$as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; } if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then - printf "%s\n" "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h + $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h fi fi @@ -33788,24 +32584,22 @@ fi if test "$wx_cv_func_snprintf" = "yes"; then if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5 -printf %s "checking if snprintf supports positional arguments... " >&6; } -if test ${wx_cv_func_snprintf_pos_params+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 : + if test "$cross_compiling" = yes; then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available, + { $as_echo "$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 -printf "%s\n" "$as_me: WARNING: Assuming Unix98 printf() is not available, +$as_echo "$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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33821,10 +32615,9 @@ else $as_nop } _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 $as_nop +else wx_cv_func_snprintf_pos_params=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -33834,23 +32627,22 @@ fi fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5 +$as_echo "$wx_cv_func_snprintf_pos_params" >&6; } if test "$wx_cv_func_snprintf_pos_params" = "yes"; then - printf "%s\n" "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h + $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h fi fi fi if test "$wx_cv_func_vsscanf" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if vsscanf() declaration is broken" >&5 -printf %s "checking if vsscanf() declaration is broken... " >&6; } -if test ${wx_cv_func_broken_vsscanf_decl+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33859,7 +32651,7 @@ else $as_nop #include int -main (void) +main () { const char *buf; @@ -33870,22 +32662,21 @@ main (void) 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 $as_nop +else wx_cv_func_broken_vsscanf_decl=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsscanf_decl" >&5 +$as_echo "$wx_cv_func_broken_vsscanf_decl" >&6; } if test "$wx_cv_func_broken_vsscanf_decl" = "yes"; then - printf "%s\n" "#define HAVE_BROKEN_VSSCANF_DECL 1" >>confdefs.h + $as_echo "#define HAVE_BROKEN_VSSCANF_DECL 1" >>confdefs.h fi fi @@ -33900,14 +32691,19 @@ wchar_headers="#include #include " case "${host}" in *-*-solaris2* ) - ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default + for ac_header in widec.h +do : + 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 : - printf "%s\n" "#define HAVE_WIDEC_H 1" >>confdefs.h +if test "x$ac_cv_header_widec_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_WIDEC_H 1 +_ACEOF fi +done + if test "$ac_cv_header_widec_h" = "yes"; then wchar_headers="$wchar_headers #include " @@ -33917,12 +32713,11 @@ esac for wx_func in putws fputws wprintf vswprintf vswscanf do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -33932,7 +32727,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -33945,24 +32740,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -33973,41 +32767,39 @@ _ACEOF done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5 -printf %s "checking for _vsnwprintf... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5 +$as_echo_n "checking for _vsnwprintf... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { &_vsnwprintf; ; return 0; } _ACEOF -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 +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 -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext; +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext; if test "$wxUSE_FILE" = "yes"; then for wx_func in fsync do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34017,7 +32809,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -34030,24 +32822,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -34072,8 +32863,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # Check whether --with-libiconv-prefix was given. -if test ${with_libiconv_prefix+y} -then : +if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; for dir in `echo "$withval" | tr : ' '`; do if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi @@ -34083,12 +32873,11 @@ then : fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -printf %s "checking for iconv... " >&6; } -if test ${am_cv_func_iconv+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no @@ -34097,7 +32886,7 @@ else $as_nop #include #include int -main (void) +main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -34106,11 +32895,10 @@ 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 conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" @@ -34120,7 +32908,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ #include #include int -main (void) +main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); @@ -34129,29 +32917,27 @@ 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 conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -printf "%s\n" "$am_cv_func_iconv" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then -printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h +$as_echo "#define HAVE_ICONV 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5 -printf %s "checking if iconv needs const... " >&6; } -if test ${wx_cv_func_iconv_const+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ @@ -34168,25 +32954,24 @@ size_t iconv(); #endif int -main (void) +main () { ; 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 $as_nop +else wx_cv_func_iconv_const="yes" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5 -printf "%s\n" "$wx_cv_func_iconv_const" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5 +$as_echo "$wx_cv_func_iconv_const" >&6; } iconv_const= if test "x$wx_cv_func_iconv_const" = "xyes"; then @@ -34194,7 +32979,9 @@ printf "%s\n" "$wx_cv_func_iconv_const" >&6; } fi -printf "%s\n" "#define ICONV_CONST $iconv_const" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define ICONV_CONST $iconv_const +_ACEOF fi LIBICONV= @@ -34213,84 +33000,31 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then - 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 + 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 fi +done if test "$ac_cv_func_sigaction" = "no"; then - { 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;} + { $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;} wxUSE_ON_FATAL_EXCEPTION=no fi - - if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5 -printf %s "checking for sa_handler type... " >&6; } -if test ${wx_cv_type_sa_handler+y} -then : - printf %s "(cached) " >&6 -else $as_nop - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -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 - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main (void) -{ - - extern void testSigHandler(int); - - struct sigaction sa; - sa.sa_handler = testSigHandler; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO" -then : - - wx_cv_type_sa_handler=int - -else $as_nop - - wx_cv_type_sa_handler=void - -fi -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 - - -fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5 -printf "%s\n" "$wx_cv_type_sa_handler" >&6; } - - printf "%s\n" "#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler" >>confdefs.h - - fi fi if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for backtrace()" >&5 -printf %s "checking for backtrace()... " >&6; } -if test ${wx_cv_func_backtrace+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -34302,7 +33036,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main (void) +main () { void *trace[1]; @@ -34314,14 +33048,13 @@ main (void) 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 $as_nop +else wx_cv_func_backtrace=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34331,15 +33064,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ 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}: result: $wx_cv_func_backtrace" >&5 +$as_echo "$wx_cv_func_backtrace" >&6; } - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5 -printf %s "checking for library containing backtrace... " >&6; } -if test ${ac_cv_search_backtrace+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34347,67 +33079,64 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char backtrace (); int -main (void) +main () { 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 conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext - if test ${ac_cv_search_backtrace+y} -then : + if ${ac_cv_search_backtrace+:} false; then : break fi done -if test ${ac_cv_search_backtrace+y} -then : +if ${ac_cv_search_backtrace+:} false; then : -else $as_nop +else ac_cv_search_backtrace=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5 -printf "%s\n" "$ac_cv_search_backtrace" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5 +$as_echo "$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 $as_nop +else wx_cv_func_backtrace=no fi if test "$wx_cv_func_backtrace" = "no"; then - { 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;} + { $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;} wxUSE_STACKWALKER=no else if test "$ac_cv_header_cxxabi_h" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in " >&5 -printf %s "checking for __cxa_demangle() in ... " >&6; } -if test ${wx_cv_func_cxa_demangle+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -34419,7 +33148,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main (void) +main () { int rc; @@ -34429,14 +33158,13 @@ main (void) 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 $as_nop +else wx_cv_func_cxa_demangle=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -34447,47 +33175,44 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5 -printf "%s\n" "$wx_cv_func_cxa_demangle" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5 +$as_echo "$wx_cv_func_cxa_demangle" >&6; } else wx_cv_func_cxa_demangle=no fi if test "$wx_cv_func_cxa_demangle" = "yes"; then - printf "%s\n" "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h + $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h fi fi fi if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then - { 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;} + { $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;} wxUSE_STACKWALKER=no fi - - for ac_func in mkstemp mktemp +for ac_func in mkstemp mktemp do : - as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` + 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 : +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF break fi - done -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5 -printf %s "checking for statvfs... " >&6; } -if test ${wx_cv_func_statvfs+y} -then : - printf %s "(cached) " >&6 -else $as_nop + +{ $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 /* end confdefs.h. */ @@ -34495,7 +33220,7 @@ else $as_nop #include int -main (void) +main () { statvfs("/", NULL); @@ -34504,26 +33229,24 @@ main (void) 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 $as_nop +else wx_cv_func_statvfs=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5 -printf "%s\n" "$wx_cv_func_statvfs" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5 +$as_echo "$wx_cv_func_statvfs" >&6; } if test "$wx_cv_func_statvfs" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5 -printf %s "checking for statvfs argument type... " >&6; } -if test ${wx_cv_type_statvfs_t+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34536,7 +33259,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main (void) +main () { long l; @@ -34550,10 +33273,9 @@ main (void) 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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34561,7 +33283,7 @@ else $as_nop #include int -main (void) +main () { long l; @@ -34575,18 +33297,17 @@ main (void) 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 $as_nop +else wx_cv_type_statvfs_t="unknown" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34595,11 +33316,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5 -printf "%s\n" "$wx_cv_type_statvfs_t" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5 +$as_echo "$wx_cv_type_statvfs_t" >&6; } if test "$wx_cv_type_statvfs_t" != "unknown"; then - printf "%s\n" "#define HAVE_STATVFS 1" >>confdefs.h + $as_echo "#define HAVE_STATVFS 1" >>confdefs.h fi else @@ -34607,12 +33328,11 @@ else fi if test "$wx_cv_type_statvfs_t" = "unknown"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5 -printf %s "checking for statfs... " >&6; } -if test ${wx_cv_func_statfs+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* end confdefs.h. */ @@ -34624,7 +33344,7 @@ else $as_nop #endif int -main (void) +main () { long l; @@ -34638,26 +33358,24 @@ main (void) 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 $as_nop +else wx_cv_func_statfs=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5 -printf "%s\n" "$wx_cv_func_statfs" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5 +$as_echo "$wx_cv_func_statfs" >&6; } if test "$wx_cv_func_statfs" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5 -printf %s "checking for statfs declaration... " >&6; } -if test ${wx_cv_func_statfs_decl+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34675,7 +33393,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #endif int -main (void) +main () { struct statfs fs; @@ -34685,14 +33403,13 @@ main (void) 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 $as_nop +else wx_cv_func_statfs_decl=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -34701,97 +33418,98 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5 -printf "%s\n" "$wx_cv_func_statfs_decl" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5 +$as_echo "$wx_cv_func_statfs_decl" >&6; } if test "$wx_cv_func_statfs_decl" = "yes"; then - printf "%s\n" "#define HAVE_STATFS_DECL 1" >>confdefs.h + $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h fi wx_cv_type_statvfs_t="struct statfs" - printf "%s\n" "#define HAVE_STATFS 1" >>confdefs.h + $as_echo "#define HAVE_STATFS 1" >>confdefs.h fi fi if test "$wx_cv_type_statvfs_t" != "unknown"; then - printf "%s\n" "#define WX_STATFS_T $wx_cv_type_statvfs_t" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define WX_STATFS_T $wx_cv_type_statvfs_t +_ACEOF else - { 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;} + { $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;} 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=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` + 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 : +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF break fi - done + if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5 -printf "%s\n" "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5 +$as_echo "$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=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` + 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 : +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF break fi - done + if test "$ac_cv_func_setenv" = "yes"; then - 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 + 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 fi +done fi if test "$USE_DARWIN" = 1; then - printf "%s\n" "#define HAVE_USLEEP 1" >>confdefs.h + $as_echo "#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 : - printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h - printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h +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_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5 -printf %s "checking for nanosleep in -lposix4... " >&6; } -if test ${ac_cv_lib_posix4_nanosleep+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -34800,45 +33518,45 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char nanosleep (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_posix4_nanosleep=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 "$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" "#define HAVE_NANOSLEEP 1" >>confdefs.h + $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h POSIX4_LINK=" -lposix4" -else $as_nop +else for wx_func in usleep do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34848,7 +33566,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -34861,24 +33579,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -34896,19 +33613,18 @@ fi fi - done + fi for wx_func in uname do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34918,7 +33634,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -34931,24 +33647,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -34962,12 +33677,11 @@ if test "$wx_cv_func_uname" != yes; then for wx_func in gethostname do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -34977,7 +33691,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -34990,24 +33704,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -35022,12 +33735,11 @@ fi for wx_func in strtok_r do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -35037,7 +33749,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -35050,24 +33762,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -35079,23 +33790,22 @@ _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 : - printf "%s\n" "#define HAVE_INET_ADDR 1" >>confdefs.h - printf "%s\n" "#define HAVE_INET_ADDR 1" >>confdefs.h +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_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5 -printf %s "checking for inet_addr in -lnsl... " >&6; } -if test ${ac_cv_lib_nsl_inet_addr+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lnsl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -35104,38 +33814,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char inet_addr (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_nsl_inet_addr=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : INET_LINK="nsl" -else $as_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5 -printf %s "checking for inet_addr in -lresolv... " >&6; } -if test ${ac_cv_lib_resolv_inet_addr+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lresolv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -35144,38 +33854,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char inet_addr (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_resolv_inet_addr=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : INET_LINK="resolv" -else $as_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5 -printf %s "checking for inet_addr in -lsocket... " >&6; } -if test ${ac_cv_lib_socket_inet_addr+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lsocket $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -35184,38 +33894,38 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char inet_addr (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_socket_inet_addr=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : INET_LINK="socket" -else $as_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnetwork" >&5 -printf %s "checking for inet_addr in -lnetwork... " >&6; } -if test ${ac_cv_lib_network_inet_addr+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lnetwork $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -35224,29 +33934,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char inet_addr (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_network_inet_addr=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : INET_LINK="network" fi @@ -35266,27 +33977,26 @@ fi fi - done - for ac_func in inet_aton +for ac_func in inet_aton do : ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton" -if test "x$ac_cv_func_inet_aton" = xyes -then : - printf "%s\n" "#define HAVE_INET_ATON 1" >>confdefs.h - printf "%s\n" "#define HAVE_INET_ATON 1" >>confdefs.h +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_nop +else - as_ac_Lib=`printf "%s\n" "ac_cv_lib_$INET_LINK""_inet_aton" | $as_tr_sh` -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5 -printf %s "checking for inet_aton in -l$INET_LINK... " >&6; } -if eval test \${$as_ac_Lib+y} -then : - printf %s "(cached) " >&6 -else $as_nop + 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 LIBS="-l$INET_LINK $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -35295,41 +34005,42 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char inet_aton (); int -main (void) +main () { 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 $as_nop +else eval "$as_ac_Lib=no" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib - { 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 + { $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 fi fi - done + if test "x$INET_LINK" != "x"; then - printf "%s\n" "#define HAVE_INET_ADDR 1" >>confdefs.h + $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h INET_LINK=" -l$INET_LINK" fi @@ -35337,12 +34048,11 @@ fi for wx_func in fdopen do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -35352,7 +34062,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -35365,24 +34075,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -35397,12 +34106,11 @@ if test "$wxUSE_TARSTREAM" = "yes"; then for wx_func in sysconf do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -35412,7 +34120,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -35425,24 +34133,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -35456,12 +34163,11 @@ _ACEOF for wx_func in getpwuid_r do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -35474,7 +34180,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -35491,24 +34197,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -35522,12 +34227,11 @@ _ACEOF for wx_func in getgrgid_r do - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5 -printf %s "checking for $wx_func... " >&6; } -if eval test \${wx_cv_func_$wx_func+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -35540,7 +34244,7 @@ else $as_nop $ac_includes_default int -main (void) +main () { #ifndef $wx_func @@ -35557,24 +34261,23 @@ main (void) } _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 $as_nop +else eval wx_cv_func_$wx_func=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$wx_cv_func_$wx_func - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if eval test \$wx_cv_func_$wx_func = yes then cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$wx_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1 _ACEOF @@ -35617,8 +34320,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_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;} ;; + *_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;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -35648,15 +34351,15 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -printf "%s\n" "$as_me: updating cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -35670,8 +34373,8 @@ printf "%s\n" "$as_me: updating cache $cache_file" >&6;} fi fi else - { 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;} + { $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;} fi fi rm -f confcache @@ -35685,8 +34388,8 @@ if test "$TOOLKIT" != "MSW"; then if test "$wxUSE_THREADS" = "yes" ; then if test "$USE_BEOS" = 1; then - { 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;} + { $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;} wxUSE_THREADS="no" fi fi @@ -35754,19 +34457,19 @@ printf "%s\n" "$as_me: WARNING: BeOS threads are not yet supported... disabled" for flag in $THREAD_OPTS; do case $flag in none) - { 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 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 with $flag" >&5 -printf %s "checking whether pthreads work with $flag... " >&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; } THREADS_CFLAGS="$flag" ;; *) - { 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; } + { $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; } THREADS_LINK="-l$flag" ;; esac @@ -35780,25 +34483,24 @@ printf %s "checking for the pthreads library -l$flag... " >&6; } /* end confdefs.h. */ #include int -main (void) +main () { 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 conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$save_LIBS" CFLAGS="$save_CFLAGS" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5 -printf "%s\n" "$THREADS_OK" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5 +$as_echo "$THREADS_OK" >&6; } if test "x$THREADS_OK" = "xyes"; then break; fi @@ -35809,15 +34511,15 @@ printf "%s\n" "$THREADS_OK" >&6; } if test "x$THREADS_OK" != "xyes"; then wxUSE_THREADS=no - { 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;} + { $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;} else LDFLAGS="$THREADS_CFLAGS $LDFLAGS" WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS" LIBS="$THREADS_LINK $LIBS" - { 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; } + { $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; } flag=no case "${host}" in *-aix*) @@ -35838,8 +34540,8 @@ printf %s "checking if more special flags are required for pthreads... " >&6; } flag="-D_REENTRANT" ;; esac - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 -printf "%s\n" "${flag}" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 +$as_echo "${flag}" >&6; } if test "x$flag" != xno; then THREADS_CFLAGS="$THREADS_CFLAGS $flag" fi @@ -35849,43 +34551,42 @@ printf "%s\n" "${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 : - printf "%s\n" "#define HAVE_PTHREAD_SETCONCURRENCY 1" >>confdefs.h - printf "%s\n" "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h +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 -else $as_nop +else - - 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 : - printf "%s\n" "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h - printf "%s\n" "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h +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_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5 -printf "%s\n" "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;} +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;} fi - done -fi +fi done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5 -printf %s "checking for pthread_cleanup_push/pop... " >&6; } -if test ${wx_cv_func_pthread_cleanup+y} -then : - printf %s "(cached) " >&6 -else $as_nop + + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -35899,7 +34600,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu void ThreadCleanupFunc(void *p); int -main (void) +main () { void *p; @@ -35910,18 +34611,17 @@ main (void) 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 $as_nop +else wx_cv_func_pthread_cleanup=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -35930,35 +34630,38 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5 -printf "%s\n" "$wx_cv_func_pthread_cleanup" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5 +$as_echo "$wx_cv_func_pthread_cleanup" >&6; } if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then - printf "%s\n" "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h + $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h fi - ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default + for ac_header in sched.h +do : + 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 : - printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h +if test "x$ac_cv_header_sched_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SCHED_H 1 +_ACEOF 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 : - printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h +if test "x$ac_cv_func_sched_yield" = xyes; then : + $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h -else $as_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5 -printf %s "checking for sched_yield in -lposix4... " >&6; } -if test ${ac_cv_lib_posix4_sched_yield+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -35967,34 +34670,35 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char sched_yield (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_posix4_sched_yield=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 +{ $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 POSIX4_LINK=" -lposix4" -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5 -printf "%s\n" "$as_me: WARNING: wxThread::Yield will not work properly" >&2;} +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;} fi @@ -36006,22 +34710,18 @@ 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_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5 -printf %s "checking for sched_get_priority_max in -lposix4... " >&6; } -if test ${ac_cv_lib_posix4_sched_get_priority_max+y} -then : - printf %s "(cached) " >&6 -else $as_nop +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 LIBS="-lposix4 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -36030,29 +34730,30 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char sched_get_priority_max (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_posix4_sched_get_priority_max=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : HAVE_PRIOR_FUNCS=1 POSIX4_LINK=" -lposix4" @@ -36070,56 +34771,52 @@ fi if test "$HAVE_PRIOR_FUNCS" = 1; then - printf "%s\n" "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h + $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h else - { 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;} + { $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;} fi ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel" -if test "x$ac_cv_func_pthread_cancel" = xyes -then : - printf "%s\n" "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h +if test "x$ac_cv_func_pthread_cancel" = xyes; then : + $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5 -printf "%s\n" "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;} +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;} 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 : - printf "%s\n" "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h +if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then : + $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5 -printf "%s\n" "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;} +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;} 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 : - printf "%s\n" "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h +if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then : + $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5 -printf %s "checking for pthread_mutexattr_t... " >&6; } -if test ${wx_cv_type_pthread_mutexattr_t+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { pthread_mutexattr_t attr; @@ -36129,35 +34826,33 @@ main (void) 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 $as_nop +else wx_cv_type_pthread_mutexattr_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5 +$as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; } if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then - printf "%s\n" "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h + $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5 -printf %s "checking for pthread_mutexattr_settype declaration... " >&6; } -if test ${wx_cv_func_pthread_mutexattr_settype_decl+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { pthread_mutexattr_t attr; @@ -36167,35 +34862,33 @@ main (void) 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 $as_nop +else wx_cv_func_pthread_mutexattr_settype_decl=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then - printf "%s\n" "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h + $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5 -printf %s "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; } -if test ${wx_cv_type_pthread_rec_mutex_init+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; @@ -36204,38 +34897,36 @@ main (void) 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 $as_nop +else wx_cv_type_pthread_rec_mutex_init=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then - printf "%s\n" "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h + $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h else - { 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;} + { $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;} fi fi if test "$ac_cv_header_cxxabi_h" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in " >&5 -printf %s "checking for abi::__forced_unwind() in ... " >&6; } -if test ${wx_cv_type_abi_forced_unwind+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -36247,7 +34938,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main (void) +main () { void foo(abi::__forced_unwind&); @@ -36256,14 +34947,13 @@ main (void) 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 $as_nop +else wx_cv_type_abi_forced_unwind=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36273,11 +34963,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5 +$as_echo "$wx_cv_type_abi_forced_unwind" >&6; } if test "$wx_cv_type_abi_forced_unwind" = "yes"; then - printf "%s\n" "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h + $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h fi fi @@ -36285,16 +34975,14 @@ printf "%s\n" "$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 : - printf "%s\n" "#define HAVE_LOCALTIME_R 1" >>confdefs.h +if test "x$ac_cv_func_localtime_r" = xyes; then : + $as_echo "#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 : - printf "%s\n" "#define HAVE_GMTIME_R 1" >>confdefs.h +if test "x$ac_cv_func_gmtime_r" = xyes; then : + $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h fi @@ -36307,13 +34995,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 - { 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; } + { $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 test ${ac_cv_func_which_gethostbyname_r+y} -then : - printf %s "(cached) " >&6 -else $as_nop + if ${ac_cv_func_which_gethostbyname_r+:} false; then : + $as_echo_n "(cached) " >&6 +else ################################################################ @@ -36333,7 +35020,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { char *name = "www.gnu.org"; @@ -36343,11 +35030,10 @@ main (void) 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.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # # SIX ARGUMENTS @@ -36360,7 +35046,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { char *name = "www.gnu.org"; @@ -36374,11 +35060,10 @@ main (void) 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.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi @@ -36393,7 +35078,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { char *name = "www.gnu.org"; @@ -36407,11 +35092,10 @@ main (void) 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.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi @@ -36426,7 +35110,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { char *name = "www.gnu.org"; @@ -36438,11 +35122,10 @@ main (void) 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.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi @@ -36454,44 +35137,44 @@ fi case "$ac_cv_func_which_gethostbyname_r" in three|five|six) -printf "%s\n" "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h +$as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h ;; esac case "$ac_cv_func_which_gethostbyname_r" in three) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: three" >&5 -printf "%s\n" "three" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5 +$as_echo "three" >&6; } -printf "%s\n" "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h +$as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h ;; five) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: five" >&5 -printf "%s\n" "five" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5 +$as_echo "five" >&6; } -printf "%s\n" "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h +$as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h ;; six) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: six" >&5 -printf "%s\n" "six" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5 +$as_echo "six" >&6; } -printf "%s\n" "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h +$as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h ;; no) - { 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; } + { $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; } ;; unknown) - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5 -printf "%s\n" "can't tell" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5 +$as_echo "can't tell" >&6; } ;; *) @@ -36510,18 +35193,17 @@ 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 : - printf "%s\n" "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h +if test "x$ac_cv_func_gethostbyname" = xyes; then : + $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h -else $as_nop +else case "${host}" in *-*-haiku* ) - printf "%s\n" "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h + $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h - { 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;} + { $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;} ;; esac @@ -36530,12 +35212,11 @@ fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5 -printf %s "checking how many arguments getservbyname_r() takes... " >&6; } -if test ${ac_cv_func_which_getservbyname_r+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -36548,7 +35229,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu /* end confdefs.h. */ #include int -main (void) +main () { char *name; @@ -36562,16 +35243,15 @@ main (void) 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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { char *name; @@ -36585,16 +35265,15 @@ main (void) 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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int -main (void) +main () { char *name; @@ -36607,22 +35286,21 @@ main (void) 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 $as_nop +else ac_cv_func_which_getservbyname_r=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36632,93 +35310,103 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5 +$as_echo "$ac_cv_func_which_getservbyname_r" >&6; } if test $ac_cv_func_which_getservbyname_r = six; then - printf "%s\n" "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h + $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h elif test $ac_cv_func_which_getservbyname_r = five; then - printf "%s\n" "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h + $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h elif test $ac_cv_func_which_getservbyname_r = four; then - printf "%s\n" "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h + $as_echo "#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 : - printf "%s\n" "#define HAVE_GETSERVBYNAME 1" >>confdefs.h - printf "%s\n" "#define HAVE_GETSERVBYNAME 1" >>confdefs.h +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 $as_nop +else case "${host}" in *-*-haiku* ) - printf "%s\n" "#define HAVE_GETSERVBYNAME 1" >>confdefs.h + $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h - { 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;} + { $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;} ;; esac fi - done + fi if test "$wxUSE_THREADS" = "yes"; then - printf "%s\n" "#define wxUSE_THREADS 1" >>confdefs.h + $as_echo "#define wxUSE_THREADS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread" else if test "$wx_cv_func_strtok_r" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5 -printf %s "checking if -D_REENTRANT is needed... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5 +$as_echo_n "checking if -D_REENTRANT is needed... " >&6; } if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi fi if test "$wxUSE_GTK" = 1 ; then - printf "%s\n" "#define __WXGTK__ 1" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define __WXGTK__ 1 +_ACEOF if test "$WXGTK4" = 1 ; then - printf "%s\n" "#define __WXGTK4__ 1" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define __WXGTK4__ 1 +_ACEOF fi if test "$WXGTK3" = 1 ; then - printf "%s\n" "#define __WXGTK3__ 1" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define __WXGTK3__ 1 +_ACEOF fi - printf "%s\n" "#define __WXGTK20__ 1" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define __WXGTK20__ 1 +_ACEOF fi if test "$WXQT" = 1 ; then - printf "%s\n" "#define __WXQT__ $WXQT" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define __WXQT__ $WXQT +_ACEOF fi DEBUG_CFLAGS= if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then - { 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;} + { $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;} elif test "$wxUSE_DEBUG_INFO" = "yes" ; then DEBUG_CFLAGS="-g" fi @@ -36770,8 +35458,8 @@ fi OPTIMISE_CFLAGS= if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then - { 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;} + { $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;} else if test "$wxUSE_OPTIMISE" = "no" ; then if test "$GCC" = yes ; then @@ -36787,41 +35475,41 @@ else fi if test "x$wxUSE_REPRODUCIBLE_BUILD" = "xyes"; then - printf "%s\n" "#define wxUSE_REPRODUCIBLE_BUILD 1" >>confdefs.h + $as_echo "#define wxUSE_REPRODUCIBLE_BUILD 1" >>confdefs.h fi if test "x$WXWIN_COMPATIBILITY_3_0" = "xyes"; then - printf "%s\n" "#define WXWIN_COMPATIBILITY_3_0 1" >>confdefs.h + $as_echo "#define WXWIN_COMPATIBILITY_3_0 1" >>confdefs.h WXWIN_COMPATIBILITY_3_2="yes" fi if test "x$WXWIN_COMPATIBILITY_3_2" != "xno"; then - printf "%s\n" "#define WXWIN_COMPATIBILITY_3_2 1" >>confdefs.h + $as_echo "#define WXWIN_COMPATIBILITY_3_2 1" >>confdefs.h fi if test "$wxUSE_GUI" = "yes"; then - printf "%s\n" "#define wxUSE_GUI 1" >>confdefs.h + $as_echo "#define wxUSE_GUI 1" >>confdefs.h fi if test "$wxUSE_UNIX" = "yes"; then - printf "%s\n" "#define wxUSE_UNIX 1" >>confdefs.h + $as_echo "#define wxUSE_UNIX 1" >>confdefs.h fi if test "$TOOLKIT" = "MSW"; then if test "$wxUSE_DYNLIB_CLASS" != "yes" ; then - { 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;} + { $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;} wxUSE_DYNLIB_CLASS=yes fi else @@ -36831,26 +35519,25 @@ 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 : - printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h +if test "x$ac_cv_func_dlopen" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DLOPEN 1 +_ACEOF - printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h + $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h HAVE_DL_FUNCS=1 -else $as_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -printf %s "checking for dlopen in -ldl... " >&6; } -if test ${ac_cv_lib_dl_dlopen+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -36859,31 +35546,32 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char dlopen (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_dl_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 "$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" "#define HAVE_DLOPEN 1" >>confdefs.h + $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h HAVE_DL_FUNCS=1 DL_LINK="-ldl" @@ -36892,27 +35580,26 @@ fi fi - done - if test "$HAVE_DL_FUNCS" = 1; then - for ac_func in dladdr + if test "$HAVE_DL_FUNCS" = 1; then + 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 : - printf "%s\n" "#define HAVE_DLADDR 1" >>confdefs.h - printf "%s\n" "#define HAVE_DLADDR 1" >>confdefs.h +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_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5 -printf %s "checking for dladdr in -ldl... " >&6; } -if test ${ac_cv_lib_dl_dladdr+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -36921,31 +35608,32 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char dladdr (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_dl_dladdr=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 "$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" "#define HAVE_DLADDR 1" >>confdefs.h + $as_echo "#define HAVE_DLADDR 1" >>confdefs.h DL_LINK="-ldl" @@ -36954,8 +35642,8 @@ fi fi - done + fi fi @@ -36966,13 +35654,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 - { 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;} + { $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;} wxUSE_DYNAMIC_LOADER=no wxUSE_DYNLIB_CLASS=no else - { 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;} + { $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;} fi fi fi @@ -36980,11 +35668,11 @@ printf "%s\n" "$as_me: WARNING: Assuming wxDynamicLibrary class works on this pl fi if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then - printf "%s\n" "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h + $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h fi if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then - printf "%s\n" "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h + $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h fi @@ -36992,74 +35680,77 @@ fi if test "$wxUSE_PLUGINS" = "yes" ; then if test "$wxUSE_SHARED" = "no" ; then - { 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;} + { $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;} wxUSE_PLUGINS=no fi if test "$wxUSE_MONOLITHIC" = "yes" ; then - { 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;} + { $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;} wxUSE_PLUGINS=no fi if test "$wxUSE_DYNLIB_CLASS" = "no" ; then - { 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;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5 +$as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;} wxUSE_PLUGINS=no fi if test "$wxUSE_PLUGINS" = "yes" ; then - printf "%s\n" "#define wxUSE_PLUGINS 1" >>confdefs.h + $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h fi fi if test "$wxUSE_PIC" = "no" -a "$wxUSE_SHARED" = "yes"; then - { 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;} + { $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;} fi if test "$wxUSE_FSWATCHER" = "yes"; then if test "$USE_WIN32" != 1; then if test "$wxUSE_UNIX" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether inotify is usable" >&5 -printf %s "checking whether inotify is usable... " >&6; } -if test ${wx_cv_inotify_usable+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* 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 $as_nop +else wx_cv_inotify_usable=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_inotify_usable" >&5 -printf "%s\n" "$wx_cv_inotify_usable" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_inotify_usable" >&5 +$as_echo "$wx_cv_inotify_usable" >&6; } if test "$wx_cv_inotify_usable" = "yes"; then - printf "%s\n" "#define wxHAS_INOTIFY 1" >>confdefs.h + $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h else - ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default + 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 " -if test "x$ac_cv_header_sys_event_h" = xyes -then : - printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h +if test "x$ac_cv_header_sys_event_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SYS_EVENT_H 1 +_ACEOF fi +done + if test "$ac_cv_header_sys_event_h" = "yes"; then - printf "%s\n" "#define wxHAS_KQUEUE 1" >>confdefs.h + $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h else wxUSE_FSWATCHER=no @@ -37070,19 +35761,19 @@ fi fi else if test "$wxUSE_THREADS" != "yes"; then - { 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;} + { $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;} wxUSE_FSWATCHER=no fi fi if test "$wxUSE_FSWATCHER" = "yes"; then - printf "%s\n" "#define wxUSE_FSWATCHER 1" >>confdefs.h + $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher" else - { 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;} + { $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;} fi fi @@ -37090,18 +35781,18 @@ if test "$wxUSE_GTK" = 1; then if test "$USE_WIN32" != 1 -a "$USE_DARWIN" != 1; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XKBCOMMON" >&5 -printf %s "checking for XKBCOMMON... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBCOMMON" >&5 +$as_echo_n "checking for XKBCOMMON... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$XKBCOMMON_CFLAGS"; then pkg_cv_XKBCOMMON_CFLAGS="$XKBCOMMON_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbcommon\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbcommon\""; } >&5 ($PKG_CONFIG --exists --print-errors "xkbcommon") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags "xkbcommon" 2>/dev/null` else @@ -37116,10 +35807,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_XKBCOMMON_LIBS="$XKBCOMMON_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbcommon\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbcommon\""; } >&5 ($PKG_CONFIG --exists --print-errors "xkbcommon") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XKBCOMMON_LIBS=`$PKG_CONFIG --libs "xkbcommon" 2>/dev/null` else @@ -37148,26 +35839,26 @@ fi echo "$XKBCOMMON_PKG_ERRORS" >&5 - { 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;} + { $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;} elif test $pkg_failed = untried; then - { 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;} + { $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;} else XKBCOMMON_CFLAGS=$pkg_cv_XKBCOMMON_CFLAGS XKBCOMMON_LIBS=$pkg_cv_XKBCOMMON_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } CFLAGS="$XKBCOMMON_CFLAGS $CFLAGS" CXXFLAGS="$XKBCOMMON_CFLAGS $CXXFLAGS" GUI_TK_LIBRARY="$GUI_TK_LIBRARY $XKBCOMMON_LIBS" - printf "%s\n" "#define HAVE_XKBCOMMON 1" >>confdefs.h + $as_echo "#define HAVE_XKBCOMMON 1" >>confdefs.h fi @@ -37179,18 +35870,18 @@ if test "$wxUSE_SECRETSTORE" = "yes"; then if test "$wxUSE_MSW" != "1" -a "$wxUSE_OSX_COCOA" != 1; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBSECRET" >&5 -printf %s "checking for LIBSECRET... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSECRET" >&5 +$as_echo_n "checking for LIBSECRET... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBSECRET_CFLAGS"; then pkg_cv_LIBSECRET_CFLAGS="$LIBSECRET_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsecret-1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSECRET_CFLAGS=`$PKG_CONFIG --cflags "libsecret-1" 2>/dev/null` else @@ -37205,10 +35896,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBSECRET_LIBS="$LIBSECRET_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsecret-1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBSECRET_LIBS=`$PKG_CONFIG --libs "libsecret-1" 2>/dev/null` else @@ -37237,23 +35928,23 @@ fi echo "$LIBSECRET_PKG_ERRORS" >&5 - { 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;} + { $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;} wxUSE_SECRETSTORE=no elif test $pkg_failed = untried; then - { 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;} + { $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;} wxUSE_SECRETSTORE=no else LIBSECRET_CFLAGS=$pkg_cv_LIBSECRET_CFLAGS LIBSECRET_LIBS=$pkg_cv_LIBSECRET_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } CXXFLAGS="$LIBSECRET_CFLAGS $CXXFLAGS" LIBS="$LIBSECRET_LIBS $LIBS" @@ -37266,7 +35957,7 @@ fi LIBS="-framework Security $LIBS" fi - printf "%s\n" "#define wxUSE_SECRETSTORE 1" >>confdefs.h + $as_echo "#define wxUSE_SECRETSTORE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS secretstore" fi @@ -37279,18 +35970,18 @@ if test "$wxUSE_SPELLCHECK" = "yes"; then if test "$WXGTK3" = 1; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GSPELL" >&5 -printf %s "checking for GSPELL... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSPELL" >&5 +$as_echo_n "checking for GSPELL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GSPELL_CFLAGS"; then pkg_cv_GSPELL_CFLAGS="$GSPELL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gspell-1\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gspell-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "gspell-1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GSPELL_CFLAGS=`$PKG_CONFIG --cflags "gspell-1" 2>/dev/null` else @@ -37305,10 +35996,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GSPELL_LIBS="$GSPELL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gspell-1\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gspell-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "gspell-1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GSPELL_LIBS=`$PKG_CONFIG --libs "gspell-1" 2>/dev/null` else @@ -37337,23 +36028,23 @@ fi echo "$GSPELL_PKG_ERRORS" >&5 - { 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;} + { $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;} wxUSE_SPELLCHECK=no elif test $pkg_failed = untried; then - { 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;} + { $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;} wxUSE_SPELLCHECK=no else GSPELL_CFLAGS=$pkg_cv_GSPELL_CFLAGS GSPELL_LIBS=$pkg_cv_GSPELL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } CXXFLAGS="$GSPELL_CFLAGS $CXXFLAGS" GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GSPELL_LIBS" @@ -37362,44 +36053,43 @@ fi fi if test "$wxUSE_SPELLCHECK" = "yes"; then - printf "%s\n" "#define wxUSE_SPELLCHECK 1" >>confdefs.h + $as_echo "#define wxUSE_SPELLCHECK 1" >>confdefs.h fi fi if test "$wxUSE_STL" = "yes"; then - { 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;} + { $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;} fi if test "$wxUSE_EXTENDED_RTTI" = "yes"; then - printf "%s\n" "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h + $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h fi if test "$wxUSE_ANY" = "yes"; then - printf "%s\n" "#define wxUSE_ANY 1" >>confdefs.h + $as_echo "#define wxUSE_ANY 1" >>confdefs.h fi if test "$wxUSE_APPLE_IEEE" = "yes"; then - printf "%s\n" "#define wxUSE_APPLE_IEEE 1" >>confdefs.h + $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h fi if test "$wxUSE_TIMER" = "yes"; then - printf "%s\n" "#define wxUSE_TIMER 1" >>confdefs.h + $as_echo "#define wxUSE_TIMER 1" >>confdefs.h fi if test "$USE_UNIX" = 1 ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5 -printf %s "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; } -if test ${ac_cv_header_sys_soundcard+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37408,7 +36098,7 @@ else $as_nop #include int -main (void) +main () { ioctl(0, SNDCTL_DSP_SPEED, 0); @@ -37417,10 +36107,9 @@ main (void) 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 $as_nop +else saveLibs="$LIBS" LIBS="$saveLibs -lossaudio" @@ -37431,7 +36120,7 @@ else $as_nop #include int -main (void) +main () { ioctl(0, SNDCTL_DSP_SPEED, 0); @@ -37440,30 +36129,29 @@ main (void) 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 $as_nop +else LIBS="$saveLibs" ac_cv_header_sys_soundcard=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5 -printf "%s\n" "$ac_cv_header_sys_soundcard" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5 +$as_echo "$ac_cv_header_sys_soundcard" >&6; } if test "$ac_cv_header_sys_soundcard" = "yes"; then - printf "%s\n" "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h + $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h fi fi @@ -37474,18 +36162,18 @@ if test "$wxUSE_SOUND" = "yes"; then if test "$wxUSE_LIBSDL" != "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5 -printf %s "checking for SDL... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5 +$as_echo_n "checking for SDL... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$SDL_CFLAGS"; then pkg_cv_SDL_CFLAGS="$SDL_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= 2.0.0\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl2 >= 2.0.0" 2>/dev/null` else @@ -37500,10 +36188,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_SDL_LIBS="$SDL_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 >= 2.0.0\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl2 >= 2.0.0" 2>/dev/null` else @@ -37532,31 +36220,28 @@ fi echo "$SDL_PKG_ERRORS" >&5 - { 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;} + { $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;} # Check whether --with-sdl-prefix was given. -if test ${with_sdl_prefix+y} -then : +if test "${with_sdl_prefix+set}" = set; then : withval=$with_sdl_prefix; sdl_prefix="$withval" -else $as_nop +else sdl_prefix="" fi # Check whether --with-sdl-exec-prefix was given. -if test ${with_sdl_exec_prefix+y} -then : +if test "${with_sdl_exec_prefix+set}" = set; then : withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval" -else $as_nop +else sdl_exec_prefix="" fi # Check whether --enable-sdltest was given. -if test ${enable_sdltest+y} -then : +if test "${enable_sdltest+set}" = set; then : enableval=$enable_sdltest; -else $as_nop +else enable_sdltest=yes fi @@ -37579,12 +36264,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_SDL_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. @@ -37594,15 +36278,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -37615,17 +36295,17 @@ esac fi SDL_CONFIG=$ac_cv_path_SDL_CONFIG if test -n "$SDL_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 -printf "%s\n" "$SDL_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 +$as_echo "$SDL_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi min_sdl_version=1.2.0 - { 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; } + { $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; } no_sdl="" if test "$SDL_CONFIG" = "no" ; then no_sdl=yes @@ -37647,10 +36327,9 @@ printf %s "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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37712,10 +36391,9 @@ int main (int argc, char *argv[]) _ACEOF -if ac_fn_c_try_run "$LINENO" -then : +if ac_fn_c_try_run "$LINENO"; then : -else $as_nop +else no_sdl=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -37728,18 +36406,18 @@ fi fi fi if test "x$no_sdl" = x ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } EXTRALIBS_SDL="$SDL_LIBS" CFLAGS="$SDL_CFLAGS $CFLAGS" CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" - printf "%s\n" "#define wxUSE_LIBSDL 1" >>confdefs.h + $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "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" @@ -37765,15 +36443,14 @@ int main(int argc, char *argv[]) #define main K_and_R_C_main int -main (void) +main () { return 0; ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : +if ac_fn_c_try_link "$LINENO"; then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding SDL or finding the wrong" echo "*** version of SDL. If it is not finding SDL, you'll need to set your" @@ -37783,13 +36460,13 @@ 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 $as_nop +else echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occurred. This usually means SDL was incorrectly installed" echo "*** or that you have moved SDL since it was installed. In the latter case, you" echo "*** may want to edit the sdl-config script: $SDL_CONFIG" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" CXXFLAGS="$ac_save_CXXFLAGS" @@ -37807,31 +36484,28 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ elif test $pkg_failed = untried; then - { 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;} + { $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;} # Check whether --with-sdl-prefix was given. -if test ${with_sdl_prefix+y} -then : +if test "${with_sdl_prefix+set}" = set; then : withval=$with_sdl_prefix; sdl_prefix="$withval" -else $as_nop +else sdl_prefix="" fi # Check whether --with-sdl-exec-prefix was given. -if test ${with_sdl_exec_prefix+y} -then : +if test "${with_sdl_exec_prefix+set}" = set; then : withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval" -else $as_nop +else sdl_exec_prefix="" fi # Check whether --enable-sdltest was given. -if test ${enable_sdltest+y} -then : +if test "${enable_sdltest+set}" = set; then : enableval=$enable_sdltest; -else $as_nop +else enable_sdltest=yes fi @@ -37854,12 +36528,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_SDL_CONFIG+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. @@ -37869,15 +36542,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -37890,17 +36559,17 @@ esac fi SDL_CONFIG=$ac_cv_path_SDL_CONFIG if test -n "$SDL_CONFIG"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 -printf "%s\n" "$SDL_CONFIG" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 +$as_echo "$SDL_CONFIG" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi min_sdl_version=1.2.0 - { 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; } + { $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; } no_sdl="" if test "$SDL_CONFIG" = "no" ; then no_sdl=yes @@ -37922,10 +36591,9 @@ printf %s "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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -37987,10 +36655,9 @@ int main (int argc, char *argv[]) _ACEOF -if ac_fn_c_try_run "$LINENO" -then : +if ac_fn_c_try_run "$LINENO"; then : -else $as_nop +else no_sdl=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ @@ -38003,18 +36670,18 @@ fi fi fi if test "x$no_sdl" = x ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } EXTRALIBS_SDL="$SDL_LIBS" CFLAGS="$SDL_CFLAGS $CFLAGS" CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" - printf "%s\n" "#define wxUSE_LIBSDL 1" >>confdefs.h + $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "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" @@ -38040,15 +36707,14 @@ int main(int argc, char *argv[]) #define main K_and_R_C_main int -main (void) +main () { return 0; ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO" -then : +if ac_fn_c_try_link "$LINENO"; then : echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding SDL or finding the wrong" echo "*** version of SDL. If it is not finding SDL, you'll need to set your" @@ -38058,13 +36724,13 @@ 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 $as_nop +else echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occurred. This usually means SDL was incorrectly installed" echo "*** or that you have moved SDL since it was installed. In the latter case, you" echo "*** may want to edit the sdl-config script: $SDL_CONFIG" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" CXXFLAGS="$ac_save_CXXFLAGS" @@ -38083,13 +36749,13 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \ else SDL_CFLAGS=$pkg_cv_SDL_CFLAGS SDL_LIBS=$pkg_cv_SDL_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } EXTRALIBS_SDL="$SDL_LIBS" CFLAGS="$SDL_CFLAGS $CFLAGS" CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" - printf "%s\n" "#define wxUSE_LIBSDL 1" >>confdefs.h + $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h fi @@ -38101,7 +36767,7 @@ fi fi if test "$wxUSE_SOUND" = "yes"; then - printf "%s\n" "#define wxUSE_SOUND 1" >>confdefs.h + $as_echo "#define wxUSE_SOUND 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound" fi @@ -38117,18 +36783,18 @@ if test "$wxUSE_GTK" = 1; then fi pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5 -printf %s "checking for GTKPRINT... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5 +$as_echo_n "checking for GTKPRINT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GTKPRINT_CFLAGS"; then pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null` else @@ -38143,10 +36809,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null` else @@ -38175,28 +36841,28 @@ fi echo "$GTKPRINT_PKG_ERRORS" >&5 - { 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;} + { $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;} wxUSE_GTKPRINT="no" elif test $pkg_failed = untried; then - { 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;} + { $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;} wxUSE_GTKPRINT="no" else GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS" CFLAGS="$GTKPRINT_CFLAGS $CFLAGS" CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS" - printf "%s\n" "#define wxUSE_GTKPRINT 1" >>confdefs.h + $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h fi @@ -38208,18 +36874,18 @@ fi pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5 -printf %s "checking for GNOMEVFS... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5 +$as_echo_n "checking for GNOMEVFS... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GNOMEVFS_CFLAGS"; then pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null` else @@ -38234,10 +36900,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null` else @@ -38266,28 +36932,28 @@ fi echo "$GNOMEVFS_PKG_ERRORS" >&5 - { 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;} + { $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;} wxUSE_LIBGNOMEVFS="no" elif test $pkg_failed = untried; then - { 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;} + { $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;} wxUSE_LIBGNOMEVFS="no" else GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS" CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS" CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS" - printf "%s\n" "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h + $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h fi @@ -38299,18 +36965,18 @@ fi HAVE_LIBNOTIFY=0 pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 -printf %s "checking for LIBNOTIFY... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 +$as_echo_n "checking for LIBNOTIFY... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBNOTIFY_CFLAGS"; then pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null` else @@ -38325,10 +36991,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null` else @@ -38359,18 +37025,18 @@ fi pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 -printf %s "checking for LIBNOTIFY... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 +$as_echo_n "checking for LIBNOTIFY... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBNOTIFY_CFLAGS"; then pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null` else @@ -38385,10 +37051,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null` else @@ -38417,23 +37083,23 @@ fi echo "$LIBNOTIFY_PKG_ERRORS" >&5 - { 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;} + { $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;} wxUSE_LIBNOTIFY="no" elif test $pkg_failed = untried; then - { 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;} + { $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;} wxUSE_LIBNOTIFY="no" else LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } HAVE_LIBNOTIFY=1 fi @@ -38442,18 +37108,18 @@ elif test $pkg_failed = untried; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 -printf %s "checking for LIBNOTIFY... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 +$as_echo_n "checking for LIBNOTIFY... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$LIBNOTIFY_CFLAGS"; then pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null` else @@ -38468,10 +37134,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null` else @@ -38500,23 +37166,23 @@ fi echo "$LIBNOTIFY_PKG_ERRORS" >&5 - { 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;} + { $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;} wxUSE_LIBNOTIFY="no" elif test $pkg_failed = untried; then - { 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;} + { $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;} wxUSE_LIBNOTIFY="no" else LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } HAVE_LIBNOTIFY=1 fi @@ -38524,11 +37190,11 @@ fi else LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } HAVE_LIBNOTIFY=1 - printf "%s\n" "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h + $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h fi @@ -38537,7 +37203,7 @@ fi GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS" CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS" CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS" - printf "%s\n" "#define wxUSE_LIBNOTIFY 1" >>confdefs.h + $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h fi fi @@ -38546,128 +37212,128 @@ fi fi if test "$wxUSE_CMDLINE_PARSER" = "yes"; then - printf "%s\n" "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h + $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h fi if test "$wxUSE_STOPWATCH" = "yes"; then - printf "%s\n" "#define wxUSE_STOPWATCH 1" >>confdefs.h + $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h fi if test "$wxUSE_DATETIME" = "yes"; then - printf "%s\n" "#define wxUSE_DATETIME 1" >>confdefs.h + $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h fi if test "$wxUSE_FILE" = "yes"; then - printf "%s\n" "#define wxUSE_FILE 1" >>confdefs.h + $as_echo "#define wxUSE_FILE 1" >>confdefs.h fi if test "$wxUSE_FFILE" = "yes"; then - printf "%s\n" "#define wxUSE_FFILE 1" >>confdefs.h + $as_echo "#define wxUSE_FFILE 1" >>confdefs.h fi if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then if test "$wxUSE_STREAMS" != yes; then - { 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;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5 +$as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;} wxUSE_ARCHIVE_STREAMS=no else - printf "%s\n" "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h + $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h fi fi if test "$wxUSE_ZIPSTREAM" = "yes"; then if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then - { 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;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5 +$as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;} elif test "$wxUSE_ZLIB" = "no"; then - { 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;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5 +$as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;} else - printf "%s\n" "#define wxUSE_ZIPSTREAM 1" >>confdefs.h + $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h fi fi if test "$wxUSE_TARSTREAM" = "yes"; then if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then - { 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;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5 +$as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;} else - printf "%s\n" "#define wxUSE_TARSTREAM 1" >>confdefs.h + $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h fi fi if test "$wxUSE_FILE_HISTORY" = "yes"; then - printf "%s\n" "#define wxUSE_FILE_HISTORY 1" >>confdefs.h + $as_echo "#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 - { 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;} + { $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;} wxUSE_FILESYSTEM=no else - printf "%s\n" "#define wxUSE_FILESYSTEM 1" >>confdefs.h + $as_echo "#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 - { 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;} + { $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;} else - printf "%s\n" "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h + $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h fi fi if test "$wxUSE_FS_ZIP" = "yes"; then if test "$wxUSE_FS_ARCHIVE" != yes; then - { 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;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5 +$as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;} else - printf "%s\n" "#define wxUSE_FS_ZIP 1" >>confdefs.h + $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h fi fi if test "$wxUSE_FSVOLUME" = "yes"; then - printf "%s\n" "#define wxUSE_FSVOLUME 1" >>confdefs.h + $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h fi if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then if test "$USE_UNIX" != 1; then - { 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;} + { $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;} wxUSE_ON_FATAL_EXCEPTION=no else - printf "%s\n" "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h + $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h fi fi if test "$wxUSE_STACKWALKER" = "yes"; then - printf "%s\n" "#define wxUSE_STACKWALKER 1" >>confdefs.h + $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h fi if test "$wxUSE_DEBUGREPORT" = "yes"; then if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then - { 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;} + { $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;} wxUSE_DEBUGREPORT=no else - printf "%s\n" "#define wxUSE_DEBUGREPORT 1" >>confdefs.h + $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt" @@ -38676,19 +37342,19 @@ printf "%s\n" "$as_me: WARNING: Creating debug reports not currently supported o fi if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then - printf "%s\n" "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h + $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h fi if test "$wxUSE_BUSYINFO" = "yes"; then - printf "%s\n" "#define wxUSE_BUSYINFO 1" >>confdefs.h + $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h fi if test "$wxUSE_HOTKEY" = "yes"; then if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1; then - { 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;} + { $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;} wxUSE_HOTKEY=no fi elif test "$wxUSE_HOTKEY" = "auto"; then @@ -38697,58 +37363,58 @@ elif test "$wxUSE_HOTKEY" = "auto"; then fi fi if test "$wxUSE_HOTKEY" = "yes"; then - printf "%s\n" "#define wxUSE_HOTKEY 1" >>confdefs.h + $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h fi if test "$wxUSE_STD_CONTAINERS" = "yes"; then - printf "%s\n" "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h + $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h fi if test "$wxUSE_STD_IOSTREAM" = "yes"; then - printf "%s\n" "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h + $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h fi if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then - printf "%s\n" "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h + $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h fi if test "$wxUSE_UNSAFE_WXSTRING_CONV" = "yes"; then - printf "%s\n" "#define wxUSE_UNSAFE_WXSTRING_CONV 1" >>confdefs.h + $as_echo "#define wxUSE_UNSAFE_WXSTRING_CONV 1" >>confdefs.h fi if test "$wxUSE_STDPATHS" = "yes"; then - printf "%s\n" "#define wxUSE_STDPATHS 1" >>confdefs.h + $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h fi if test "$wxUSE_TEXTBUFFER" = "yes"; then - printf "%s\n" "#define wxUSE_TEXTBUFFER 1" >>confdefs.h + $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h fi if test "$wxUSE_TEXTFILE" = "yes"; then if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then - { 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;} + { $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;} else - printf "%s\n" "#define wxUSE_TEXTFILE 1" >>confdefs.h + $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h fi fi if test "$wxUSE_CONFIG" = "yes" ; then if test "$wxUSE_TEXTFILE" != "yes"; then - { 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;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5 +$as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;} else - printf "%s\n" "#define wxUSE_CONFIG 1" >>confdefs.h + $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h - printf "%s\n" "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h + $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config" fi @@ -38756,10 +37422,10 @@ fi if test "$wxUSE_INTL" = "yes" ; then if test "$wxUSE_FILE" != "yes"; then - { 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;} + { $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;} else - printf "%s\n" "#define wxUSE_INTL 1" >>confdefs.h + $as_echo "#define wxUSE_INTL 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat" GUIDIST="$GUIDIST INTL_DIST" @@ -38767,20 +37433,24 @@ printf "%s\n" "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;} fi if test "$wxUSE_XLOCALE" = "yes" ; then - 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 + 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 fi +done - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for locale_t" >&5 -printf %s "checking for locale_t... " >&6; } -if test ${wx_cv_type_locale_t+y} -then : - printf %s "(cached) " >&6 -else $as_nop + + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -38798,7 +37468,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main (void) +main () { locale_t t; @@ -38810,14 +37480,13 @@ main (void) 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 $as_nop +else wx_cv_type_locale_t=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -38826,37 +37495,37 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_locale_t" >&5 -printf "%s\n" "$wx_cv_type_locale_t" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_locale_t" >&5 +$as_echo "$wx_cv_type_locale_t" >&6; } if test "$wx_cv_type_locale_t" = "yes" ; then - printf "%s\n" "#define wxUSE_XLOCALE 1" >>confdefs.h + $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h - printf "%s\n" "#define HAVE_LOCALE_T 1" >>confdefs.h + $as_echo "#define HAVE_LOCALE_T 1" >>confdefs.h else - { 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;} + { $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;} fi fi if test "$wxUSE_LOG" = "yes"; then - printf "%s\n" "#define wxUSE_LOG 1" >>confdefs.h + $as_echo "#define wxUSE_LOG 1" >>confdefs.h if test "$wxUSE_LOGGUI" = "yes"; then - printf "%s\n" "#define wxUSE_LOGGUI 1" >>confdefs.h + $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h fi if test "$wxUSE_LOGWINDOW" = "yes"; then - printf "%s\n" "#define wxUSE_LOGWINDOW 1" >>confdefs.h + $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h fi if test "$wxUSE_LOGDIALOG" = "yes"; then - printf "%s\n" "#define wxUSE_LOG_DIALOG 1" >>confdefs.h + $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h fi @@ -38864,92 +37533,94 @@ if test "$wxUSE_LOG" = "yes"; then fi if test "$wxUSE_LONGLONG" = "yes"; then - printf "%s\n" "#define wxUSE_LONGLONG 1" >>confdefs.h + $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h fi if test "$wxUSE_GEOMETRY" = "yes"; then - printf "%s\n" "#define wxUSE_GEOMETRY 1" >>confdefs.h + $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h fi if test "$wxUSE_BASE64" = "yes"; then - printf "%s\n" "#define wxUSE_BASE64 1" >>confdefs.h + $as_echo "#define wxUSE_BASE64 1" >>confdefs.h fi if test "$wxUSE_STREAMS" = "yes" ; then - printf "%s\n" "#define wxUSE_STREAMS 1" >>confdefs.h + $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h fi if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then - printf "%s\n" "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h + $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h fi if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then - printf "%s\n" "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h + $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h if test "$wxUSE_UNIX" = "yes"; then if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then - printf "%s\n" "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h + $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h fi if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then - ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default + 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 " -if test "x$ac_cv_header_sys_epoll_h" = xyes -then : - printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h +if test "x$ac_cv_header_sys_epoll_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SYS_EPOLL_H 1 +_ACEOF fi +done + if test "$ac_cv_header_sys_epoll_h" = "yes"; then case "${host}" in *-*-linux*) - printf "%s\n" "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h + $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h ;; *) - { 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;} + { $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;} ;; esac else - { 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;} + { $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;} fi fi fi fi - - for ac_func in gettimeofday ftime +for ac_func in gettimeofday ftime do : - as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` + 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 : +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF break fi - done + if test "$ac_cv_func_gettimeofday" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5 -printf %s "checking whether gettimeofday takes two arguments... " >&6; } -if test ${wx_cv_func_gettimeofday_has_2_args+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38958,7 +37629,7 @@ else $as_nop #include int -main (void) +main () { struct timeval tv; @@ -38968,10 +37639,9 @@ main (void) 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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -38979,7 +37649,7 @@ else $as_nop #include int -main (void) +main () { struct timeval tv; @@ -38989,39 +37659,37 @@ main (void) 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_nop +else - { 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;} + { $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;} wx_cv_func_gettimeofday_has_2_args=unknown fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then - printf "%s\n" "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h + $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h fi fi if test "$wxUSE_DATETIME" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for timezone variable in " >&5 -printf %s "checking for timezone variable in ... " >&6; } -if test ${wx_cv_var_timezone+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -39035,7 +37703,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main (void) +main () { int tz; @@ -39045,12 +37713,11 @@ main (void) 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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39058,7 +37725,7 @@ else $as_nop #include int -main (void) +main () { int tz; @@ -39068,12 +37735,11 @@ main (void) 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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39081,7 +37747,7 @@ else $as_nop #include int -main (void) +main () { int tz; @@ -39091,29 +37757,28 @@ main (void) 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 $as_nop +else if test "$USE_DOS" = 0 ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5 -printf "%s\n" "$as_me: WARNING: no timezone variable" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5 +$as_echo "$as_me: WARNING: no timezone variable" >&2;} fi fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39123,29 +37788,34 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5 -printf "%s\n" "$wx_cv_var_timezone" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5 +$as_echo "$wx_cv_var_timezone" >&6; } if test "x$wx_cv_var_timezone" != x ; then - printf "%s\n" "#define WX_TIMEZONE $wx_cv_var_timezone" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define WX_TIMEZONE $wx_cv_var_timezone +_ACEOF fi - 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 + 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 fi +done if test "$ac_cv_func_localtime" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5 -printf %s "checking for tm_gmtoff in struct tm... " >&6; } -if test ${wx_cv_struct_tm_has_gmtoff+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39153,7 +37823,7 @@ else $as_nop #include int -main (void) +main () { struct tm tm; @@ -39163,33 +37833,31 @@ main (void) 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 $as_nop +else wx_cv_struct_tm_has_gmtoff=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5 +$as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; } fi if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then - printf "%s\n" "#define WX_GMTOFF_IN_TM 1" >>confdefs.h + $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _NL_TIME_FIRST_WEEKDAY in langinfo.h" >&5 -printf %s "checking for _NL_TIME_FIRST_WEEKDAY in langinfo.h... " >&6; } -if test ${wx_cv_have_nl_time_first_weekday+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39198,7 +37866,7 @@ else $as_nop #include int -main (void) +main () { _NL_TIME_FIRST_WEEKDAY; @@ -39207,23 +37875,22 @@ main (void) 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 $as_nop +else wx_cv_have_nl_time_first_weekday=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ 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; } +{ $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; } if test "$wx_cv_have_nl_time_first_weekday" = "yes"; then - printf "%s\n" "#define HAVE_NL_TIME_FIRST_WEEKDAY 1" >>confdefs.h + $as_echo "#define HAVE_NL_TIME_FIRST_WEEKDAY 1" >>confdefs.h fi @@ -39231,29 +37898,31 @@ printf "%s\n" "$wx_cv_have_nl_time_first_weekday" >&6; } fi -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 +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 fi +done if test "$wxUSE_SOCKETS" = "yes"; then if test "$USE_WIN32" != 1 ; then ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" -if test "x$ac_cv_func_socket" = xyes -then : +if test "x$ac_cv_func_socket" = xyes; then : -else $as_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 -printf %s "checking for socket in -lsocket... " >&6; } -if test ${ac_cv_lib_socket_socket+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lsocket $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -39262,40 +37931,40 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char socket (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_socket_socket=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : if test "$INET_LINK" != " -lsocket"; then INET_LINK="$INET_LINK -lsocket" fi -else $as_nop +else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5 -printf %s "checking for socket in -lnetwork... " >&6; } -if test ${ac_cv_lib_network_socket+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 LIBS="-lnetwork $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -39304,36 +37973,37 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif char socket (); int -main (void) +main () { 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 $as_nop +else ac_cv_lib_network_socket=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ 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 : +{ $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 : if test "$INET_LINK" != " -lnetwork"; then INET_LINK="$INET_LINK -lnetwork" fi -else $as_nop +else - { 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;} + { $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;} wxUSE_SOCKETS=no @@ -39352,12 +38022,11 @@ fi if test "$wxUSE_SOCKETS" = "yes" ; then if test "$USE_WIN32" != 1 ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5 -printf %s "checking what is the type of the third argument of getsockname... " >&6; } -if test ${wx_cv_type_getsockname3+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -39372,7 +38041,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main (void) +main () { socklen_t len; @@ -39382,10 +38051,9 @@ main (void) 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 $as_nop +else CFLAGS_OLD="$CFLAGS" if test "$GCC" = yes ; then @@ -39399,7 +38067,7 @@ else $as_nop #include int -main (void) +main () { size_t len; @@ -39409,10 +38077,9 @@ main (void) 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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39420,7 +38087,7 @@ else $as_nop #include int -main (void) +main () { int len; @@ -39430,23 +38097,22 @@ main (void) 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 $as_nop +else wx_cv_type_getsockname3=unknown fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$CFLAGS_OLD" fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39455,23 +38121,24 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5 -printf "%s\n" "$wx_cv_type_getsockname3" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5 +$as_echo "$wx_cv_type_getsockname3" >&6; } if test "$wx_cv_type_getsockname3" = "unknown"; then wxUSE_SOCKETS=no - { 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;} + { $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;} else - printf "%s\n" "#define WX_SOCKLEN_T $wx_cv_type_getsockname3" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define WX_SOCKLEN_T $wx_cv_type_getsockname3 +_ACEOF fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5 -printf %s "checking what is the type of the fifth argument of getsockopt... " >&6; } -if test ${wx_cv_type_getsockopt5+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -39486,7 +38153,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main (void) +main () { socklen_t len; @@ -39496,10 +38163,9 @@ main (void) 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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39508,7 +38174,7 @@ else $as_nop #include int -main (void) +main () { size_t len; @@ -39518,10 +38184,9 @@ main (void) 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 $as_nop +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39529,7 +38194,7 @@ else $as_nop #include int -main (void) +main () { int len; @@ -39539,21 +38204,20 @@ main (void) 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 $as_nop +else wx_cv_type_getsockopt5=unknown fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -39562,15 +38226,17 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5 -printf "%s\n" "$wx_cv_type_getsockopt5" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5 +$as_echo "$wx_cv_type_getsockopt5" >&6; } if test "$wx_cv_type_getsockopt5" = "unknown"; then wxUSE_SOCKETS=no - { 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;} + { $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;} else - printf "%s\n" "#define SOCKOPTLEN_T $wx_cv_type_getsockopt5" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define SOCKOPTLEN_T $wx_cv_type_getsockopt5 +_ACEOF fi fi @@ -39578,12 +38244,11 @@ fi if test "$wxUSE_SOCKETS" = "yes" ; then if test "$wxUSE_IPV6" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5 -printf %s "checking whether we have sockaddr_in6... " >&6; } -if test ${wx_cv_type_sockaddr_in6+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -39593,7 +38258,7 @@ else $as_nop #include int -main (void) +main () { struct sockaddr_in6 sa6; @@ -39602,114 +38267,113 @@ main (void) 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 $as_nop +else wx_cv_type_sockaddr_in6=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5 -printf "%s\n" "$wx_cv_type_sockaddr_in6" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5 +$as_echo "$wx_cv_type_sockaddr_in6" >&6; } if test "$wx_cv_type_sockaddr_in6"="yes"; then - printf "%s\n" "#define wxUSE_IPV6 1" >>confdefs.h + $as_echo "#define wxUSE_IPV6 1" >>confdefs.h else - { 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;} + { $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;} fi fi - printf "%s\n" "#define wxUSE_SOCKETS 1" >>confdefs.h + $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets" fi if test "$wxUSE_PROTOCOL" = "yes"; then if test "$wxUSE_SOCKETS" != "yes"; then - { 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;} + { $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;} wxUSE_PROTOCOL=no fi fi if test "$wxUSE_PROTOCOL" = "yes"; then - printf "%s\n" "#define wxUSE_PROTOCOL 1" >>confdefs.h + $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then - printf "%s\n" "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h + $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h fi if test "$wxUSE_PROTOCOL_FTP" = "yes"; then - printf "%s\n" "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h + $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h fi if test "$wxUSE_PROTOCOL_FILE" = "yes"; then - printf "%s\n" "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h + $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h fi else if test "$wxUSE_FS_INET" = "yes"; then - { 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;} + { $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;} wxUSE_FS_INET="no" fi fi if test "$wxUSE_URL" = "yes"; then if test "$wxUSE_PROTOCOL" != "yes"; then - { 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;} + { $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;} wxUSE_URL=no fi if test "$wxUSE_URL" = "yes"; then - printf "%s\n" "#define wxUSE_URL 1" >>confdefs.h + $as_echo "#define wxUSE_URL 1" >>confdefs.h fi fi if test "$wxUSE_VARIANT" = "yes"; then - printf "%s\n" "#define wxUSE_VARIANT 1" >>confdefs.h + $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h fi if test "$wxUSE_FS_INET" = "yes"; then - printf "%s\n" "#define wxUSE_FS_INET 1" >>confdefs.h + $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h fi if test "$wxUSE_WEBREQUEST" = "yes"; then if test "$wxUSE_LIBCURL" = "yes"; then - printf "%s\n" "#define wxUSE_WEBREQUEST_CURL 1" >>confdefs.h + $as_echo "#define wxUSE_WEBREQUEST_CURL 1" >>confdefs.h have_webrequest_backend=1 fi if test "$USE_DARWIN" = 1 -a "$wxUSE_URLSESSION" = "yes"; then - printf "%s\n" "#define wxUSE_WEBREQUEST_URLSESSION 1" >>confdefs.h + $as_echo "#define wxUSE_WEBREQUEST_URLSESSION 1" >>confdefs.h have_webrequest_backend=1 fi if test "$USE_WIN32" = 1 -a "$wxUSE_WINHTTP" = "yes"; then - printf "%s\n" "#define wxUSE_WEBREQUEST_WINHTTP 1" >>confdefs.h + $as_echo "#define wxUSE_WEBREQUEST_WINHTTP 1" >>confdefs.h have_webrequest_backend=1 fi if test "$have_webrequest_backend" = 1; then - printf "%s\n" "#define wxUSE_WEBREQUEST 1" >>confdefs.h + $as_echo "#define wxUSE_WEBREQUEST 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webrequest" else - { 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;} + { $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;} fi fi @@ -39721,123 +38385,125 @@ 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 : - printf "%s\n" "#define HAVE_LINUX_JOYSTICK_H 1" >>confdefs.h +if test "x$ac_cv_header_linux_joystick_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LINUX_JOYSTICK_H 1 +_ACEOF wxUSE_JOYSTICK=yes fi done + fi if test "$wxUSE_JOYSTICK" = "yes"; then - printf "%s\n" "#define wxUSE_JOYSTICK 1" >>confdefs.h + $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest" else - { 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;} + { $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;} fi fi if test "$wxUSE_FONTENUM" = "yes" ; then - printf "%s\n" "#define wxUSE_FONTENUM 1" >>confdefs.h + $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h fi if test "$wxUSE_FONTMAP" = "yes" ; then - printf "%s\n" "#define wxUSE_FONTMAP 1" >>confdefs.h + $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h fi if test "$wxUSE_UNICODE_UTF8" = "yes"; then - printf "%s\n" "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h + $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then - printf "%s\n" "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h + $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h fi fi if test "$wxUSE_CONSTRAINTS" = "yes"; then - printf "%s\n" "#define wxUSE_CONSTRAINTS 1" >>confdefs.h + $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout" fi if test "$wxUSE_MDI" = "yes"; then - printf "%s\n" "#define wxUSE_MDI 1" >>confdefs.h + $as_echo "#define wxUSE_MDI 1" >>confdefs.h if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then - printf "%s\n" "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h + $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi" fi fi if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then - printf "%s\n" "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h + $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview" fi if test "$wxUSE_HELP" = "yes"; then - printf "%s\n" "#define wxUSE_HELP 1" >>confdefs.h + $as_echo "#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 - printf "%s\n" "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h + $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h fi fi if test "$wxUSE_WXHTML_HELP" = "yes"; then if test "$wxUSE_HTML" = "yes"; then - printf "%s\n" "#define wxUSE_WXHTML_HELP 1" >>confdefs.h + $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h else - { 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;} + { $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;} wxUSE_WXHTML_HELP=no fi fi fi if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then - printf "%s\n" "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h + $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing" fi if test "$wxUSE_POSTSCRIPT" = "yes" ; then - printf "%s\n" "#define wxUSE_POSTSCRIPT 1" >>confdefs.h + $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h fi -printf "%s\n" "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h +$as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h if test "$wxUSE_SVG" = "yes"; then - printf "%s\n" "#define wxUSE_SVG 1" >>confdefs.h + $as_echo "#define wxUSE_SVG 1" >>confdefs.h fi if test "$wxUSE_METAFILE" = "yes"; then if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1; then - { 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;} + { $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;} wxUSE_METAFILE=no fi elif test "$wxUSE_METAFILE" = "auto"; then @@ -39847,10 +38513,10 @@ elif test "$wxUSE_METAFILE" = "auto"; then fi if test "$wxUSE_METAFILE" = "yes"; then - printf "%s\n" "#define wxUSE_METAFILE 1" >>confdefs.h + $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h if test "$wxUSE_MSW" = 1; then - printf "%s\n" "#define wxUSE_ENH_METAFILE 1" >>confdefs.h + $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h fi fi @@ -39860,11 +38526,11 @@ if test "$USE_WIN32" = 1 ; then if test "$wxUSE_OLE" = "yes" ; then LIBS="-lrpcrt4 -loleaut32 -lole32 -luuid $LIBS" - printf "%s\n" "#define wxUSE_OLE 1" >>confdefs.h + $as_echo "#define wxUSE_OLE 1" >>confdefs.h - printf "%s\n" "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h + $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h - printf "%s\n" "#define wxUSE_ACTIVEX 1" >>confdefs.h + $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto" else @@ -39873,14 +38539,14 @@ if test "$USE_WIN32" = 1 ; then wxUSE_DATAOBJ=no if test "$wxUSE_MEDIACTRL" = "yes"; then - { 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;} + { $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;} wxUSE_MEDIACTRL=no fi if test "$wxUSE_WEBVIEW" = "yes"; then - { 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;} + { $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;} wxUSE_WEBVIEW=no fi fi @@ -39888,13 +38554,13 @@ fi if test "$wxUSE_IPC" = "yes"; then if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then - { 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;} + { $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;} wxUSE_IPC=no fi if test "$wxUSE_IPC" = "yes"; then - printf "%s\n" "#define wxUSE_IPC 1" >>confdefs.h + $as_echo "#define wxUSE_IPC 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc" fi @@ -39902,42 +38568,42 @@ fi if test "$wxUSE_DATAOBJ" = "yes"; then if test "$wxUSE_DFB" = 1; then - { 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;} + { $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;} wxUSE_DATAOBJ=no else - printf "%s\n" "#define wxUSE_DATAOBJ 1" >>confdefs.h + $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h fi else - { 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;} + { $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;} wxUSE_CLIPBOARD=no wxUSE_DRAG_AND_DROP=no fi if test "$wxUSE_CLIPBOARD" = "yes"; then if test "$wxUSE_DFB" = 1; then - { 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;} + { $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;} wxUSE_CLIPBOARD=no fi if test "$wxUSE_CLIPBOARD" = "yes"; then - printf "%s\n" "#define wxUSE_CLIPBOARD 1" >>confdefs.h + $as_echo "#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 - { 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;} + { $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;} wxUSE_DRAG_AND_DROP=no fi if test "$wxUSE_DRAG_AND_DROP" = "yes"; then - printf "%s\n" "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h + $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h fi @@ -39952,12 +38618,12 @@ if test "$wxUSE_CLIPBOARD" = "yes"; then fi if test "$wxUSE_SPLINES" = "yes" ; then - printf "%s\n" "#define wxUSE_SPLINES 1" >>confdefs.h + $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h fi if test "$wxUSE_MOUSEWHEEL" = "yes" ; then - printf "%s\n" "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h + $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h fi @@ -39966,18 +38632,18 @@ if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then if test "$wxUSE_XTEST" = "yes" ; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5 -printf %s "checking for XTST... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5 +$as_echo_n "checking for XTST... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$XTST_CFLAGS"; then pkg_cv_XTST_CFLAGS="$XTST_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 ($PKG_CONFIG --exists --print-errors "xtst") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XTST_CFLAGS=`$PKG_CONFIG --cflags "xtst" 2>/dev/null` else @@ -39992,10 +38658,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_XTST_LIBS="$XTST_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xtst\""; } >&5 ($PKG_CONFIG --exists --print-errors "xtst") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XTST_LIBS=`$PKG_CONFIG --libs "xtst" 2>/dev/null` else @@ -40025,8 +38691,8 @@ fi if test "$WXGTK3" = 1; then - { 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;} + { $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;} wxUSE_UIACTIONSIMULATOR=no fi wxUSE_XTEST="no" @@ -40035,8 +38701,8 @@ printf "%s\n" "$as_me: WARNING: XTest not found, disabling wxUIActionSimulator" elif test $pkg_failed = untried; then if test "$WXGTK3" = 1; then - { 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;} + { $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;} wxUSE_UIACTIONSIMULATOR=no fi wxUSE_XTEST="no" @@ -40045,13 +38711,13 @@ printf "%s\n" "$as_me: WARNING: XTest not found, disabling wxUIActionSimulator" else XTST_CFLAGS=$pkg_cv_XTST_CFLAGS XTST_LIBS=$pkg_cv_XTST_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } GUI_TK_LIBRARY="$GUI_TK_LIBRARY $XTST_LIBS" CFLAGS="$XTST_CFLAGS $CFLAGS" CXXFLAGS="$XTST_CFLAGS $CXXFLAGS" - printf "%s\n" "#define wxUSE_XTEST 1" >>confdefs.h + $as_echo "#define wxUSE_XTEST 1" >>confdefs.h fi @@ -40059,20 +38725,20 @@ fi wxUSE_UIACTIONSIMULATOR=no fi elif test "$wxUSE_DFB" = 1; then - { 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;} + { $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;} wxUSE_UIACTIONSIMULATOR=no fi if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then - printf "%s\n" "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h + $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction" fi fi if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then - printf "%s\n" "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h + $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h fi @@ -40083,366 +38749,366 @@ if test "$wxUSE_CONTROLS" = "yes"; then fi if test "$wxUSE_MARKUP" = "yes"; then - printf "%s\n" "#define wxUSE_MARKUP 1" >>confdefs.h + $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h fi if test "$wxUSE_ACCEL" = "yes"; then - printf "%s\n" "#define wxUSE_ACCEL 1" >>confdefs.h + $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_ACTIVITYINDICATOR" = "yes"; then - printf "%s\n" "#define wxUSE_ACTIVITYINDICATOR 1" >>confdefs.h + $as_echo "#define wxUSE_ACTIVITYINDICATOR 1" >>confdefs.h fi if test "$wxUSE_ADDREMOVECTRL" = "yes"; then - printf "%s\n" "#define wxUSE_ADDREMOVECTRL 1" >>confdefs.h + $as_echo "#define wxUSE_ADDREMOVECTRL 1" >>confdefs.h fi if test "$wxUSE_ANIMATIONCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate" fi if test "$wxUSE_BANNERWINDOW" = "yes"; then - printf "%s\n" "#define wxUSE_BANNERWINDOW 1" >>confdefs.h + $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h fi if test "$wxUSE_BUTTON" = "yes"; then - printf "%s\n" "#define wxUSE_BUTTON 1" >>confdefs.h + $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_BMPBUTTON" = "yes"; then - printf "%s\n" "#define wxUSE_BMPBUTTON 1" >>confdefs.h + $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_CALCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_CALENDARCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar" fi if test "$wxUSE_CARET" = "yes"; then - printf "%s\n" "#define wxUSE_CARET 1" >>confdefs.h + $as_echo "#define wxUSE_CARET 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret" fi if test "$wxUSE_COLLPANE" = "yes"; then - printf "%s\n" "#define wxUSE_COLLPANE 1" >>confdefs.h + $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane" fi if test "$wxUSE_COMBOBOX" = "yes"; then - printf "%s\n" "#define wxUSE_COMBOBOX 1" >>confdefs.h + $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_COMBOCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_COMBOCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then - printf "%s\n" "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h + $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_CHOICE" = "yes"; then - printf "%s\n" "#define wxUSE_CHOICE 1" >>confdefs.h + $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_CHOICEBOOK" = "yes"; then - printf "%s\n" "#define wxUSE_CHOICEBOOK 1" >>confdefs.h + $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_CHECKBOX" = "yes"; then - printf "%s\n" "#define wxUSE_CHECKBOX 1" >>confdefs.h + $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_CHECKLST" = "yes"; then - printf "%s\n" "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h + $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_DATEPICKCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_DIRPICKERCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_FILECTRL" = "yes"; then - printf "%s\n" "#define wxUSE_FILECTRL 1" >>confdefs.h + $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_FILEPICKERCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_FONTPICKERCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_DISPLAY" = "yes"; then if test "$wxUSE_DFB" = 1; then - { 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;} + { $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;} wxUSE_DISPLAY=no else - printf "%s\n" "#define wxUSE_DISPLAY 1" >>confdefs.h + $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display" fi fi if test "$wxUSE_DETECT_SM" = "yes"; then - printf "%s\n" "#define wxUSE_DETECT_SM 1" >>confdefs.h + $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h fi if test "$wxUSE_GAUGE" = "yes"; then - printf "%s\n" "#define wxUSE_GAUGE 1" >>confdefs.h + $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_GRID" = "yes"; then - printf "%s\n" "#define wxUSE_GRID 1" >>confdefs.h + $as_echo "#define wxUSE_GRID 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid" fi if test "$wxUSE_HEADERCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_HEADERCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_HYPERLINKCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then - printf "%s\n" "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h + $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_DATAVIEWCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview" if test "$wxUSE_NATIVE_DATAVIEWCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_NATIVE_DATAVIEWCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_NATIVE_DATAVIEWCTRL 1" >>confdefs.h fi fi if test "$wxUSE_IMAGLIST" = "yes"; then - printf "%s\n" "#define wxUSE_IMAGLIST 1" >>confdefs.h + $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h fi if test "$wxUSE_INFOBAR" = "yes"; then - printf "%s\n" "#define wxUSE_INFOBAR 1" >>confdefs.h + $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h fi if test "$wxUSE_LISTBOOK" = "yes"; then - printf "%s\n" "#define wxUSE_LISTBOOK 1" >>confdefs.h + $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_LISTBOX" = "yes"; then - printf "%s\n" "#define wxUSE_LISTBOX 1" >>confdefs.h + $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_LISTCTRL" = "yes"; then if test "$wxUSE_IMAGLIST" = "yes"; then - printf "%s\n" "#define wxUSE_LISTCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl" else - { 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;} + { $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;} fi fi if test "$wxUSE_EDITABLELISTBOX" = "yes"; then - printf "%s\n" "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h + $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_NOTEBOOK" = "yes"; then - printf "%s\n" "#define wxUSE_NOTEBOOK 1" >>confdefs.h + $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook" fi if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then - printf "%s\n" "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h + $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h fi if test "$wxUSE_ODCOMBOBOX" = "yes"; then - printf "%s\n" "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h + $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo" fi if test "$wxUSE_RADIOBOX" = "yes"; then - printf "%s\n" "#define wxUSE_RADIOBOX 1" >>confdefs.h + $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_RADIOBTN" = "yes"; then - printf "%s\n" "#define wxUSE_RADIOBTN 1" >>confdefs.h + $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_REARRANGECTRL" = "yes"; then - printf "%s\n" "#define wxUSE_REARRANGECTRL 1" >>confdefs.h + $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h fi if test "$wxUSE_RICHMSGDLG" = "yes"; then - printf "%s\n" "#define wxUSE_RICHMSGDLG 1" >>confdefs.h + $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h fi if test "$wxUSE_RICHTOOLTIP" = "yes"; then - printf "%s\n" "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h + $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h fi if test "$wxUSE_SASH" = "yes"; then - printf "%s\n" "#define wxUSE_SASH 1" >>confdefs.h + $as_echo "#define wxUSE_SASH 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest" fi if test "$wxUSE_SCROLLBAR" = "yes"; then - printf "%s\n" "#define wxUSE_SCROLLBAR 1" >>confdefs.h + $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll" fi if test "$wxUSE_SEARCHCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_SEARCHCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_SLIDER" = "yes"; then - printf "%s\n" "#define wxUSE_SLIDER 1" >>confdefs.h + $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_SPINBTN" = "yes"; then - printf "%s\n" "#define wxUSE_SPINBTN 1" >>confdefs.h + $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_SPINCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_SPINCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_SPLITTER" = "yes"; then - printf "%s\n" "#define wxUSE_SPLITTER 1" >>confdefs.h + $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter" fi if test "$wxUSE_STATBMP" = "yes"; then - printf "%s\n" "#define wxUSE_STATBMP 1" >>confdefs.h + $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_STATBOX" = "yes"; then - printf "%s\n" "#define wxUSE_STATBOX 1" >>confdefs.h + $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_STATTEXT" = "yes"; then - printf "%s\n" "#define wxUSE_STATTEXT 1" >>confdefs.h + $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_STATLINE" = "yes"; then - printf "%s\n" "#define wxUSE_STATLINE 1" >>confdefs.h + $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_STATUSBAR" = "yes"; then - printf "%s\n" "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h + $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h - printf "%s\n" "#define wxUSE_STATUSBAR 1" >>confdefs.h + $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h USES_CONTROLS=1 @@ -40450,31 +39116,31 @@ if test "$wxUSE_STATUSBAR" = "yes"; then fi if test "$wxUSE_TEXTCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_TEXTCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text" - printf "%s\n" "#define wxUSE_RICHEDIT 1" >>confdefs.h + $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h - printf "%s\n" "#define wxUSE_RICHEDIT2 1" >>confdefs.h + $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h fi if test "$wxUSE_TIMEPICKCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_TOGGLEBTN" = "yes"; then - printf "%s\n" "#define wxUSE_TOGGLEBTN 1" >>confdefs.h + $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_TOOLBAR" = "yes"; then - printf "%s\n" "#define wxUSE_TOOLBAR 1" >>confdefs.h + $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h USES_CONTROLS=1 @@ -40482,7 +39148,7 @@ if test "$wxUSE_TOOLBAR" = "yes"; then wxUSE_TOOLBAR_NATIVE="no" else wxUSE_TOOLBAR_NATIVE="yes" - printf "%s\n" "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h + $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h fi @@ -40491,47 +39157,47 @@ fi if test "$wxUSE_TOOLTIPS" = "yes"; then if test "$wxUSE_UNIVERSAL" = "yes"; then - { 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;} + { $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;} else - printf "%s\n" "#define wxUSE_TOOLTIPS 1" >>confdefs.h + $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h fi fi if test "$wxUSE_TREEBOOK" = "yes"; then - printf "%s\n" "#define wxUSE_TREEBOOK 1" >>confdefs.h + $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_TOOLBOOK" = "yes"; then - printf "%s\n" "#define wxUSE_TOOLBOOK 1" >>confdefs.h + $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h USES_CONTROLS=1 fi if test "$wxUSE_TREECTRL" = "yes"; then if test "$wxUSE_IMAGLIST" = "yes"; then - printf "%s\n" "#define wxUSE_TREECTRL 1" >>confdefs.h + $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl" else - { 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;} + { $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;} fi fi if test "$wxUSE_TREELISTCTRL" = "yes"; then - printf "%s\n" "#define wxUSE_TREELISTCTRL 1" >>confdefs.h + $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h USES_CONTROLS=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist" fi if test "$wxUSE_POPUPWIN" = "yes"; then - printf "%s\n" "#define wxUSE_POPUPWIN 1" >>confdefs.h + $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup" @@ -40539,7 +39205,7 @@ if test "$wxUSE_POPUPWIN" = "yes"; then fi if test "$wxUSE_PREFERENCES_EDITOR" = "yes"; then - printf "%s\n" "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h + $as_echo "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS preferences" fi @@ -40549,18 +39215,18 @@ if test "$wxUSE_PRIVATE_FONTS" = "yes"; then if test "$wxUSE_PRIVATE_FONTS" = "yes"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PRIVATE_FONTS" >&5 -printf %s "checking for PRIVATE_FONTS... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRIVATE_FONTS" >&5 +$as_echo_n "checking for PRIVATE_FONTS... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$PRIVATE_FONTS_CFLAGS"; then pkg_cv_PRIVATE_FONTS_CFLAGS="$PRIVATE_FONTS_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.8.0 pangoft2 >= 1.38.0\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PRIVATE_FONTS_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.8.0 pangoft2 >= 1.38.0" 2>/dev/null` else @@ -40575,10 +39241,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_PRIVATE_FONTS_LIBS="$PRIVATE_FONTS_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.8.0 pangoft2 >= 1.38.0\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PRIVATE_FONTS_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.8.0 pangoft2 >= 1.38.0" 2>/dev/null` else @@ -40606,18 +39272,18 @@ fi # Put the nasty error message in config.log where it belongs echo "$PRIVATE_FONTS_PKG_ERRORS" >&5 - { 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;} + { $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;} elif test $pkg_failed = untried; then - { 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;} + { $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;} else PRIVATE_FONTS_CFLAGS=$pkg_cv_PRIVATE_FONTS_CFLAGS PRIVATE_FONTS_LIBS=$pkg_cv_PRIVATE_FONTS_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } - printf "%s\n" "#define wxUSE_PRIVATE_FONTS 1" >>confdefs.h + $as_echo "#define wxUSE_PRIVATE_FONTS 1" >>confdefs.h CXXFLAGS="$PRIVATE_FONTS_CFLAGS $CXXFLAGS" GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PRIVATE_FONTS_LIBS" @@ -40625,41 +39291,41 @@ printf "%s\n" "yes" >&6; } fi fi elif test "$wxUSE_MAC" = 1 -o "$wxUSE_MSW" = 1; then - printf "%s\n" "#define wxUSE_PRIVATE_FONTS 1" >>confdefs.h + $as_echo "#define wxUSE_PRIVATE_FONTS 1" >>confdefs.h fi fi if test "$wxUSE_DIALUP_MANAGER" = "yes"; then if test "$wxUSE_MAC" = 1; then - { 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;} + { $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;} else - printf "%s\n" "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h + $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup" fi fi if test "$wxUSE_TIPWINDOW" = "yes"; then - printf "%s\n" "#define wxUSE_TIPWINDOW 1" >>confdefs.h + $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h fi if test "$USES_CONTROLS" = 1; then - printf "%s\n" "#define wxUSE_CONTROLS 1" >>confdefs.h + $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h fi if test "$wxUSE_ACCESSIBILITY" = "yes"; then - printf "%s\n" "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h + $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access" fi if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then - printf "%s\n" "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h + $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h fi @@ -40674,22 +39340,22 @@ if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then fi if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then - printf "%s\n" "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h + $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h fi if test "$wxUSE_DRAGIMAGE" = "yes"; then - printf "%s\n" "#define wxUSE_DRAGIMAGE 1" >>confdefs.h + $as_echo "#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 - { 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;} + { $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;} else - printf "%s\n" "#define wxUSE_EXCEPTIONS 1" >>confdefs.h + $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except" fi @@ -40697,7 +39363,7 @@ fi USE_HTML=0 if test "$wxUSE_HTML" = "yes"; then - printf "%s\n" "#define wxUSE_HTML 1" >>confdefs.h + $as_echo "#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" @@ -40707,11 +39373,11 @@ fi USE_XRC=0 if test "$wxUSE_XRC" = "yes"; then if test "$wxUSE_XML" != "yes"; then - { 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;} + { $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;} wxUSE_XRC=no else - printf "%s\n" "#define wxUSE_XRC 1" >>confdefs.h + $as_echo "#define wxUSE_XRC 1" >>confdefs.h USE_XRC=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc" @@ -40720,7 +39386,7 @@ fi USE_AUI=0 if test "$wxUSE_AUI" = "yes"; then - printf "%s\n" "#define wxUSE_AUI 1" >>confdefs.h + $as_echo "#define wxUSE_AUI 1" >>confdefs.h USE_AUI=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui" @@ -40728,7 +39394,7 @@ fi USE_PROPGRID=0 if test "$wxUSE_PROPGRID" = "yes"; then - printf "%s\n" "#define wxUSE_PROPGRID 1" >>confdefs.h + $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h USE_PROPGRID=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid" @@ -40736,7 +39402,7 @@ fi USE_RIBBON=0 if test "$wxUSE_RIBBON" = "yes"; then - printf "%s\n" "#define wxUSE_RIBBON 1" >>confdefs.h + $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h USE_RIBBON=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon" @@ -40762,19 +39428,18 @@ if test "$wxUSE_STC" = "yes"; then to fix this." "$LINENO" 5 fi - printf "%s\n" "#define wxUSE_STC 1" >>confdefs.h + $as_echo "#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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_path_PYTHON+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. @@ -40784,15 +39449,11 @@ else $as_nop for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$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" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -40804,11 +39465,11 @@ esac fi PYTHON=$ac_cv_path_PYTHON if test -n "$PYTHON"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 -printf "%s\n" "$PYTHON" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 +$as_echo "$PYTHON" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -40819,62 +39480,62 @@ fi fi if test "$wxUSE_MENUS" = "yes"; then - printf "%s\n" "#define wxUSE_MENUS 1" >>confdefs.h + $as_echo "#define wxUSE_MENUS 1" >>confdefs.h if test "$wxUSE_MENUBAR" = "yes"; then - printf "%s\n" "#define wxUSE_MENUBAR 1" >>confdefs.h + $as_echo "#define wxUSE_MENUBAR 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu" fi elif test "$wxUSE_MENUBAR" = "yes"; then - { 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;} + { $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;} fi if test "$wxUSE_MIMETYPE" = "yes"; then - printf "%s\n" "#define wxUSE_MIMETYPE 1" >>confdefs.h + $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h fi if test "$wxUSE_MINIFRAME" = "yes"; then - printf "%s\n" "#define wxUSE_MINIFRAME 1" >>confdefs.h + $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h fi if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then - printf "%s\n" "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h + $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h fi if test "$wxUSE_TASKBARICON" = "yes"; then - printf "%s\n" "#define wxUSE_TASKBARICON 1" >>confdefs.h + $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h - printf "%s\n" "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h + $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar" fi if test "$wxUSE_VALIDATORS" = "yes"; then - printf "%s\n" "#define wxUSE_VALIDATORS 1" >>confdefs.h + $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate" fi if test "$wxUSE_PALETTE" = "yes" ; then if test "$wxUSE_DFB" = 1; then - { 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;} + { $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;} wxUSE_PALETTE=no else - printf "%s\n" "#define wxUSE_PALETTE 1" >>confdefs.h + $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h fi fi USE_RICHTEXT=0 if test "$wxUSE_RICHTEXT" = "yes"; then - printf "%s\n" "#define wxUSE_RICHTEXT 1" >>confdefs.h + $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h USE_RICHTEXT=1 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext" @@ -40888,18 +39549,18 @@ if test "$wxUSE_WEBVIEW" = "yes"; then if test "$WXGTK3" = 1; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 -printf %s "checking for WEBKIT... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 +$as_echo_n "checking for WEBKIT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$WEBKIT_CFLAGS"; then pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.1\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "webkit2gtk-4.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit2gtk-4.1" 2>/dev/null` else @@ -40914,10 +39575,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.1\""; } >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.1\""; } >&5 ($PKG_CONFIG --exists --print-errors "webkit2gtk-4.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit2gtk-4.1" 2>/dev/null` else @@ -40946,19 +39607,19 @@ fi echo "$WEBKIT_PKG_ERRORS" >&5 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&5 -printf "%s\n" "$as_me: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&2;} + { $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;} elif test $pkg_failed = untried; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&5 -printf "%s\n" "$as_me: WARNING: webkit2gtk-4.1 not found, falling back to webkit2gtk-4.0" >&2;} + { $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;} else WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } USE_WEBVIEW_WEBKIT2=1 CXXFLAGS="$CXXFLAGS $WEBKIT_CFLAGS" @@ -40968,18 +39629,18 @@ fi if test "$USE_WEBVIEW_WEBKIT2" = 0; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 -printf %s "checking for WEBKIT... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 +$as_echo_n "checking for WEBKIT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$WEBKIT_CFLAGS"; then pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.0\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit2gtk-4.0" 2>/dev/null` else @@ -40994,10 +39655,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit2gtk-4.0\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit2gtk-4.0" 2>/dev/null` else @@ -41026,19 +39687,19 @@ fi echo "$WEBKIT_PKG_ERRORS" >&5 - { 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;} + { $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;} elif test $pkg_failed = untried; then - { 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;} + { $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;} else WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } USE_WEBVIEW_WEBKIT2=1 CXXFLAGS="$CXXFLAGS $WEBKIT_CFLAGS" @@ -41054,18 +39715,18 @@ fi fi pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 -printf %s "checking for WEBKIT... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5 +$as_echo_n "checking for WEBKIT... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$WEBKIT_CFLAGS"; then pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null` else @@ -41080,10 +39741,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null` else @@ -41112,19 +39773,19 @@ fi echo "$WEBKIT_PKG_ERRORS" >&5 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5 -printf "%s\n" "$as_me: WARNING: webkitgtk not found." >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5 +$as_echo "$as_me: WARNING: webkitgtk not found." >&2;} elif test $pkg_failed = untried; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5 -printf "%s\n" "$as_me: WARNING: webkitgtk not found." >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5 +$as_echo "$as_me: WARNING: webkitgtk not found." >&2;} else WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } USE_WEBVIEW_WEBKIT=1 CXXFLAGS="$CXXFLAGS $WEBKIT_CFLAGS" @@ -41142,25 +39803,25 @@ fi if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then if test "$USE_WEBVIEW_WEBKIT" = 1; then wxUSE_WEBVIEW="yes" - printf "%s\n" "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h + $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h elif test "$USE_WEBVIEW_WEBKIT2" = 1; then wxUSE_WEBVIEW="yes" - printf "%s\n" "#define wxUSE_WEBVIEW_WEBKIT2 1" >>confdefs.h + $as_echo "#define wxUSE_WEBVIEW_WEBKIT2 1" >>confdefs.h else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5 -printf "%s\n" "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5 +$as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;} fi elif test "$wxUSE_MSW" = 1; then if test "$wxUSE_WEBVIEW_IE" = "yes"; then wxUSE_WEBVIEW="yes" - printf "%s\n" "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h + $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h fi if test "$wxUSE_WEBVIEW_EDGE" = "yes"; then wxUSE_WEBVIEW="yes" - printf "%s\n" "#define wxUSE_WEBVIEW_EDGE 1" >>confdefs.h + $as_echo "#define wxUSE_WEBVIEW_EDGE 1" >>confdefs.h fi fi @@ -41168,7 +39829,7 @@ fi if test "$wxUSE_WEBVIEW" = "yes"; then USE_WEBVIEW=1 - printf "%s\n" "#define wxUSE_WEBVIEW 1" >>confdefs.h + $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview" else @@ -41177,126 +39838,126 @@ fi if test "$wxUSE_IMAGE" = "yes" ; then - printf "%s\n" "#define wxUSE_IMAGE 1" >>confdefs.h + $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h if test "$wxUSE_GIF" = "yes" ; then - printf "%s\n" "#define wxUSE_GIF 1" >>confdefs.h + $as_echo "#define wxUSE_GIF 1" >>confdefs.h fi if test "$wxUSE_PCX" = "yes" ; then - printf "%s\n" "#define wxUSE_PCX 1" >>confdefs.h + $as_echo "#define wxUSE_PCX 1" >>confdefs.h fi if test "$wxUSE_TGA" = "yes" ; then - printf "%s\n" "#define wxUSE_TGA 1" >>confdefs.h + $as_echo "#define wxUSE_TGA 1" >>confdefs.h fi if test "$wxUSE_IFF" = "yes" ; then - printf "%s\n" "#define wxUSE_IFF 1" >>confdefs.h + $as_echo "#define wxUSE_IFF 1" >>confdefs.h fi if test "$wxUSE_PNM" = "yes" ; then - printf "%s\n" "#define wxUSE_PNM 1" >>confdefs.h + $as_echo "#define wxUSE_PNM 1" >>confdefs.h fi if test "$wxUSE_XPM" = "yes" ; then - printf "%s\n" "#define wxUSE_XPM 1" >>confdefs.h + $as_echo "#define wxUSE_XPM 1" >>confdefs.h fi if test "$wxUSE_ICO_CUR" = "yes" ; then - printf "%s\n" "#define wxUSE_ICO_CUR 1" >>confdefs.h + $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h fi fi if test "$wxUSE_ABOUTDLG" = "yes"; then - printf "%s\n" "#define wxUSE_ABOUTDLG 1" >>confdefs.h + $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h fi if test "$wxUSE_CHOICEDLG" = "yes"; then - printf "%s\n" "#define wxUSE_CHOICEDLG 1" >>confdefs.h + $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h fi if test "$wxUSE_COLOURDLG" = "yes"; then - printf "%s\n" "#define wxUSE_COLOURDLG 1" >>confdefs.h + $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h fi if test "$wxUSE_CREDENTIALDLG" = "yes"; then - printf "%s\n" "#define wxUSE_CREDENTIALDLG 1" >>confdefs.h + $as_echo "#define wxUSE_CREDENTIALDLG 1" >>confdefs.h fi if test "$wxUSE_FILEDLG" = "yes"; then - printf "%s\n" "#define wxUSE_FILEDLG 1" >>confdefs.h + $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h fi if test "$wxUSE_FINDREPLDLG" = "yes"; then - printf "%s\n" "#define wxUSE_FINDREPLDLG 1" >>confdefs.h + $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h fi if test "$wxUSE_FONTDLG" = "yes"; then - printf "%s\n" "#define wxUSE_FONTDLG 1" >>confdefs.h + $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h fi if test "$wxUSE_DIRDLG" = "yes"; then if test "$wxUSE_TREECTRL" != "yes"; then - { 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;} + { $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;} else - printf "%s\n" "#define wxUSE_DIRDLG 1" >>confdefs.h + $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h fi fi if test "$wxUSE_MSGDLG" = "yes"; then - printf "%s\n" "#define wxUSE_MSGDLG 1" >>confdefs.h + $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h fi if test "$wxUSE_NUMBERDLG" = "yes"; then - printf "%s\n" "#define wxUSE_NUMBERDLG 1" >>confdefs.h + $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h fi if test "$wxUSE_PROGRESSDLG" = "yes"; then - printf "%s\n" "#define wxUSE_PROGRESSDLG 1" >>confdefs.h + $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h - printf "%s\n" "#define wxUSE_NATIVE_PROGRESSDLG 1" >>confdefs.h + $as_echo "#define wxUSE_NATIVE_PROGRESSDLG 1" >>confdefs.h fi if test "$wxUSE_SPLASH" = "yes"; then - printf "%s\n" "#define wxUSE_SPLASH 1" >>confdefs.h + $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash" fi if test "$wxUSE_STARTUP_TIPS" = "yes"; then - printf "%s\n" "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h + $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h fi if test "$wxUSE_TEXTDLG" = "yes"; then - printf "%s\n" "#define wxUSE_TEXTDLG 1" >>confdefs.h + $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h fi if test "$wxUSE_WIZARDDLG" = "yes"; then - printf "%s\n" "#define wxUSE_WIZARDDLG 1" >>confdefs.h + $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard" fi @@ -41304,7 +39965,7 @@ fi if test "$wxUSE_MSW" = 1; then if test "$wxUSE_OWNER_DRAWN" = "yes"; then - printf "%s\n" "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h + $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h fi fi @@ -41313,40 +39974,39 @@ fi if test "$wxUSE_MSW" = 1 ; then if test "$wxUSE_DC_CACHEING" = "yes"; then - printf "%s\n" "#define wxUSE_DC_CACHEING 1" >>confdefs.h + $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h fi if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then - printf "%s\n" "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h + $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h fi if test "$wxUSE_TASKBARBUTTON" = "yes"; then - printf "%s\n" "#define wxUSE_TASKBARBUTTON 1" >>confdefs.h + $as_echo "#define wxUSE_TASKBARBUTTON 1" >>confdefs.h fi if test "$wxUSE_UXTHEME" = "yes"; then - printf "%s\n" "#define wxUSE_UXTHEME 1" >>confdefs.h + $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h fi fi if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then - printf "%s\n" "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h + $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h fi if test "$USE_WIN32" = 1 ; then if test "$wxUSE_DBGHELP" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if debug help API is available" >&5 -printf %s "checking if debug help API is available... " >&6; } -if test ${wx_cv_lib_debughlp+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -41359,7 +40019,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include #include int -main (void) +main () { #ifndef API_VERSION_NUMBER @@ -41373,14 +40033,13 @@ main (void) 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 $as_nop +else wx_cv_lib_debughlp=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41390,30 +40049,30 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_debughlp" >&5 -printf "%s\n" "$wx_cv_lib_debughlp" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_debughlp" >&5 +$as_echo "$wx_cv_lib_debughlp" >&6; } if test "$wx_cv_lib_debughlp" = yes; then - printf "%s\n" "#define wxUSE_DBGHELP 1" >>confdefs.h + $as_echo "#define wxUSE_DBGHELP 1" >>confdefs.h else - { 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;} + { $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;} fi fi if test "$wxUSE_DIB" = "yes"; then - printf "%s\n" "#define wxUSE_WXDIB 1" >>confdefs.h + $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h fi if test "$wxUSE_INICONF" = "yes"; then - printf "%s\n" "#define wxUSE_INICONF 1" >>confdefs.h + $as_echo "#define wxUSE_INICONF 1" >>confdefs.h fi if test "$wxUSE_REGKEY" = "yes"; then - printf "%s\n" "#define wxUSE_REGKEY 1" >>confdefs.h + $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h fi fi @@ -41430,18 +40089,18 @@ fi if test "$wxUSE_CAIRO" = "yes" -o "$wx_needs_cairo" = 1; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5 -printf %s "checking for CAIRO... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5 +$as_echo_n "checking for CAIRO... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$CAIRO_CFLAGS"; then pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= 1.2" 2>/dev/null` else @@ -41456,10 +40115,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= 1.2\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= 1.2" 2>/dev/null` else @@ -41487,21 +40146,21 @@ fi # Put the nasty error message in config.log where it belongs echo "$CAIRO_PKG_ERRORS" >&5 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } elif test $pkg_failed = untried; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } else CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS CAIRO_LIBS=$pkg_cv_CAIRO_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } wx_has_cairo=1 - printf "%s\n" "#define wxUSE_CAIRO 1" >>confdefs.h + $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h if test "$wxUSE_GTK" != 1; then @@ -41515,12 +40174,11 @@ fi if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then wx_has_graphics=0 if test "$wxUSE_MSW" = 1; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5 -printf %s "checking if GDI+ is available... " >&6; } -if test ${wx_cv_lib_gdiplus+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -41533,7 +40191,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include #include int -main (void) +main () { using namespace Gdiplus; @@ -41542,14 +40200,13 @@ main (void) 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 $as_nop +else wx_cv_lib_gdiplus=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41559,18 +40216,17 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5 -printf "%s\n" "$wx_cv_lib_gdiplus" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5 +$as_echo "$wx_cv_lib_gdiplus" >&6; } if test "$wx_cv_lib_gdiplus" = "yes"; then wx_has_graphics=1 fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Direct2D is available" >&5 -printf %s "checking if Direct2D is available... " >&6; } -if test ${wx_cv_lib_direct2d+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' @@ -41585,7 +40241,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu #include int -main (void) +main () { ID2D1Factory* factory = NULL; @@ -41594,14 +40250,13 @@ main (void) 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 $as_nop +else wx_cv_lib_direct2d=no fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -41611,10 +40266,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_direct2d" >&5 -printf "%s\n" "$wx_cv_lib_direct2d" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_direct2d" >&5 +$as_echo "$wx_cv_lib_direct2d" >&6; } if test "$wx_cv_lib_direct2d" = "yes"; then - printf "%s\n" "#define wxUSE_GRAPHICS_DIRECT2D 1" >>confdefs.h + $as_echo "#define wxUSE_GRAPHICS_DIRECT2D 1" >>confdefs.h fi elif test "$wx_needs_cairo_for_gc" = 1; then @@ -41624,11 +40279,11 @@ printf "%s\n" "$wx_cv_lib_direct2d" >&6; } fi if test "$wx_has_graphics" = 1; then - printf "%s\n" "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h + $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h else - { 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;} + { $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;} fi fi @@ -41647,18 +40302,18 @@ if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 -printf %s "checking for GST... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 +$as_echo_n "checking for GST... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GST_CFLAGS"; then pkg_cv_GST_CFLAGS="$GST_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { 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 + { { $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 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1" 2>/dev/null` else @@ -41673,10 +40328,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GST_LIBS="$GST_LIBS" else if test -n "$PKG_CONFIG" && \ - { { 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 + { { $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 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1") 2>&5 ac_status=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION gstreamer-player-$GST_VERSION >= 1.7.2.1" 2>/dev/null` else @@ -41705,24 +40360,24 @@ fi echo "$GST_PKG_ERRORS" >&5 - { 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;} + { $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;} elif test $pkg_failed = untried; then - { 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;} + { $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;} else GST_CFLAGS=$pkg_cv_GST_CFLAGS GST_LIBS=$pkg_cv_GST_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } wxUSE_GSTREAMER="yes" - printf "%s\n" "#define wxUSE_GSTREAMER_PLAYER 1" >>confdefs.h + $as_echo "#define wxUSE_GSTREAMER_PLAYER 1" >>confdefs.h fi @@ -41730,18 +40385,18 @@ fi if test $wxUSE_GSTREAMER = "no"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 -printf %s "checking for GST... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 +$as_echo_n "checking for GST... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GST_CFLAGS"; then pkg_cv_GST_CFLAGS="$GST_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-video-\$GST_VERSION\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION" 2>/dev/null` else @@ -41756,10 +40411,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GST_LIBS="$GST_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-video-\$GST_VERSION\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-video-$GST_VERSION" 2>/dev/null` else @@ -41788,8 +40443,8 @@ fi echo "$GST_PKG_ERRORS" >&5 - { 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;} + { $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;} GST_VERSION_MAJOR=0 GST_VERSION_MINOR=10 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR @@ -41797,8 +40452,8 @@ printf "%s\n" "$as_me: WARNING: GStreamer 1.0 not available, falling back to 0.1 elif test $pkg_failed = untried; then - { 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;} + { $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;} GST_VERSION_MAJOR=0 GST_VERSION_MINOR=10 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR @@ -41807,8 +40462,8 @@ printf "%s\n" "$as_me: WARNING: GStreamer 1.0 not available, falling back to 0.1 else GST_CFLAGS=$pkg_cv_GST_CFLAGS GST_LIBS=$pkg_cv_GST_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } wxUSE_GSTREAMER="yes" @@ -41818,18 +40473,18 @@ fi if test $GST_VERSION_MINOR = "10"; then pkg_failed=no -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 -printf %s "checking for GST... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 +$as_echo_n "checking for GST... " >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GST_CFLAGS"; then pkg_cv_GST_CFLAGS="$GST_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null` else @@ -41844,10 +40499,10 @@ if test -n "$PKG_CONFIG"; then pkg_cv_GST_LIBS="$GST_LIBS" else if test -n "$PKG_CONFIG" && \ - { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5 + { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null` else @@ -41876,21 +40531,21 @@ fi echo "$GST_PKG_ERRORS" >&5 - { 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;} + { $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;} elif test $pkg_failed = untried; then - { 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;} + { $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;} else GST_CFLAGS=$pkg_cv_GST_CFLAGS GST_LIBS=$pkg_cv_GST_LIBS - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } wxUSE_GSTREAMER="yes" GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION" @@ -41902,7 +40557,7 @@ fi CXXFLAGS="$CXXFLAGS $GST_CFLAGS" EXTRALIBS_MEDIA="$GST_LIBS" - printf "%s\n" "#define wxUSE_GSTREAMER 1" >>confdefs.h + $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h else USE_MEDIA=0 @@ -41913,13 +40568,13 @@ fi if test "$wxUSE_OSX_IPHONE" != 1; then old_CPPFLAGS="$CPPFLAGS" CPPFLAGS="-x objective-c++ $CPPFLAGS" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if AVKit is available" >&5 -printf %s "checking if AVKit is available... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AVKit is available" >&5 +$as_echo_n "checking if AVKit is available... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include "AvailabilityMacros.h" int -main (void) +main () { #if defined(MAC_OS_X_VERSION_10_9) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_9 @@ -41932,30 +40587,29 @@ main (void) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - GST_LIBS="$GST_LIBS -weak_framework AVKit"; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } -else $as_nop - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } +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; } fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CPPFLAGS="$old_CPPFLAGS" fi fi if test $USE_MEDIA = 1; then SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer" - printf "%s\n" "#define wxUSE_MEDIACTRL 1" >>confdefs.h + $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h else if test "$wxUSE_MEDIACTRL" = "yes"; then as_fn_error $? "GStreamer not available" "$LINENO" 5 else - { 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;} + { $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;} fi fi fi @@ -41972,7 +40626,9 @@ else wxPREFIX=$ac_default_prefix fi -printf "%s\n" "#define wxINSTALL_PREFIX \"$wxPREFIX\"" >>confdefs.h +cat >>confdefs.h <<_ACEOF +#define wxINSTALL_PREFIX "$wxPREFIX" +_ACEOF @@ -42050,18 +40706,16 @@ if test "$wxUSE_MAC" = 1 ; then if test "$cross_compiling" != "no"; then wx_cv_target_x86_64=no else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5 -printf %s "checking if we target only x86_64... " >&6; } -if test ${wx_cv_target_x86_64+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 /* 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 @@ -42069,12 +40723,12 @@ then : fi fi -rm -f core conftest.err conftest.$ac_objext conftest.beam \ +rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5 -printf "%s\n" "$wx_cv_target_x86_64" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5 +$as_echo "$wx_cv_target_x86_64" >&6; } fi if test "$wx_cv_target_x86_64" != "yes"; then @@ -42131,12 +40785,11 @@ 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" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5 -printf %s "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; } -if test ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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" ac_ext=cpp @@ -42152,18 +40805,17 @@ do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` /* end confdefs.h. */ int -main (void) +main () { 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.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done CXXFLAGS="$ac_save_CXXFLAGS" ac_ext=c @@ -42174,22 +40826,22 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ 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; } +{ $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; } 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 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5 + then { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } - else { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5 + else { { $as_echo "$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=$? - printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" fi @@ -42311,13 +40963,15 @@ if test "x$wxUSE_UNIVERSAL" = "xyes" ; then case "$wxUNIV_THEMES" in ''|all) - printf "%s\n" "#define wxUSE_ALL_THEMES 1" >>confdefs.h + $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h ;; *) for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do - printf "%s\n" "#define wxUSE_THEME_$t 1" >>confdefs.h + cat >>confdefs.h <<_ACEOF +#define wxUSE_THEME_$t 1 +_ACEOF done esac @@ -42427,8 +41081,7 @@ 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 @@ -42442,25 +41095,20 @@ 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. -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -printf %s "checking for a BSD-compatible install... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if test ${ac_cv_path_install+y} -then : - printf %s "(cached) " >&6 -else $as_nop +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +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 - # Account for fact that we put trailing slashes in our PATH walk. -case $as_dir in #(( - ./ | /[cC]/* | \ + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; @@ -42470,13 +41118,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 @@ -42484,12 +41132,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 @@ -42505,7 +41153,7 @@ IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi - if test ${ac_cv_path_install+y}; then + if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a @@ -42515,8 +41163,8 @@ fi INSTALL=$ac_install_sh fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -printf "%s\n" "$INSTALL" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -42545,12 +41193,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_RANLIB+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else @@ -42558,15 +41205,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -42577,11 +41220,11 @@ fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -printf "%s\n" "$RANLIB" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 +$as_echo "$RANLIB" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -42590,12 +41233,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_RANLIB+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else @@ -42603,15 +41245,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -42622,11 +41260,11 @@ fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -printf "%s\n" "$ac_ct_RANLIB" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 +$as_echo "$ac_ct_RANLIB" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then @@ -42634,8 +41272,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB @@ -42645,26 +41283,25 @@ else fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -printf %s "checking whether ln -s works... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +$as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -printf "%s\n" "no, using $LN_S" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 +$as_echo "no, using $LN_S" >&6; } fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} -ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval test \${ac_cv_prog_make_${ac_make}_set+y} -then : - printf %s "(cached) " >&6 -else $as_nop +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 SHELL = /bin/sh all: @@ -42680,12 +41317,12 @@ esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } SET_MAKE= else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -42703,12 +41340,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_AR+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_AR="$AR" # Let the user override the test. else @@ -42716,15 +41352,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -42735,11 +41367,11 @@ fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -printf "%s\n" "$AR" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 +$as_echo "$AR" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -42748,12 +41380,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_AR+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else @@ -42761,15 +41392,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -42780,11 +41407,11 @@ fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -printf "%s\n" "$ac_ct_AR" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 +$as_echo "$ac_ct_AR" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_AR" = x; then @@ -42792,8 +41419,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR @@ -42809,12 +41436,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_STRIP+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else @@ -42822,15 +41448,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -42841,11 +41463,11 @@ fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -printf "%s\n" "$STRIP" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -42854,12 +41476,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_STRIP+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else @@ -42867,15 +41488,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -42886,11 +41503,11 @@ fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -printf "%s\n" "$ac_ct_STRIP" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then @@ -42898,8 +41515,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP @@ -42911,12 +41528,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_NM+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_NM="$NM" # Let the user override the test. else @@ -42924,15 +41540,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -42943,11 +41555,11 @@ fi fi NM=$ac_cv_prog_NM if test -n "$NM"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 -printf "%s\n" "$NM" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 +$as_echo "$NM" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -42956,12 +41568,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_NM+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. else @@ -42969,15 +41580,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -42988,11 +41595,11 @@ fi fi ac_ct_NM=$ac_cv_prog_ac_ct_NM if test -n "$ac_ct_NM"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 -printf "%s\n" "$ac_ct_NM" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5 +$as_echo "$ac_ct_NM" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_NM" = x; then @@ -43000,8 +41607,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac NM=$ac_ct_NM @@ -43023,12 +41630,11 @@ fi fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5 -printf %s "checking if make is GNU make... " >&6; } -if test ${bakefile_cv_prog_makeisgnu+y} -then : - printf %s "(cached) " >&6 -else $as_nop + { $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 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null | grep -sE GNU > /dev/null); then @@ -43038,8 +41644,8 @@ else $as_nop fi fi -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5 -printf "%s\n" "$bakefile_cv_prog_makeisgnu" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5 +$as_echo "$bakefile_cv_prog_makeisgnu" >&6; } if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then IF_GNU_MAKE="" @@ -43249,12 +41855,11 @@ printf "%s\n" "$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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_AIX_CXX_LD+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test. else @@ -43262,15 +41867,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -43282,11 +41883,11 @@ fi fi AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD if test -n "$AIX_CXX_LD"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5 -printf "%s\n" "$AIX_CXX_LD" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5 +$as_echo "$AIX_CXX_LD" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -43394,52 +41995,51 @@ fi # Check whether --enable-dependency-tracking was given. -if test ${enable_dependency_tracking+y} -then : +if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval" fi - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5 -printf %s "checking for dependency tracking method... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5 +$as_echo_n "checking for dependency tracking method... " >&6; } BK_DEPS="" if test "x$bk_use_trackdeps" = "xno" ; then DEPS_TRACKING=0 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 -printf "%s\n" "disabled" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 +$as_echo "disabled" >&6; } else DEPS_TRACKING=1 if test "x$GCC" = "xyes"; then DEPSMODE=gcc DEPSFLAG="-MMD" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc" >&5 -printf "%s\n" "gcc" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5 +$as_echo "gcc" >&6; } elif test "x$SUNCC" = "xyes"; then DEPSMODE=unixcc DEPSFLAG="-xM1" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5 -printf "%s\n" "Sun cc" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5 +$as_echo "Sun cc" >&6; } elif test "x$SGICC" = "xyes"; then DEPSMODE=unixcc DEPSFLAG="-M" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5 -printf "%s\n" "SGI cc" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5 +$as_echo "SGI cc" >&6; } elif test "x$HPCC" = "xyes"; then DEPSMODE=unixcc DEPSFLAG="+make" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5 -printf "%s\n" "HP cc" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5 +$as_echo "HP cc" >&6; } elif test "x$COMPAQCC" = "xyes"; then DEPSMODE=gcc DEPSFLAG="-MD" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5 -printf "%s\n" "Compaq cc" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5 +$as_echo "Compaq cc" >&6; } else DEPS_TRACKING=0 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5 -printf "%s\n" "none" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 +$as_echo "none" >&6; } fi if test $DEPS_TRACKING = 1 ; then @@ -43556,12 +42156,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_WINDRES+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. else @@ -43569,15 +42168,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -43588,11 +42183,11 @@ fi fi WINDRES=$ac_cv_prog_WINDRES if test -n "$WINDRES"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 -printf "%s\n" "$WINDRES" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 +$as_echo "$WINDRES" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -43601,12 +42196,11 @@ 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 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -printf %s "checking for $ac_word... " >&6; } -if test ${ac_cv_prog_ac_ct_WINDRES+y} -then : - printf %s "(cached) " >&6 -else $as_nop +{ $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 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. else @@ -43614,15 +42208,11 @@ 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 + test -z "$as_dir" && as_dir=. 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" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done @@ -43633,11 +42223,11 @@ fi fi ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES if test -n "$ac_ct_WINDRES"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 -printf "%s\n" "$ac_ct_WINDRES" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 +$as_echo "$ac_ct_WINDRES" >&6; } else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_WINDRES" = x; then @@ -43645,8 +42235,8 @@ fi 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;} +{ $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;} ac_tool_warned=yes ;; esac WINDRES=$ac_ct_WINDRES @@ -43672,8 +42262,7 @@ BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.13" # Check whether --enable-precomp-headers was given. -if test ${enable_precomp_headers+y} -then : +if test "${enable_precomp_headers+set}" = set; then : enableval=$enable_precomp_headers; bk_use_pch="$enableval" fi @@ -43691,13 +42280,13 @@ fi if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then if test "x$GCC" = "xyes"; then - { 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; } + { $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; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int -main (void) +main () { #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) @@ -43717,18 +42306,17 @@ main (void) return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO" -then : +if ac_fn_c_try_compile "$LINENO"; then : - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } GCC_PCH=1 -else $as_nop +else if test "$INTELCXX8" = "yes"; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } ICC_PCH=1 if test "$INTELCXX10" = "yes"; then ICC_PCH_CREATE_SWITCH="-pch-create" @@ -43738,12 +42326,12 @@ printf "%s\n" "yes" >&6; } ICC_PCH_USE_SWITCH="-use-pch" fi else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then USE_PCH=1 @@ -44837,14 +43425,13 @@ SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} -ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval test \${ac_cv_prog_make_${ac_make}_set+y} -then : - printf %s "(cached) " >&6 -else $as_nop +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 SHELL = /bin/sh all: @@ -44860,12 +43447,12 @@ esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } SET_MAKE= else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -44909,11 +43496,11 @@ fi if test "$wxUSE_TESTS_SUBDIR" != "no"; then SUBDIRS="$SUBDIRS tests" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether catch2/catch.hpp exists" >&5 -printf %s "checking whether catch2/catch.hpp exists... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether catch2/catch.hpp exists" >&5 +$as_echo_n "checking whether catch2/catch.hpp exists... " >&6; } if ! test -f "$srcdir/3rdparty/catch/single_include/catch2/catch.hpp" ; then - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 -printf "%s\n" "no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "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. @@ -44924,8 +43511,8 @@ printf "%s\n" "no" >&6; } to fix this." "$LINENO" 5 else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -printf "%s\n" "yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } fi fi @@ -45009,8 +43596,8 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_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;} ;; + *_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;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( @@ -45040,15 +43627,15 @@ printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} /^ac_cv_env_/b end t clear :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -printf "%s\n" "$as_me: updating cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else @@ -45062,8 +43649,8 @@ printf "%s\n" "$as_me: updating cache $cache_file" >&6;} fi fi else - { 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;} + { $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;} fi fi rm -f confcache @@ -45080,7 +43667,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=`printf "%s\n" "$ac_i" | sed "$ac_script"` + ac_i=`$as_echo "$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" @@ -45100,17 +43687,17 @@ LTLIBOBJS=$ac_ltlibobjs subdirs_extra="$subdirs_extra $ax_dir" ax_msg="=== configuring in $ax_dir ($(pwd)/$ax_dir)" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ax_msg" >&5 - printf "%s\n" "$ax_msg" >&6 + $as_echo "$as_me:${as_lineno-$LINENO}: $ax_msg" >&5 + $as_echo "$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=/`printf "%s\n" "$ax_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`$as_echo "$ax_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`$as_echo "$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/ ;; @@ -45150,8 +43737,8 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix # This should be Cygnus configure. ax_sub_configure=$ac_aux_dir/configure else - { 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;} + { $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;} ax_sub_configure= fi @@ -45163,7 +43750,7 @@ printf "%s\n" "$as_me: WARNING: no configuration information is in $ax_dir" >&2; # in subdir configurations. ax_arg="--prefix=$prefix" case $ax_arg in - *\'*) ax_arg=$(printf "%s\n" "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; + *\'*) ax_arg=$($as_echo "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; esac ax_sub_configure_args="'$ax_arg' $ax_sub_configure_args" if test "$silent" = yes; then @@ -45177,8 +43764,8 @@ printf "%s\n" "$as_me: WARNING: no configuration information is in $ax_dir" >&2; ax_sub_cache_file=$ac_top_build_prefix$cache_file ;; esac - { 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;} + { $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;} 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 @@ -45195,17 +43782,17 @@ printf "%s\n" "$as_me: running $SHELL $ax_sub_configure $ax_sub_configure_args - subdirs_extra="$subdirs_extra $ax_dir" ax_msg="=== configuring in $ax_dir ($(pwd)/$ax_dir)" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ax_msg" >&5 - printf "%s\n" "$ax_msg" >&6 + $as_echo "$as_me:${as_lineno-$LINENO}: $ax_msg" >&5 + $as_echo "$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=/`printf "%s\n" "$ax_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`$as_echo "$ax_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`$as_echo "$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/ ;; @@ -45245,8 +43832,8 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix # This should be Cygnus configure. ax_sub_configure=$ac_aux_dir/configure else - { 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;} + { $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;} ax_sub_configure= fi @@ -45258,7 +43845,7 @@ printf "%s\n" "$as_me: WARNING: no configuration information is in $ax_dir" >&2; # in subdir configurations. ax_arg="--prefix=$prefix" case $ax_arg in - *\'*) ax_arg=$(printf "%s\n" "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; + *\'*) ax_arg=$($as_echo "$ax_arg" | sed "s/'/'\\\\\\\\''/g");; esac ax_sub_configure_args="'$ax_arg' $ax_sub_configure_args" if test "$silent" = yes; then @@ -45272,8 +43859,8 @@ printf "%s\n" "$as_me: WARNING: no configuration information is in $ax_dir" >&2; ax_sub_cache_file=$ac_top_build_prefix$cache_file ;; esac - { 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;} + { $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;} 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 @@ -45286,8 +43873,8 @@ printf "%s\n" "$as_me: running $SHELL $ax_sub_configure $ax_sub_configure_args - ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL @@ -45310,16 +43897,14 @@ cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -as_nop=: -if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 -then : +if test -n "${ZSH_VERSION+set}" && (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 $as_nop +else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( @@ -45329,46 +43914,46 @@ esac fi - -# Reset variables that may have inherited troublesome values from -# the environment. - -# IFS needs to be set, to space, tab, and newline, in precisely that order. -# (If _AS_PATH_WALK were called with IFS unset, it would have the -# side effect of setting IFS to empty, thus disabling word splitting.) -# Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl -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 +# 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 # The user is always right. -if ${PATH_SEPARATOR+false} :; then +if test "${PATH_SEPARATOR+set}" != set; 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 || @@ -45377,6 +43962,13 @@ if ${PATH_SEPARATOR+false} :; 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 #(( @@ -45385,12 +43977,8 @@ case $0 in #(( for as_dir in $PATH do IFS=$as_save_IFS - case $as_dir in #((( - '') as_dir=./ ;; - */) ;; - *) as_dir=$as_dir/ ;; - esac - test -r "$as_dir$0" && as_myself=$as_dir$0 && break + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS @@ -45402,10 +43990,30 @@ if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then - printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + $as_echo "$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] @@ -45418,14 +44026,13 @@ 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 - printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi - printf "%s\n" "$as_me: error: $2" >&2 + $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error - # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. @@ -45452,20 +44059,18 @@ 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_nop +else as_fn_append () { eval $1=\$$1\$2 @@ -45477,13 +44082,12 @@ 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_nop +else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` @@ -45514,7 +44118,7 @@ as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X/"$0" | +$as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -45536,10 +44140,6 @@ 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*) @@ -45553,12 +44153,6 @@ 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 @@ -45600,7 +44194,7 @@ as_fn_mkdir_p () as_dirs= while :; do case $as_dir in #( - *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" @@ -45609,7 +44203,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$as_dir" | +$as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -45672,7 +44266,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.71. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -45734,16 +44328,14 @@ $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='$ac_cs_config_escaped' +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ wxWidgets config.status 3.3.0 -configured by $0, generated by GNU Autoconf 2.71, +configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -45781,15 +44373,15 @@ do -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - printf "%s\n" "$ac_cs_version"; exit ;; + $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) - printf "%s\n" "$ac_cs_config"; exit ;; + $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" @@ -45797,7 +44389,7 @@ do --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in - *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; @@ -45806,7 +44398,7 @@ do as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) - printf "%s\n" "$ac_cs_usage"; exit ;; + $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; @@ -45834,7 +44426,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 - \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" @@ -45848,7 +44440,7 @@ exec 5>>config.log sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - printf "%s\n" "$ac_log" + $as_echo "$ac_log" } >&5 _ACEOF @@ -45896,9 +44488,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+y} || CONFIG_FILES=$config_files - test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers - test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands + 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 fi # Have a temporary directory for convenience. Make it in the build tree @@ -46234,7 +44826,7 @@ do esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac - case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done @@ -46242,17 +44834,17 @@ do # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` - printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -printf "%s\n" "$as_me: creating $ac_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) - ac_sed_conf_input=`printf "%s\n" "$configure_input" | + ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac @@ -46269,7 +44861,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -printf "%s\n" X"$ac_file" | +$as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -46293,9 +44885,9 @@ printf "%s\n" X"$ac_file" | case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`$as_echo "$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/ ;; @@ -46352,8 +44944,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@*) - { 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;} + { $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;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' @@ -46396,9 +44988,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"; } && - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' + { $as_echo "$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 -printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +$as_echo "$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" @@ -46414,27 +45006,27 @@ which seems to be undefined. Please make sure it is defined" >&2;} # if test x"$ac_file" != x-; then { - printf "%s\n" "/* $configure_input */" >&1 \ + $as_echo "/* $configure_input */" \ && 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 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$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 - printf "%s\n" "/* $configure_input */" >&1 \ + $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; - :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -printf "%s\n" "$as_me: executing $ac_file commands" >&6;} + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac @@ -46523,7 +45115,7 @@ if test "$no_recursion" != yes; then ;; *) case $ac_arg in - *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append ac_sub_configure_args " '$ac_arg'" ;; esac @@ -46533,7 +45125,7 @@ if test "$no_recursion" != yes; then # in subdir configurations. ac_arg="--prefix=$prefix" case $ac_arg in - *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" @@ -46554,17 +45146,17 @@ if test "$no_recursion" != yes; then test -d "$srcdir/$ac_dir" || continue ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" - printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 - printf "%s\n" "$ac_msg" >&6 + $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 + $as_echo "$ac_msg" >&6 as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + ac_top_builddir_sub=`$as_echo "$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/ ;; @@ -46594,15 +45186,17 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" - # Check for configure.gnu first; this name is used for a wrapper for - # Metaconfig's "Configure" on case-insensitive file systems. + # Check for guested configure; otherwise get Cygnus style configure. if test -f "$ac_srcdir/configure.gnu"; then ac_sub_configure=$ac_srcdir/configure.gnu elif test -f "$ac_srcdir/configure"; then ac_sub_configure=$ac_srcdir/configure + elif test -f "$ac_srcdir/configure.in"; then + # This should be Cygnus configure. + ac_sub_configure=$ac_aux_dir/configure else - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 -printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 +$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} ac_sub_configure= fi @@ -46615,8 +45209,8 @@ printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2; ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; esac - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 -printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 +$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} # The eval makes quoting arguments work. eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || @@ -46627,8 +45221,8 @@ printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args - done fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { 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;} + { $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;} fi @@ -46671,4 +45265,3 @@ echo " sdl ${wxUSE_LIBSDL}" echo "" - diff --git a/configure.in b/configure.in index bc1a585ed0..04402f81eb 100644 --- a/configure.in +++ b/configure.in @@ -3890,28 +3890,6 @@ if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then AC_MSG_WARN([No POSIX signal functions on this system, wxApp::OnFatalException will not be called]) wxUSE_ON_FATAL_EXCEPTION=no fi - - if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then - AC_CACHE_CHECK([for sa_handler type], wx_cv_type_sa_handler, - [ - dnl C compiler happily compiles the code even if there is type mismatch - AC_LANG_PUSH(C++) - AC_TRY_COMPILE([#include ], - [ - extern void testSigHandler(int); - - struct sigaction sa; - sa.sa_handler = testSigHandler; - ], [ - wx_cv_type_sa_handler=int - ], [ - wx_cv_type_sa_handler=void - ]) - AC_LANG_POP() - ]) - - AC_DEFINE_UNQUOTED(wxTYPE_SA_HANDLER, $wx_cv_type_sa_handler) - fi fi dnl backtrace() and backtrace_symbols() for wxStackWalker diff --git a/include/wx/android/config_android.h b/include/wx/android/config_android.h index eebbb1ad40..4fac2c3859 100644 --- a/include/wx/android/config_android.h +++ b/include/wx/android/config_android.h @@ -51,8 +51,6 @@ #define wxSIZE_T_IS_UINT 1 #define wxWCHAR_T_IS_REAL_TYPE 1 -#define wxTYPE_SA_HANDLER int - #define wxUSE_SELECT_DISPATCHER 1 #ifdef HAVE_PTHREAD_CANCEL diff --git a/include/wx/osx/config_xcode.h b/include/wx/osx/config_xcode.h index f246882daa..86b594ca01 100644 --- a/include/wx/osx/config_xcode.h +++ b/include/wx/osx/config_xcode.h @@ -31,7 +31,6 @@ #define WX_SOCKLEN_T socklen_t #define SOCKOPTLEN_T socklen_t #define WX_STATFS_T struct statfs -#define wxTYPE_SA_HANDLER int #define WX_GMTOFF_IN_TM 1 #define HAVE_PW_GECOS 1 #define HAVE_DLOPEN 1 diff --git a/setup.h.in b/setup.h.in index 3aea003f43..de326beefe 100644 --- a/setup.h.in +++ b/setup.h.in @@ -790,9 +790,6 @@ /* The type of statvfs(2) argument */ #undef WX_STATFS_T -/* The signal handler prototype */ -#undef wxTYPE_SA_HANDLER - /* gettimeofday() usually takes 2 arguments, but some really old systems might * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ #undef WX_GETTIMEOFDAY_NO_TZ diff --git a/setup.h_vms b/setup.h_vms index 3f9697626d..e8e1a670c0 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -864,9 +864,6 @@ typedef pid_t GPid; /* The type of statvfs(2) argument */ #undef WX_STATFS_T -/* The signal handler prototype */ -#define wxTYPE_SA_HANDLER int - /* gettimeofday() usually takes 2 arguments, but some really old systems might * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */ #undef WX_GETTIMEOFDAY_NO_TZ diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index bb37b66dc9..9281c7d324 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -1470,7 +1470,7 @@ bool wxUnsetEnv(const wxString& variable) #include extern "C" { -static void wxFatalSignalHandler(wxTYPE_SA_HANDLER) +static void wxFatalSignalHandler(int WXUNUSED(signal)) { if ( wxTheApp ) {