ac_subst_vars='LTLIBOBJS
LIBOBJS
+DBGSTATUS
+DBGOUT
+DEBUG_FALSE
+DEBUG_TRUE
+FOUND_UUIDGEN_RES_FALSE
+FOUND_UUIDGEN_RES_TRUE
+FOUND_UUIDGEN
+FOUND_XML2CONFIG_RES_FALSE
+FOUND_XML2CONFIG_RES_TRUE
+FOUND_XML2CONFIG
+FOUND_CURLCONFIG_RES_FALSE
+FOUND_CURLCONFIG_RES_TRUE
+FOUND_CURLCONFIG
+WX_VERSION_MICRO
+WX_VERSION_MINOR
+WX_VERSION_MAJOR
WX_RESCOMP
WX_VERSION
WX_LIBS_STATIC
EGREP
GREP
CXXCPP
+BINDIR
+PREFIX
CPP
ac_ct_CC
CFLAGS
with_wx_config
with_wx_prefix
with_wx_exec_prefix
+enable_debug
'
ac_precious_vars='build_alias
host_alias
esac
cat <<\_ACEOF
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-debug Enable debugging features for the build.
+
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
#AC_CONFIG_SRCDIR([version.h])
#AC_CONFIG_HEADERS([config.h])
+
+$as_echo "#define DEBUG 1" >>confdefs.h
+
+
# Checks for programs.
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+# Check prefix directories.
+
+if test "x$prefix" = "xNONE" ; then
+ prefix="/usr/local"
+fi
+
+if test "x$exec_prefix" = "xNONE" ; then
+ exec_prefix=$prefix
+fi
+
+PREFIX=$prefix
+
+
+if test "x$bindir" = "xNONE" ; then
+ bindir="/bin"
+fi
+BINDIR=`eval echo $bindir`
+
+
# Checks for libraries.
# wxWidgets
reqwx=3.0.0
+
if test x${WX_CONFIG_NAME+set} != xset ; then
WX_CONFIG_NAME=wx-config
fi
$as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
fi
- WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
+ WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
wx_config_major_version=`echo $WX_VERSION | \
if test -n "$wx_ver_ok"; then
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
$as_echo "yes (version $WX_VERSION)" >&6; }
- WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
+ WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
$as_echo_n "checking for wxWidgets static library... " >&6; }
- WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
+ WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
if test "x$WX_LIBS_STATIC" = "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$wx_has_cppflags" = x ; then
- WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
+ WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
WX_CPPFLAGS=$WX_CFLAGS
WX_CXXFLAGS=$WX_CFLAGS
WX_CFLAGS_ONLY=$WX_CFLAGS
WX_CXXFLAGS_ONLY=$WX_CFLAGS
else
- WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
- WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
- WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
+ WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
+ WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
+ WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
WX_LIBS=""
WX_LIBS_STATIC=""
WX_RESCOMP=""
- :
+
+ if test ! -z ""; then
+
+ wx_error_message="
+ The configuration you asked for $PACKAGE_NAME requires a wxWidgets
+ build with the following settings:
+
+ but such build is not available.
+
+ To see the wxWidgets builds available on this system, please use
+ 'wx-config --list' command. To use the default build, returned by
+ 'wx-config --selected-config', use the options with their 'auto'
+ default values."
+
+ fi
+
+ wx_error_message="
+ The requested wxWidgets build couldn't be found.
+ $wx_error_message
+
+ If you still get this error, then check that 'wx-config' is
+ in path, the directory where wxWidgets libraries are installed
+ (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
+ or equivalent variable and wxWidgets version is $reqwx or above."
+
+ as_fn_error $? "$wx_error_message" "$LINENO" 5
fi
else
+ WX_VERSION_MAJOR="$wx_config_major_version"
+ WX_VERSION_MINOR="$wx_config_minor_version"
+ WX_VERSION_MICRO="$wx_config_micro_version"
+
+
+
+
+
if test "$wxWin" != 1; then
as_fn_error $? "
wxWidgets must be installed on your system.
-# ossp-uuid Library
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lossp-uuid++" >&5
-$as_echo_n "checking for main in -lossp-uuid++... " >&6; }
-if ${ac_cv_lib_ossp_uuidpp_main+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lossp-uuid++ $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-
-int
-main ()
-{
-return main ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_link "$LINENO"; then :
- ac_cv_lib_ossp_uuidpp_main=yes
-else
- ac_cv_lib_ossp_uuidpp_main=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossp_uuidpp_main" >&5
-$as_echo "$ac_cv_lib_ossp_uuidpp_main" >&6; }
-if test "x$ac_cv_lib_ossp_uuidpp_main" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBOSSP_UUID__ 1
-_ACEOF
-
- LIBS="-lossp-uuid++ $LIBS"
-
-else
- echo "The OSSP UUID C++ library must be installed on your system.
-Please check that this library is installed properly before
-running configure again."
- exit -1
-
-fi
-
-
-ac_fn_cxx_check_header_mongrel "$LINENO" "ossp/uuid++.hh" "ac_cv_header_ossp_uuidpp_hh" "$ac_includes_default"
-if test "x$ac_cv_header_ossp_uuidpp_hh" = xyes; then :
-
-else
- echo "The OSSP UUID C++ library headers must be installed on your system.
-Please check that the library headers are installed properly
-before running configure again."
- exit -1
-
-fi
-
-
-
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+# Extract the first word of "curl-config", so it can be a program name with args.
+set dummy curl-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_FOUND_CURLCONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$FOUND_CURLCONFIG"; then
+ ac_cv_prog_FOUND_CURLCONFIG="$FOUND_CURLCONFIG" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ 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_FOUND_CURLCONFIG="yes"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_FOUND_CURLCONFIG" && ac_cv_prog_FOUND_CURLCONFIG="no"
+fi
+fi
+FOUND_CURLCONFIG=$ac_cv_prog_FOUND_CURLCONFIG
+if test -n "$FOUND_CURLCONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_CURLCONFIG" >&5
+$as_echo "$FOUND_CURLCONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ if test x$FOUND_CURLCONFIG = xyes; then
+ FOUND_CURLCONFIG_RES_TRUE=
+ FOUND_CURLCONFIG_RES_FALSE='#'
+else
+ FOUND_CURLCONFIG_RES_TRUE='#'
+ FOUND_CURLCONFIG_RES_FALSE=
+fi
+
+
+if test -z "$FOUND_CURLCONFIG_RES_TRUE"; then :
+ else
+ echo "Cannot find the curl-config program on your system.
+If it is installed on your system, adjust your PATH environment
+variable before running configure again."
+ exit -1
+
+fi
+
# libxml2 Library
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
done
+# Extract the first word of "xml2-config", so it can be a program name with args.
+set dummy xml2-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_FOUND_XML2CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$FOUND_XML2CONFIG"; then
+ ac_cv_prog_FOUND_XML2CONFIG="$FOUND_XML2CONFIG" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ 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_FOUND_XML2CONFIG="yes"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_FOUND_XML2CONFIG" && ac_cv_prog_FOUND_XML2CONFIG="no"
+fi
+fi
+FOUND_XML2CONFIG=$ac_cv_prog_FOUND_XML2CONFIG
+if test -n "$FOUND_XML2CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_XML2CONFIG" >&5
+$as_echo "$FOUND_XML2CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ if test x$FOUND_XML2CONFIG = xyes; then
+ FOUND_XML2CONFIG_RES_TRUE=
+ FOUND_XML2CONFIG_RES_FALSE='#'
+else
+ FOUND_XML2CONFIG_RES_TRUE='#'
+ FOUND_XML2CONFIG_RES_FALSE=
+fi
+
+
+if test -z "$FOUND_XML2CONFIG_RES_TRUE"; then :
+ else
+ echo "Cannot find the xml2-config program on your system.
+If it is installed on your system, adjust your PATH environment
+variable before running configure again."
+ exit -1
+
+fi
+
+# uuidgen application
+
+# Extract the first word of "uuidgen", so it can be a program name with args.
+set dummy uuidgen; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_FOUND_UUIDGEN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$FOUND_UUIDGEN"; then
+ ac_cv_prog_FOUND_UUIDGEN="$FOUND_UUIDGEN" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ 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_FOUND_UUIDGEN="yes"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_FOUND_UUIDGEN" && ac_cv_prog_FOUND_UUIDGEN="no"
+fi
+fi
+FOUND_UUIDGEN=$ac_cv_prog_FOUND_UUIDGEN
+if test -n "$FOUND_UUIDGEN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_UUIDGEN" >&5
+$as_echo "$FOUND_UUIDGEN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ if test x$FOUND_UUIDGEN = xyes; then
+ FOUND_UUIDGEN_RES_TRUE=
+ FOUND_UUIDGEN_RES_FALSE='#'
+else
+ FOUND_UUIDGEN_RES_TRUE='#'
+ FOUND_UUIDGEN_RES_FALSE=
+fi
+
+
+if test -z "$FOUND_UUIDGEN_RES_TRUE"; then :
+ else
+ echo "Cannot find the uuidgen program on your system.
+If it is installed on your system, adjust your PATH environment
+variable before running configure again."
+ exit -1
+
+fi
+
# Checks for header files.
for ac_header in stdlib.h string.h iostream iomanip ios algorithm map vector utility
do :
esac
+# Setup the debug setting.
+
+# Check whether --enable-debug was given.
+if test "${enable_debug+set}" = set; then :
+ enableval=$enable_debug; case "${enableval}" in
+ yes) debug=true;;
+ no) debug=false;;
+ *) as_fn_error $? "invalid value ${enableval} given for --enable-debug" "$LINENO" 5 ;;
+ esac
+else
+ debug=false
+fi
+
+
# Checks for library functions.
+ if test x$debug = xtrue; then
+ DEBUG_TRUE=
+ DEBUG_FALSE='#'
+else
+ DEBUG_TRUE='#'
+ DEBUG_FALSE=
+fi
+
+if test -z "$DEBUG_TRUE"; then :
+ DBGOUT="-O0 -ggdb"
+
+else
+ DBGOUT="-Os"
+
+fi
+if test -z "$DEBUG_TRUE"; then :
+ DBGSTATUS="DEBUG=true"
+
+else
+ DBGSTATUS="DEBUG=false"
+
+fi
+if test -z "$DEBUG_TRUE"; then :
+ echo "Debugging mode has been enabled."
+fi
+
ac_config_files="$ac_config_files Makefile"
cat >confcache <<\_ACEOF
LTLIBOBJS=$ac_ltlibobjs
+if test -z "${FOUND_CURLCONFIG_RES_TRUE}" && test -z "${FOUND_CURLCONFIG_RES_FALSE}"; then
+ as_fn_error $? "conditional \"FOUND_CURLCONFIG_RES\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${FOUND_XML2CONFIG_RES_TRUE}" && test -z "${FOUND_XML2CONFIG_RES_FALSE}"; then
+ as_fn_error $? "conditional \"FOUND_XML2CONFIG_RES\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${FOUND_UUIDGEN_RES_TRUE}" && test -z "${FOUND_UUIDGEN_RES_FALSE}"; then
+ as_fn_error $? "conditional \"FOUND_UUIDGEN_RES\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
+ as_fn_error $? "conditional \"DEBUG\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0