xdx-2.91/0000755000175000017500000000000014224026464007255 500000000000000xdx-2.91/aclocal.m40000644000175000017500000014645514224024367011054 00000000000000# generated automatically by aclocal 1.16.3 -*- Autoconf -*- # Copyright (C) 1996-2020 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 12 (pkg-config-0.29.2) dnl Copyright © 2004 Scott James Remnant . dnl Copyright © 2012-2015 Dan Nicholson dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA dnl 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a dnl configuration script generated by Autoconf, you may include it under dnl the same distribution terms that you use for the rest of that dnl program. dnl PKG_PREREQ(MIN-VERSION) dnl ----------------------- dnl Since: 0.29 dnl dnl Verify that the version of the pkg-config macros are at least dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's dnl installed version of pkg-config, this checks the developer's version dnl of pkg.m4 when generating configure. dnl dnl To ensure that this macro is defined, also add: dnl m4_ifndef([PKG_PREREQ], dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) dnl dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], [m4_define([PKG_MACROS_VERSION], [0.29.2]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) dnl ---------------------------------- dnl Since: 0.16 dnl dnl Search for the pkg-config tool and set the PKG_CONFIG variable to dnl first found in the path. Checks that the version of pkg-config found dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is dnl used since that's the first version where most current features of dnl pkg-config existed. AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])dnl PKG_PROG_PKG_CONFIG dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------------------------------- dnl Since: 0.18 dnl dnl Check to see whether a particular set of modules exists. Similar to dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) dnl only at the first occurence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl have to call PKG_CHECK_EXISTS manually AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) dnl --------------------------------------------- dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting dnl pkg_failed based on the result. m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])dnl _PKG_CONFIG dnl _PKG_SHORT_ERRORS_SUPPORTED dnl --------------------------- dnl Internal check to see if pkg-config supports short errors. AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])dnl _PKG_SHORT_ERRORS_SUPPORTED dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl -------------------------------------------------------------- dnl Since: 0.4.0 dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES might not happen, you should be sure to include an dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $2]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])dnl PKG_CHECK_MODULES dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl --------------------------------------------------------------------- dnl Since: 0.29 dnl dnl Checks for existence of MODULES and gathers its build flags with dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags dnl and VARIABLE-PREFIX_LIBS from --libs. dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to dnl include an explicit call to PKG_PROG_PKG_CONFIG in your dnl configure.ac. AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl _save_PKG_CONFIG=$PKG_CONFIG PKG_CONFIG="$PKG_CONFIG --static" PKG_CHECK_MODULES($@) PKG_CONFIG=$_save_PKG_CONFIG[]dnl ])dnl PKG_CHECK_MODULES_STATIC dnl PKG_INSTALLDIR([DIRECTORY]) dnl ------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable pkgconfigdir as the location where a module dnl should install pkg-config .pc files. By default the directory is dnl $libdir/pkgconfig, but the default can be changed by passing dnl DIRECTORY. The user can override through the --with-pkgconfigdir dnl parameter. AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([pkgconfigdir], [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, [with_pkgconfigdir=]pkg_default) AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_INSTALLDIR dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) dnl -------------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable noarch_pkgconfigdir as the location where a dnl module should install arch-independent pkg-config .pc files. By dnl default the directory is $datadir/pkgconfig, but the default can be dnl changed by passing DIRECTORY. The user can override through the dnl --with-noarch-pkgconfigdir parameter. AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([noarch-pkgconfigdir], [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, [with_noarch_pkgconfigdir=]pkg_default) AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_NOARCH_INSTALLDIR dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------- dnl Since: 0.28 dnl dnl Retrieves the value of the pkg-config variable for the given module. AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl _PKG_CONFIG([$1], [variable="][$3]["], [$2]) AS_VAR_COPY([$1], [pkg_cv_][$1]) AS_VAR_IF([$1], [""], [$5], [$4])dnl ])dnl PKG_CHECK_VAR # Copyright (C) 2002-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.16.3], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.3])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. AS_CASE([$CONFIG_FILES], [*\'*], [eval set x "$CONFIG_FILES"], [*], [set x $CONFIG_FILES]) shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`AS_DIRNAME(["$am_mf"])` am_filepart=`AS_BASENAME(["$am_mf"])` AM_RUN_LOG([cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles]) || am_rc=$? done if test $am_rc -ne 0; then AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE="gmake" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking).]) fi AS_UNSET([am_dirpart]) AS_UNSET([am_filepart]) AS_UNSET([am_mf]) AS_UNSET([am_rc]) rm -f conftest-deps.mk } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking is enabled. # This creates each '.Po' and '.Plo' makefile fragment that we'll need in # order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check whether make has an 'include' directive that can support all # the idioms we need for our automatic dependency tracking code. AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) AS_CASE([$?:`cat confinc.out 2>/dev/null`], ['0:this is the am__doit target'], [AS_CASE([$s], [BSD], [am__include='.include' am__quote='"'], [am__include='include' am__quote=''])]) if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* AC_MSG_RESULT([${_am_result}]) AC_SUBST([am__include])]) AC_SUBST([am__quote])]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2020 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4/ax_append_flag.m4]) m4_include([m4/ax_cflags_warn_all.m4]) m4_include([m4/gettext.m4]) m4_include([m4/host-cpu-c-abi.m4]) m4_include([m4/iconv.m4]) m4_include([m4/intlmacosx.m4]) m4_include([m4/lib-ld.m4]) m4_include([m4/lib-link.m4]) m4_include([m4/lib-prefix.m4]) m4_include([m4/nls.m4]) m4_include([m4/po.m4]) m4_include([m4/progtest.m4]) xdx-2.91/AUTHORS0000644000175000017500000000007612523720573010252 00000000000000Joop Stakenborg Nate Bargmann xdx-2.91/MANUAL.fr0000644000175000017500000001605312523720573010512 00000000000000Xdx - DX-cluster TCP/IP et client de messagerie instantanées ON4KST pour les radioamateurs =================================================================== Xdx est un client DX-Cluster qui permet d'afficher une liste avec les annonces de DX et une zone textuelle séparée pour WWV, WCY, « To ALL » et autres serveurs de messages. Il permet aussi de se connecter au système de messagerie instantanée ON4KST. Qu'est-ce qu'un DX DX Cluster ? =============================== Un DX Cluster permet aux radioamateurs d'indiquer à tous les autres et en temps réel les stations DX (stations de radioamateurs rares ou intéressante se trouvant partout dans le monde). Les utilisateurs connectés à un DX Cluster peuvent indiquer des spots DX et faire les annonces associées, envoyer des messages personnels, envoyer et recevoir du courriel, rechercher des données archivées et obtenir des données à partir d'informations contenues dans des bases de données. Veuillez consulter l'adresse suivante pour obtenir une liste des DX Clusters : http://www.ng3k.com/Misc/cluster.html Le système de messagerie instantanée ON4KST est plus particulièrement destiné aux opérateurs VHF et UHF. C'est un endroit où les radioamateurs se retrouvent pour prendre rendez-vous pour des contacts radio à longue distance, du trafic par réflexion sur la lune et par réflexion sur des traînées de météorites. Vous trouverez davantage d'informations concernant le système de messagerie instantanée ON4KST sur http://www.on4kst.com. Commandes ========= Voici, pour démarrer, quelques commandes de base du DX-cluster : announce/full 'msg' : envoyer une ligne de texte à toutes les stations connectées. bye : quitter le DX Cluster. dx 'frequency' 'callsign' 'comment' : envoyer une information de spot DX. show/dx : afficher les spots DX précédemment enregistrés. ON4KST utilise un sous-ensembles des commandes de DX-cluster. Le mieux est d'entrer « /help » après vous être connecté. Toutes les commandes doivent commencer par un « / ». Exemples de commandes DX-cluster ================================= 1) dx 28002.2 xz7a worked with 80m dipole!! 2) sh/dx on hf/cw 50 Indicatif et connexion automatique ================================== L'indicatif qui se trouve dans le premier onglet du dialogue des préférences est utilisé pour reconnaître l'invite du DX-cluster (de cette manière, xdx peut le coloriser) et pour la connexion automatique. Lorsque de l'activation de la connexion automatique, certaines commandes peuvent être envoyées au cluster. Vous pouvez les entrer dans la zone « Commandes », séparées par des virgules, par exemple : « set/page 0, unset beep » désactivera la pagination et coupera l'émission de bips sonores. Vous pouvez aussi utiliser des commandes lorsqu'un mot de passe est nécessaire. Il y a un intervalle de 0,5 seconde entre chaque commande. Paquets de maintien de la connexion =================================== Si vous avez une connexion de mauvaise qualité et que vous avez des déconnexions aléatoires, vous pouvez essayer d'activer le maintien de la connexion dans le dialogue des préférences. Ceci enverra un retour arrière (« Backspace ») au serveur toutes les 5 minutes. Enregistrement des information du DX ==================================== Les messages individuels peuvent être enregistrés dans un fichier lorsque cette fonction est activée dans les préférences. $HOME/.xdx/dxspots spots DX tels qu'ils sont affichés en tête de liste. $HOME/.xdx/wwv annonces WCY/WWV avec informations sur la propagation. $HOME/.xdx/toall messages de messagerie instantanée qu'ils sont affichés dans la fenêtre du bas. $HOME/.xdx/wx informations météorologiques. Lorsque des données wwv sont sauvegardées, les fichiers formatés selon « valeurs séparées par des tabulations » seront enregistrés pour chaque hôte WWV. Ceci est utile pour la création de graphiques. Format de ce fichier : YYYMMDDHH SFI A K R Où SFI est l'index de flux solaire pour 10,7 cm, A et K indiquent tous deux l'activité géomagnétique et R se rapporte au nombres de taches solaires. Un exemple de script est inclus dans le répertoire data de xdx, il utilise gnuplot pour afficher les données de DK0WCY. Il s'appelle « gnuplot wwv.gnuplot ». Il produit en sortie un graphe dans $HOME/.xdx/DK0WCY.png. Gestion de la Hamlib ==================== Un double-clic sur un spot DX dans la fenêtre du haut positionnera la fréquence votre station. Vous aurez besoin du binaire « rigctl » qui fait partie de la distribution hamlib pour ça. Veuillez modifier l'ID de votre transceiver pour la ligne de commande de rigctl dans le dialogue des préférences, par exemple : « rigctl -m 210 set_freq %d » utilisera l'ID 210 (Kenwood TS-870), voir « rigctl ---list » pour une liste des différents modèles. Navigateurs web et programme de courriel ======================================== Une URL dans la fenêtre de bavardage apparaîtra en bleu et sera soulignée lorsque vous y déplacerez le curseur de la souris. La cliquer ouvrira le lien dans votre navigateur favori ou dans votre programme de courriel (voir le dialogue des préférences) : Lancer « gnome web-browser » en cliquant une URL : « epiphany %s ». Lancer « mozilla-mail » en cliquant sur une URL de mél : « mozilla -compose "to=%s" ». Mises en évidence ================= La barre latérale de messagerie instantanée (« chat ») permet l'entrée de 8 mots différents, qui peuvent être mis en évidence dans la fenêtre de messagerie instantanée. Lorsque la boîte de vérification est utilisée, xdx recherchera une mise en évidence dans tous les textes en entrée. Lorsqu'elle n'est pas utilisée, la recherche n'est effectuée qu'après le texte situé après l'invite. Les couleurs pour les mises en évidence sont configurées dans le troisième onglet du dialogue des préférences. Vous pouvez vous activer/désactiver rapidement les boîtes de vérification avec les combinaisons de touches Ctrl-1 à Ctrl-8, vous pouvez passer d'une entrée à l'autre à l'aide de Alt-1 à Alt-8. Alt-0 permet de revenir à la fenêtre d'émission. Gestion du son ============== Lorsqu'une mise en évidence est active dans la fenêtre de messagerie instantanée, un son peut être joué. Pour que le son fonctionne, vous devez utiliser un programme externe et le configurer dans le premier onglet du dialogue des préférences : « play %s » utilisera le programme « play » qui fait partie du paquet sox, « esdplay %s » utilisera esdplay ce qui est utile pour ceux qui utilisent gnome et esound. Émoticones ========== Un nombre limité d'émotiones sont gérés dans la fenêtre de bavardage (« chat ») : :) :-) :)) :-)) ;) ;-) :( :-( :(( :-(( Licence et maintenance ====================== Xdx est libre il est publié selon les termes de la Licence Publique Générale (GPL) GNU. Il a été écrit par Joop Stakenborg . Veuillez signaler si vous découvrez un bogue ou si vous désirez des améliorations. xdx-2.91/README0000644000175000017500000000177113621127455010065 00000000000000Xdx by Joop Stakenborg ======================================= See the file called 'MANUAL' if you want to learn more about xdx or dx-clusters. You can also select help->manual from the menu after xdx is started, it will display the same file. The file called 'INSTALL' will show you how to compile xdx for your linux/bsd distribution. Thanks to Jean-Luc Coulon (F5IBH) for french translations and Baltasar Perez-Diaz (EA8BVP) for spanish translations of xdx. Thanks to Matt Dawson (GW0VNR) for providing freebsd packages and testing on this platform. Thanks to Harry, LZ1BB for suggesting various changes for xdx-2.0. If you find any bugs let me know and I will try to fix them. Also, language translations are welcome. Nate, N0NB My thanks to Joop, PG4I , for graciously granting his permission for me to take over Xdx and (hopefully) fix a few issues so it can be included in Debian again. Development is now hosted at: https://github.com/N0NB/xdx 73, Nate xdx-2.91/MANUAL.pl0000644000175000017500000002626412646316272010526 00000000000000xdx - klient DX-cluster poprzez tcp/ip oraz czatu ON4KST dla radioamatorów =========================================================================== Xdx jest klientem DX-cluster, który wyświetla listę z komunikatami DX oraz pokazuje w oddzielnym polu wiadomości WWV, WCY, "To all" i inne przesyłane z serwera. Program jest także przygotowany to łączenia z czatem ON4KST Krótki wykaz skrótów klawiaturowych =================================== Menu główne: Alt-P Otwórz menu Program Ctl-L Pokaż historię połączeń Ctl-Q Wyjście z XDX i okno dialogowe zamknięcia Alt-H Otwórz menu Host Ctl-O Połącz z serwerem clustera Ctl-C Rozłącz z serwerem clustera Alt-U Otwórz menu Ustawienia Ctl-K Przełącz okno z klawiszami funkcyjnymi Ctl-R Przełącz wznawianie połączenia Ctl-S Przełącz wyróżnianie Ctl-P Otwórz okno preferencji Alt-O Otwórz menu Pomoc Ctl-H Pokaż ten podręcznik Ctl-A O programie Xdx Okno klawiszy funkcyjnych: F1 - F8 Zapisane polecenia F1 do F8 Okno wyróżnień: Alt-1 - Alt-8 Przełącza pomiędzy polami wyróżnień Ctl-1 - Ctl-8 Aktywuje wyróżnienia (przełącza przyciski wyboru) Ogólne: Alt-0 Przywraca fokus do okna wiersza poleceń Co to jest DX Cluster? ====================== DX Cluster stanowi pomoc dla radioamatorów i służy do informowania wszystkich, na bieżąco, o słyszanych w danej chwili stacjach DX (interesujących bądź niespotykanych stacjach krótkofalarskich na całym świecie) Użytkownicy podłączeni do DX Clustera mają możliwość publikowania ogłoszeń o spotach DX i odpowiadania na ogłoszenia, wysłania prywatnych komunikatów do innych użytkowników, wysyłania i odbierania poczty, wyszukiwania i odbierania danych archiwalnych i dostępu do informacji zgromadzonych bazach danych. Lista DX Clusterów dostępna jest pod adresem: http://www.ng3k.com/Misc/cluster.html Czat ON4KST jest bardziej odpowiedni dla operatorów VHF i UHF. Jest miejscem, gdzie krótkofalowcy spotykają się aby planować dalekie łączności radiowe, łączności wykorzystujące odbicie od Księżyca lub meteorów. Aby uzyskać więcej informacji na temat czatu ON4KST odwiedź stronę http://www.on4kst.com. Polecenia ========= Poniżej znajduje się kilka podstawowych poleceń, pozwalających na rozpoczęcie pracy z DX Clustrem: announce/full 'wiadomość' : Wysyła linijkę tekstu do wszystkich połączonych stacji. bye: Wyjście z DX Cluster. dx 'częstotliwość' 'znak' 'komentarz' : Wysłanie informacji o DX. show/dx : Pokazuje poprzednio zalogowane spoty DX. ON4KST używa zestawu poleceń DX-clustera. Najlepiej jeżeli po nawiązaniu połączenia wpiszesz '/help'. Wszystkie polecenia muszą zaczynać się od '/'. Przykłady poleceń DX-Clustera ============================= 1) dx 28002.2 xz7a worked with 80m dipole!! 2) sh/dx on hf/cw 50 Większość clusterów oferuje pomoc po wpisaniu '?' lub 'help '. Znak wywoławczy i automatyczne logowanie ======================================== Znak wywoławczy podany na pierwszej stronie okna preferencji jest używany do rozpoznawania w wierszu poleceń (więc xdx potrafi go kolorować) oraz przy automatycznym logowaniu. W przypadku, gdy wybrano automatyczne logowanie, każdorazowo po zalogowaniu możliwe jest wysyłanie do clustera kilku poleceń. Możesz je określić w polu tekstowym "Polecenia" oddzielając każde za pomocą przecinka, np. set/page 0,unset beep' spowoduje wyłączenie przewijania listy i brzęczyka. Możesz także posłużyć się poleceniami gdy wymagane jest hasło. Kolejne polecenia oddzielane są 0.5 sekundową przerwą. Pakiety podtrzymujące ===================== Jeżeli posiadasz łącze słabej jakości bądź zdarzają Ci się przypadkowe rozłączenia, spróbuj włączyć wysyłanie pakietów podtrzymujących w oknie preferencji. Spowoduje to regularne wysyłanie co 5 minut znaku backspace. Zapamiętywanie informacji DX ============================ W przypadku, gdy zaznaczona zostanie odpowiednia opcja w oknie preferencji, poszczególne wiadomości mogą być zapamiętywane do plików. $HOME/.xdx/dxspots Spoty DX wyświetlane na liście w górnej części programu $HOME/.xdx/wwv Ogłoszenia WCY/WWV z informacją o propagacji. $HOME/.xdx/toall Wiadomości chat wyświetlane w dolnej części programu. $HOME/.xdx/wx Informacje pogodowe. Kiedy zapisywane są dane wwv, dla każdego hosta tworzony jest także plik z oddzielonymi za pomocą tabulatora wartościami. Jest to przydatne do sporządzania wykresów. Format tego pliku wygląda następująco: YYYMMDDHH SFI A K R gdzie: SFI oznacza solar flux index, indeksy A i K wskazują aktywność geomagnetyczną, a R odnosi się do ilości plam widocznych na powierzchni Słońca. Przykładowy skrypt umieszczony został w katalogu z danymi programu xdx. Wykorzystywany jest przez gnuplot w celu prezentacji danych od DK0WCY. Plik wywoływany jest poprzez 'gnuplot wwv.gnuplot'. Efektem działania jest wykres zapisany do $HOME/.xdx/DK0WCY.png. Wsparcie dla Hamlib =================== Kiedy podwójnie klikniesz na spocie DX, spowoduje to ustawienie odpowiedniej częstotliwości w twoim radiu. Aby było to możliwe musisz mieć zainstalowany program rigctl dostępny z biblioteką hamlib. Zmodyfikuj ID w wierszu poleceń rigctl znajdującym się oknie preferencji, zgodnie z posiadanym przez siebie urządzeniem, np. 'rigctl -m 210 set_freq %d' używa ID 210 (Kenwood TS-870), zobacz "rigctl --list" aby zobaczyć listę wszystkich modeli. Przeglądarki internetowe i programy pocztowe ============================================ Adresy internetowe w oknie czat wyróżniane są kolorem niebieskim i podkreślane, gdy tylko wskazuje na nie kursor myszy. Kliknięcie na adresie powoduje otwarcie łącza w zdefiniowanej przez użytkownika przeglądarce internetowej bądź programie pocztowym (zobacz okno preferencji): Uruchom przeglądarkę internetową Gnome gdy kliknięty został URL: 'epiphany %s'. Uruchom mozilla-mail gdy kliknięty został adres poczty elektronicznej: 'mozilla -compose "to=%s"'. Domyślnie przeglądarka i program pocztowy nie są ustawione w oknie preferencji. Pozostawienie tych ustawień pustych spowoduje użycie do obsługi adresów domyślnej aplikacji pulpitu. W niektórych przypadkach może być konieczne sprawdzenie konfiguracji domyślnych aplikacji dla pulpitu. Jeżeli to nie pomoże, aby wymusić honorowanie twoich ustawień, konieczna może być ręczna edycja pliku ~/.local/share/applications/mimeapps.list. Ta zmiana spowodowana jest potraktowaniem w wersji GTK+ 2.24 poprzedniego sposobu obsługi adresów URI jako przestarzałego. Wyróżnianie tekstu ================== 'Panel czat' pozwala na wprowadzenie do 8 różnych wyrazów, które będą kolorowane w oknie rozmów. Gdy zaznaczone jest pole wyboru Xdx przeszukuje wszystkie otrzymywane teksty celem wyróżnienia. W przypadku, gdy pole nie zostało zaznaczone, przeszukiwany jest jedynie tekst za wierszem poleceń. Wyboru kolorów, jakimi wyróżniane będą poszczególne słowa, można dokonać w 3 zakładce okna preferencji. Możesz szybko przełączyć stan poszczególnych pól wyboru za pomocą skrótów Ctrl-1 do Ctrl-8, możesz także swobodnie przełączać się pomiędzy poszczególnymi polami tekstowymi poprzez kombinację klawiszy Alt-1 do Alt-8. Naciśnięcie Alt-0 powoduje powrót do pola w którym podajemy tekst do wysłania. Klawisze funkcyjne ================== Naciskając 'Ctl-k' przełączamy okno klawiszy funkcyjnych. Poprzez kliknięcie prawym klawiszem myszy na klawiszach F1 do F8 możliwe jest przypisanie im poleceń oraz ich edycja w ukazującym się oknie dialogowym. Polecenia są wysyłane jedynie podczas aktywnego połączenia z clusterem. Polecenia mogą być wysyłane nawet gdy okno klawiszy funkcyjnych jest ukryte. Dźwięk ====== Kiedy w oknie rozmów aktywne jest wyróżnianie tekstu, istnieje możliwość odgrywania dźwięku. Aby było to jednak możliwe, musisz posłużyć się zewnętrznym programem. Ustawień dokonujemy w pierwszym panelu okna preferencji: 'play %s' spowoduje użycie programu play stanowiącego część pakietu sox, 'esdplay %s' - programu esdplay, który może się okazać przydatny kiedy używamy Gnome i esound. 'aplay %s' użyje aplay pochodzącego z narzędzi ALSA. Emotikony ========= Program posiada wsparcie dla ograniczonej liczby emotikon w oknie chatu: :) :-) :)) :-)) ;) ;-) :( :-( :(( :-(( Wsparcie dla pliku z krajami ============================ Do programu Xdx dołączony został plik cty.dat zawierający informacje pozwalające na określenie kraju na podstawie znaku wywoławczego. Plikiem tym zarządza Jim Reisert AD1C a jego najnowszą wersję można pobrać ze strony: http://www.country-files.com/cty/cty.dat Specyfikacja pliku z krajami znajduje się pod adresem: http://www.country-files.com/cty/backup/format.htm Aktualizacji tego pliku dokonuje się przed wieloma głównymi zawodami DX. Plik ten jest aktualizowany znacznie częściej niż Xdx, dlatego też wersja zamieszczona wraz z kodem źródłowym staje się szybko nieaktualna. Zamiast dokonywać każdorazowej aktualizacji programu po pojawieniu się nowego pliku cty.dat, dodano obsługę wczytywania go z katalogu domowego użytkownika. Można tego dokonać na twa sposoby: 1. Umieszczając zaktualizowany plik cty.dat w twoim katalogu z preferencjami Xdx, którym na platformach POSIX jest $HOME/.xdx 2. Jeżeli plik cty.dat trzymany jest w innym katalogu - ustawiając zmienną systemową XDX_CTY na ścieżkę do cty.dat, np. $HOME/log/cty.dat lub przy poleceniu uruchomienia Xdx dodając opcję '-c' lub '--cty_dat' celem ustawienia ścieżki. Opcja wiersza poleceń nadpisuje ustawienia zawarte w zmiennej środowiskowej. Gdy ustawiona została zmienna środowiskowa lub opcja wiersza poleceń to nie zostanie wykorzystany plik cty.dat z katalogu z preferencjami, chyba że ścieżka nie zawiera cty.dat lub cty.dat nie jest regularnym plikiem, np. jest katalogiem. W tych przypadkach sprawdzany będzie także katalog z preferencjami. Zainstalowana wraz xdx wersja pliku cty.dat jest wczytywana w przypadku gdy zawiodą podstawowe próby i katalog z preferencjami nie zawiera cty.dat. Na chwilę obecną plik cty.dat nie jest sprawdzany pod kątem zgodności ze specyfikacją. Jeżeli, z jakichkolwiek powodów, nie chcesz aby określano kraje, możesz utworzyć pusty plik o nazwie cty.dat. Używając jednego z powyższych sposobów do wczytania tego pliku podczas uruchamiania przez Xdx wyłączysz wyszukiwanie krajów. Licencja i wsparcie =================== Xdx jest bezpłatny i został opublikowany na licencji GNU GPL. Program ten został napisany przez następujące osoby: Joop Stakenborg PG4I . Nate Bargmann N0NB (obecny opiekun) Tłumaczenie niniejszego podręcznika na język polski wykonał Bogusław Ciastek SQ5TB Jeżeli znajdziesz błąd lub chcesz rozbudowy programu, proszę przyślij o tym informację. xdx-2.91/cty.dat0000644000175000017500000023526514222066542010502 00000000000000Sov Mil Order of Malta: 15: 28: EU: 41.90: -12.43: -1.0: 1A: 1A; Spratly Islands: 26: 50: AS: 9.88: -114.23: -8.0: 1S: 9M0,BM9S,BN9S,BO9S,BP9S,BQ9S,BU9S,BV9S,BW9S,BX9S; Monaco: 14: 27: EU: 43.73: -7.40: -1.0: 3A: 3A; Agalega & St. Brandon: 39: 53: AF: -10.45: -56.67: -4.0: 3B6: 3B6,3B7; Mauritius: 39: 53: AF: -20.35: -57.50: -4.0: 3B8: 3B8; Rodriguez Island: 39: 53: AF: -19.70: -63.42: -4.0: 3B9: 3B9; Equatorial Guinea: 36: 47: AF: 1.70: -10.33: -1.0: 3C: 3C; Annobon Island: 36: 52: AF: -1.43: -5.62: -1.0: 3C0: 3C0; Fiji: 32: 56: OC: -17.78: -177.92: -12.0: 3D2: 3D2; Conway Reef: 32: 56: OC: -22.00: -175.00: -12.0: 3D2/c: =3D2CR; Rotuma Island: 32: 56: OC: -12.48: -177.08: -12.0: 3D2/r: =3D2RI; Kingdom of Eswatini: 38: 57: AF: -26.65: -31.48: -2.0: 3DA: 3DA; Tunisia: 33: 37: AF: 35.40: -9.32: -1.0: 3V: 3V,TS; Vietnam: 26: 49: AS: 15.80: -107.90: -7.0: 3W: 3W,XV; Guinea: 35: 46: AF: 11.00: 10.68: 0.0: 3X: 3X; Bouvet: 38: 67: AF: -54.42: -3.38: -1.0: 3Y/b: =3Y0E; Peter 1 Island: 12: 72: SA: -68.77: 90.58: 4.0: 3Y/p: =3Y0X; Azerbaijan: 21: 29: AS: 40.45: -47.37: -4.0: 4J: 4J,4K; Georgia: 21: 29: AS: 42.00: -45.00: -4.0: 4L: 4L; Montenegro: 15: 28: EU: 42.50: -19.28: -1.0: 4O: 4O; Sri Lanka: 22: 41: AS: 7.60: -80.70: -5.5: 4S: 4P,4Q,4R,4S; ITU HQ: 14: 28: EU: 46.17: -6.05: -1.0: 4U1I: =4U1ITU,=4U1WRC; United Nations HQ: 05: 08: NA: 40.75: 73.97: 5.0: 4U1U: =4U1UN; Vienna Intl Ctr: 15: 28: EU: 48.20: -16.30: -1.0: *4U1V: =4U0R,=4U1A,=4U1VIC,=4U2U,=4UNR,=4Y1A,=C7A; Timor - Leste: 28: 54: OC: -8.80: -126.05: -9.0: 4W: 4W; Israel: 20: 39: AS: 31.32: -34.82: -2.0: 4X: 4X,4Z; Libya: 34: 38: AF: 27.20: -16.60: -2.0: 5A: 5A; Cyprus: 20: 39: AS: 35.00: -33.00: -2.0: 5B: 5B,C4,H2,P3; Tanzania: 37: 53: AF: -5.75: -33.92: -3.0: 5H: 5H,5I; Nigeria: 35: 46: AF: 9.87: -7.55: -1.0: 5N: 5N,5O; Madagascar: 39: 53: AF: -19.00: -46.58: -3.0: 5R: 5R,5S,6X; Mauritania: 35: 46: AF: 20.60: 10.50: 0.0: 5T: 5T; Niger: 35: 46: AF: 17.63: -9.43: -1.0: 5U: 5U; Togo: 35: 46: AF: 8.40: -1.28: 0.0: 5V: 5V; Samoa: 32: 62: OC: -13.93: 171.70: -13.0: 5W: 5W; Uganda: 37: 48: AF: 1.92: -32.60: -3.0: 5X: 5X; Kenya: 37: 48: AF: 0.32: -38.15: -3.0: 5Z: 5Y,5Z; Senegal: 35: 46: AF: 15.20: 14.63: 0.0: 6W: 6V,6W; Jamaica: 08: 11: NA: 18.20: 77.47: 5.0: 6Y: 6Y; Yemen: 21: 39: AS: 15.65: -48.12: -3.0: 7O: 7O; Lesotho: 38: 57: AF: -29.22: -27.88: -2.0: 7P: 7P; Malawi: 37: 53: AF: -14.00: -34.00: -2.0: 7Q: 7Q; Algeria: 33: 37: AF: 28.00: -2.00: -1.0: 7X: 7R,7T,7U,7V,7W,7X,7Y; Barbados: 08: 11: NA: 13.18: 59.53: 4.0: 8P: 8P; Maldives: 22: 41: AS: 4.15: -73.45: -5.0: 8Q: 8Q; Guyana: 09: 12: SA: 6.02: 59.45: 4.0: 8R: 8R; Croatia: 15: 28: EU: 45.18: -15.30: -1.0: 9A: 9A; Ghana: 35: 46: AF: 7.70: 1.57: 0.0: 9G: 9G; Malta: 15: 28: EU: 35.88: -14.42: -1.0: 9H: 9H; Zambia: 36: 53: AF: -14.22: -26.73: -2.0: 9J: 9I,9J; Kuwait: 21: 39: AS: 29.38: -47.38: -3.0: 9K: 9K,NLD; Sierra Leone: 35: 46: AF: 8.50: 13.25: 0.0: 9L: 9L; West Malaysia: 28: 54: AS: 3.95: -102.23: -8.0: 9M2: 9M,9W; East Malaysia: 28: 54: OC: 2.68: -113.32: -8.0: 9M6: 9M6,9M8,9W6,9W8,=9M4CAK,=9M4CKT,=9M4CRP,=9M4CWS,=9M7DX; Nepal: 22: 42: AS: 27.70: -85.33: -5.75: 9N: 9N; Dem. Rep. of the Congo: 36: 52: AF: -3.12: -23.03: -1.0: 9Q: 9O,9P,9Q,9R,9S,9T; Burundi: 36: 52: AF: -3.17: -29.78: -2.0: 9U: 9U; Singapore: 28: 54: AS: 1.37: -103.78: -8.0: 9V: 9V,S6; Rwanda: 36: 52: AF: -1.75: -29.82: -2.0: 9X: 9X; Trinidad & Tobago: 09: 11: SA: 10.38: 61.28: 4.0: 9Y: 9Y,9Z; Botswana: 38: 57: AF: -22.00: -24.00: -2.0: A2: 8O,A2; Tonga: 32: 62: OC: -21.22: 175.13: -13.0: A3: A3; Oman: 21: 39: AS: 23.60: -58.55: -4.0: A4: A4; Bhutan: 22: 41: AS: 27.40: -90.18: -6.0: A5: A5; United Arab Emirates: 21: 39: AS: 24.00: -54.00: -4.0: A6: A6; Qatar: 21: 39: AS: 25.25: -51.13: -3.0: A7: A7; Bahrain: 21: 39: AS: 26.03: -50.53: -3.0: A9: A9; Pakistan: 21: 41: AS: 30.00: -70.00: -5.0: AP: 6P,6Q,6R,6S,AP,AQ,AR,AS; Scarborough Reef: 27: 50: AS: 15.08: -117.72: -8.0: BS7: =BS7H; Taiwan: 24: 44: AS: 23.72: -120.88: -8.0: BV: BM,BN,BO,BP,BQ,BU,BV,BW,BX; Pratas Island: 24: 44: AS: 20.70: -116.70: -8.0: BV9P: BM9P,BN9P,BO9P,BP9P,BQ9P,BU9P,BV9P,BW9P,BX9P; China: 24: 44: AS: 36.00: -102.00: -8.0: BY: 3H,3H0(23)[42],3H9(23)[43],3I,3I0(23)[42],3I9(23)[43],3J,3J0(23)[42], 3J9(23)[43],3K,3K0(23)[42],3K9(23)[43],3L,3L0(23)[42],3L9(23)[43],3M, 3M0(23)[42],3M9(23)[43],3N,3N0(23)[42],3N9(23)[43],3O,3O0(23)[42], 3O9(23)[43],3P,3P0(23)[42],3P9(23)[43],3Q,3Q0(23)[42],3Q9(23)[43],3R, 3R0(23)[42],3R9(23)[43],3S,3S0(23)[42],3S9(23)[43],3T,3T0(23)[42], 3T9(23)[43],3U,3U0(23)[42],3U9(23)[43],B0(23)[42],B2,B3,B4,B5,B6,B7,B8, B9(23)[43],BA,BA0(23)[42],BA9(23)[43],BD,BD0(23)[42],BD9(23)[43],BG, BG0(23)[42],BG9(23)[43],BH,BH0(23)[42],BH9(23)[43],BI,BI0(23)[42], BI9(23)[43],BJ,BJ0(23)[42],BJ9(23)[43],BL,BL0(23)[42],BL9(23)[43],BT, BT0(23)[42],BT9(23)[43],BY,BY0(23)[42],BY9(23)[43],BZ,BZ0(23)[42], BZ9(23)[43],XS,XS0(23)[42],XS9(23)[43],B1,B2A[33],B2B[33],B2C[33],B2D[33], B2E[33],B2F[33],B2G[33],B2H[33],B2I[33],B2J[33],B2K[33],B2L[33],B2M[33], B2N[33],B2O[33],B2P[33],B3G(23)[33],B3H(23)[33],B3I(23)[33],B3J(23)[33], B3K(23)[33],B3L(23)[33],B6Q[43],B6R[43],B6S[43],B6T[43],B6U[43],B6V[43], B6W[43],B6X[43],B7A[43],B7B[43],B7C[43],B7D[43],B7E[43],B7F[43],B7G[43], B7H[43],B7Q[43],B7R[43],B7S[43],B7T[43],B7U[43],B7V[43],B7W[43],B7X[43], B8A[43],B8B[43],B8C[43],B8D[43],B8E[43],B8F[43],B8G[43],B8H[43],B8I[43], B8J[43],B8K[43],B8L[43],B8M[43],B8N[43],B8O[43],B8P[43],B8Q[43],B8R[43], B8S[43],B8T[43],B8U[43],B8V[43],B8W[43],B8X[43],B9A(24)[43],B9B(24)[43], B9C(24)[43],B9D(24)[43],B9E(24)[43],B9F(24)[43],B9S(23)[42],B9T(23)[42], B9U(23)[42],B9V(23)[42],B9W(23)[42],B9X(23)[42],BA2A[33],BA2B[33], BA2C[33],BA2D[33],BA2E[33],BA2F[33],BA2G[33],BA2H[33],BA2I[33],BA2J[33], BA2K[33],BA2L[33],BA2M[33],BA2N[33],BA2O[33],BA2P[33],BA3G(23)[33], BA3H(23)[33],BA3I(23)[33],BA3J(23)[33],BA3K(23)[33],BA3L(23)[33],BA6Q[43], BA6R[43],BA6S[43],BA6T[43],BA6U[43],BA6V[43],BA6W[43],BA6X[43],BA7A[43], BA7B[43],BA7C[43],BA7D[43],BA7E[43],BA7F[43],BA7G[43],BA7H[43],BA7Q[43], BA7R[43],BA7S[43],BA7T[43],BA7U[43],BA7V[43],BA7W[43],BA7X[43],BA8A[43], BA8B[43],BA8C[43],BA8D[43],BA8E[43],BA8F[43],BA8G[43],BA8H[43],BA8I[43], BA8J[43],BA8K[43],BA8L[43],BA8M[43],BA8N[43],BA8O[43],BA8P[43],BA8Q[43], BA8R[43],BA8S[43],BA8T[43],BA8U[43],BA8V[43],BA8W[43],BA8X[43], BA9A(24)[43],BA9B(24)[43],BA9C(24)[43],BA9D(24)[43],BA9E(24)[43], BA9F(24)[43],BA9S(23)[42],BA9T(23)[42],BA9U(23)[42],BA9V(23)[42], BA9W(23)[42],BA9X(23)[42],BD2A[33],BD2B[33],BD2C[33],BD2D[33],BD2E[33], BD2F[33],BD2G[33],BD2H[33],BD2I[33],BD2J[33],BD2K[33],BD2L[33],BD2M[33], BD2N[33],BD2O[33],BD2P[33],BD3G(23)[33],BD3H(23)[33],BD3I(23)[33], BD3J(23)[33],BD3K(23)[33],BD3L(23)[33],BD6Q[43],BD6R[43],BD6S[43], BD6T[43],BD6U[43],BD6V[43],BD6W[43],BD6X[43],BD7A[43],BD7B[43],BD7C[43], BD7D[43],BD7E[43],BD7F[43],BD7G[43],BD7H[43],BD7Q[43],BD7R[43],BD7S[43], BD7T[43],BD7U[43],BD7V[43],BD7W[43],BD7X[43],BD8A[43],BD8B[43],BD8C[43], BD8D[43],BD8E[43],BD8F[43],BD8G[43],BD8H[43],BD8I[43],BD8J[43],BD8K[43], BD8L[43],BD8M[43],BD8N[43],BD8O[43],BD8P[43],BD8Q[43],BD8R[43],BD8S[43], BD8T[43],BD8U[43],BD8V[43],BD8W[43],BD8X[43],BD9A(24)[43],BD9B(24)[43], BD9C(24)[43],BD9D(24)[43],BD9E(24)[43],BD9F(24)[43],BD9S(23)[42], BD9T(23)[42],BD9U(23)[42],BD9V(23)[42],BD9W(23)[42],BD9X(23)[42],BG2A[33], BG2B[33],BG2C[33],BG2D[33],BG2E[33],BG2F[33],BG2G[33],BG2H[33],BG2I[33], BG2J[33],BG2K[33],BG2L[33],BG2M[33],BG2N[33],BG2O[33],BG2P[33], BG3G(23)[33],BG3H(23)[33],BG3I(23)[33],BG3J(23)[33],BG3K(23)[33], BG3L(23)[33],BG6Q[43],BG6R[43],BG6S[43],BG6T[43],BG6U[43],BG6V[43], BG6W[43],BG6X[43],BG7A[43],BG7B[43],BG7C[43],BG7D[43],BG7E[43],BG7F[43], BG7G[43],BG7H[43],BG7Q[43],BG7R[43],BG7S[43],BG7T[43],BG7U[43],BG7V[43], BG7W[43],BG7X[43],BG8A[43],BG8B[43],BG8C[43],BG8D[43],BG8E[43],BG8F[43], BG8G[43],BG8H[43],BG8I[43],BG8J[43],BG8K[43],BG8L[43],BG8M[43],BG8N[43], BG8O[43],BG8P[43],BG8Q[43],BG8R[43],BG8S[43],BG8T[43],BG8U[43],BG8V[43], BG8W[43],BG8X[43],BG9A(24)[43],BG9B(24)[43],BG9C(24)[43],BG9D(24)[43], BG9E(24)[43],BG9F(24)[43],BG9S(23)[42],BG9T(23)[42],BG9U(23)[42], BG9V(23)[42],BG9W(23)[42],BG9X(23)[42],BH2A[33],BH2B[33],BH2C[33], BH2D[33],BH2E[33],BH2F[33],BH2G[33],BH2H[33],BH2I[33],BH2J[33],BH2K[33], BH2L[33],BH2M[33],BH2N[33],BH2O[33],BH2P[33],BH3G(23)[33],BH3H(23)[33], BH3I(23)[33],BH3J(23)[33],BH3K(23)[33],BH3L(23)[33],BH6Q[43],BH6R[43], BH6S[43],BH6T[43],BH6U[43],BH6V[43],BH6W[43],BH6X[43],BH7A[43],BH7B[43], BH7C[43],BH7D[43],BH7E[43],BH7F[43],BH7G[43],BH7H[43],BH7Q[43],BH7R[43], BH7S[43],BH7T[43],BH7U[43],BH7V[43],BH7W[43],BH7X[43],BH8A[43],BH8B[43], BH8C[43],BH8D[43],BH8E[43],BH8F[43],BH8G[43],BH8H[43],BH8I[43],BH8J[43], BH8K[43],BH8L[43],BH8M[43],BH8N[43],BH8O[43],BH8P[43],BH8Q[43],BH8R[43], BH8S[43],BH8T[43],BH8U[43],BH8V[43],BH8W[43],BH8X[43],BH9A(24)[43], BH9B(24)[43],BH9C(24)[43],BH9D(24)[43],BH9E(24)[43],BH9F(24)[43], BH9S(23)[42],BH9T(23)[42],BH9U(23)[42],BH9V(23)[42],BH9W(23)[42], BH9X(23)[42],BI2A[33],BI2B[33],BI2C[33],BI2D[33],BI2E[33],BI2F[33], BI2G[33],BI2H[33],BI2I[33],BI2J[33],BI2K[33],BI2L[33],BI2M[33],BI2N[33], BI2O[33],BI2P[33],BI3G(23)[33],BI3H(23)[33],BI3I(23)[33],BI3J(23)[33], BI3K(23)[33],BI3L(23)[33],BI6Q[43],BI6R[43],BI6S[43],BI6T[43],BI6U[43], BI6V[43],BI6W[43],BI6X[43],BI7A[43],BI7B[43],BI7C[43],BI7D[43],BI7E[43], BI7F[43],BI7G[43],BI7H[43],BI7Q[43],BI7R[43],BI7S[43],BI7T[43],BI7U[43], BI7V[43],BI7W[43],BI7X[43],BI8A[43],BI8B[43],BI8C[43],BI8D[43],BI8E[43], BI8F[43],BI8G[43],BI8H[43],BI8I[43],BI8J[43],BI8K[43],BI8L[43],BI8M[43], BI8N[43],BI8O[43],BI8P[43],BI8Q[43],BI8R[43],BI8S[43],BI8T[43],BI8U[43], BI8V[43],BI8W[43],BI8X[43],BI9A(24)[43],BI9B(24)[43],BI9C(24)[43], BI9D(24)[43],BI9E(24)[43],BI9F(24)[43],BI9S(23)[42],BI9T(23)[42], BI9U(23)[42],BI9V(23)[42],BI9W(23)[42],BI9X(23)[42],BJ2A[33],BJ2B[33], BJ2C[33],BJ2D[33],BJ2E[33],BJ2F[33],BJ2G[33],BJ2H[33],BJ2I[33],BJ2J[33], BJ2K[33],BJ2L[33],BJ2M[33],BJ2N[33],BJ2O[33],BJ2P[33],BJ3G(23)[33], BJ3H(23)[33],BJ3I(23)[33],BJ3J(23)[33],BJ3K(23)[33],BJ3L(23)[33],BJ6Q[43], BJ6R[43],BJ6S[43],BJ6T[43],BJ6U[43],BJ6V[43],BJ6W[43],BJ6X[43],BJ7A[43], BJ7B[43],BJ7C[43],BJ7D[43],BJ7E[43],BJ7F[43],BJ7G[43],BJ7H[43],BJ7Q[43], BJ7R[43],BJ7S[43],BJ7T[43],BJ7U[43],BJ7V[43],BJ7W[43],BJ7X[43],BJ8A[43], BJ8B[43],BJ8C[43],BJ8D[43],BJ8E[43],BJ8F[43],BJ8G[43],BJ8H[43],BJ8I[43], BJ8J[43],BJ8K[43],BJ8L[43],BJ8M[43],BJ8N[43],BJ8O[43],BJ8P[43],BJ8Q[43], BJ8R[43],BJ8S[43],BJ8T[43],BJ8U[43],BJ8V[43],BJ8W[43],BJ8X[43], BJ9A(24)[43],BJ9B(24)[43],BJ9C(24)[43],BJ9D(24)[43],BJ9E(24)[43], BJ9F(24)[43],BJ9S(23)[42],BJ9T(23)[42],BJ9U(23)[42],BJ9V(23)[42], BJ9W(23)[42],BJ9X(23)[42],BL2A[33],BL2B[33],BL2C[33],BL2D[33],BL2E[33], BL2F[33],BL2G[33],BL2H[33],BL2I[33],BL2J[33],BL2K[33],BL2L[33],BL2M[33], BL2N[33],BL2O[33],BL2P[33],BL3G(23)[33],BL3H(23)[33],BL3I(23)[33], BL3J(23)[33],BL3K(23)[33],BL3L(23)[33],BL6Q[43],BL6R[43],BL6S[43], BL6T[43],BL6U[43],BL6V[43],BL6W[43],BL6X[43],BL7A[43],BL7B[43],BL7C[43], BL7D[43],BL7E[43],BL7F[43],BL7G[43],BL7H[43],BL7Q[43],BL7R[43],BL7S[43], BL7T[43],BL7U[43],BL7V[43],BL7W[43],BL7X[43],BL8A[43],BL8B[43],BL8C[43], BL8D[43],BL8E[43],BL8F[43],BL8G[43],BL8H[43],BL8I[43],BL8J[43],BL8K[43], BL8L[43],BL8M[43],BL8N[43],BL8O[43],BL8P[43],BL8Q[43],BL8R[43],BL8S[43], BL8T[43],BL8U[43],BL8V[43],BL8W[43],BL8X[43],BL9A(24)[43],BL9B(24)[43], BL9C(24)[43],BL9D(24)[43],BL9E(24)[43],BL9F(24)[43],BL9S(23)[42], BL9T(23)[42],BL9U(23)[42],BL9V(23)[42],BL9W(23)[42],BL9X(23)[42],BT2A[33], BT2B[33],BT2C[33],BT2D[33],BT2E[33],BT2F[33],BT2G[33],BT2H[33],BT2I[33], BT2J[33],BT2K[33],BT2L[33],BT2M[33],BT2N[33],BT2O[33],BT2P[33], BT3G(23)[33],BT3H(23)[33],BT3I(23)[33],BT3J(23)[33],BT3K(23)[33], BT3L(23)[33],BT6Q[43],BT6R[43],BT6S[43],BT6T[43],BT6U[43],BT6V[43], BT6W[43],BT6X[43],BT7A[43],BT7B[43],BT7C[43],BT7D[43],BT7E[43],BT7F[43], BT7G[43],BT7H[43],BT7Q[43],BT7R[43],BT7S[43],BT7T[43],BT7U[43],BT7V[43], BT7W[43],BT7X[43],BT8A[43],BT8B[43],BT8C[43],BT8D[43],BT8E[43],BT8F[43], BT8G[43],BT8H[43],BT8I[43],BT8J[43],BT8K[43],BT8L[43],BT8M[43],BT8N[43], BT8O[43],BT8P[43],BT8Q[43],BT8R[43],BT8S[43],BT8T[43],BT8U[43],BT8V[43], BT8W[43],BT8X[43],BT9A(24)[43],BT9B(24)[43],BT9C(24)[43],BT9D(24)[43], BT9E(24)[43],BT9F(24)[43],BT9S(23)[42],BT9T(23)[42],BT9U(23)[42], BT9V(23)[42],BT9W(23)[42],BT9X(23)[42],BY2A[33],BY2B[33],BY2C[33], BY2D[33],BY2E[33],BY2F[33],BY2G[33],BY2H[33],BY2I[33],BY2J[33],BY2K[33], BY2L[33],BY2M[33],BY2N[33],BY2O[33],BY2P[33],BY3G(23)[33],BY3H(23)[33], BY3I(23)[33],BY3J(23)[33],BY3K(23)[33],BY3L(23)[33],BY6Q[43],BY6R[43], BY6S[43],BY6T[43],BY6U[43],BY6V[43],BY6W[43],BY6X[43],BY7A[43],BY7B[43], BY7C[43],BY7D[43],BY7E[43],BY7F[43],BY7G[43],BY7H[43],BY7Q[43],BY7R[43], BY7S[43],BY7T[43],BY7U[43],BY7V[43],BY7W[43],BY7X[43],BY8A[43],BY8B[43], BY8C[43],BY8D[43],BY8E[43],BY8F[43],BY8G[43],BY8H[43],BY8I[43],BY8J[43], BY8K[43],BY8L[43],BY8M[43],BY8N[43],BY8O[43],BY8P[43],BY8Q[43],BY8R[43], BY8S[43],BY8T[43],BY8U[43],BY8V[43],BY8W[43],BY8X[43],BY9A(24)[43], BY9B(24)[43],BY9C(24)[43],BY9D(24)[43],BY9E(24)[43],BY9F(24)[43], BY9S(23)[42],BY9T(23)[42],BY9U(23)[42],BY9V(23)[42],BY9W(23)[42], BY9X(23)[42],BZ2A[33],BZ2B[33],BZ2C[33],BZ2D[33],BZ2E[33],BZ2F[33], BZ2G[33],BZ2H[33],BZ2I[33],BZ2J[33],BZ2K[33],BZ2L[33],BZ2M[33],BZ2N[33], BZ2O[33],BZ2P[33],BZ3G(23)[33],BZ3H(23)[33],BZ3I(23)[33],BZ3J(23)[33], BZ3K(23)[33],BZ3L(23)[33],BZ6Q[43],BZ6R[43],BZ6S[43],BZ6T[43],BZ6U[43], BZ6V[43],BZ6W[43],BZ6X[43],BZ7A[43],BZ7B[43],BZ7C[43],BZ7D[43],BZ7E[43], BZ7F[43],BZ7G[43],BZ7H[43],BZ7Q[43],BZ7R[43],BZ7S[43],BZ7T[43],BZ7U[43], BZ7V[43],BZ7W[43],BZ7X[43],BZ8A[43],BZ8B[43],BZ8C[43],BZ8D[43],BZ8E[43], BZ8F[43],BZ8G[43],BZ8H[43],BZ8I[43],BZ8J[43],BZ8K[43],BZ8L[43],BZ8M[43], BZ8N[43],BZ8O[43],BZ8P[43],BZ8Q[43],BZ8R[43],BZ8S[43],BZ8T[43],BZ8U[43], BZ8V[43],BZ8W[43],BZ8X[43],BZ9A(24)[43],BZ9B(24)[43],BZ9C(24)[43], BZ9D(24)[43],BZ9E(24)[43],BZ9F(24)[43],BZ9S(23)[42],BZ9T(23)[42], BZ9U(23)[42],BZ9V(23)[42],BZ9W(23)[42],BZ9X(23)[42],=BA3GG/4, =BD6KF/0(23)[42],=BD9BI/0(23)[42],=BY1CRA/WO22; Nauru: 31: 65: OC: -0.52: -166.92: -12.0: C2: C2; Andorra: 14: 27: EU: 42.58: -1.62: -1.0: C3: C3; The Gambia: 35: 46: AF: 13.40: 16.38: 0.0: C5: C5; Bahamas: 08: 11: NA: 24.25: 76.00: 5.0: C6: C6; Mozambique: 37: 53: AF: -18.25: -35.00: -2.0: C9: C8,C9; Chile: 12: 14: SA: -30.00: 71.00: 4.0: CE: 3G,CA,CB,CC,CD,CE,XQ,XR,3G7[16],3G8[16],CA7[16],CA8[16],CB7[16],CB8[16], CC7[16],CC8[16],CD7[16],CD8[16],CE7[16],CE8[16],XQ7[16],XQ8[16],XR7[16], XR8[16],=XQ6CFX[16],=XQ6OA[16]; San Felix & San Ambrosio: 12: 14: SA: -26.28: 80.07: 4.0: CE0X: 3G0X,CA0X,CB0X,CC0X,CD0X,CE0X,XQ0X,XR0X; Easter Island: 12: 63: SA: -27.10: 109.37: 6.0: CE0Y: 3G0,CA0,CB0,CC0,CD0,CE0,XQ0,XR0; Juan Fernandez Islands: 12: 14: SA: -33.60: 78.85: 4.0: CE0Z: 3G0Z,CA0Z,CB0Z,CC0Z,CD0Z,CE0I,CE0Z,XQ0Z,XR0Z; Antarctica: 13: 74: SA: -90.00: 0.00: 0.0: CE9: 3Y[73],AX0(39)[69],AY1Z[73],AY2Z[73],AY3Z[73],AY4Z[73],AY5Z[73],AY6Z[73], AY7Z[73],AY8Z[73],AY9Z[73],FT0Y(30)[70],FT1Y(30)[70],FT2Y(30)[70], FT3Y(30)[70],FT4Y(30)[70],FT5Y(30)[70],FT6Y(30)[70],FT7Y(30)[70], FT8Y(30)[70],LU1Z[73],LU2Z[73],LU3Z[73],LU4Z[73],LU5Z[73],LU6Z[73], LU7Z[73],LU8Z[73],LU9Z[73],RI1AN(29)[69],VI0(39)[69],VK0(39)[69], ZL5(30)[71],ZM5(30)[71],ZS7(38)[67],=FT4YM/P(29),=8J1RL(39)[67], =DP0GVN(38)[67],=DP1POL(38)[67],=EM1U[73],=IA0/IZ1KHY(29)[70],=KC4AAA(39), =KC4AAC[73],=KC4USB(12),=KC4USN(30),=KC4USV(30)[71],=RI1ANC(29)[70], =RI1ANR(38)[67]; Cuba: 08: 11: NA: 21.50: 80.00: 5.0: CM: CL,CM,CO,T4; Morocco: 33: 37: AF: 32.00: 5.00: 0.0: CN: 5C,5D,5E,5F,5G,CN; Bolivia: 10: 12: SA: -17.00: 65.00: 4.0: CP: CP,CP2[14],CP3[14],CP4[14],CP5[14],CP6[14],CP7[14]; Portugal: 14: 37: EU: 39.50: 8.00: 0.0: CT: CQ,CR,CS,CT; Madeira Islands: 33: 36: AF: 32.75: 16.95: 0.0: CT3: CQ2,CQ3,CQ9,CR3,CR9,CS3,CS9,CT3,CT9; Azores: 14: 36: EU: 38.70: 27.23: 1.0: CU: CQ1,CQ8,CR1,CR2,CR8,CS4,CS8,CT8,CU; Uruguay: 13: 14: SA: -33.00: 56.00: 3.0: CX: CV,CW,CX; Sable Island: 05: 09: NA: 43.93: 59.90: 4.0: CY0: CY0; St. Paul Island: 05: 09: NA: 47.00: 60.00: 4.0: CY9: CY9; Angola: 36: 52: AF: -12.50: -18.50: -1.0: D2: D2,D3; Cape Verde: 35: 46: AF: 16.00: 24.00: 1.0: D4: D4; Comoros: 39: 53: AF: -11.63: -43.30: -3.0: D6: D6; Fed. Rep. of Germany: 14: 28: EU: 51.00: -10.00: -1.0: DL: DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DQ,DR,Y2,Y3,Y4,Y5,Y6,Y7, Y8,Y9; Philippines: 27: 50: OC: 13.00: -122.00: -8.0: DU: 4D,4E,4F,4G,4H,4I,DU,DV,DW,DX,DY,DZ; Eritrea: 37: 48: AF: 15.00: -39.00: -3.0: E3: E3; Palestine: 20: 39: AS: 31.28: -34.27: -2.0: E4: E4; North Cook Islands: 32: 62: OC: -10.02: 161.08: 10.0: E5/n: =E51PT,=E51WL[63]; South Cook Islands: 32: 63: OC: -21.90: 157.93: 10.0: E5/s: E5; Niue: 32: 62: OC: -19.03: 169.85: 11.0: E6: E6; Bosnia-Herzegovina: 15: 28: EU: 44.32: -17.57: -1.0: E7: E7; Spain: 14: 37: EU: 40.32: 3.43: -1.0: EA: AM,AN,AO,EA,EB,EC,ED,EE,EF,EG,EH,=EA2EZ/P,=EA5CC/P,=EA5EZ/P,=EA5IKT/P, =EA6XQ/P,=EA9HU; Balearic Islands: 14: 37: EU: 39.60: -2.95: -1.0: EA6: AM6,AN6,AO6,EA6,EB6,EC6,ED6,EE6,EF6,EG6,EH6; Canary Islands: 33: 36: AF: 28.32: 15.85: 0.0: EA8: AM8,AN8,AO8,EA8,EB8,EC8,ED8,EE8,EF8,EG8,EH8,=EA2EPY/8,=EA4URE/8; Ceuta & Melilla: 33: 37: AF: 35.90: 5.27: -1.0: EA9: AM9,AN9,AO9,EA9,EB9,EC9,ED9,EE9,EF9,EG9,EH9; Ireland: 14: 27: EU: 53.13: 8.02: 0.0: EI: EI,EJ; Armenia: 21: 29: AS: 40.40: -44.90: -4.0: EK: EK; Liberia: 35: 46: AF: 6.50: 9.50: 0.0: EL: 5L,5M,6Z,A8,D5,EL; Iran: 21: 40: AS: 32.00: -53.00: -3.5: EP: 9B,9C,9D,EP,EQ; Moldova: 16: 29: EU: 47.00: -29.00: -2.0: ER: ER; Estonia: 15: 29: EU: 59.00: -25.00: -2.0: ES: ES; Ethiopia: 37: 48: AF: 9.00: -39.00: -3.0: ET: 9E,9F,ET; Belarus: 16: 29: EU: 54.00: -28.00: -2.0: EU: EU,EV,EW; Kyrgyzstan: 17: 30: AS: 41.70: -74.13: -6.0: EX: EX,EX0P[31],EX0Q[31],EX2P[31],EX2Q[31],EX6P[31],EX6Q[31],EX7P[31], EX7Q[31],EX8P[31],EX8Q[31]; Tajikistan: 17: 30: AS: 38.82: -71.22: -5.0: EY: EY; Turkmenistan: 17: 30: AS: 38.00: -58.00: -5.0: EZ: EZ; France: 14: 27: EU: 46.00: -2.00: -1.0: F: F,HW,HX,HY,TH,TM,TP,TQ,TV; Guadeloupe: 08: 11: NA: 16.13: 61.67: 4.0: FG: FG,=TO1Q,=TO3Z; Mayotte: 39: 53: AF: -12.88: -45.15: -3.0: FH: FH; St. Barthelemy: 08: 11: NA: 17.90: 62.83: 4.0: FJ: FJ; New Caledonia: 32: 56: OC: -21.50: -165.50: -11.0: FK: FK; Chesterfield Islands: 30: 56: OC: -19.87: -158.32: -11.0: FK/c: =TX3X; Martinique: 08: 11: NA: 14.70: 61.03: 4.0: FM: FM,=TO4A,=TO5A,=TO5T,=TO7A,=TO8N; French Polynesia: 32: 63: OC: -17.65: 149.40: 10.0: FO: FO; Austral Islands: 32: 63: OC: -23.37: 149.48: 10.0: FO/a: =FO/SP5EAQ,=TX5AQ,=TX5N; Clipperton Island: 07: 10: NA: 10.28: 109.22: 8.0: FO/c: =TX5P; Marquesas Islands: 31: 63: OC: -8.92: 140.07: 9.5: FO/m: =TX7MB; St. Pierre & Miquelon: 05: 09: NA: 46.77: 56.20: 3.0: FP: FP; Reunion Island: 39: 53: AF: -21.12: -55.48: -4.0: FR: FR; St. Martin: 08: 11: NA: 18.08: 63.03: 4.0: FS: FS; Glorioso Islands: 39: 53: AF: -11.55: -47.28: -4.0: FT/g: FT0G,FT1G,FT2G,FT3G,FT4G,FT5G,FT6G,FT7G,FT8G,FT9G; Juan de Nova, Europa: 39: 53: AF: -17.05: -42.72: -3.0: FT/j: FT0E,FT0J,FT1E,FT1J,FT2E,FT2J,FT3E,FT3J,FT4E,FT4J,FT6E,FT6J,FT7E,FT7J, FT8E,FT8J,FT9E,FT9J; Tromelin Island: 39: 53: AF: -15.88: -54.50: -4.0: FT/t: FT0T,FT1T,FT2T,FT3T,FT4T,FT5T,FT6T,FT7T,FT8T,FT9T; Crozet Island: 39: 68: AF: -46.42: -51.75: -5.0: FT/w: FT0W,FT4W,FT5W,FT8W; Kerguelen Islands: 39: 68: AF: -49.00: -69.27: -5.0: FT/x: FT0X,FT2X,FT4X,FT5X,FT8X; Amsterdam & St. Paul Is.: 39: 68: AF: -37.85: -77.53: -5.0: FT/z: FT0Z,FT1Z,FT2Z,FT3Z,FT4Z,FT5Z,FT6Z,FT7Z,FT8Z; Wallis & Futuna Islands: 32: 62: OC: -13.30: 176.20: -12.0: FW: FW,TW; French Guiana: 09: 12: SA: 4.00: 53.00: 3.0: FY: FY,=TO1A; England: 14: 27: EU: 52.77: 1.47: 0.0: G: 2E,G,M; Isle of Man: 14: 27: EU: 54.20: 4.53: 0.0: GD: 2D,GD,GT,MD,MT; Northern Ireland: 14: 27: EU: 54.73: 6.68: 0.0: GI: 2I,GI,GN,MI,MN,=GB2SPD,=GB8HRM,=GB8PJE,=GB8UKR; Jersey: 14: 27: EU: 49.22: 2.18: 0.0: GJ: 2J,GH,GJ,MH,MJ,=GB2JSA; Scotland: 14: 27: EU: 56.82: 4.18: 0.0: GM: 2A,2M,GM,GS,MA,MM,MS,=GB0GGR,=GB2ELH,=GB2JCM,=GB2OWM,=GB3ANG,=GB3LER, =GB3LER/B,=GB3ORK,=GB4LER,=GB5CC; Shetland Islands: 14: 27: EU: 60.50: 1.50: 0.0: *GM/s: =2M0BDR,=2M0BDT,=2M0CPN,=2M0GFC,=2M0SEG,=2M0SPX,=2M0ZET,=GB2ELH,=GB3LER, =GB3LER/B,=GB4LER,=GM0AVR,=GM0CXQ,=GM0EKM,=GM0GFL,=GM0ILB,=GM0JDB,=GM1FGN, =GM1KKI,=GM1ZNR,=GM3WHT,=GM3ZET,=GM4IPK,=GM4JPI,=GM4LBE,=GM4LER,=GM4PXG, =GM4SLV,=GM4SSA,=GM4WXQ,=GM4ZHL,=GM6RQW,=GM6YQA,=GM7AFE,=GM7GWW,=GM8LNH, =GM8MMA,=GM8YEC,=GS3ZET,=MM0LSM,=MM0NQY,=MM0VIK,=MM0XAU,=MM0ZAL,=MM0ZCG, =MM0ZRC,=MM1FEO,=MM1FJM,=MM3VQO,=MM5PSL,=MM5YLO,=MM6BDU,=MM6BZQ,=MM6IKB, =MM6IMB,=MM6MFA,=MM6PTE,=MM6SJK,=MM6YLO,=MM6ZBG,=MM6ZDW,=MM7CGR,=MM8A, =MS0ZCG,=MS0ZET; Guernsey: 14: 27: EU: 49.45: 2.58: 0.0: GU: 2U,GP,GU,MP,MU; Wales: 14: 27: EU: 52.28: 3.73: 0.0: GW: 2W,GC,GW,MC,MW,=GB2OTA,=GB2TD,=GB2VK,=GB4NPT; Solomon Islands: 28: 51: OC: -9.00: -160.00: -11.0: H4: H4; Temotu Province: 32: 51: OC: -10.72: -165.80: -11.0: H40: H40; Hungary: 15: 28: EU: 47.12: -19.28: -1.0: HA: HA,HG; Switzerland: 14: 28: EU: 46.87: -8.12: -1.0: HB: HB,HE; Liechtenstein: 14: 28: EU: 47.13: -9.57: -1.0: HB0: HB0,HE0; Ecuador: 10: 12: SA: -1.40: 78.40: 5.0: HC: HC,HD; Galapagos Islands: 10: 12: SA: -0.78: 91.03: 6.0: HC8: HC8,HD8; Haiti: 08: 11: NA: 19.02: 72.18: 5.0: HH: 4V,HH; Dominican Republic: 08: 11: NA: 19.13: 70.68: 4.0: HI: HI; Colombia: 09: 12: SA: 5.00: 74.00: 5.0: HK: 5J,5K,HJ,HK; San Andres & Providencia: 07: 11: NA: 12.55: 81.72: 5.0: HK0/a: 5J0,5K0,HJ0,HK0; Malpelo Island: 09: 12: SA: 3.98: 81.58: 5.0: HK0/m: HJ0M,HK0M,=HK0TU; Republic of Korea: 25: 44: AS: 36.23: -127.90: -9.0: HL: 6K,6L,6M,6N,D7,D8,D9,DS,DT,HL,KL9K; Panama: 07: 11: NA: 9.00: 80.00: 5.0: HP: 3E,3F,H3,H8,H9,HO,HP; Honduras: 07: 11: NA: 15.00: 87.00: 6.0: HR: HQ,HR; Thailand: 26: 49: AS: 12.60: -99.70: -7.0: HS: E2,HS; Vatican City: 15: 28: EU: 41.90: -12.47: -1.0: HV: HV; Saudi Arabia: 21: 39: AS: 24.20: -43.83: -3.0: HZ: 7Z,8Z,HZ; Italy: 15: 28: EU: 42.82: -12.58: -1.0: I: I,=4U0WFP,=4U13FEB,=4U1GSC,=4U5F,=4U9A,=IT9ELM/0; African Italy: 33: 37: AF: 35.67: -12.67: -1.0: *IG9: IG9,IH9; Sardinia: 15: 28: EU: 40.15: -9.27: -1.0: IS: IM0,IS,IW0U,IW0V,IW0W,IW0X,IW0Y,IW0Z,=II0ICH,=II0IDP,=II0M,=IO0WRTC, =IQ0AG,=IQ0AH,=IQ0AI,=IQ0AK,=IQ0AK/P,=IQ0AL,=IQ0AM,=IQ0EH,=IQ0HO,=IQ0ID, =IQ0NU,=IQ0OG,=IQ0OH,=IQ0QP,=IQ0SS; Sicily: 15: 28: EU: 37.50: -14.00: -1.0: *IT9: IB9,ID9,IE9,IF9,II9,IJ9,IO9,IQ9,IR9,IT9,IU9,IW9,IY9,=II0OGB,=IW0HBY/9; Djibouti: 37: 48: AF: 11.75: -42.35: -3.0: J2: J2; Grenada: 08: 11: NA: 12.13: 61.68: 4.0: J3: J3; Guinea-Bissau: 35: 46: AF: 12.02: 14.80: 0.0: J5: J5; St. Lucia: 08: 11: NA: 13.87: 61.00: 4.0: J6: J6; Dominica: 08: 11: NA: 15.43: 61.35: 4.0: J7: J7; St. Vincent: 08: 11: NA: 13.23: 61.20: 4.0: J8: J8; Japan: 25: 45: AS: 36.40: -138.38: -9.0: JA: 7J,7K,7L,7M,7N,8J,8K,8L,8M,8N,JA,JE,JF,JG,JH,JI,JJ,JK,JL,JM,JN,JO,JP,JQ, JR,JS; Minami Torishima: 27: 90: OC: 24.28: -153.97: -10.0: JD/m: =JG8NQJ/JD1; Ogasawara: 27: 45: AS: 27.05: -142.20: -9.0: JD/o: JD1; Mongolia: 23: 32: AS: 46.77: -102.17: -7.0: JT: JT,JU,JV,JT2[33],JT3[33],JU2[33],JU3[33],JV2[33],JV3[33]; Svalbard: 40: 18: EU: 78.00: -16.00: -1.0: JW: JW; Bear Island: 40: 18: EU: 74.43: -19.08: -1.0: *JW/b: =JW/LB2PG; Jan Mayen: 40: 18: EU: 71.05: 8.28: 1.0: JX: JX; Jordan: 20: 39: AS: 31.18: -36.42: -2.0: JY: JY; United States: 05: 08: NA: 37.60: 91.87: 5.0: K: AA,AB,AC,AD,AE,AF,AG,AI,AJ,AK,K,N,W,=4U1WB(5)[8],=AA0O(5)[8],=AA2IL(3)[6], =AA2MA(4)[8],=AA4DD(4)[8],=AA4Q(3)[6],=AA4R(4)[8],=AA4WW(4)[8], =AA5JF(5)[8],=AA8R(5)[8],=AB4B(4)[8],=AB4GG(4)[8],=AB4IQ(4)[8], =AB5OR(4)[8],=AB8RL(5)[8],=AB8YZ(4)[7],=AC4CA(4)[7],=AC4G(4)[8], =AC5XK(5)[8],=AC6WI(5)[8],=AC6ZM(4)[8],=AC7AF(4)[7],=AC8Y(5)[8], =AC9TO(4)[7],=AD1C(4)[7],=AD4EB(4)[8],=AD4TA(4)[8],=AD5XI(5)[8], =AD8J(5)[8],=AE4ED(4)[8],=AE6JV(5)[8],=AE7AP(4)[6],=AF4T(4)[8], =AG1RL(3)[6],=AG4W(4)[8],=AH0U(3)[6],=AH2O(5)[8],=AH6EZ(3)[6], =AH6FF(4)[8],=AH6JS(3)[6],=AH6LE(3)[6],=AH6SU(4)[8],=AI6O(4)[7], =AI9K(4)[7],=AJ4A(4)[8],=AJ4F(4)[7],=AJ7G(5)[8],=AL1VE(3)[6],=AL5P(4)[7], =AL7CR(3)[6],=AL7RF(3)[6],=AL7RT(4)[6],=G8ERJ(5)[8],=K0ACP(4)[8], =K0DTJ(3)[6],=K0EJ(4)[8],=K0IP(3)[6],=K0LUZ(5)[8],=K0NW(3)[6],=K0PG(4)[8], =K0SN(4)[6],=K0TQ(4)[8],=K0ZR(5)[8],=K1DC(4)[8],=K1DW(4)[7],=K1GU(4)[8], =K1KD(4)[7],=K1LT(4)[8],=K2DRH(4)[7],=K2GMY(3)[6],=K2KR(4)[7],=K2PO(3)[6], =K2RD(3)[6],=K2RP(3)[6],=K2VV(4)[7],=K3DMG(4)[8],=K3EST(3)[6],=K3GP(4)[8], =K3IE(4)[8],=K3PA(4)[7],=K3WT(4)[7],=K3YP(4)[8],=K4AB(4)[8],=K4AFE(4)[8], =K4AMC(4)[8],=K4BWP(4)[8],=K4BX(4)[8],=K4DR(4)[8],=K4DXV(4)[8], =K4FN(4)[8],=K4HAL(4)[8],=K4IU(4)[7],=K4LEN(4)[8],=K4OAQ(4)[8], =K4RO(4)[8],=K4TCG(4)[8],=K4TG(4)[8],=K4TZ(4)[8],=K4WG(4)[8],=K4WI(4)[8], =K4WW(4)[8],=K4XU(3)[6],=K4YJ(4)[8],=K4ZGB(4)[8],=K5EK(5)[8],=K5KG(5)[8], =K5OA(3)[6],=K5VIP(5)[8],=K5ZD(5)[8],=K6ND(5)[8],=K6ZB(4)[7],=K7ABV(4)[6], =K7BG(4)[7],=K7BV(5)[8],=K7DR(4)[8],=K7GM(5)[8],=K7IA(4)[7],=K7OM(5)[8], =K7QA(4)[6],=K7RB(4)[7],=K7SCX(4)[7],=K7SV(5)[8],=K7TD(4)[7],=K8AC(5)[8], =K8ARY(5)[8],=K8CN(5)[8],=K8IA(3)[6],=K8JQ(5)[8],=K8LBQ(5)[8],=K8LF(5)[8], =K8LS(4)[7],=K8NYG(5)[8],=K8TE(4)[7],=K8TR(3)[6],=K9CHP(5)[8],=K9DR(4)[7], =K9DU(4)[7],=K9JF(3)[6],=K9JM(3)[6],=K9MWM(4)[7],=K9OM(5)[8],=K9OZ(4)[7], =K9PY(3)[6],=K9QC(4)[7],=K9RS(5)[8],=K9RZ(3)[6],=K9WA(4)[7],=K9YC(3)[6], =KA3MTT(4)[8],=KA4GAV(4)[7],=KA4OTB(4)[7],=KA7PNH(4)[7],=KA8HDE(4)[7], =KA8Q(5)[8],=KA9FOX(4)[7],=KA9VVQ(4)[7],=KB2S(3)[6],=KB4QZH(4)[8], =KB9S(4)[7],=KC2LM(4)[7],=KC4HW(4)[8],=KC4NX(4)[8],=KC4SAW(4)[8], =KC4TEO(4)[8],=KC4WQ(4)[8],=KC7QY(4)[7],=KC8GCR(5)[8],=KC8J(3)[6], =KC9K(4)[7],=KD0EE(4)[8],=KD2KW(4)[7],=KD4EE(4)[8],=KD4TRG(4)[8], =KD5DD(4)[8],=KD7HU(4)[7],=KD7RF(4)[8],=KD9QS(5)[8],=KE0L(4)[8], =KE0YI(4)[8],=KE1B(3)[6],=KE2VB(3)[6],=KE3K(4)[8],=KE4KY(4)[8], =KE8FT(3)[6],=KF5BA(4)[8],=KF5MU(4)[8],=KG0F(3)[6],=KG4CUY(4)[8], =KG5HVO(4)[8],=KH2AR(4)[7],=KH2BR(3)[6],=KH2D(5)[8],=KH2GM(4)[8], =KH2PM(5)[8],=KH2SR(3)[6],=KH2TJ(3)[6],=KH6CT(5)[8],=KH6GK(3)[6], =KH6M(5)[8],=KH6VM(3)[6],=KH7FC(5)[8],=KI6DY(4)[8],=KI6QDH(4)[7], =KI8I(5)[8],=KJ4AOM(4)[8],=KJ4M(4)[8],=KJ9C(4)[6],=KK9A(5)[8],=KK9N(4)[7], =KL0SS(5)[8],=KL1SE(4)[8],=KL2AX(4)[7],=KL7AN(3)[6],=KL7DJ(3)[6], =KL7HQR(3)[6],=KL7IKV(3)[6],=KL7NW(4)[7],=KL7QW(4)[7],=KM4CH(4)[8], =KM4FO(4)[8],=KM4RO(4)[8],=KM7W(4)[6],=KN1CBR(4)[7],=KO4OL(4)[8], =KO4Z(4)[8],=KO8SCA(5)[8],=KO8V(5)[8],=KO9V(4)[7],=KP2X(4)[7],=KP3M(5)[8], =KP3U(5)[8],=KP4MD(3)[6],=KR4F(4)[8],=KS4X(4)[8],=KS7T(4)[6],=KS9W(4)[7], =KT3M(4)[7],=KT4O(4)[8],=KU1CW(3)[6],=KU8E(5)[8],=KV3T(4)[8],=KV8S(4)[7], =KW4J(4)[8],=KW4YA(4)[8],=KW7Q(4)[7],=KX2P(4)[7],=KY0Q(4)[8],=KY0W(3)[6], =KZ1W(3)[6],=KZ9V(4)[7],=N0KRE(3)[6],=N0OJ(5)[8],=N0YY(5)[8],=N2BJ(4)[8], =N2IC(4)[7],=N2JNR(3)[6],=N2NL(4)[8],=N3BB(4)[7],=N3RA(4)[8],=N3RC(3)[6], =N3ZZ(3)[6],=N4ARO(4)[8],=N4AU(4)[8],=N4BAA(4)[8],=N4BCD(4)[8], =N4DW(4)[8],=N4EL(4)[8],=N4HAI(4)[8],=N4JRG(4)[8],=N4KH(4)[8],=N4NM(4)[8], =N4NO(4)[8],=N4OGW(4)[8],=N4QS(4)[8],=N4RRR(4)[8],=N4SS(4)[8],=N4TY(4)[8], =N4TZ(4)[8],=N4UC(4)[8],=N4VI(4)[7],=N4ZZ(4)[8],=N5CR(3)[6],=N5CW(4)[8], =N5DX(5)[8],=N5EP(4)[8],=N5GF(5)[8],=N5KO(3)[6],=N5RP(4)[8],=N5SMQ(5)[8], =N5TOO(5)[8],=N5YT(4)[8],=N5ZO(3)[6],=N6AR(5)[8],=N6DW(5)[8],=N6JS(5)[8], =N6RSH(4)[7],=N7DR(4)[7],=N7IV(4)[7],=N7MZW(4)[7],=N7RCS(5)[8], =N7US(4)[8],=N7WY(4)[7],=N7ZZ(4)[8],=N8AID(5)[8],=N8CL(5)[8],=N8II(5)[8], =N8IVN(5)[8],=N8KH(5)[8],=N8NA(5)[8],=N8NN(5)[8],=N8OO(4)[7],=N8RA(5)[8], =N8WXQ(5)[8],=N9CIQ(4)[7],=N9GB(4)[7],=N9HDE(4)[7],=N9JF(4)[7], =N9NA(3)[6],=N9NB(5)[8],=N9NC(5)[8],=N9NM(4)[7],=N9RV(4)[6],=N9SB(4)[7], =N9TX(4)[7],=N9VPV(4)[7],=NA2U(3)[6],=NA4A(4)[8],=NA5NN(4)[8],=ND2T(3)[6], =ND3N(4)[8],=ND4Y(4)[8],=NE8P(5)[8],=NE9U(4)[7],=NF4J(4)[8],=NG7A(4)[7], =NH6L(4)[7],=NH6PK(4)[8],=NH6T(4)[8],=NH6Z(3)[6],=NH7TV(5)[8],=NI7R(5)[8], =NJ4P(4)[8],=NJ8J(5)[8],=NJ8M(4)[7],=NK3L(3)[6],=NK8Q(5)[8],=NL7CQ(4)[7], =NL7D(3)[6],=NL7FJ(5)[8],=NL7P(5)[8],=NL7QC(4)[7],=NL7WA(5)[8], =NL7XM(5)[8],=NL7XT(4)[8],=NN4NT(4)[8],=NN5O(4)[8],=NN7A(4)[7], =NN7CW(5)[8],=NN9DD(5)[8],=NO9E(5)[8],=NP2GG(5)[8],=NP2JV(5)[8], =NP3FB(4)[8],=NP3K(5)[8],=NQ6N(4)[8],=NR4L(4)[8],=NR7DX(4)[6],=NS4X(4)[8], =NT0K(5)[8],=NV4B(4)[8],=NW8U(5)[8],=NX1P(3)[6],=NY6DX(5)[8],=NZ7Q(4)[7], =W0BR(5)[8],=W0NA(5)[8],=W0PV(5)[8],=W0QQG(5)[8],=W0YK(3)[6],=W0ZP(4)[8], =W1DGL(3)[6],=W1NN(4)[8],=W1PR(3)[6],=W1RH(3)[6],=W1SRD(3)[6],=W2GS(4)[7], =W2UP(4)[7],=W2VJN(3)[6],=W3CB(4)[8],=W3CRZ(4)[8],=W3HDH(4)[8], =W3HKK(4)[8],=W3TB(4)[8],=W4BCG(4)[8],=W4CMG(4)[8],=W4CQE(4)[8], =W4DAN(4)[8],=W4EF(3)[6],=W4ER(4)[8],=W4GKM(4)[8],=W4KW(4)[8],=W4LC(4)[8], =W4NBS(4)[8],=W4NNF(4)[8],=W4NZ(4)[8],=W4PA(4)[8],=W4PF(4)[8], =W4SSF(4)[8],=W4TLK(4)[8],=W4UT(4)[8],=W5ACQ(4)[8],=W5MX(4)[8], =W5NZ(4)[8],=W5VS(5)[8],=W6FB(4)[7],=W6GMT(4)[7],=W6KGP(4)[7], =W6LFB(4)[7],=W6NCB(4)[8],=W6NWS(5)[8],=W6UB(4)[8],=W7DXX(4)[7], =W7EE(4)[6],=W7II(4)[7],=W7IMP(5)[8],=W7LG(5)[8],=W7RF(4)[7],=W7RY(4)[7], =W7UT(4)[7],=W7XT(4)[6],=W8AKS(5)[8],=W8FJ(5)[8],=W8FN(5)[8],=W8LYJ(4)[7], =W8OV(4)[7],=W8TK(3)[6],=W9CF(3)[6],=W9DC(5)[8],=W9ET(4)[7],=W9JA(4)[7], =W9KB(5)[8],=W9KKN(3)[6],=W9RNY(4)[7],=WA0WWW(3)[6],=WA1FCN(4)[8], =WA1FMM(4)[7],=WA1UJU(4)[8],=WA2VYA(4)[7],=WA3C(4)[8],=WA4JA(4)[8], =WA5POK(4)[8],=WA8KAN(5)[8],=WA8OJR(5)[8],=WA8ZBT(4)[7],=WA8ZNC(3)[6], =WA9JBR(4)[7],=WB3JFS(3)[6],=WB4YDL(4)[8],=WB4YDY(4)[8],=WB5NHL(5)[8], =WB5WAJ(4)[8],=WB8YYY(5)[8],=WC7S(4)[7],=WE5P(4)[8],=WE6EZ(4)[7], =WF3H(4)[7],=WF3T(4)[8],=WF7T(4)[8],=WF9A(5)[8],=WG0Y(5)[8],=WH0AI(4)[7], =WH6AQ(5)[8],=WH6FZY(3)[6],=WH6LE(5)[8],=WH7R(4)[7],=WJ9B(3)[6], =WL5H(4)[7],=WL7OU(4)[7],=WM5DX(4)[8],=WN7S(5)[8],=WN7Y(4)[7],=WO7U(4)[7], =WP2C(5)[8],=WP2J(5)[8],=WP3ME(5)[8],=WP4ADA(4)[7],=WQ5L(4)[8], =WR3O(4)[8],=WR4T(4)[8],=WR8AA(5)[8],=WS6K(4)[8],=WS6X(5)[8],=WS7X(5)[8], =WS9M(5)[8],=WT2P(4)[8],=WT7TT(4)[7],=WT8WV(5)[8],=WU9B(3)[6],=WV4P(4)[8], =WW4R(4)[8],=WW5M(4)[8],=WX4W(4)[8],=WX5S(3)[6],=WY7FD(4)[7],=WY7M(4)[7], =WZ4F(4)[8],=WZ7I(5)[8],=WZ8T(3)[6]; Guantanamo Bay: 08: 11: NA: 20.00: 75.00: 5.0: KG4: KG4,=KG4NE; Mariana Islands: 27: 64: OC: 15.18: -145.72: -10.0: KH0: AH0,KH0,NH0,WH0,=AA2YL,=NH2B; Baker & Howland Islands: 31: 61: OC: 0.00: 176.00: 12.0: KH1: AH1,KH1,NH1,WH1; Guam: 27: 64: OC: 13.37: -144.70: -10.0: KH2: AH2,KH2,NH2,WH2,=AH0IM,=KA1I,=KC2IIT,=KF7BMU,=KG6DX,=KG6JDX,=KO4EGC, =KO4JB,=WA0OII; Johnston Island: 31: 61: OC: 16.72: 169.53: 10.0: KH3: AH3,KH3,NH3,WH3; Midway Island: 31: 61: OC: 28.20: 177.37: 11.0: KH4: AH4,KH4,NH4,WH4; Palmyra & Jarvis Islands: 31: 61: OC: 5.87: 162.07: 11.0: KH5: AH5,KH5,NH5,WH5; Hawaii: 31: 61: OC: 21.12: 157.48: 10.0: KH6: AH6,AH7,KH6,KH7,NH6,NH7,WH6,WH7,=AA7DI,=AB7RT,=AE7QR,=AG6QD,=K2GT,=K2SHO, =K2SOO,=K4XV,=K5ZYO,=K6BHG,=K6H,=K6TWG,=KA0SAJ,=KB1HGW,=KB3WLK,=KB6EGA, =KB7HN,=KC6REO,=KC7ELH,=KC8JNV,=KD6APH,=KE6OTK,=KF7QMX,=KF7QVM,=KG4TML, =KG6HFK,=KH0WJ,=KH3AE,=KI7NAU,=KI7PEZ,=KI7ZTQ,=KJ6CAV,=KJ6MSJ,=KJ6SGY, =KK4EGT,=KK4IUT,=KK4KPX,=KK6QAI,=KM6AW,=KM6HPE,=KN4KYO,=KN6NAH,=KO4LCM, =KW6CR,=KZ6T,=N6OM,=N7AK,=NH2IY,=W1GDM,=W6AKL,=W6RZY,=W7NX,=WB2CAT, =WB4JTT,=WL7CSW; Kure Island: 31: 61: OC: 29.00: 178.00: 10.0: KH7K: AH7K,KH7K,NH7K,WH7K; American Samoa: 32: 62: OC: -14.32: 170.78: 11.0: KH8: AH8,KH8,NH8,WH8; Swains Island: 32: 62: OC: -11.05: 171.25: 11.0: KH8/s: =K9CS/KH8S; Wake Island: 31: 65: OC: 19.28: -166.63: -12.0: KH9: AH9,KH9,NH9,WH9; Alaska: 01: 01: NA: 61.40: 148.87: 8.0: KL: AL,KL,NL,WL,=AE6FK,=AF7UM,=K4WGX,=K6SAS,=K9DUG,=KA1NCN,=KA3FZH,=KA7GAL, =KB2SVN,=KB9SZM,=KC0JVX,=KC2VSR,=KC3MPG,=KC6ZLZ,=KC8VKY,=KD0OXY,=KD5KVP, =KD7WSQ,=KD8RMO,=KE0PRX,=KE7BAQ,=KE8CCS,=KG4SUE,=KG5HMN,=KG6HTQ,=KG7MIK, =KI4YRQ,=KI5KBN,=KI6WBS,=KJ4ZWI,=KJ6NPJ,=KJ7FOI,=KJ7YTO,=KK4BAN,=KK4CHH, =KK7I,=KM6EED,=KN4CCY,=KN4MTF,=KN6LTY,=N1ROR,=N1TX,=N6JM,=N6QEK,=NA9Z, =NN7C,=W4BVB,=W5ERV,=W6SMA,=W7CB,=W7JAL,=W7SGT,=WA4BUD,=WB1BR,=WB5EAA, =WB8BRU,=WE9H,=WH7DC; Navassa Island: 08: 11: NA: 18.40: 75.00: 5.0: KP1: KP1,NP1,WP1; US Virgin Islands: 08: 11: NA: 17.73: 64.80: 4.0: KP2: KP2,NP2,WP2,=K9VV,=KV4BT,=W4LIS,=W7YDT; Puerto Rico: 08: 11: NA: 18.18: 66.55: 4.0: KP4: KP3,KP4,NP3,NP4,WP3,WP4,=K1QM,=KA3PNP,=KC3EUQ,=KD2BK,=KD2VEC,=KD2YJI, =KD9TWW,=KH2RU,=KI5JZC,=KI5MKH,=KK4GKZ,=KK4HLB,=KP2H,=KP2Z,=N2DSS,=N4AKO, =N5YIZ,=N5YXK,=N8TJH,=W5SOL,=WB2HMY,=WD2EMS; Desecheo Island: 08: 11: NA: 18.08: 67.88: 4.0: KP5: KP5,NP5,WP5; Norway: 14: 18: EU: 61.00: -9.00: -1.0: LA: LA,LB,LC,LD,LE,LF,LG,LH,LI,LJ,LK,LL,LM,LN; Argentina: 13: 14: SA: -32.50: 62.13: 3.0: LU: AY,AZ,L1,L2,L3,L4,L5,L6,L7,L8,L9,LO,LP,LQ,LR,LS,LT,LU,LV,LW,AY0V[16], AY0W[16],AY0X[16],AY0Y[16],AY1V[16],AY1W[16],AY1X[16],AY1Y[16],AY2V[16], AY2W[16],AY2X[16],AY2Y[16],AY3V[16],AY3W[16],AY3X[16],AY3Y[16],AY4V[16], AY4W[16],AY4X[16],AY4Y[16],AY5V[16],AY5W[16],AY5X[16],AY5Y[16],AY6V[16], AY6W[16],AY6X[16],AY6Y[16],AY7V[16],AY7W[16],AY7X[16],AY7Y[16],AY8V[16], AY8W[16],AY8X[16],AY8Y[16],AY9V[16],AY9W[16],AY9X[16],AY9Y[16],AZ0V[16], AZ0W[16],AZ0X[16],AZ0Y[16],AZ1V[16],AZ1W[16],AZ1X[16],AZ1Y[16],AZ2V[16], AZ2W[16],AZ2X[16],AZ2Y[16],AZ3V[16],AZ3W[16],AZ3X[16],AZ3Y[16],AZ4V[16], AZ4W[16],AZ4X[16],AZ4Y[16],AZ5V[16],AZ5W[16],AZ5X[16],AZ5Y[16],AZ6V[16], AZ6W[16],AZ6X[16],AZ6Y[16],AZ7V[16],AZ7W[16],AZ7X[16],AZ7Y[16],AZ8V[16], AZ8W[16],AZ8X[16],AZ8Y[16],AZ9V[16],AZ9W[16],AZ9X[16],AZ9Y[16],L20V[16], L20W[16],L20X[16],L20Y[16],L21V[16],L21W[16],L21X[16],L21Y[16],L22V[16], L22W[16],L22X[16],L22Y[16],L23V[16],L23W[16],L23X[16],L23Y[16],L24V[16], L24W[16],L24X[16],L24Y[16],L25V[16],L25W[16],L25X[16],L25Y[16],L26V[16], L26W[16],L26X[16],L26Y[16],L27V[16],L27W[16],L27X[16],L27Y[16],L28V[16], L28W[16],L28X[16],L28Y[16],L29V[16],L29W[16],L29X[16],L29Y[16],L30V[16], L30W[16],L30X[16],L30Y[16],L31V[16],L31W[16],L31X[16],L31Y[16],L32V[16], L32W[16],L32X[16],L32Y[16],L33V[16],L33W[16],L33X[16],L33Y[16],L34V[16], L34W[16],L34X[16],L34Y[16],L35V[16],L35W[16],L35X[16],L35Y[16],L36V[16], L36W[16],L36X[16],L36Y[16],L37V[16],L37W[16],L37X[16],L37Y[16],L38V[16], L38W[16],L38X[16],L38Y[16],L39V[16],L39W[16],L39X[16],L39Y[16],L40V[16], L40W[16],L40X[16],L40Y[16],L41V[16],L41W[16],L41X[16],L41Y[16],L42V[16], L42W[16],L42X[16],L42Y[16],L43V[16],L43W[16],L43X[16],L43Y[16],L44V[16], L44W[16],L44X[16],L44Y[16],L45V[16],L45W[16],L45X[16],L45Y[16],L46V[16], L46W[16],L46X[16],L46Y[16],L47V[16],L47W[16],L47X[16],L47Y[16],L48V[16], L48W[16],L48X[16],L48Y[16],L49V[16],L49W[16],L49X[16],L49Y[16],L50V[16], L50W[16],L50X[16],L50Y[16],L51V[16],L51W[16],L51X[16],L51Y[16],L52V[16], L52W[16],L52X[16],L52Y[16],L53V[16],L53W[16],L53X[16],L53Y[16],L54V[16], L54W[16],L54X[16],L54Y[16],L55V[16],L55W[16],L55X[16],L55Y[16],L56V[16], L56W[16],L56X[16],L56Y[16],L57V[16],L57W[16],L57X[16],L57Y[16],L58V[16], L58W[16],L58X[16],L58Y[16],L59V[16],L59W[16],L59X[16],L59Y[16],L60V[16], L60W[16],L60X[16],L60Y[16],L61V[16],L61W[16],L61X[16],L61Y[16],L62V[16], L62W[16],L62X[16],L62Y[16],L63V[16],L63W[16],L63X[16],L63Y[16],L64V[16], L64W[16],L64X[16],L64Y[16],L65V[16],L65W[16],L65X[16],L65Y[16],L66V[16], L66W[16],L66X[16],L66Y[16],L67V[16],L67W[16],L67X[16],L67Y[16],L68V[16], L68W[16],L68X[16],L68Y[16],L69V[16],L69W[16],L69X[16],L69Y[16],L70V[16], L70W[16],L70X[16],L70Y[16],L71V[16],L71W[16],L71X[16],L71Y[16],L72V[16], L72W[16],L72X[16],L72Y[16],L73V[16],L73W[16],L73X[16],L73Y[16],L74V[16], L74W[16],L74X[16],L74Y[16],L75V[16],L75W[16],L75X[16],L75Y[16],L76V[16], L76W[16],L76X[16],L76Y[16],L77V[16],L77W[16],L77X[16],L77Y[16],L78V[16], L78W[16],L78X[16],L78Y[16],L79V[16],L79W[16],L79X[16],L79Y[16],L80V[16], L80W[16],L80X[16],L80Y[16],L81V[16],L81W[16],L81X[16],L81Y[16],L82V[16], L82W[16],L82X[16],L82Y[16],L83V[16],L83W[16],L83X[16],L83Y[16],L84V[16], L84W[16],L84X[16],L84Y[16],L85V[16],L85W[16],L85X[16],L85Y[16],L86V[16], L86W[16],L86X[16],L86Y[16],L87V[16],L87W[16],L87X[16],L87Y[16],L88V[16], L88W[16],L88X[16],L88Y[16],L89V[16],L89W[16],L89X[16],L89Y[16],L90V[16], L90W[16],L90X[16],L90Y[16],L91V[16],L91W[16],L91X[16],L91Y[16],L92V[16], L92W[16],L92X[16],L92Y[16],L93V[16],L93W[16],L93X[16],L93Y[16],L94V[16], L94W[16],L94X[16],L94Y[16],L95V[16],L95W[16],L95X[16],L95Y[16],L96V[16], L96W[16],L96X[16],L96Y[16],L97V[16],L97W[16],L97X[16],L97Y[16],L98V[16], L98W[16],L98X[16],L98Y[16],L99V[16],L99W[16],L99X[16],L99Y[16],LO0V[16], LO0W[16],LO0X[16],LO0Y[16],LO1V[16],LO1W[16],LO1X[16],LO1Y[16],LO2V[16], LO2W[16],LO2X[16],LO2Y[16],LO3V[16],LO3W[16],LO3X[16],LO3Y[16],LO4V[16], LO4W[16],LO4X[16],LO4Y[16],LO5V[16],LO5W[16],LO5X[16],LO5Y[16],LO6V[16], LO6W[16],LO6X[16],LO6Y[16],LO7V[16],LO7W[16],LO7X[16],LO7Y[16],LO8V[16], LO8W[16],LO8X[16],LO8Y[16],LO9V[16],LO9W[16],LO9X[16],LO9Y[16],LP0V[16], LP0W[16],LP0X[16],LP0Y[16],LP1V[16],LP1W[16],LP1X[16],LP1Y[16],LP2V[16], LP2W[16],LP2X[16],LP2Y[16],LP3V[16],LP3W[16],LP3X[16],LP3Y[16],LP4V[16], LP4W[16],LP4X[16],LP4Y[16],LP5V[16],LP5W[16],LP5X[16],LP5Y[16],LP6V[16], LP6W[16],LP6X[16],LP6Y[16],LP7V[16],LP7W[16],LP7X[16],LP7Y[16],LP8V[16], LP8W[16],LP8X[16],LP8Y[16],LP9V[16],LP9W[16],LP9X[16],LP9Y[16],LQ0V[16], LQ0W[16],LQ0X[16],LQ0Y[16],LQ1V[16],LQ1W[16],LQ1X[16],LQ1Y[16],LQ2V[16], LQ2W[16],LQ2X[16],LQ2Y[16],LQ3V[16],LQ3W[16],LQ3X[16],LQ3Y[16],LQ4V[16], LQ4W[16],LQ4X[16],LQ4Y[16],LQ5V[16],LQ5W[16],LQ5X[16],LQ5Y[16],LQ6V[16], LQ6W[16],LQ6X[16],LQ6Y[16],LQ7V[16],LQ7W[16],LQ7X[16],LQ7Y[16],LQ8V[16], LQ8W[16],LQ8X[16],LQ8Y[16],LQ9V[16],LQ9W[16],LQ9X[16],LQ9Y[16],LR0V[16], LR0W[16],LR0X[16],LR0Y[16],LR1V[16],LR1W[16],LR1X[16],LR1Y[16],LR2V[16], LR2W[16],LR2X[16],LR2Y[16],LR3V[16],LR3W[16],LR3X[16],LR3Y[16],LR4V[16], LR4W[16],LR4X[16],LR4Y[16],LR5V[16],LR5W[16],LR5X[16],LR5Y[16],LR6V[16], LR6W[16],LR6X[16],LR6Y[16],LR7V[16],LR7W[16],LR7X[16],LR7Y[16],LR8V[16], LR8W[16],LR8X[16],LR8Y[16],LR9V[16],LR9W[16],LR9X[16],LR9Y[16],LS0V[16], LS0W[16],LS0X[16],LS0Y[16],LS1V[16],LS1W[16],LS1X[16],LS1Y[16],LS2V[16], LS2W[16],LS2X[16],LS2Y[16],LS3V[16],LS3W[16],LS3X[16],LS3Y[16],LS4V[16], LS4W[16],LS4X[16],LS4Y[16],LS5V[16],LS5W[16],LS5X[16],LS5Y[16],LS6V[16], LS6W[16],LS6X[16],LS6Y[16],LS7V[16],LS7W[16],LS7X[16],LS7Y[16],LS8V[16], LS8W[16],LS8X[16],LS8Y[16],LS9V[16],LS9W[16],LS9X[16],LS9Y[16],LT0V[16], LT0W[16],LT0X[16],LT0Y[16],LT1V[16],LT1W[16],LT1X[16],LT1Y[16],LT2V[16], LT2W[16],LT2X[16],LT2Y[16],LT3V[16],LT3W[16],LT3X[16],LT3Y[16],LT4V[16], LT4W[16],LT4X[16],LT4Y[16],LT5V[16],LT5W[16],LT5X[16],LT5Y[16],LT6V[16], LT6W[16],LT6X[16],LT6Y[16],LT7V[16],LT7W[16],LT7X[16],LT7Y[16],LT8V[16], LT8W[16],LT8X[16],LT8Y[16],LT9V[16],LT9W[16],LT9X[16],LT9Y[16],LU0V[16], LU0W[16],LU0X[16],LU0Y[16],LU1V[16],LU1W[16],LU1X[16],LU1Y[16],LU2V[16], LU2W[16],LU2X[16],LU2Y[16],LU3V[16],LU3W[16],LU3X[16],LU3Y[16],LU4V[16], LU4W[16],LU4X[16],LU4Y[16],LU5V[16],LU5W[16],LU5X[16],LU5Y[16],LU6V[16], LU6W[16],LU6X[16],LU6Y[16],LU7V[16],LU7W[16],LU7X[16],LU7Y[16],LU8V[16], LU8W[16],LU8X[16],LU8Y[16],LU9V[16],LU9W[16],LU9X[16],LU9Y[16],LV0V[16], LV0W[16],LV0X[16],LV0Y[16],LV1V[16],LV1W[16],LV1X[16],LV1Y[16],LV2V[16], LV2W[16],LV2X[16],LV2Y[16],LV3V[16],LV3W[16],LV3X[16],LV3Y[16],LV4V[16], LV4W[16],LV4X[16],LV4Y[16],LV5V[16],LV5W[16],LV5X[16],LV5Y[16],LV6V[16], LV6W[16],LV6X[16],LV6Y[16],LV7V[16],LV7W[16],LV7X[16],LV7Y[16],LV8V[16], LV8W[16],LV8X[16],LV8Y[16],LV9V[16],LV9W[16],LV9X[16],LV9Y[16],LW0V[16], LW0W[16],LW0X[16],LW0Y[16],LW1V[16],LW1W[16],LW1X[16],LW1Y[16],LW2V[16], LW2W[16],LW2X[16],LW2Y[16],LW3V[16],LW3W[16],LW3X[16],LW3Y[16],LW4V[16], LW4W[16],LW4X[16],LW4Y[16],LW5V[16],LW5W[16],LW5X[16],LW5Y[16],LW6V[16], LW6W[16],LW6X[16],LW6Y[16],LW7V[16],LW7W[16],LW7X[16],LW7Y[16],LW8V[16], LW8W[16],LW8X[16],LW8Y[16],LW9V[16],LW9W[16],LW9X[16],LW9Y[16],=LU1AW/D, =LU1AW/X[16],=LU1DNQ/D,=LU1VYL/W[16],=LU1WCL/XA[16],=LU1WL/W[16], =LU1WUD/XA[16],=LU1XA/XA[16],=LU1XMO/XA[16],=LU2DT/D,=LU2DVI/H, =LU2WJV/XA[16],=LU2WRB/XA[16],=LU3DPW/Q,=LU3DVN/X[16],=LU3DXG/D, =LU3VCC/V[16],=LU3YLF/W[16],=LU4ARU/D,=LU4DPL/H,=LU4DQ/D,=LU4KC/K, =LU5DMG/D,=LU5YEC/W[16],=LU5YFB/W[16],=LU6AES/D,=LU6DDC/D,=LU6DO/V[16], =LU7CC/E,=LU7DD/D,=LU7DZV/D,=LU7DZV/V[16],=LU7EYX/D,=LU7VB/W[16], =LU7YS/XA[16],=LU8DCH/D,=LU8VCC/W[16],=LU8XW/XP[16],=LU8YD/V[16], =LU9BSA/D,=LU9DEW/D,=LW2EKY/D,=LW3DK/D,=LW3EK/D,=LW5EVI/D,=LW8DXR/D, =LW8EUA/D,=LW9EVV/D; Luxembourg: 14: 27: EU: 50.00: -6.00: -1.0: LX: LX; Lithuania: 15: 29: EU: 55.45: -23.63: -2.0: LY: LY; Bulgaria: 20: 28: EU: 42.83: -25.08: -2.0: LZ: LZ; Peru: 10: 12: SA: -10.00: 76.00: 5.0: OA: 4T,OA,OB,OC; Lebanon: 20: 39: AS: 33.83: -35.83: -2.0: OD: OD; Austria: 15: 28: EU: 47.33: -13.33: -1.0: OE: OE,=4U0R,=4U1A,=4U1VIC,=4U2U,=4UNR,=4Y1A,=C7A; Finland: 15: 18: EU: 61.38: -24.82: -2.0: OH: OF,OG,OH,OI,OJ; Aland Islands: 15: 18: EU: 60.13: -20.37: -2.0: OH0: OF0,OG0,OH0,OI0; Market Reef: 15: 18: EU: 60.00: -19.00: -2.0: OJ0: OJ0; Czech Republic: 15: 28: EU: 50.00: -16.00: -1.0: OK: OK,OL; Slovak Republic: 15: 28: EU: 49.00: -20.00: -1.0: OM: OM; Belgium: 14: 27: EU: 50.70: -4.85: -1.0: ON: ON,OO,OP,OQ,OR,OS,OT; Greenland: 40: 05: NA: 74.00: 42.78: 3.0: OX: OX,XP; Faroe Islands: 14: 18: EU: 62.07: 6.93: 0.0: OY: OW,OY; Denmark: 14: 18: EU: 56.00: -10.00: -1.0: OZ: 5P,5Q,OU,OV,OZ; Papua New Guinea: 28: 51: OC: -9.50: -147.12: -10.0: P2: P2; Aruba: 09: 11: SA: 12.53: 69.98: 4.0: P4: P4; DPR of Korea: 25: 44: AS: 39.78: -126.30: -9.0: P5: P5,P6,P7,P8,P9; Netherlands: 14: 27: EU: 52.28: -5.47: -1.0: PA: PA,PB,PC,PD,PE,PF,PG,PH,PI; Curacao: 09: 11: SA: 12.17: 69.00: 4.0: PJ2: PJ2; Bonaire: 09: 11: SA: 12.20: 68.25: 4.0: PJ4: PJ4; Saba & St. Eustatius: 08: 11: NA: 17.57: 63.10: 4.0: PJ5: PJ5,PJ6; Sint Maarten: 08: 11: NA: 18.07: 63.07: 4.0: PJ7: PJ0,PJ7,PJ8; Brazil: 11: 15: SA: -10.00: 53.00: 3.0: PY: PP,PQ,PR,PS,PT,PU,PV,PW,PX,PY,ZV,ZW,ZX,ZY,ZZ,PP6[13],PP7[13],PP8[12], PQ2[13],PQ8[13],PR7[13],PR8[13],PS7[13],PS8[13],PT2[13],PT7[13],PT8[12], PV8[12],PW8[12],PY6[13],PY7[13],PY8[13],PY9[13]; Fernando de Noronha: 11: 13: SA: -3.85: 32.43: 2.0: PY0F: PP0F,PP0ZF,PQ0F,PQ0ZF,PR0F,PR0ZF,PS0F,PS0ZF,PT0F,PT0ZF,PU0F,PU0ZF,PV0F, PV0ZF,PW0F,PW0ZF,PX0F,PX0ZF,PY0F,PY0Z,ZV0F,ZV0ZF,ZW0F,ZW0ZF,ZX0F,ZX0ZF, ZY0F,ZY0Z,ZZ0F,ZZ0ZF,PP0R,PP0ZR,PQ0R,PQ0ZR,PR0R,PR0ZR,PS0R,PS0ZR,PT0R, PT0ZR,PU0R,PU0ZR,PV0R,PV0ZR,PW0R,PW0ZR,PX0R,PX0ZR,PY0R,ZV0R,ZV0ZR,ZW0R, ZW0ZR,ZX0R,ZX0ZR,ZY0R,ZZ0R,ZZ0ZR; St. Peter & St. Paul: 11: 13: SA: 0.00: 29.00: 2.0: PY0S: PP0S,PP0ZS,PQ0S,PQ0ZS,PR0S,PR0ZS,PS0S,PS0ZS,PT0S,PT0ZS,PU0S,PU0ZS,PV0S, PV0ZS,PW0S,PW0ZS,PX0S,PX0ZS,PY0S,PY0ZS,ZV0S,ZV0ZS,ZW0S,ZW0ZS,ZX0S,ZX0ZS, ZY0S,ZY0ZS,ZZ0S,ZZ0ZS; Trindade & Martim Vaz: 11: 15: SA: -20.50: 29.32: 2.0: PY0T: PP0T,PP0ZT,PQ0T,PQ0ZT,PR0T,PR0ZT,PS0T,PS0ZT,PT0T,PT0ZT,PU0T,PU0ZT,PV0T, PV0ZT,PW0T,PW0ZT,PX0T,PX0ZT,PY0T,PY0ZT,ZV0T,ZV0ZT,ZW0T,ZW0ZT,ZX0T,ZX0ZT, ZY0T,ZY0ZT,ZZ0T,ZZ0ZT; Suriname: 09: 12: SA: 4.00: 56.00: 3.0: PZ: PZ; Franz Josef Land: 40: 75: EU: 80.68: -49.92: -3.0: R1FJ: RI1F; Western Sahara: 33: 46: AF: 24.82: 13.85: 0.0: S0: S0; Bangladesh: 22: 41: AS: 24.12: -89.65: -6.0: S2: S2,S3; Slovenia: 15: 28: EU: 46.00: -14.00: -1.0: S5: S5; Seychelles: 39: 53: AF: -4.67: -55.47: -4.0: S7: S7; Sao Tome & Principe: 36: 47: AF: 0.22: -6.57: 0.0: S9: S9; Sweden: 14: 18: EU: 58.90: -15.33: -1.0: SM: 7S,8S,SA,SB,SC,SD,SE,SF,SG,SH,SI,SJ,SK,SL,SM,=VERSION; Poland: 15: 28: EU: 52.28: -18.67: -1.0: SP: 3Z,HF,SN,SO,SP,SQ,SR; Sudan: 34: 48: AF: 14.47: -28.62: -3.0: ST: 6T,6U,ST; Egypt: 34: 38: AF: 26.28: -28.60: -2.0: SU: 6A,6B,SS,SU; Greece: 20: 28: EU: 39.78: -21.78: -2.0: SV: J4,SV,SW,SX,SY,SZ; Mount Athos: 20: 28: EU: 40.00: -24.00: -2.0: SV/a: =SV2ASP/A,=SV2RSG/A; Dodecanese: 20: 28: EU: 36.17: -27.93: -2.0: SV5: J45,SV5,SW5,SX5,SY5,SZ5; Crete: 20: 28: EU: 35.23: -24.78: -2.0: SV9: J49,SV9,SW9,SX9,SY9,SZ9,=SV0XAZ; Tuvalu: 31: 65: OC: -8.50: -179.20: -12.0: T2: T2; Western Kiribati: 31: 65: OC: 1.42: -173.00: -12.0: T30: T30; Central Kiribati: 31: 62: OC: -2.83: 171.72: -13.0: T31: T31; Eastern Kiribati: 31: 61: OC: 1.80: 157.35: -14.0: T32: T32; Banaba Island: 31: 65: OC: -0.88: -169.53: -12.0: T33: T33; Somalia: 37: 48: AF: 2.03: -45.35: -3.0: T5: 6O,T5; San Marino: 15: 28: EU: 43.95: -12.45: -1.0: T7: T7; Palau: 27: 64: OC: 7.45: -134.53: -9.0: T8: T8; Asiatic Turkey: 20: 39: AS: 39.18: -35.65: -2.0: TA: TA,TB,TC,YM,=TA1C/2; European Turkey: 20: 39: EU: 41.02: -28.97: -2.0: *TA1: TA1,TB1,TC1,YM1,=TC18MART; Iceland: 40: 17: EU: 64.80: 18.73: 0.0: TF: TF; Guatemala: 07: 11: NA: 15.50: 90.30: 6.0: TG: TD,TG; Costa Rica: 07: 11: NA: 10.00: 84.00: 6.0: TI: TE,TI; Cocos Island: 07: 11: NA: 5.52: 87.05: 6.0: TI9: TE9,TI9; Cameroon: 36: 47: AF: 5.38: -11.87: -1.0: TJ: TJ; Corsica: 15: 28: EU: 42.00: -9.00: -1.0: TK: TK; Central African Republic: 36: 47: AF: 6.75: -20.33: -1.0: TL: TL; Republic of the Congo: 36: 52: AF: -1.02: -15.37: -1.0: TN: TN; Gabon: 36: 52: AF: -0.37: -11.73: -1.0: TR: TR; Chad: 36: 47: AF: 15.80: -18.17: -1.0: TT: TT; Cote d'Ivoire: 35: 46: AF: 7.58: 5.80: 0.0: TU: TU; Benin: 35: 46: AF: 9.87: -2.25: -1.0: TY: TY; Mali: 35: 46: AF: 18.00: 2.58: 0.0: TZ: TZ; European Russia: 16: 29: EU: 53.65: -41.37: -4.0: UA: R,U,R1I(17)[20],R1N[19],R1O[19],R1P[20],R1Z[19],R4H[30],R4I[30],R4W[30], R8F(17)[30],R8G(17)[30],R8X(17)[20],R9F(17)[30],R9G(17)[30],R9X(17)[20], RA1I(17)[20],RA1N[19],RA1O[19],RA1P[20],RA1Z[19],RA4H[30],RA4I[30], RA4W[30],RA8F(17)[30],RA8G(17)[30],RA8X(17)[20],RA9F(17)[30],RA9G(17)[30], RA9X(17)[20],RC1I(17)[20],RC1N[19],RC1O[19],RC1P[20],RC1Z[19],RC4H[30], RC4I[30],RC4W[30],RC8F(17)[30],RC8G(17)[30],RC8X(17)[20],RC9F(17)[30], RC9G(17)[30],RC9X(17)[20],RD1I(17)[20],RD1N[19],RD1O[19],RD1P[20], RD1Z[19],RD4H[30],RD4I[30],RD4W[30],RD8F(17)[30],RD8G(17)[30], RD8X(17)[20],RD9F(17)[30],RD9G(17)[30],RD9X(17)[20],RE1I(17)[20],RE1N[19], RE1O[19],RE1P[20],RE1Z[19],RE4H[30],RE4I[30],RE4W[30],RE8F(17)[30], RE8G(17)[30],RE8X(17)[20],RE9F(17)[30],RE9G(17)[30],RE9X(17)[20], RF1I(17)[20],RF1N[19],RF1O[19],RF1P[20],RF1Z[19],RF4H[30],RF4I[30], RF4W[30],RF8F(17)[30],RF8G(17)[30],RF8X(17)[20],RF9F(17)[30],RF9G(17)[30], RF9X(17)[20],RG1I(17)[20],RG1N[19],RG1O[19],RG1P[20],RG1Z[19],RG4H[30], RG4I[30],RG4W[30],RG8F(17)[30],RG8G(17)[30],RG8X(17)[20],RG9F(17)[30], RG9G(17)[30],RG9X(17)[20],RI8X(17)[20],RI9X(17)[20],RJ1I(17)[20],RJ1N[19], RJ1O[19],RJ1P[20],RJ1Z[19],RJ4H[30],RJ4I[30],RJ4W[30],RJ8F(17)[30], RJ8G(17)[30],RJ8X(17)[20],RJ9F(17)[30],RJ9G(17)[30],RJ9X(17)[20], RK1I(17)[20],RK1N[19],RK1O[19],RK1P[20],RK1Z[19],RK4H[30],RK4I[30], RK4W[30],RK8F(17)[30],RK8G(17)[30],RK8X(17)[20],RK9F(17)[30],RK9G(17)[30], RK9X(17)[20],RL1I(17)[20],RL1N[19],RL1O[19],RL1P[20],RL1Z[19],RL4H[30], RL4I[30],RL4W[30],RL8F(17)[30],RL8G(17)[30],RL8X(17)[20],RL9F(17)[30], RL9G(17)[30],RL9X(17)[20],RM1I(17)[20],RM1N[19],RM1O[19],RM1P[20], RM1Z[19],RM4H[30],RM4I[30],RM4W[30],RM8F(17)[30],RM8G(17)[30], RM8X(17)[20],RM9F(17)[30],RM9G(17)[30],RM9X(17)[20],RN1I(17)[20],RN1N[19], RN1O[19],RN1P[20],RN1Z[19],RN4H[30],RN4I[30],RN4W[30],RN8F(17)[30], RN8G(17)[30],RN8X(17)[20],RN9F(17)[30],RN9G(17)[30],RN9X(17)[20], RO1I(17)[20],RO1N[19],RO1O[19],RO1P[20],RO1Z[19],RO4H[30],RO4I[30], RO4W[30],RO8F(17)[30],RO8G(17)[30],RO8X(17)[20],RO9F(17)[30],RO9G(17)[30], RO9X(17)[20],RQ1I(17)[20],RQ1N[19],RQ1O[19],RQ1P[20],RQ1Z[19],RQ4H[30], RQ4I[30],RQ4W[30],RQ8F(17)[30],RQ8G(17)[30],RQ8X(17)[20],RQ9F(17)[30], RQ9G(17)[30],RQ9X(17)[20],RT1I(17)[20],RT1N[19],RT1O[19],RT1P[20], RT1Z[19],RT4H[30],RT4I[30],RT4W[30],RT8F(17)[30],RT8G(17)[30], RT8X(17)[20],RT9F(17)[30],RT9G(17)[30],RT9X(17)[20],RU1I(17)[20],RU1N[19], RU1O[19],RU1P[20],RU1Z[19],RU4H[30],RU4I[30],RU4W[30],RU8F(17)[30], RU8G(17)[30],RU8X(17)[20],RU9F(17)[30],RU9G(17)[30],RU9X(17)[20], RV1I(17)[20],RV1N[19],RV1O[19],RV1P[20],RV1Z[19],RV4H[30],RV4I[30], RV4W[30],RV8F(17)[30],RV8G(17)[30],RV8X(17)[20],RV9F(17)[30],RV9G(17)[30], RV9X(17)[20],RW1I(17)[20],RW1N[19],RW1O[19],RW1P[20],RW1Z[19],RW4H[30], RW4I[30],RW4W[30],RW8F(17)[30],RW8G(17)[30],RW8X(17)[20],RW9F(17)[30], RW9G(17)[30],RW9X(17)[20],RX1I(17)[20],RX1N[19],RX1O[19],RX1P[20], RX1Z[19],RX4H[30],RX4I[30],RX4W[30],RX8F(17)[30],RX8G(17)[30], RX8X(17)[20],RX9F(17)[30],RX9G(17)[30],RX9X(17)[20],RY1I(17)[20],RY1N[19], RY1O[19],RY1P[20],RY1Z[19],RY4H[30],RY4I[30],RY4W[30],RY8F(17)[30], RY8G(17)[30],RY8X(17)[20],RY9F(17)[30],RY9G(17)[30],RY9X(17)[20], RZ1I(17)[20],RZ1N[19],RZ1O[19],RZ1P[20],RZ1Z[19],RZ4H[30],RZ4I[30], RZ4W[30],RZ8F(17)[30],RZ8G(17)[30],RZ8X(17)[20],RZ9F(17)[30],RZ9G(17)[30], RZ9X(17)[20],U1I(17)[20],U1N[19],U1O[19],U1P[20],U1Z[19],U4H[30],U4I[30], U4W[30],U8F(17)[30],U8G(17)[30],U8X(17)[20],U9F(17)[30],U9G(17)[30], U9X(17)[20],UA1I(17)[20],UA1N[19],UA1O[19],UA1P[20],UA1Z[19],UA4H[30], UA4I[30],UA4W[30],UA8F(17)[30],UA8G(17)[30],UA8X(17)[20],UA9F(17)[30], UA9G(17)[30],UA9X(17)[20],UB1I(17)[20],UB1N[19],UB1O[19],UB1P[20], UB1Z[19],UB4H[30],UB4I[30],UB4W[30],UB8F(17)[30],UB8G(17)[30], UB8X(17)[20],UB9F(17)[30],UB9G(17)[30],UB9X(17)[20],UC1I(17)[20],UC1N[19], UC1O[19],UC1P[20],UC1Z[19],UC4H[30],UC4I[30],UC4W[30],UC8F(17)[30], UC8G(17)[30],UC8X(17)[20],UC9F(17)[30],UC9G(17)[30],UC9X(17)[20], UD1I(17)[20],UD1N[19],UD1O[19],UD1P[20],UD1Z[19],UD4H[30],UD4I[30], UD4W[30],UD8F(17)[30],UD8G(17)[30],UD8X(17)[20],UD9F(17)[30],UD9G(17)[30], UD9X(17)[20],UE1I(17)[20],UE1N[19],UE1O[19],UE1P[20],UE1Z[19],UE4H[30], UE4I[30],UE4W[30],UE8F(17)[30],UE8G(17)[30],UE8X(17)[20],UE9F(17)[30], UE9G(17)[30],UE9X(17)[20],UF1I(17)[20],UF1N[19],UF1O[19],UF1P[20], UF1Z[19],UF4H[30],UF4I[30],UF4W[30],UF8F(17)[30],UF8G(17)[30], UF8X(17)[20],UF9F(17)[30],UF9G(17)[30],UF9X(17)[20],UG1I(17)[20],UG1N[19], UG1O[19],UG1P[20],UG1Z[19],UG4H[30],UG4I[30],UG4W[30],UG8F(17)[30], UG8G(17)[30],UG8X(17)[20],UG9F(17)[30],UG9G(17)[30],UG9X(17)[20], UH1I(17)[20],UH1N[19],UH1O[19],UH1P[20],UH1Z[19],UH4H[30],UH4I[30], UH4W[30],UH8F(17)[30],UH8G(17)[30],UH8X(17)[20],UH9F(17)[30],UH9G(17)[30], UH9X(17)[20],UI1I(17)[20],UI1N[19],UI1O[19],UI1P[20],UI1Z[19],UI4H[30], UI4I[30],UI4W[30],UI8F(17)[30],UI8G(17)[30],UI8X(17)[20],UI9F(17)[30], UI9G(17)[30],UI9X(17)[20],=UB0AZR/3,=R0AI/3,=R4HAT[29],=R4HC[29], =R4HCE[29],=R4HCZ[29],=R4HD[29],=R4HDC[29],=R4HDR[29],=R4HL[29],=R4IC[29], =R4ID[29],=R4II[29],=R4IK[29],=R4IM[29],=R4IN[29],=R4IO[29],=R4IT[29], =R80IAS,=R8MB/1(17)[20],=R90BRZ(17)[30],=R9FCS/4,=R9MA/1[20],=R9ZAC/1[20], =RA4HL[29],=RA4NCC[30],=RC4HT[29],=RC4I[29],=RJ30FO[30],=RJ4I[29], =RK4HM[29],=RK4P[30],=RL1I/P(17)[20],=RM4I[29],=RM4R[30],=RN4HFJ[29], =RN4HIF[29],=RT9K/6,=RU4HD[29],=RU4HP[29],=RU4I[29],=RW4HM[29], =RW4HTK[29],=RW4HW[29],=RW4HZ[29],=RW9WJ/4[30],=UA4H[29],=UA4HBM[29], =UA4HGL[29],=UA4HIP[29],=UA4HRZ[29],=UA4HY[29],=UA4NF[30],=UA4PN[30], =UB0IBA/7,=UC4I[29],=UF0B/3,=UI4I[29]; Kaliningrad: 15: 29: EU: 54.72: -20.52: -3.0: UA2: R2F,R2K,RA2,RC2F,RC2K,RD2F,RD2K,RE2F,RE2K,RF2F,RF2K,RG2F,RG2K,RJ2F,RJ2K, RK2F,RK2K,RL2F,RL2K,RM2F,RM2K,RN2F,RN2K,RO2F,RO2K,RQ2F,RQ2K,RT2F,RT2K, RU2F,RU2K,RV2F,RV2K,RW2F,RW2K,RX2F,RX2K,RY2F,RY2K,RZ2F,RZ2K,U2F,U2K,UA2, UB2,UC2,UD2,UE2,UF2,UG2,UH2,UI2,=R2MWO,=RK30FO,=RN1B/2; Asiatic Russia: 17: 30: AS: 55.88: -84.08: -7.0: UA9: R0,R8(17)[30],R9,RA0,RA8(17)[30],RA9,RC0,RC8(17)[30],RC9,RD0,RD8(17)[30], RD9,RE0,RE8(17)[30],RE9,RF0,RF8(17)[30],RF9,RG0,RG8(17)[30],RG9,RI0, RI8(17)[30],RI9,RJ0,RJ8(17)[30],RJ9,RK0,RK8(17)[30],RK9,RL0,RL8(17)[30], RL9,RM0,RM8(17)[30],RM9,RN0,RN8(17)[30],RN9,RO0,RO8(17)[30],RO9,RQ0, RQ8(17)[30],RQ9,RT0,RT8(17)[30],RT9,RU0,RU8(17)[30],RU9,RV0,RV8(17)[30], RV9,RW0,RW8(17)[30],RW9,RX0,RX8(17)[30],RX9,RY0,RY8(17)[30],RY9,RZ0, RZ8(17)[30],RZ9,U0,U8(17)[30],U9,UA0,UA8(17)[30],UA9,UB0,UB8(17)[30],UB9, UC0,UC8(17)[30],UC9,UD0,UD8(17)[30],UD9,UE0,UE8(17)[30],UE9,UF0, UF8(17)[30],UF9,UG0,UG8(17)[30],UG9,UH0,UH8(17)[30],UH9,UI0,UI8(17)[30], UI9,R0T(18)[32],R8H(18)[31],R8I(18)[31],R8O(18)[31],R8P(18)[31], R8S(16)[30],R8T(16)[30],R8U(18)[31],R8V(18)[31],R8W(16)[30],R8Y(18)[31], R8Z(18)[31],R9I(18)[31],R9M(17)[30],R9P(18)[31],R9S(16),R9T(16), R9V(18)[31],R9W(16),RA0T(18)[32],RA8H(18)[31],RA8I(18)[31],RA8O(18)[31], RA8P(18)[31],RA8S(16)[30],RA8T(16)[30],RA8U(18)[31],RA8V(18)[31], RA8W(16)[30],RA8Y(18)[31],RA8Z(18)[31],RA9I(18)[31],RA9M(17)[30], RA9P(18)[31],RA9S(16),RA9T(16),RA9V(18)[31],RA9W(16),RC0T(18)[32], RC8H(18)[31],RC8I(18)[31],RC8O(18)[31],RC8P(18)[31],RC8S(16)[30], RC8T(16)[30],RC8U(18)[31],RC8V(18)[31],RC8W(16)[30],RC8Y(18)[31], RC8Z(18)[31],RC9I(18)[31],RC9M(17)[30],RC9P(18)[31],RC9S(16),RC9T(16), RC9V(18)[31],RC9W(16),RD0T(18)[32],RD8H(18)[31],RD8I(18)[31],RD8O(18)[31], RD8P(18)[31],RD8S(16)[30],RD8T(16)[30],RD8U(18)[31],RD8V(18)[31], RD8W(16)[30],RD8Y(18)[31],RD8Z(18)[31],RD9I(18)[31],RD9M(17)[30], RD9P(18)[31],RD9S(16),RD9T(16),RD9V(18)[31],RD9W(16),RE0T(18)[32], RE8H(18)[31],RE8I(18)[31],RE8O(18)[31],RE8P(18)[31],RE8S(16)[30], RE8T(16)[30],RE8U(18)[31],RE8V(18)[31],RE8W(16)[30],RE8Y(18)[31], RE8Z(18)[31],RE9I(18)[31],RE9M(17)[30],RE9P(18)[31],RE9S(16),RE9T(16), RE9V(18)[31],RE9W(16),RF0T(18)[32],RF8H(18)[31],RF8I(18)[31],RF8O(18)[31], RF8P(18)[31],RF8S(16)[30],RF8T(16)[30],RF8U(18)[31],RF8V(18)[31], RF8W(16)[30],RF8Y(18)[31],RF8Z(18)[31],RF9I(18)[31],RF9M(17)[30], RF9P(18)[31],RF9S(16),RF9T(16),RF9V(18)[31],RF9W(16),RG0T(18)[32], RG8H(18)[31],RG8I(18)[31],RG8O(18)[31],RG8P(18)[31],RG8S(16)[30], RG8T(16)[30],RG8U(18)[31],RG8V(18)[31],RG8W(16)[30],RG8Y(18)[31], RG8Z(18)[31],RG9I(18)[31],RG9M(17)[30],RG9P(18)[31],RG9S(16),RG9T(16), RG9V(18)[31],RG9W(16),RJ0T(18)[32],RJ8H(18)[31],RJ8I(18)[31],RJ8O(18)[31], RJ8P(18)[31],RJ8S(16)[30],RJ8T(16)[30],RJ8U(18)[31],RJ8V(18)[31], RJ8W(16)[30],RJ8Y(18)[31],RJ8Z(18)[31],RJ9I(18)[31],RJ9M(17)[30], RJ9P(18)[31],RJ9S(16),RJ9T(16),RJ9V(18)[31],RJ9W(16),RK0T(18)[32], RK8H(18)[31],RK8I(18)[31],RK8O(18)[31],RK8P(18)[31],RK8S(16)[30], RK8T(16)[30],RK8U(18)[31],RK8V(18)[31],RK8W(16)[30],RK8Y(18)[31], RK8Z(18)[31],RK9I(18)[31],RK9M(17)[30],RK9P(18)[31],RK9S(16),RK9T(16), RK9V(18)[31],RK9W(16),RL0T(18)[32],RL8H(18)[31],RL8I(18)[31],RL8O(18)[31], RL8P(18)[31],RL8S(16)[30],RL8T(16)[30],RL8U(18)[31],RL8V(18)[31], RL8W(16)[30],RL8Y(18)[31],RL8Z(18)[31],RL9I(18)[31],RL9M(17)[30], RL9P(18)[31],RL9S(16),RL9T(16),RL9V(18)[31],RL9W(16),RM0T(18)[32], RM8H(18)[31],RM8I(18)[31],RM8O(18)[31],RM8P(18)[31],RM8S(16)[30], RM8T(16)[30],RM8U(18)[31],RM8V(18)[31],RM8W(16)[30],RM8Y(18)[31], RM8Z(18)[31],RM9I(18)[31],RM9M(17)[30],RM9P(18)[31],RM9S(16),RM9T(16), RM9V(18)[31],RM9W(16),RN0T(18)[32],RN8H(18)[31],RN8I(18)[31],RN8O(18)[31], RN8P(18)[31],RN8S(16)[30],RN8T(16)[30],RN8U(18)[31],RN8V(18)[31], RN8W(16)[30],RN8Y(18)[31],RN8Z(18)[31],RN9I(18)[31],RN9M(17)[30], RN9P(18)[31],RN9S(16),RN9T(16),RN9V(18)[31],RN9W(16),RO0T(18)[32], RO8H(18)[31],RO8I(18)[31],RO8O(18)[31],RO8P(18)[31],RO8S(16)[30], RO8T(16)[30],RO8U(18)[31],RO8V(18)[31],RO8W(16)[30],RO8Y(18)[31], RO8Z(18)[31],RO9I(18)[31],RO9M(17)[30],RO9P(18)[31],RO9S(16),RO9T(16), RO9V(18)[31],RO9W(16),RQ0T(18)[32],RQ8H(18)[31],RQ8I(18)[31],RQ8O(18)[31], RQ8P(18)[31],RQ8S(16)[30],RQ8T(16)[30],RQ8U(18)[31],RQ8V(18)[31], RQ8W(16)[30],RQ8Y(18)[31],RQ8Z(18)[31],RQ9I(18)[31],RQ9M(17)[30], RQ9P(18)[31],RQ9S(16),RQ9T(16),RQ9V(18)[31],RQ9W(16),RT0T(18)[32], RT8H(18)[31],RT8I(18)[31],RT8O(18)[31],RT8P(18)[31],RT8S(16)[30], RT8T(16)[30],RT8U(18)[31],RT8V(18)[31],RT8W(16)[30],RT8Y(18)[31], RT8Z(18)[31],RT9I(18)[31],RT9M(17)[30],RT9P(18)[31],RT9S(16),RT9T(16), RT9V(18)[31],RT9W(16),RU0T(18)[32],RU8H(18)[31],RU8I(18)[31],RU8O(18)[31], RU8P(18)[31],RU8S(16)[30],RU8T(16)[30],RU8U(18)[31],RU8V(18)[31], RU8W(16)[30],RU8Y(18)[31],RU8Z(18)[31],RU9I(18)[31],RU9M(17)[30], RU9P(18)[31],RU9S(16),RU9T(16),RU9V(18)[31],RU9W(16),RV0T(18)[32], RV8H(18)[31],RV8I(18)[31],RV8O(18)[31],RV8P(18)[31],RV8S(16)[30], RV8T(16)[30],RV8U(18)[31],RV8V(18)[31],RV8W(16)[30],RV8Y(18)[31], RV8Z(18)[31],RV9I(18)[31],RV9M(17)[30],RV9P(18)[31],RV9S(16),RV9T(16), RV9V(18)[31],RV9W(16),RW0T(18)[32],RW8H(18)[31],RW8I(18)[31],RW8O(18)[31], RW8P(18)[31],RW8S(16)[30],RW8T(16)[30],RW8U(18)[31],RW8V(18)[31], RW8W(16)[30],RW8Y(18)[31],RW8Z(18)[31],RW9I(18)[31],RW9M(17)[30], RW9P(18)[31],RW9S(16),RW9T(16),RW9V(18)[31],RW9W(16),RX0T(18)[32], RX8H(18)[31],RX8I(18)[31],RX8O(18)[31],RX8P(18)[31],RX8S(16)[30], RX8T(16)[30],RX8U(18)[31],RX8V(18)[31],RX8W(16)[30],RX8Y(18)[31], RX8Z(18)[31],RX9I(18)[31],RX9M(17)[30],RX9P(18)[31],RX9S(16),RX9T(16), RX9V(18)[31],RX9W(16),RY0T(18)[32],RY8H(18)[31],RY8I(18)[31],RY8O(18)[31], RY8P(18)[31],RY8S(16)[30],RY8T(16)[30],RY8U(18)[31],RY8V(18)[31], RY8W(16)[30],RY8Y(18)[31],RY8Z(18)[31],RY9I(18)[31],RY9M(17)[30], RY9P(18)[31],RY9S(16),RY9T(16),RY9V(18)[31],RY9W(16),RZ0T(18)[32], RZ8H(18)[31],RZ8I(18)[31],RZ8O(18)[31],RZ8P(18)[31],RZ8S(16)[30], RZ8T(16)[30],RZ8U(18)[31],RZ8V(18)[31],RZ8W(16)[30],RZ8Y(18)[31], RZ8Z(18)[31],RZ9I(18)[31],RZ9M(17)[30],RZ9P(18)[31],RZ9S(16),RZ9T(16), RZ9V(18)[31],RZ9W(16),U0T(18)[32],U8H(18)[31],U8I(18)[31],U8O(18)[31], U8P(18)[31],U8S(16)[30],U8T(16)[30],U8U(18)[31],U8V(18)[31],U8W(16)[30], U8Y(18)[31],U8Z(18)[31],U9I(18)[31],U9M(17)[30],U9P(18)[31],U9S(16), U9T(16),U9V(18)[31],U9W(16),UA0T(18)[32],UA8H(18)[31],UA8I(18)[31], UA8O(18)[31],UA8P(18)[31],UA8S(16)[30],UA8T(16)[30],UA8U(18)[31], UA8V(18)[31],UA8W(16)[30],UA8Y(18)[31],UA8Z(18)[31],UA9I(18)[31], UA9M(17)[30],UA9P(18)[31],UA9S(16),UA9T(16),UA9V(18)[31],UA9W(16), UB0T(18)[32],UB8H(18)[31],UB8I(18)[31],UB8O(18)[31],UB8P(18)[31], UB8S(16)[30],UB8T(16)[30],UB8U(18)[31],UB8V(18)[31],UB8W(16)[30], UB8Y(18)[31],UB8Z(18)[31],UB9I(18)[31],UB9M(17)[30],UB9P(18)[31],UB9S(16), UB9T(16),UB9V(18)[31],UB9W(16),UC0T(18)[32],UC8H(18)[31],UC8I(18)[31], UC8O(18)[31],UC8P(18)[31],UC8S(16)[30],UC8T(16)[30],UC8U(18)[31], UC8V(18)[31],UC8W(16)[30],UC8Y(18)[31],UC8Z(18)[31],UC9I(18)[31], UC9M(17)[30],UC9P(18)[31],UC9S(16),UC9T(16),UC9V(18)[31],UC9W(16), UD0T(18)[32],UD8H(18)[31],UD8I(18)[31],UD8O(18)[31],UD8P(18)[31], UD8S(16)[30],UD8T(16)[30],UD8U(18)[31],UD8V(18)[31],UD8W(16)[30], UD8Y(18)[31],UD8Z(18)[31],UD9I(18)[31],UD9M(17)[30],UD9P(18)[31],UD9S(16), UD9T(16),UD9V(18)[31],UD9W(16),UE0T(18)[32],UE8H(18)[31],UE8I(18)[31], UE8O(18)[31],UE8P(18)[31],UE8S(16)[30],UE8T(16)[30],UE8U(18)[31], UE8V(18)[31],UE8W(16)[30],UE8Y(18)[31],UE8Z(18)[31],UE9I(18)[31], UE9M(17)[30],UE9P(18)[31],UE9S(16),UE9T(16),UE9V(18)[31],UE9W(16), UF0T(18)[32],UF8H(18)[31],UF8I(18)[31],UF8O(18)[31],UF8P(18)[31], UF8S(16)[30],UF8T(16)[30],UF8U(18)[31],UF8V(18)[31],UF8W(16)[30], UF8Y(18)[31],UF8Z(18)[31],UF9I(18)[31],UF9M(17)[30],UF9P(18)[31],UF9S(16), UF9T(16),UF9V(18)[31],UF9W(16),UG0T(18)[32],UG8H(18)[31],UG8I(18)[31], UG8O(18)[31],UG8P(18)[31],UG8S(16)[30],UG8T(16)[30],UG8U(18)[31], UG8V(18)[31],UG8W(16)[30],UG8Y(18)[31],UG8Z(18)[31],UG9I(18)[31], UG9M(17)[30],UG9P(18)[31],UG9S(16),UG9T(16),UG9V(18)[31],UG9W(16), UH0T(18)[32],UH8H(18)[31],UH8I(18)[31],UH8O(18)[31],UH8P(18)[31], UH8S(16)[30],UH8T(16)[30],UH8U(18)[31],UH8V(18)[31],UH8W(16)[30], UH8Y(18)[31],UH8Z(18)[31],UH9I(18)[31],UH9M(17)[30],UH9P(18)[31],UH9S(16), UH9T(16),UH9V(18)[31],UH9W(16),UI0T(18)[32],UI8H(18)[31],UI8I(18)[31], UI8O(18)[31],UI8P(18)[31],UI8S(16)[30],UI8T(16)[30],UI8U(18)[31], UI8V(18)[31],UI8W(16)[30],UI8Y(18)[31],UI8Z(18)[31],UI9I(18)[31], UI9M(17)[30],UI9P(18)[31],UI9S(16),UI9T(16),UI9V(18)[31],UI9W(16), =R075F(19)[34],=R100Q(19)[23],=R100YA(19)[23],=R150WS(18)[32], =R1BIG/9(18)[31],=R2ET/9(18)[31],=R4FBJ/9/P(18)[32],=R50JNV[20], =R50NDM[20],=R8MZ/9(23)[32],=RA0QK/8(17)[30],=RL30FO,=RN9S(16),=RT9S(16), =RV7B/9[20],=RX6DL/8/P(17)[30],=RX9WT/P(16),=UC7T/9[20],=UD6AOP/0(19)[35]; Uzbekistan: 17: 30: AS: 41.40: -63.97: -5.0: UK: UJ,UK,UL,UM; Kazakhstan: 17: 30: AS: 48.17: -65.18: -5.0: UN: UN,UO,UP,UQ,UN0F[31],UN0G[31],UN0J[31],UN0Q[31],UN2F[31],UN2G[31], UN2J[31],UN2Q[31],UN3F[31],UN3G[31],UN3J[31],UN3Q[31],UN4F[31],UN4G[31], UN4J[31],UN4Q[31],UN5F[31],UN5G[31],UN5J[31],UN5Q[31],UN6F[31],UN6G[31], UN6J[31],UN6Q[31],UN7F[31],UN7G[31],UN7J[31],UN7Q[31],UN8F[31],UN8G[31], UN8J[31],UN8Q[31],UN9F[31],UN9G[31],UN9J[31],UN9Q[31],UO0F[31],UO0G[31], UO0J[31],UO0Q[31],UO1F[31],UO1G[31],UO1J[31],UO1Q[31],UO2F[31],UO2G[31], UO2J[31],UO2Q[31],UO3F[31],UO3G[31],UO3J[31],UO3Q[31],UO4F[31],UO4G[31], UO4J[31],UO4Q[31],UO5F[31],UO5G[31],UO5J[31],UO5Q[31],UO6F[31],UO6G[31], UO6J[31],UO6Q[31],UO7F[31],UO7G[31],UO7J[31],UO7Q[31],UO8F[31],UO8G[31], UO8J[31],UO8Q[31],UO9F[31],UO9G[31],UO9J[31],UO9Q[31],UP0F[31],UP0G[31], UP0J[31],UP0Q[31],UP1F[31],UP1G[31],UP1J[31],UP1Q[31],UP2F[31],UP2G[31], UP2J[31],UP2Q[31],UP3F[31],UP3G[31],UP3J[31],UP3Q[31],UP4F[31],UP4G[31], UP4J[31],UP4Q[31],UP5F[31],UP5G[31],UP5J[31],UP5Q[31],UP6F[31],UP6G[31], UP6J[31],UP6Q[31],UP7F[31],UP7G[31],UP7J[31],UP7Q[31],UP8F[31],UP8G[31], UP8J[31],UP8Q[31],UP9F[31],UP9G[31],UP9J[31],UP9Q[31],UQ0F[31],UQ0G[31], UQ0J[31],UQ0Q[31],UQ1F[31],UQ1G[31],UQ1J[31],UQ1Q[31],UQ2F[31],UQ2G[31], UQ2J[31],UQ2Q[31],UQ3F[31],UQ3G[31],UQ3J[31],UQ3Q[31],UQ4F[31],UQ4G[31], UQ4J[31],UQ4Q[31],UQ5F[31],UQ5G[31],UQ5J[31],UQ5Q[31],UQ6F[31],UQ6G[31], UQ6J[31],UQ6Q[31],UQ7F[31],UQ7G[31],UQ7J[31],UQ7Q[31],UQ8F[31],UQ8G[31], UQ8J[31],UQ8Q[31],UQ9F[31],UQ9G[31],UQ9J[31],UQ9Q[31]; Ukraine: 16: 29: EU: 50.00: -30.00: -2.0: UR: EM,EN,EO,U5,UR,US,UT,UU,UV,UW,UX,UY,UZ,=UT1KY/WAP; Antigua & Barbuda: 08: 11: NA: 17.07: 61.80: 4.0: V2: V2; Belize: 07: 11: NA: 16.97: 88.67: 6.0: V3: V3; St. Kitts & Nevis: 08: 11: NA: 17.37: 62.78: 4.0: V4: V4; Namibia: 38: 57: AF: -22.00: -17.00: -1.0: V5: V5; Micronesia: 27: 65: OC: 6.88: -158.20: -10.0: V6: V6; Marshall Islands: 31: 65: OC: 9.08: -167.33: -12.0: V7: V7; Brunei Darussalam: 28: 54: OC: 4.50: -114.60: -8.0: V8: V8; Canada: 05: 09: NA: 44.35: 78.75: 5.0: VE: CF,CG,CJ,CK,VA,VB,VC,VE,VG,VX,VY9,XL,XM,CF2[4],CG2[4],CH1,CH2(2), CI0(2)[4],CI1(1)[2],CI2,CJ2[4],CK2[4],CY1,CY2(2),CZ0(2)[4],CZ1(1)[2],CZ2, VA2[4],VB2[4],VC2[4],VD1,VD2(2),VE2[4],VF0(2)[4],VF1(1)[2],VF2,VG2[4],VO1, VO2(2),VX2[4],VY0(2)[4],VY1(1)[2],VY2,XJ1,XJ2(2),XK0(2)[4],XK1(1)[2],XK2, XL2[4],XM2[4],XN1,XN2(2),XO0(2)[4],XO1(1)[2],XO2,=VER20220402, =VA2VVV(2)[4],=VE2CSI(2)[4],=VE2EKA(2)[4],=VE2FK[9],=VE2IDX(2)[4], =VE2IM(2)[4],=VE2TKH(2)[4],=VE80LAN(4)[4],=VY0PW(4)[3]; Australia: 30: 59: OC: -23.70: -132.33: -10.0: VK: AX,VI,VJ,VK,VL,AX4[55],VI4[55],VJ4[55],VK4[55],VL4[55],=VK90ABC,=VK2BYF/P, =VK3ZW(29)[55],=VK4ABW/8(29)[55],=VK80LAN(29)[58]; Heard Island: 39: 68: AF: -53.08: -73.50: -5.0: VK0H: =VK0EK; Macquarie Island: 30: 60: OC: -54.60: -158.88: -10.0: VK0M: =VK0AI; Cocos (Keeling) Islands: 29: 54: OC: -12.15: -96.82: -6.5: VK9C: AX9C,AX9Y,VI9C,VI9Y,VK9C,VK9FC,VK9KC,VK9Y,VK9ZY,VZ9Y; Lord Howe Island: 30: 60: OC: -31.55: -159.08: -10.5: VK9L: AX9L,VI9L,VK9FL,VK9L,VK9ZL,VZ9L; Mellish Reef: 30: 56: OC: -17.40: -155.85: -10.0: VK9M: AX9M,VI9M,VK9M,VZ9M; Norfolk Island: 32: 60: OC: -29.03: -167.93: -11.5: VK9N: AX9,VI9,VK9; Willis Island: 30: 55: OC: -16.22: -150.02: -10.0: VK9W: AX9W,AX9Z,VI9W,VI9Z,VK9FW,VK9W,VK9Z,VZ9W; Christmas Island: 29: 54: OC: -10.48: -105.63: -7.0: VK9X: AX9X,VI9X,VK9FX,VK9KX,VK9X,VZ9X; Anguilla: 08: 11: NA: 18.23: 63.00: 4.0: VP2E: VP2E; Montserrat: 08: 11: NA: 16.75: 62.18: 4.0: VP2M: VP2M; British Virgin Islands: 08: 11: NA: 18.33: 64.75: 4.0: VP2V: VP2V; Turks & Caicos Islands: 08: 11: NA: 21.77: 71.75: 5.0: VP5: VP5,VQ5; Pitcairn Island: 32: 63: OC: -25.07: 130.10: 8.0: VP6: VP6; Ducie Island: 32: 63: OC: -24.70: 124.80: 8.0: VP6/d: =VP6D; Falkland Islands: 13: 16: SA: -51.63: 58.72: 4.0: VP8: VP8; South Georgia Island: 13: 73: SA: -54.48: 37.08: 2.0: VP8/g: =VP8CA; South Shetland Islands: 13: 73: SA: -62.08: 58.67: 4.0: VP8/h: CE9,XR9,=HF0POL; South Orkney Islands: 13: 73: SA: -60.60: 45.55: 3.0: VP8/o: =VP8PJ; South Sandwich Islands: 13: 73: SA: -58.43: 26.33: 2.0: VP8/s: =VP8DXU; Bermuda: 05: 11: NA: 32.32: 64.73: 4.0: VP9: VP9; Chagos Islands: 39: 41: AF: -7.32: -72.42: -6.0: VQ9: VQ9; Hong Kong: 24: 44: AS: 22.28: -114.18: -8.0: VR: VR; India: 22: 41: AS: 22.50: -77.58: -5.5: VU: 8T,8U,8V,8W,8X,8Y,AT,AU,AV,AW,VT,VU,VV,VW; Andaman & Nicobar Is.: 26: 49: AS: 12.37: -92.78: -5.5: VU4: VU4; Lakshadweep Islands: 22: 41: AS: 11.23: -72.78: -5.5: VU7: VU7; Mexico: 06: 10: NA: 21.32: 100.23: 6.0: XE: 4A,4B,4C,6D,6E,6F,6G,6H,6I,6J,XA,XB,XC,XD,XE,XF,XG,XH,XI; Revillagigedo: 06: 10: NA: 18.77: 110.97: 7.0: XF4: 4A4,4B4,4C4,6D4,6E4,6F4,6G4,6H4,6I4,6J4,XA4,XB4,XC4,XD4,XE4,XF4,XG4,XH4, XI4; Burkina Faso: 35: 46: AF: 12.00: 2.00: 0.0: XT: XT; Cambodia: 26: 49: AS: 12.93: -105.13: -7.0: XU: XU; Laos: 26: 49: AS: 18.20: -104.55: -7.0: XW: XW; Macao: 24: 44: AS: 22.10: -113.50: -8.0: XX9: XX9; Myanmar: 26: 49: AS: 20.00: -96.37: -6.5: XZ: XY,XZ; Afghanistan: 21: 40: AS: 34.70: -65.80: -4.5: YA: T6,YA; Indonesia: 28: 51: OC: -7.30: -109.88: -7.0: YB: 7A,7B,7C,7D,7E,7F,7G,7H,7I,8A,8B,8C,8D,8E,8F,8G,8H,8I,PK,PL,PM,PN,PO,YB, YC,YD,YE,YF,YG,YH,7A0[54],7A1[54],7A2[54],7A3[54],7A4[54],7A5[54],7A6[54], 7A7[54],7A8[54],7B0[54],7B1[54],7B2[54],7B3[54],7B4[54],7B5[54],7B6[54], 7B7[54],7B8[54],7C0[54],7C1[54],7C2[54],7C3[54],7C4[54],7C5[54],7C6[54], 7C7[54],7C8[54],7D0[54],7D1[54],7D2[54],7D3[54],7D4[54],7D5[54],7D6[54], 7D7[54],7D8[54],7E0[54],7E1[54],7E2[54],7E3[54],7E4[54],7E5[54],7E6[54], 7E7[54],7E8[54],7F0[54],7F1[54],7F2[54],7F3[54],7F4[54],7F5[54],7F6[54], 7F7[54],7F8[54],7G0[54],7G1[54],7G2[54],7G3[54],7G4[54],7G5[54],7G6[54], 7G7[54],7G8[54],7H0[54],7H1[54],7H2[54],7H3[54],7H4[54],7H5[54],7H6[54], 7H7[54],7H8[54],7I0[54],7I1[54],7I2[54],7I3[54],7I4[54],7I5[54],7I6[54], 7I7[54],7I8[54],8A0[54],8A1[54],8A2[54],8A3[54],8A4[54],8A5[54],8A6[54], 8A7[54],8A8[54],8B0[54],8B1[54],8B2[54],8B3[54],8B4[54],8B5[54],8B6[54], 8B7[54],8B8[54],8C0[54],8C1[54],8C2[54],8C3[54],8C4[54],8C5[54],8C6[54], 8C7[54],8C8[54],8D0[54],8D1[54],8D2[54],8D3[54],8D4[54],8D5[54],8D6[54], 8D7[54],8D8[54],8E0[54],8E1[54],8E2[54],8E3[54],8E4[54],8E5[54],8E6[54], 8E7[54],8E8[54],8F0[54],8F1[54],8F2[54],8F3[54],8F4[54],8F5[54],8F6[54], 8F7[54],8F8[54],8G0[54],8G1[54],8G2[54],8G3[54],8G4[54],8G5[54],8G6[54], 8G7[54],8G8[54],8H0[54],8H1[54],8H2[54],8H3[54],8H4[54],8H5[54],8H6[54], 8H7[54],8H8[54],8I0[54],8I1[54],8I2[54],8I3[54],8I4[54],8I5[54],8I6[54], 8I7[54],8I8[54],YB0[54],YB1[54],YB2[54],YB3[54],YB4[54],YB5[54],YB6[54], YB7[54],YB8[54],YC0[54],YC1[54],YC2[54],YC3[54],YC4[54],YC5[54],YC6[54], YC7[54],YC8[54],YD0[54],YD1[54],YD2[54],YD3[54],YD4[54],YD5[54],YD6[54], YD7[54],YD8[54],YE0[54],YE1[54],YE2[54],YE3[54],YE4[54],YE5[54],YE6[54], YE7[54],YE8[54],YF0[54],YF1[54],YF2[54],YF3[54],YF4[54],YF5[54],YF6[54], YF7[54],YF8[54],YG0[54],YG1[54],YG2[54],YG3[54],YG4[54],YG5[54],YG6[54], YG7[54],YG8[54],YH0[54],YH1[54],YH2[54],YH3[54],YH4[54],YH5[54],YH6[54], YH7[54],YH8[54]; Iraq: 21: 39: AS: 33.92: -42.78: -3.0: YI: HN,YI; Vanuatu: 32: 56: OC: -17.67: -168.38: -11.0: YJ: YJ; Syria: 20: 39: AS: 35.38: -38.20: -2.0: YK: 6C,YK; Latvia: 15: 29: EU: 57.03: -24.65: -2.0: YL: YL; Nicaragua: 07: 11: NA: 12.88: 85.05: 6.0: YN: H6,H7,HT,YN; Romania: 20: 28: EU: 45.78: -24.70: -2.0: YO: YO,YP,YQ,YR; El Salvador: 07: 11: NA: 14.00: 89.00: 6.0: YS: HU,YS; Serbia: 15: 28: EU: 44.00: -21.00: -1.0: YU: YT,YU; Venezuela: 09: 12: SA: 8.00: 66.00: 4.5: YV: 4M,YV,YW,YX,YY; Aves Island: 08: 11: NA: 15.67: 63.60: 4.0: YV0: 4M0,YV0,YW0,YX0,YY0; Zimbabwe: 38: 53: AF: -18.00: -31.00: -2.0: Z2: Z2; North Macedonia: 15: 28: EU: 41.60: -21.65: -1.0: Z3: Z3; Republic of Kosovo: 15: 28: EU: 42.67: -21.17: -1.0: Z6: Z6; Republic of South Sudan: 34: 48: AF: 4.85: -31.60: -3.0: Z8: Z8; Albania: 15: 28: EU: 41.00: -20.00: -1.0: ZA: ZA; Gibraltar: 14: 37: EU: 36.15: 5.37: -1.0: ZB: ZB,ZG; UK Base Areas on Cyprus: 20: 39: AS: 35.32: -33.57: -2.0: ZC4: ZC4; St. Helena: 36: 66: AF: -15.97: 5.72: 0.0: ZD7: ZD7; Ascension Island: 36: 66: AF: -7.93: 14.37: 0.0: ZD8: ZD8; Tristan da Cunha & Gough: 38: 66: AF: -37.13: 12.30: 0.0: ZD9: ZD9; Cayman Islands: 08: 11: NA: 19.32: 81.22: 5.0: ZF: ZF; Tokelau Islands: 31: 62: OC: -9.40: 171.20: -13.0: ZK3: ZK3; New Zealand: 32: 60: OC: -39.03: -174.47: -12.0: ZL: ZK,ZL,ZL50,ZM; Chatham Islands: 32: 60: OC: -43.85: 176.48: -12.75: ZL7: ZL7,ZM7; Kermadec Islands: 32: 60: OC: -29.25: 177.92: -12.0: ZL8: ZL8,ZM8; N.Z. Subantarctic Is.: 32: 60: OC: -51.62: -167.62: -12.0: ZL9: ZL9; Paraguay: 11: 14: SA: -25.27: 57.67: 4.0: ZP: ZP; South Africa: 38: 57: AF: -29.07: -22.63: -2.0: ZS: H5,S4,S8,V9,ZR,ZS,ZT,ZU; Pr. Edward & Marion Is.: 38: 57: AF: -46.88: -37.72: -3.0: ZS8: ZR8,ZS8,ZT8,ZU8; xdx-2.91/MANUAL.nl0000644000175000017500000001272212523720573010513 00000000000000xdx - tcp/ip DX-cluster client voor zendamateurs ================================================ Xdx is een DX-cluster programma die een lijst toont met DX berichten en een apart venster gebruikt voor WWV, WCY, "To ALL" en andere berichten. Xdx is ook geschikt om met ON4KST chat te verbinden. Wat is een DX cluster? ====================== Een DX Cluster is een manier voor zendamateurs om elkaar op de hoogte te houden van actieve DX stations. Gebruikers die verbonden zijn met een DX-Cluster mogen DX berichten verzenden, persoonlijke berichten verzenden, mail verzenden en ontvangen, opgeslagen data doorzoeken en opvragen en informatie databases gebruiken. Voor een lijst van DX-Clusters zie: http://www.ng3k.com/Misc/cluster.html ON4KST chat is meer bedoeld voor VHF en UHF operators. Het is een plek waar zendamateurs elkaar ontmoeten voor het plannen van radio verbindingen over lange afstanden, moonbounce en meteor scatter. Voor meer informatie over ON4KST chat zie http://www.on4kst.com. Commando's ========== Hieronder enkele commando's om mee te beginnen: announce/full 'msg': Stuur een bericht aan alle verbonden stations. bye: Verlaat het DX Cluster. dx 'frequency' 'callsign' 'comment': Verstuur informatie over een DX station. show/dx: Toon opgeslagen DX berichten. ON4KST gebruikt een subset van de DX-cluster commando's, Je kan het beste '/help' typen nadat je verbonden bent. Alle commando's starten hier met een '/'. Voorbeelden van commando's ========================== 1) dx 28002.2 xz7a worked with 80m dipole!! 2) sh/dx on hf/cw 50 De meeste clusters tonen hulp door een '?' of 'help commando' te versturen. Roepletters en autologin ======================== De roepletters op de eerste pagina van het voorkeuren venster worden gebruikt voor het herkennen van de DX-cluster prompt (zodat xdx het een kleur kan geven) en voor autologin. Als je autologin aan zet kun je commando's naar het cluster sturen. Je kunt deze invoeren in het "Commando's" veld, gescheiden door een komma, 'set/page 0,unset beep' zet bijvoorbeeld het pagineren en piepen uit. Je kan dit veld ook gebruik om een wachtwoord te versturen. Er is een delay van 0,5 seconden tussen de verschillende commando's. Verbinding in stand houden ========================== Wanneer je een slecht netwerk hebt en de verbinding regelmatig wordt verbroken kan je deze optie aanzetten in het voorkeuren venster. Op deze manier wordt elke 5 minutes een backspace naar de server gestuurd. DX info opslaan =============== In het voorkeuren venster kun je tevens het opslaan van berichten aanzetten. $HOME/.xdx/dxspots DX spots zoals getoond in de bovenste lijst. $HOME/.xdx/wwv WCY/WWV berichten met propagatie info. $HOME/.xdx/toall Berichten zoals getoond in het text venster. $HOME/.xdx/wx Weer informatie. Wanneer wwv data wordt opgeslagen zullen ook bestanden worden aangemaakt voor elke WWV host met daarin data gescheiden door een tab. Hiervan kunnen gemakkelijk grafieken worden gemaakt. Het formaat van dit bestand: YYYMMDDHH SFI A K R Waarbij SFI de 10.7 cm zonneflux index is, A en K staan voor geomagnetische activiteit en R is het zonnevlekken getal. Een voorbeeld script voor gnuplot staat in de xdx data directory, het toont getallen van DK0WCY. Het script dient te worden aangeroepen met 'gnuplot wwv.gnuplot'. Een afbeelding wordt opgeslagen in $HOME/.xdx/DK0WCY.png. Hamlib support ============== Wanneer je dubbel klikt op een DX bericht zal de frequentie van je ontvanger worden ingesteld. Hiervoor heb je het rigctl hamlib programma nodig. Tevens dien je de aanroep van rigctl in het voorkeuren venster te wijzigen. 'rigctl -m 210 set_freq %d' zal bijvoorbeeld ID 210 gebruiken (Kenwood TS-870), zie 'rigctl --list' voor een lijst van modellen. Web browser and mail programma ============================== Een URL in het text venster zal blauw worden als je je muis er naartoe beweegt. Als je vervolgens op de link klikt zal deze worden geopend in je web browser of mail programma (zie het voorkeuren venster): Starten van de gnome web-browser indien op een URL wordt geklikt: 'epiphany %s'. Starten van mozilla-mail indien op een URL wordt geklikt: 'mozilla -compose "to=%s"'. Kleuren ======= In het 'chat zijvenster' kun je 8 verschillende woorden invoeren om een kleur te geven in het onderste venster. Indien je een checkbox aanzet zal alle binnenkomende text worden doorzocht. Anders wordt alleen de text na de prompt doorzocht. De kleuren die gebruikt worden kunnen worden ingesteld op pagina 3 van het voorkeuren venster. Je kunt checkboxen snel aan en uit zetten met de toetsen Ctrl-1 tot Ctrl-8, springen naar de verschillende woorden kan met Alt-1 tot Alt-8. Alt-0 brengt je terug naar het zend widget. Geluids-ondersteuning ===================== Wanneer een woord een kleur krijgt, kan er ook een geluid worden afgespeeld. Om een geluid te horen dien je een extern programma te gebruiken en dit op te geven in de eerste pagina van het voorkeuren venster. Bijvoorbeeld 'play %s' gebruikt play wat deel uitmaakt van sox. 'esdplay %s' gebruikt esdplay, wat wordt gebruikt wanneer je esound in de gnome omgeving hebt gestart. Smileys ======= Er is ondersteuning aanwezig voor een beperkt aantal smileys in het text venster: :) :-) :)) :-)) ;) ;-) :( :-( :(( :-(( Licentie and ondersteuning ========================== Xdx is gratis and vrijgegeven onder de GNU GPL licentie. Het programma is geschreven door Joop Stakenborg . Stuur SVP een berichtje als je fouten vind in het programma of als je verbeteringen wilt. xdx-2.91/sounds/0000755000175000017500000000000014224026464010570 500000000000000xdx-2.91/sounds/attention.wav0000644000175000017500000001264212523720573013243 00000000000000RIFFWAVEfmt +"Vdatav                 ހ     "$  ۀ   ݀ !''" ـրڀ "    ڀ(,*!Ԁ"$     ׀؀ %,-(؀Ԁր    ހրڀ!*/,#܀Հڀ     ؀Ԁր &..(Հ׀߀   ۀՀ *-*!ހـހ                                          %.,  !,,!ـ '+%  #($؀߀  '& ݀ހ  "$߀ $!ۀـ  !  ۀ׀܀  ݀  ܀܀                                 xdx-2.91/pixmaps/0000755000175000017500000000000014224026464010736 500000000000000xdx-2.91/pixmaps/xdx.xpm0000644000175000017500000000330712523720573012214 00000000000000/* XPM */ static char * xdx_xpm[] = { "16 16 91 1", " c None", ". c #010203", "+ c #17323C", "@ c #3D4E48", "# c #575757", "$ c #4F5457", "% c #060707", "& c #05090C", "* c #1A6C2B", "= c #30C251", "- c #2CD638", "; c #18771F", "> c #557880", ", c #527780", "' c #40859A", ") c #1F454F", "! c #0A141A", "~ c #207D37", "{ c #1C742F", "] c #4BA8BF", "^ c #54BDD7", "/ c #185C2B", "( c #2DD53C", "_ c #2EA856", ": c #091814", "< c #4598B1", "[ c #387E8F", "} c #22A62C", "| c #2ED540", "1 c #2A6C66", "2 c #50BFC9", "3 c #112B28", "4 c #218C35", "5 c #2FA759", "6 c #295A6A", "7 c #268949", "8 c #33817D", "9 c #54BDD6", "0 c #266F54", "a c #27BE32", "b c #2CD63A", "c c #225E4F", "d c #4EADC9", "e c #34817E", "f c #1B5A38", "g c #145E1D", "h c #238B3B", "i c #197721", "j c #258A45", "k c #2DBA4B", "l c #29755A", "m c #18313E", "n c #2B865A", "o c #1D7433", "p c #2C865E", "q c #235558", "r c #217142", "s c #367F87", "t c #134524", "u c #12441E", "v c #1C3E48", "w c #228C37", "x c #2B6B68", "y c #218C33", "z c #1D8F25", "A c #15442B", "B c #357F86", "C c #112A2A", "D c #387E8E", "E c #22A62B", "F c #28BD38", "G c #52BED0", "H c #21574E", "I c #53BDD5", "J c #166B1C", "K c #1C752D", "L c #2DD53B", "M c #1F8D2D", "N c #4193A7", "O c #4AA8BD", "P c #217240", "Q c #466670", "R c #A8A9A9", "S c #FFFFFF", "T c #AAAAAA", "U c #93999C", "V c #36505A", "W c #223741", "X c #4E5355", "Y c #3A4B50", "Z c #1A333F", " .+@#$% ", " &*=-;>,')& ", " !~---{]^/(_: ", " &<[}--|1234-5& ", " 6^^7-{890a--bc ", ".d^^ef]^^ghijkl.", "m^enop]^^qr0st-u", "v^w---x^[a---yzA", "v^7--ae^[a---rBC", "m^DEF1G^9Hzb-n^m", ".dIJK^^^^^[L-1d.", " 6^n1^^^^^]M}N6 ", " &7%Pk@oiɉ,\ɾmavGSEXtΎY-69c_y!"zQ|3 oFJ~E6ṷ:dG9Q6i5)W#$4و*_|z_IENDB`xdx-2.91/pixmaps/wink.png0000644000175000017500000000047112523720573012340 00000000000000PNG  IHDRrP6bKGD pHYs  ~tIME  ,IDATxTA!#}Sz@\\Qkg@ 5!9(fABro#aKnknoU1B۝*RL7E6'#1d5i:?H`:xzFO2(!}Y1Fghm:S[)9Ee$!{G0Z(lz+Me"zIENDB`xdx-2.91/pixmaps/xdx.png0000644000175000017500000000267112523720573012177 00000000000000PNG  IHDR szzbKGD pHYs  tIME8Գ tEXtCommentCreated with The GIMPd%nIDATXilTUt:mi+%]hPQKPYIB"J AM`bp!&IQ1 AKNltgo[ZhK[کc[=9{R&1'X)@<hGDT=.X y]I***Pnf2]}ֽBzlغ]~-^8!=5q*ڄ 4N |~S)(*nԢ,¶9ɡiKNU$b`ݝHq{(M/3pNF" ZBt]z\%'91Öw.:E(yJFL<Ώ.$Q ںc 孫~b4,BC+N  bB D:i8]P]u2Ҥihk\ɋ==4#k $-VL2ޥ+tKGu[~o}c2{ͶaǑٸD٧Q:.pAft{D `3+AeY@?ӊ~혠c0 PfysشuLM οi@EL X:|Ře0ojH `+Y 5+\($2CQ\EB2`zsBҬYixsc8-]}r? CFS gl BCv@cՕnXSnW315Ihogt1 N ʣ!WY z(8e>-µ<0G98h!0sğ Ӳ+@~p?-Y2;ઇII#;0/hB7AubvhDL'Ҧ!F…g#Vo!yQY:!":x.(+ӄ6[U#ЯcRҲhE9롣kk2x{#v{7Lˎ%"&8}^%pO\GD^y-:FU]ʔ}eۮuwz=3v £ uأ$%%E.]*YYYj[S"S[@##֡r2 :=BČ:LVTz-&뚇5G?t/V/.ehIENDB`xdx-2.91/pixmaps/xdx-logo.png0000644000175000017500000001672312523720573013140 00000000000000PNG  IHDRXbKGD pHYs  tIME \itEXtCommentCreated with The GIMPd%n7IDATxw|TUNOBzoj`Xi+Z^ *XVꮯBQe4 R%BK^G&8 )̝;H9<<)\D"H$D"H$D"H$D"H$D"H$D"H$D"H$D"H$D"CMa9'(z ruaDM>Իnd?D 5Oգ{CS08? sNRq`gE=U5Pgݨm 7saP^2/4x6UHC( k "o=z|xN4PZFD ż.ZMa>X4O̫PVsn_ Z1[*esYg]Ė@,H1 7o$Fu 96v_ @,`jN;c;J"uoQv D!03wgܷ@!?ՠvI s-]5@m$D%8iT U qj@2lKP;CՎ &$Q50G,- H PT C`t,5TE 5F Hyn)Y E5"' ͐k2G  H=0rA93+2L:E lVQ1r@Җ#vt?/ǾcJ\w- /ERqIt>D,bF6@1۬Q1`x+DA+Cr?=YiY:*HÂɽ1m@vxډ5u97^6 OTڬQ!}S8/5 p@*0mhd5e89܋`@¦-E feѬ@2vnCr֐12Dр-H%b  pߏyk$j}߆~0۬Rq,28Γ[x z1zta,ER8b 9~'E zKF$jO|3%~4j I[l9N=Թվ-Kg25AH GGeYKOP5G qyH;h\QHjb=&K%#^Xn)xMr?ը¹XP!gA{X+bWJBOj3pb]>m7&7 F IT78#iNζ3iY"K3sxF!]nufG/[4ʠi Iߔ&9Hl"H'у@BJ Q$RĥAm Vwײ?$inնaQ"tRJD($@m3Z@#qHs0:^Rg ƨW6+s8O"Fah1\Lyȑȑ(Ri)z ="^%:V bP,?P 8W)HG"Eʣ|@("ȿ:W"HfD)I0H!m7)J(8 "ABun_R6+ơ"9)9@(9j0Ϲ ) (@$Y)6N0gpj7dky^k7wʯ] qjp茨%N3T3Pm\T[^WD ;i%Jgppb_E3 `2\!uu#>O!*! ,Aa9,t`wo-L*1adz]ץÝ_$+RdS,Az^ v1:f5duN}zč3(:`9wmWF6<׀gW;0 =:gH#u3vz1S}3B]p%K ,68ߒ{+*??YmSS'rc7Kw[/ c'a)VG#ۖN0X3р jt~ңb^vNkJFanR `GY3$>B x,5WroJ7iCnɊ/05t,9m b+rp:<=3Ir (־ -ψ9AYBtGފQ=:CŇފx7 ?Fp(Au wPVT^ZkH߆jR뺛kx[+4T*#ʾ +XpwTB쓣f2UǷRG]^D'GF.)c~"Mr8X@S!i41xFmx9,aAc}Vh Ъ!fϹBC"/ra[ԣP 63P| M2[@n]Pr]çĥZZL Bv> kQcjx1z^`ZCo1+]wP$c; H&ԊHr9LXp_X Fm |mL+oǥ{Dޥ3 gr~>{sC* EQӦ3sxn6]ZFO05glt/[ .vsP`Z ];ʴލ='`[E?Sgf^̈pݴ)b=zqi[k{/>_GK~Btk%ٷnKN)X172e ٞz,,{xEZؔ![e ~wI/bt7ӷČMX3yArӅZٍ"j_qE Zbz;1rwл +8rÑTxN^⹫MNᐄ.9,}3jﴽ>\eza9䏆} Ƈ&E1,7a!wP:w)h0J$;:lUhJ3w@ڛ~q54e YF,ڳ@[^ 8e'#(p']x;GZy_n VOȅT7-bH{riX2zxEVKFͅ+R+ͻhbE&g;`$Q߇|H /e;EL®Y/5T0|FI->H\^iei藇BERP[߯")/Z8gA(ҿ*4gP:v'2x/JGTր%bmQ>g'FσGW-dmvC#r|hEt,i‹o9n_F\^ɒrz}'4Au,&1ZZ|p^= +Dyrl~}yr.VDngiFbl_w_KFCP״7ޛ C]5zN~@d.*8.:uߋHo#}7+Wq6+ mF*ąޥCR> KG;n1Wtte_I6Ow tZThbjߧfd/y^#Tp 7zM-^? ŷ}+2/=nO 1Gaֵ8KM}«7ϰOc"ēzճ6f`[`5gnZ`,<\&) ߒ6>Z_Y)6'"pBB~ӰW2{aUB1=j-~*-qE)]Kn_m `~liژRl6'x=+cJ>jQρ¡g=XpxtjAُjc:vt_iAᆵ2SVr7o".fe\13B{M? ,Ax jؘc4Y=kPZ;p$@c_QpVxjgLiQeb_<=GLH|? L4`VҶo{ZtPq{0Za|Ԛ2:d݇;ĥVlLL)6C1 K(Z׳Ҕ QeyqP]fߐ۽1 z > $4?7(dX<>&yj:{? r*S& :j'3?>ۖ}H} `I*}lI̵oL5`F9q{,p-Oe8K\ϐC~yCEHYy; }X +R `F.h~G67\{k&"4rwUs08 z_Gߌ_]_r;*+Jsh3Y寇q ,a&:0 w,E_3ٞz,*{}DChacZ5:88&pN34Ԙ2Pe\T$Fe߻kECWR0p =KoJ%(l 5)zDDh3Ysί!x0![",B?). 11P!E1z۬LM\B=dF Qg{*[@FEWvl"ރgHp,+$*L"'6+? "S-RG7ӊ9EŢT 'zcCyPEiDQxnxҭP+uϕkԪT=NVC"ldk }vDay8B#zjS$I88F"vAq I;oCiEvo2hO3G} ;0HB6+s8Ō0H=@ T G*קz.『cbGB$".fecUl6wp٬X=%BZUǺ DMpd:R' I7R4[UsK[6VS%cb G4{X5;EN@2i4,R 0iQ|.Q7 +] K#?ՀdIe d*mԳߡ!QAӖx@G  !XwHu~^A7R-3WW)(9:\58o.=,xH2 .)oU#>;PǧFw 6+Sc4R0H/@N2L À @ Àe66ڰ64,,fG^)q l3ƫk <@l7w^Ac JNdc@EN<$@ 9Ŋo*9DoF7~"@Jvdg>4xyt܋f)hIS Ҝ@4G ˠw IR)3F8RH`HnP}XYSjW$Y3qT,94,@UXlʖ XrX;@&\(E{CсRR"@HW  >`wpbB5"??%Y4D"H$D"H$D"H$D"H$D"b YbdIENDB`xdx-2.91/pixmaps/sad.png0000644000175000017500000000055212523720573012137 00000000000000PNG  IHDRrP6bKGD pHYs  ~tIME  ~©IDATxSۍ! sN֔BM.3:K&|ؓ 09$3l}mv viK99xm>DRJ9-B΋tIBYCף}w]¸ZWnΛ-]nwf& F[gyl_CH> _ VTJ[ךz'[co?\aioM3淸f?BP/ߧpA4µ\p^IENDB`xdx-2.91/pixmaps/smile.png0000644000175000017500000000046412523720573012503 00000000000000PNG  IHDRrP6bKGD pHYs  ~tIME  3IDATxT![ڞܚ'CbaDrb#$&L,۳<ɿVw{).xcRCdFڂfՍ;Ot j=356tSqv#.3 Ej{0 0_cDnjl2,ߏFkG M)7ºt*i`IENDB`xdx-2.91/pixmaps/cry.png0000644000175000017500000000053612523720573012167 00000000000000PNG  IHDRrP6bKGD pHYs  ~tIME #ZIDATxT ɝΔCmEyc@0!%ϸ$Tu^*H$J8%Rju.4&Iȋ0aU$ty:5sgA29I"g!mEbl9o=W0Oٮm?̯90=/kلds>KO*iw#](3@,>&_6W1 Rp $ M|i~f{6IENDB`xdx-2.91/m4/0000755000175000017500000000000014224026464007575 500000000000000xdx-2.91/m4/po.m40000644000175000017500000004461714224024346010406 00000000000000# po.m4 serial 31 (gettext-0.20.2) dnl Copyright (C) 1995-2014, 2016, 2018-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can be used in projects which are not available under dnl the GNU General Public License or the GNU Lesser General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Lesser General Public License, and the rest of the GNU dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.60]) dnl Checks for all prerequisites of the po subdirectory. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl AC_REQUIRE([AC_PROG_SED])dnl AC_REQUIRE([AM_NLS])dnl dnl Release version of the gettext macros. This is used to ensure that dnl the gettext macros and po/Makefile.in.in are in sync. AC_SUBST([GETTEXT_MACRO_VERSION], [0.20]) dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. dnl Search for GNU msgfmt in the PATH. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. dnl The second test excludes FreeBSD msgfmt. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) dnl Test whether it is GNU msgfmt >= 0.15. changequote(,)dnl case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac changequote([,])dnl AC_SUBST([GMSGFMT_015]) dnl Search for GNU xgettext 0.12 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po dnl Test whether it is GNU xgettext >= 0.15. changequote(,)dnl case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac changequote([,])dnl AC_SUBST([XGETTEXT_015]) dnl Search for GNU msgmerge 0.11 or newer in the PATH. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) dnl Test whether it is GNU msgmerge >= 0.20. if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt' else dnl Test whether it is GNU msgmerge >= 0.12. if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet' else dnl With these old versions, $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) is dnl slow. But this is not a big problem, as such old gettext versions are dnl hardly in use any more. MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet' fi fi AC_SUBST([MSGMERGE_FOR_MSGFMT_OPTION]) dnl Support for AM_XGETTEXT_OPTION. test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) AC_CONFIG_COMMANDS([po-directories], [[ for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done]], [# Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS" # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" ]) ]) dnl Postprocesses a Makefile in a directory containing PO files. AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ # When this code is run, in config.status, two variables have already been # set: # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, # - LINGUAS is the value of the environment variable LINGUAS at configure # time. changequote(,)dnl # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Find a way to echo strings without interpreting backslash. if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then gt_echo='echo' else if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then gt_echo='printf %s\n' else echo_func () { cat < "$ac_file.tmp" tab=`printf '\t'` if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` cat >> "$ac_file.tmp" < /dev/null; then # Add dependencies that cannot be formulated as a simple suffix rule. for lang in $ALL_LINGUAS; do frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` cat >> "$ac_file.tmp" <> "$ac_file.tmp" <, 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) xdx-2.91/m4/lib-ld.m40000644000175000017500000001237214224024346011124 00000000000000# lib-ld.m4 serial 9 dnl Copyright (C) 1996-2003, 2009-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Subroutines of libtool.m4, dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid dnl collision with libtool.m4. dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], [# I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 /dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi if test -n "$LD"; then AC_MSG_CHECKING([for ld]) elif test "$GCC" = yes; then AC_MSG_CHECKING([for ld used by $CC]) elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi if test -n "$LD"; then # Let the user override the test with a path. : else AC_CACHE_VAL([acl_cv_path_LD], [ acl_cv_path_LD= # Final result of this test ac_prog=ld # Program to search in $PATH if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) acl_output=`($CC -print-prog-name=ld) 2>&5` ;; esac case $acl_output in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` done # Got the pathname. No search in PATH is needed. acl_cv_path_LD="$acl_output" ac_prog= ;; "") # If it fails, then pretend we aren't using GCC. ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac fi if test -n "$ac_prog"; then # Search for $ac_prog in $PATH. acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 # Copyright (c) 2011 Maarten Bosmans # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure # scripts that are the output of Autoconf when processing the Macro. You # need not follow the terms of the GNU General Public License when using # or distributing such scripts, even though portions of the text of the # Macro appear in them. The GNU General Public License (GPL) does govern # all other use of the material that constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the Autoconf # Macro released by the Autoconf Archive. When you make and distribute a # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. #serial 2 AC_DEFUN([AX_APPEND_FLAG], [AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])])dnl AS_VAR_SET_IF(FLAGS, [case " AS_VAR_GET(FLAGS) " in *" $1 "*) AC_RUN_LOG([: FLAGS already contains $1]) ;; *) AC_RUN_LOG([: FLAGS="$FLAGS $1"]) AS_VAR_SET(FLAGS, ["AS_VAR_GET(FLAGS) $1"]) ;; esac], [AS_VAR_SET(FLAGS,["$1"])]) AS_VAR_POPDEF([FLAGS])dnl ])dnl AX_APPEND_FLAG xdx-2.91/m4/ax_cflags_warn_all.m40000644000175000017500000001167112523720573013575 00000000000000# =========================================================================== # http://www.gnu.org/software/autoconf-archive/ax_cflags_warn_all.html # =========================================================================== # # SYNOPSIS # # AX_CFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])] # AX_CXXFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])] # AX_FCFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])] # # DESCRIPTION # # Try to find a compiler option that enables most reasonable warnings. # # For the GNU compiler it will be -Wall (and -ansi -pedantic) The result # is added to the shellvar being CFLAGS, CXXFLAGS, or FCFLAGS by default. # # Currently this macro knows about the GCC, Solaris, Digital Unix, AIX, # HP-UX, IRIX, NEC SX-5 (Super-UX 10), Cray J90 (Unicos 10.0.0.8), and # Intel compilers. For a given compiler, the Fortran flags are much more # experimental than their C equivalents. # # - $1 shell-variable-to-add-to : CFLAGS, CXXFLAGS, or FCFLAGS # - $2 add-value-if-not-found : nothing # - $3 action-if-found : add value to shellvariable # - $4 action-if-not-found : nothing # # NOTE: These macros depend on AX_APPEND_FLAG. # # LICENSE # # Copyright (c) 2008 Guido U. Draheim # Copyright (c) 2010 Rhys Ulerich # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 3 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure # scripts that are the output of Autoconf when processing the Macro. You # need not follow the terms of the GNU General Public License when using # or distributing such scripts, even though portions of the text of the # Macro appear in them. The GNU General Public License (GPL) does govern # all other use of the material that constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the Autoconf # Macro released by the Autoconf Archive. When you make and distribute a # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. #serial 14 AC_DEFUN([AX_FLAGS_WARN_ALL],[dnl AS_VAR_PUSHDEF([FLAGS],[_AC_LANG_PREFIX[]FLAGS])dnl AS_VAR_PUSHDEF([VAR],[ac_cv_[]_AC_LANG_ABBREV[]flags_warn_all])dnl AC_CACHE_CHECK([m4_ifval($1,$1,FLAGS) for maximum warnings], VAR,[VAR="no, unknown" ac_save_[]FLAGS="$[]FLAGS" for ac_arg dnl in "-warn all % -warn all" dnl Intel "-pedantic % -Wall" dnl GCC "-xstrconst % -v" dnl Solaris C "-std1 % -verbose -w0 -warnprotos" dnl Digital Unix "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" dnl AIX "-ansi -ansiE % -fullwarn" dnl IRIX "+ESlit % +w1" dnl HP-UX C "-Xc % -pvctl[,]fullmsg" dnl NEC SX-5 (Super-UX 10) "-h conform % -h msglevel 2" dnl Cray C (Unicos) # do FLAGS="$ac_save_[]FLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [VAR=`echo $ac_arg | sed -e 's,.*% *,,'` ; break]) done FLAGS="$ac_save_[]FLAGS" ]) AS_VAR_POPDEF([FLAGS])dnl AC_REQUIRE([AX_APPEND_FLAG]) case ".$VAR" in .ok|.ok,*) m4_ifvaln($3,$3) ;; .|.no|.no,*) m4_default($4,[m4_ifval($2,[AX_APPEND_FLAG([$2], [$1])])]) ;; *) m4_default($3,[AX_APPEND_FLAG([$VAR], [$1])]) ;; esac AS_VAR_POPDEF([VAR])dnl ])dnl AX_FLAGS_WARN_ALL dnl implementation tactics: dnl the for-argument contains a list of options. The first part of dnl these does only exist to detect the compiler - usually it is dnl a global option to enable -ansi or -extrawarnings. All other dnl compilers will fail about it. That was needed since a lot of dnl compilers will give false positives for some option-syntax dnl like -Woption or -Xoption as they think of it is a pass-through dnl to later compile stages or something. The "%" is used as a dnl delimiter. A non-option comment can be given after "%%" marks dnl which will be shown but not added to the respective C/CXXFLAGS. AC_DEFUN([AX_CFLAGS_WARN_ALL],[dnl AC_LANG_PUSH([C]) AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4]) AC_LANG_POP([C]) ]) AC_DEFUN([AX_CXXFLAGS_WARN_ALL],[dnl AC_LANG_PUSH([C++]) AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4]) AC_LANG_POP([C++]) ]) AC_DEFUN([AX_FCFLAGS_WARN_ALL],[dnl AC_LANG_PUSH([Fortran]) AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4]) AC_LANG_POP([Fortran]) ]) xdx-2.91/m4/host-cpu-c-abi.m40000644000175000017500000005364014224024346012477 00000000000000# host-cpu-c-abi.m4 serial 13 dnl Copyright (C) 2002-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible and Sam Steingold. dnl Sets the HOST_CPU variable to the canonical name of the CPU. dnl Sets the HOST_CPU_C_ABI variable to the canonical name of the CPU with its dnl C language ABI (application binary interface). dnl Also defines __${HOST_CPU}__ and __${HOST_CPU_C_ABI}__ as C macros in dnl config.h. dnl dnl This canonical name can be used to select a particular assembly language dnl source file that will interoperate with C code on the given host. dnl dnl For example: dnl * 'i386' and 'sparc' are different canonical names, because code for i386 dnl will not run on SPARC CPUs and vice versa. They have different dnl instruction sets. dnl * 'sparc' and 'sparc64' are different canonical names, because code for dnl 'sparc' and code for 'sparc64' cannot be linked together: 'sparc' code dnl contains 32-bit instructions, whereas 'sparc64' code contains 64-bit dnl instructions. A process on a SPARC CPU can be in 32-bit mode or in 64-bit dnl mode, but not both. dnl * 'mips' and 'mipsn32' are different canonical names, because they use dnl different argument passing and return conventions for C functions, and dnl although the instruction set of 'mips' is a large subset of the dnl instruction set of 'mipsn32'. dnl * 'mipsn32' and 'mips64' are different canonical names, because they use dnl different sizes for the C types like 'int' and 'void *', and although dnl the instruction sets of 'mipsn32' and 'mips64' are the same. dnl * The same canonical name is used for different endiannesses. You can dnl determine the endianness through preprocessor symbols: dnl - 'arm': test __ARMEL__. dnl - 'mips', 'mipsn32', 'mips64': test _MIPSEB vs. _MIPSEL. dnl - 'powerpc64': test _BIG_ENDIAN vs. _LITTLE_ENDIAN. dnl * The same name 'i386' is used for CPUs of type i386, i486, i586 dnl (Pentium), AMD K7, Pentium II, Pentium IV, etc., because dnl - Instructions that do not exist on all of these CPUs (cmpxchg, dnl MMX, SSE, SSE2, 3DNow! etc.) are not frequently used. If your dnl assembly language source files use such instructions, you will dnl need to make the distinction. dnl - Speed of execution of the common instruction set is reasonable across dnl the entire family of CPUs. If you have assembly language source files dnl that are optimized for particular CPU types (like GNU gmp has), you dnl will need to make the distinction. dnl See . AC_DEFUN([gl_HOST_CPU_C_ABI], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_C_ASM]) AC_CACHE_CHECK([host CPU and C ABI], [gl_cv_host_cpu_c_abi], [case "$host_cpu" in changequote(,)dnl i[34567]86 ) changequote([,])dnl gl_cv_host_cpu_c_abi=i386 ;; x86_64 ) # On x86_64 systems, the C compiler may be generating code in one of # these ABIs: # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 # with native Windows (mingw, MSVC). # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if (defined __x86_64__ || defined __amd64__ \ || defined _M_X64 || defined _M_AMD64) int ok; #else error fail #endif ]])], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __ILP32__ || defined _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=x86_64-x32], [gl_cv_host_cpu_c_abi=x86_64])], [gl_cv_host_cpu_c_abi=i386]) ;; changequote(,)dnl alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] ) changequote([,])dnl gl_cv_host_cpu_c_abi=alpha ;; arm* | aarch64 ) # Assume arm with EABI. # On arm64 systems, the C compiler may be generating code in one of # these ABIs: # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef __aarch64__ int ok; #else error fail #endif ]])], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __ILP32__ || defined _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=arm64-ilp32], [gl_cv_host_cpu_c_abi=arm64])], [# Don't distinguish little-endian and big-endian arm, since they # don't require different machine code for simple operations and # since the user can distinguish them through the preprocessor # defines __ARMEL__ vs. __ARMEB__. # But distinguish arm which passes floating-point arguments and # return values in integer registers (r0, r1, ...) - this is # gcc -mfloat-abi=soft or gcc -mfloat-abi=softfp - from arm which # passes them in float registers (s0, s1, ...) and double registers # (d0, d1, ...) - this is gcc -mfloat-abi=hard. GCC 4.6 or newer # sets the preprocessor defines __ARM_PCS (for the first case) and # __ARM_PCS_VFP (for the second case), but older GCC does not. echo 'double ddd; void func (double dd) { ddd = dd; }' > conftest.c # Look for a reference to the register d0 in the .s file. AC_TRY_COMMAND(${CC-cc} $CFLAGS $CPPFLAGS $gl_c_asm_opt conftest.c) >/dev/null 2>&1 if LC_ALL=C grep 'd0,' conftest.$gl_asmext >/dev/null; then gl_cv_host_cpu_c_abi=armhf else gl_cv_host_cpu_c_abi=arm fi rm -f conftest* ]) ;; hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) # On hppa, the C compiler may be generating 32-bit code or 64-bit # code. In the latter case, it defines _LP64 and __LP64__. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef __LP64__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=hppa64], [gl_cv_host_cpu_c_abi=hppa]) ;; ia64* ) # On ia64 on HP-UX, the C compiler may be generating 64-bit code or # 32-bit code. In the latter case, it defines _ILP32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#ifdef _ILP32 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=ia64-ilp32], [gl_cv_host_cpu_c_abi=ia64]) ;; mips* ) # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this # at 32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=mips64], [# In the n32 ABI, _ABIN32 is defined, _ABIO32 is not defined (but # may later get defined by ), and _MIPS_SIM == _ABIN32. # In the 32 ABI, _ABIO32 is defined, _ABIN32 is not defined (but # may later get defined by ), and _MIPS_SIM == _ABIO32. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if (_MIPS_SIM == _ABIN32) int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=mipsn32], [gl_cv_host_cpu_c_abi=mips])]) ;; powerpc* ) # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. # No need to distinguish them here; the caller may distinguish # them based on the OS. # On powerpc64 systems, the C compiler may still be generating # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may # be generating 64-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __powerpc64__ || defined _ARCH_PPC64 int ok; #else error fail #endif ]])], [# On powerpc64, there are two ABIs on Linux: The AIX compatible # one and the ELFv2 one. The latter defines _CALL_ELF=2. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined _CALL_ELF && _CALL_ELF == 2 int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=powerpc64-elfv2], [gl_cv_host_cpu_c_abi=powerpc64]) ], [gl_cv_host_cpu_c_abi=powerpc]) ;; rs6000 ) gl_cv_host_cpu_c_abi=powerpc ;; riscv32 | riscv64 ) # There are 2 architectures (with variants): rv32* and rv64*. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if __riscv_xlen == 64 int ok; #else error fail #endif ]])], [cpu=riscv64], [cpu=riscv32]) # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. # Size of 'long' and 'void *': AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ int ok; #else error fail #endif ]])], [main_abi=lp64], [main_abi=ilp32]) # Float ABIs: # __riscv_float_abi_double: # 'float' and 'double' are passed in floating-point registers. # __riscv_float_abi_single: # 'float' are passed in floating-point registers. # __riscv_float_abi_soft: # No values are passed in floating-point registers. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __riscv_float_abi_double int ok; #else error fail #endif ]])], [float_abi=d], [AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __riscv_float_abi_single int ok; #else error fail #endif ]])], [float_abi=f], [float_abi='']) ]) gl_cv_host_cpu_c_abi="${cpu}-${main_abi}${float_abi}" ;; s390* ) # On s390x, the C compiler may be generating 64-bit (= s390x) code # or 31-bit (= s390) code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __LP64__ || defined __s390x__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=s390x], [gl_cv_host_cpu_c_abi=s390]) ;; sparc | sparc64 ) # UltraSPARCs running Linux have `uname -m` = "sparc64", but the # C compiler still generates 32-bit code. AC_COMPILE_IFELSE( [AC_LANG_SOURCE( [[#if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif ]])], [gl_cv_host_cpu_c_abi=sparc64], [gl_cv_host_cpu_c_abi=sparc]) ;; *) gl_cv_host_cpu_c_abi="$host_cpu" ;; esac ]) dnl In most cases, $HOST_CPU and $HOST_CPU_C_ABI are the same. HOST_CPU=`echo "$gl_cv_host_cpu_c_abi" | sed -e 's/-.*//'` HOST_CPU_C_ABI="$gl_cv_host_cpu_c_abi" AC_SUBST([HOST_CPU]) AC_SUBST([HOST_CPU_C_ABI]) # This was # AC_DEFINE_UNQUOTED([__${HOST_CPU}__]) # AC_DEFINE_UNQUOTED([__${HOST_CPU_C_ABI}__]) # earlier, but KAI C++ 3.2d doesn't like this. sed -e 's/-/_/g' >> confdefs.h <, 1996. AC_PREREQ([2.50]) # Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL([ac_cv_path_$1], [case "[$]$1" in [[\\/]]* | ?:[[\\/]]*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in ifelse([$5], , $PATH, [$5]); do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$][$1]) else AC_MSG_RESULT([no]) fi AC_SUBST([$1])dnl ]) xdx-2.91/m4/lib-prefix.m40000644000175000017500000002725014224024346012023 00000000000000# lib-prefix.m4 serial 17 dnl Copyright (C) 2001-2005, 2008-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH([lib-prefix], [[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) dnl AC_LIB_PREPARE_MULTILIB creates dnl - a function acl_is_expected_elfclass, that tests whether standard input dn; has a 32-bit or 64-bit ELF header, depending on the host CPU ABI, dnl - 3 variables acl_libdirstem, acl_libdirstem2, acl_libdirstem3, containing dnl the basename of the libdir to try in turn, either "lib" or "lib64" or dnl "lib/64" or "lib32" or "lib/sparcv9" or "lib/amd64" or similar. AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib, lib32, and lib64. dnl On most glibc systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. However, on dnl Arch Linux based distributions, it's the opposite: 32-bit libraries go dnl under $prefix/lib32 and 64-bit libraries go under $prefix/lib. dnl We determine the compiler's default mode by looking at the compiler's dnl library search path. If at least one of its elements ends in /lib64 or dnl points to a directory whose absolute pathname ends in /lib64, we use that dnl for 64-bit ABIs. Similarly for 32-bit ABIs. Otherwise we use the default, dnl namely "lib". dnl On Solaris systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([gl_HOST_CPU_C_ABI_32BIT]) AC_CACHE_CHECK([for ELF binary format], [gl_cv_elf], [AC_EGREP_CPP([Extensible Linking Format], [#ifdef __ELF__ Extensible Linking Format #endif ], [gl_cv_elf=yes], [gl_cv_elf=no]) ]) if test $gl_cv_elf; then # Extract the ELF class of a file (5th byte) in decimal. # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header if od -A x < /dev/null >/dev/null 2>/dev/null; then # Use POSIX od. func_elfclass () { od -A n -t d1 -j 4 -N 1 } else # Use BSD hexdump. func_elfclass () { dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "' echo } fi changequote(,)dnl case $HOST_CPU_C_ABI_32BIT in yes) # 32-bit ABI. acl_is_expected_elfclass () { test "`func_elfclass | sed -e 's/[ ]//g'`" = 1 } ;; no) # 64-bit ABI. acl_is_expected_elfclass () { test "`func_elfclass | sed -e 's/[ ]//g'`" = 2 } ;; *) # Unknown. acl_is_expected_elfclass () { : } ;; esac changequote([,])dnl else acl_is_expected_elfclass () { : } fi dnl Allow the user to override the result by setting acl_cv_libdirstems. AC_CACHE_CHECK([for the common suffixes of directories in the library search path], [acl_cv_libdirstems], [dnl Try 'lib' first, because that's the default for libdir in GNU, see dnl . acl_libdirstem=lib acl_libdirstem2= acl_libdirstem3= case "$host_os" in solaris*) dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment dnl . dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the dnl symlink is missing, so we set acl_libdirstem2 too. if test $HOST_CPU_C_ABI_32BIT = no; then acl_libdirstem2=lib/64 case "$host_cpu" in sparc*) acl_libdirstem3=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem3=lib/amd64 ;; esac fi ;; *) dnl If $CC generates code for a 32-bit ABI, the libraries are dnl surely under $prefix/lib or $prefix/lib32, not $prefix/lib64. dnl Similarly, if $CC generates code for a 64-bit ABI, the libraries dnl are surely under $prefix/lib or $prefix/lib64, not $prefix/lib32. dnl Find the compiler's search path. However, non-system compilers dnl sometimes have odd library search paths. But we can't simply invoke dnl '/usr/bin/gcc -print-search-dirs' because that would not take into dnl account the -m32/-m31 or -m64 options from the $CC or $CFLAGS. searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \ | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test $HOST_CPU_C_ABI_32BIT != no; then # 32-bit or unknown ABI. if test -d /usr/lib32; then acl_libdirstem2=lib32 fi fi if test $HOST_CPU_C_ABI_32BIT != yes; then # 64-bit or unknown ABI. if test -d /usr/lib64; then acl_libdirstem3=lib64 fi fi if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;; */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib32 ) acl_libdirstem2=lib32 ;; */lib64 ) acl_libdirstem3=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" if test $HOST_CPU_C_ABI_32BIT = yes; then # 32-bit ABI. acl_libdirstem3= fi if test $HOST_CPU_C_ABI_32BIT = no; then # 64-bit ABI. acl_libdirstem2= fi fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem" acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3" ]) dnl Decompose acl_cv_libdirstems into acl_libdirstem, acl_libdirstem2, and dnl acl_libdirstem3. changequote(,)dnl acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'` acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'` changequote([,])dnl ]) xdx-2.91/m4/lib-link.m40000644000175000017500000010376214224024346011466 00000000000000# lib-link.m4 serial 31 dnl Copyright (C) 2001-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_PREREQ([2.61]) dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and dnl augments the CPPFLAGS variable. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) pushdef([Name],[m4_translit([$1],[./+-], [____])]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes popdef([NAME]) popdef([Name]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message]) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and dnl the ability to compile and link the specified testcode. The missing-message dnl defaults to 'no' and may contain additional hints for the user. dnl If found, it sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} dnl and LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname dnl was found in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) pushdef([Name],[m4_translit([$1],[./+-], [____])]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, dnl because these -l options might require -L options that are present in dnl LIBS. -l options benefit only from the -L options listed before it. dnl Otherwise, add it to the front of LIBS, because it may be a static dnl library that depends on another static library that is present in LIBS. dnl Static libraries benefit only from the static libraries listed after dnl it. case " $LIB[]NAME" in *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; *) LIBS="$LIB[]NAME $LIBS" ;; esac AC_LINK_IFELSE( [AC_LANG_PROGRAM([[$3]], [[$4]])], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= LIB[]NAME[]_PREFIX= fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) AC_SUBST([LIB]NAME[_PREFIX]) popdef([NAME]) popdef([Name]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl acl_libext, dnl acl_shlibext, dnl acl_libname_spec, dnl acl_library_names_spec, dnl acl_hardcode_libdir_flag_spec, dnl acl_hardcode_libdir_separator, dnl acl_hardcode_direct, dnl acl_hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ dnl Complain if config.rpath is missing. AC_REQUIRE_AUX_FILE([config.rpath]) AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE([rpath], [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_FROMPACKAGE(name, package) dnl declares that libname comes from the given package. The configure file dnl will then not have a --with-libname-prefix option but a dnl --with-package-prefix option. Several libraries can come from the same dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar dnl macro call that searches for libname. AC_DEFUN([AC_LIB_FROMPACKAGE], [ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_frompackage_]NAME, [$2]) popdef([NAME]) pushdef([PACK],[$2]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_libsinpackage_]PACKUP, m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) popdef([PACKUP]) popdef([PACK]) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" ]) AC_ARG_WITH(PACK[-prefix], [[ --with-]]PACK[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib --without-]]PACK[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" additional_libdir2="$withval/$acl_libdirstem2" additional_libdir3="$withval/$acl_libdirstem3" fi fi ]) if test "X$additional_libdir2" = "X$additional_libdir"; then additional_libdir2= fi if test "X$additional_libdir3" = "X$additional_libdir"; then additional_libdir3= fi dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= LIB[]NAME[]_PREFIX= dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been dnl computed. So it has to be reset here. HAVE_LIB[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do if test "X$found_dir" = "X"; then eval dir=\$$additional_libdir_variable if test -n "$dir"; then dnl The same code as in the loop below: dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi fi done fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$acl_hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem3 | */$acl_libdirstem3/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $dependency_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then haveit= if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then dnl Really add $dependency_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$dependency_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then dnl Really add $dependency_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$dependency_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi popdef([PACKLIBS]) popdef([PACKUP]) popdef([PACK]) popdef([NAME]) ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) dnl For those cases where a variable contains several -L and -l options dnl referring to unknown libraries and directories, this macro determines the dnl necessary additional linker options for the runtime path. dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) dnl sets LDADDVAR to linker options needed together with LIBSVALUE. dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, dnl otherwise linking without libtool is assumed. AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ AC_REQUIRE([AC_LIB_RPATH]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) $1= if test "$enable_rpath" != no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode directories into the resulting dnl binary. rpathdirs= next= for opt in $2; do if test -n "$next"; then dir="$next" dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2" \ && test "X$dir" != "X/usr/$acl_libdirstem3"; then rpathdirs="$rpathdirs $dir" fi next= else case $opt in -L) next=yes ;; -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2" \ && test "X$dir" != "X/usr/$acl_libdirstem3"; then rpathdirs="$rpathdirs $dir" fi next= ;; *) next= ;; esac fi done if test "X$rpathdirs" != "X"; then if test -n ""$3""; then dnl libtool is used for linking. Use -R options. for dir in $rpathdirs; do $1="${$1}${$1:+ }-R$dir" done else dnl The linker is used for linking directly. if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user dnl must pass all path elements in one option. alldirs= for dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="$flag" else dnl The -rpath options are cumulative. for dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="${$1}${$1:+ }$flag" done fi fi fi fi fi AC_SUBST([$1]) ]) xdx-2.91/m4/Makefile.am0000644000175000017500000000035214224024346011546 00000000000000## Please update this variable if any new macros are created/added EXTRA_DIST = gettext.m4 host-cpu-c-abi.m4 iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 nls.m4 po.m4 progtest.m4 ax_append_flag.m4 ax_cflags_warn_all.m4 xdx-2.91/m4/Makefile.in0000644000175000017500000003035314224024370011560 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_append_flag.m4 \ $(top_srcdir)/m4/ax_cflags_warn_all.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/host-cpu-c-abi.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_CFLAGS = @AM_CFLAGS@ AM_CPPFLAGS = @AM_CPPFLAGS@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = gettext.m4 host-cpu-c-abi.m4 iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 nls.m4 po.m4 progtest.m4 ax_append_flag.m4 ax_cflags_warn_all.m4 all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu m4/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic cscopelist-am \ ctags-am distclean distclean-generic distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xdx-2.91/m4/iconv.m40000644000175000017500000002300314224024346011070 00000000000000# iconv.m4 serial 21 dnl Copyright (C) 2000-2002, 2007-2014, 2016-2020 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_LIB_LINKFLAGS_BODY([iconv]) ]) AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) dnl Add $INCICONV to CPPFLAGS before performing the following checks, dnl because if the user has installed libiconv and not disabled its use dnl via --without-libiconv-prefix, he wants to use it. The first dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);]])], [am_cv_func_iconv=yes]) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);]])], [am_cv_lib_iconv=yes] [am_cv_func_iconv=yes]) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, dnl Solaris 10. am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #ifndef ICONV_CONST # define ICONV_CONST $ac_iconv_const #endif ]], [[int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\263"; char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; ICONV_CONST char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 8; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ { /* Try standardized names. */ iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); /* Try IRIX, OSF/1 names. */ iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); /* Try AIX names. */ iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); /* Try HP-UX names. */ iconv_t cd4 = iconv_open ("utf8", "eucJP"); if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) result |= 16; if (cd1 != (iconv_t)(-1)) iconv_close (cd1); if (cd2 != (iconv_t)(-1)) iconv_close (cd2); if (cd3 != (iconv_t)(-1)) iconv_close (cd3); if (cd4 != (iconv_t)(-1)) iconv_close (cd4); } return result; ]])], [am_cv_func_iconv_works=yes], , [case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac]) test "$am_cv_func_iconv_works" = no || break done LIBS="$am_save_LIBS" ]) case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then AC_DEFINE([HAVE_ICONV], [1], [Define if you have the iconv() function and it works.]) fi if test "$am_cv_lib_iconv" = yes; then AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi AC_SUBST([LIBICONV]) AC_SUBST([LTLIBICONV]) ]) dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to dnl avoid warnings like dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". dnl This is tricky because of the way 'aclocal' is implemented: dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. dnl Otherwise aclocal's initial scan pass would miss the macro definition. dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. dnl Otherwise aclocal would emit many "Use of uninitialized value $1" dnl warnings. m4_define([gl_iconv_AC_DEFUN], m4_version_prereq([2.64], [[AC_DEFUN_ONCE( [$1], [$2])]], [m4_ifdef([gl_00GNULIB], [[AC_DEFUN_ONCE( [$1], [$2])]], [[AC_DEFUN( [$1], [$2])]])])) gl_iconv_AC_DEFUN([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL([am_cv_proto_iconv], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif ]], [[]])], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"]) am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` AC_MSG_RESULT([ $am_cv_proto_iconv]) else dnl When compiling GNU libiconv on a system that does not have iconv yet, dnl pick the POSIX compliant declaration without 'const'. am_cv_proto_iconv_arg1="" fi AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], [Define as const if the declaration of iconv() needs const.]) dnl Also substitute ICONV_CONST in the gnulib generated . m4_ifdef([gl_ICONV_H_DEFAULTS], [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) if test -n "$am_cv_proto_iconv_arg1"; then ICONV_CONST="const" fi ]) ]) xdx-2.91/m4/intlmacosx.m40000644000175000017500000000623514224024346012143 00000000000000# intlmacosx.m4 serial 8 (gettext-0.20.2) dnl Copyright (C) 2004-2014, 2016, 2019-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can be used in projects which are not available under dnl the GNU General Public License or the GNU Lesser General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Lesser General Public License, and the rest of the GNU dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Checks for special options needed on Mac OS X. dnl Defines INTL_MACOSX_LIBS. AC_DEFUN([gt_INTL_MACOSX], [ dnl Check for API introduced in Mac OS X 10.4. AC_CACHE_CHECK([for CFPreferencesCopyAppValue], [gt_cv_func_CFPreferencesCopyAppValue], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[CFPreferencesCopyAppValue(NULL, NULL)]])], [gt_cv_func_CFPreferencesCopyAppValue=yes], [gt_cv_func_CFPreferencesCopyAppValue=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) fi dnl Don't check for the API introduced in Mac OS X 10.5, CFLocaleCopyCurrent, dnl because in macOS 10.13.4 it has the following behaviour: dnl When two or more languages are specified in the dnl "System Preferences > Language & Region > Preferred Languages" panel, dnl it returns en_CC where CC is the territory (even when English is not among dnl the preferred languages!). What we want instead is what dnl CFLocaleCopyCurrent returned in earlier macOS releases and what dnl CFPreferencesCopyAppValue still returns, namely ll_CC where ll is the dnl first among the preferred languages and CC is the territory. AC_CACHE_CHECK([for CFLocaleCopyPreferredLanguages], [gt_cv_func_CFLocaleCopyPreferredLanguages], [gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include ]], [[CFLocaleCopyPreferredLanguages();]])], [gt_cv_func_CFLocaleCopyPreferredLanguages=yes], [gt_cv_func_CFLocaleCopyPreferredLanguages=no]) LIBS="$gt_save_LIBS"]) if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then AC_DEFINE([HAVE_CFLOCALECOPYPREFERREDLANGUAGES], [1], [Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework.]) fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi AC_SUBST([INTL_MACOSX_LIBS]) ]) xdx-2.91/m4/gettext.m40000644000175000017500000003423014224024346011442 00000000000000# gettext.m4 serial 71 (gettext-0.20.2) dnl Copyright (C) 1995-2014, 2016, 2018-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can be used in projects which are not available under dnl the GNU General Public License or the GNU Lesser General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Lesser General Public License, and the rest of the GNU dnl gettext package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2006, 2008-2010. dnl Macro to add for using GNU gettext. dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). dnl INTLSYMBOL must be one of 'external', 'use-libtool'. dnl INTLSYMBOL should be 'external' for packages other than GNU gettext, and dnl 'use-libtool' for the packages 'gettext-runtime' and 'gettext-tools'. dnl If INTLSYMBOL is 'use-libtool', then a libtool library dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, dnl depending on --{enable,disable}-{shared,static} and on the presence of dnl AM-DISABLE-SHARED). dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext dnl implementations (in libc or libintl) without the ngettext() function dnl will be ignored. If NEEDSYMBOL is specified and is dnl 'need-formatstring-macros', then GNU gettext implementations that don't dnl support the ISO C 99 formatstring macros will be ignored. dnl INTLDIR is used to find the intl libraries. If empty, dnl the value '$(top_builddir)/intl/' is used. dnl dnl The result of the configuration is one of three cases: dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled dnl and used. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 2) GNU gettext has been found in the system's C library. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 3) No internationalization, always use English msgid. dnl Catalog format: none dnl Catalog extension: none dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. dnl The use of .gmo is historical (it was needed to avoid overwriting the dnl GNU format catalogs when building on a platform with an X/Open gettext), dnl but we keep it in order not to force irrelevant filename changes on the dnl maintainers. dnl AC_DEFUN([AM_GNU_GETTEXT], [ dnl Argument checking. ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [use-libtool], , [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ])])])]) ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], [errprint([ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported. ])]) ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ])])])]) define([gt_included_intl], ifelse([$1], [external], [no], [yes])) gt_NEEDS_INIT AM_GNU_GETTEXT_NEED([$2]) AC_REQUIRE([AM_PO_SUBDIRS])dnl ifelse(gt_included_intl, yes, [ AC_REQUIRE([AM_INTL_SUBDIR])dnl ]) dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Sometimes libintl requires libiconv, so first search for libiconv. dnl Ideally we would do this search only after the dnl if test "$USE_NLS" = "yes"; then dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT dnl the configure script would need to contain the same shell code dnl again, outside any 'if'. There are two solutions: dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. dnl Since AC_PROVIDE_IFELSE is not documented, we avoid it. ifelse(gt_included_intl, yes, , [ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ]) dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation. gt_INTL_MACOSX dnl Set USE_NLS. AC_REQUIRE([AM_NLS]) ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no ]) LIBINTL= LTLIBINTL= POSUB= dnl Add a version number to the cache macros. case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no ifelse(gt_included_intl, yes, [ AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH([included-gettext], [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ]) dnl User does not insist on using GNU NLS library. Figure out what dnl to use. If GNU gettext is available we use this. Else we have dnl to fall back to GNU NLS library. if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif changequote(,)dnl typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; changequote([,])dnl ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #ifndef __GNU_GETTEXT_SUPPORTED_REVISION extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) #else #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 #endif $gt_revision_test_code ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION ]])], [eval "$gt_func_gnugettext_libc=yes"], [eval "$gt_func_gnugettext_libc=no"])]) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then dnl Sometimes libintl requires libiconv, so first search for libiconv. ifelse(gt_included_intl, yes, , [ AM_ICONV_LINK ]) dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) dnl because that would add "-liconv" to LIBINTL and LTLIBINTL dnl even if libiconv doesn't exist. AC_LIB_LINKFLAGS_BODY([intl]) AC_CACHE_CHECK([for GNU gettext in libintl], [$gt_func_gnugettext_libintl], [gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" dnl Now see whether libintl exists and does not depend on libiconv. AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #ifndef __GNU_GETTEXT_SUPPORTED_REVISION extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) #else #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 #endif $gt_revision_test_code ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION ]])], [eval "$gt_func_gnugettext_libintl=yes"], [eval "$gt_func_gnugettext_libintl=no"]) dnl Now see whether libintl exists and depends on libiconv. if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #ifndef __GNU_GETTEXT_SUPPORTED_REVISION extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) #else #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 #endif $gt_revision_test_code ]], [[ bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION ]])], [LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" ]) fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS"]) fi dnl If an already present or preinstalled GNU gettext() is found, dnl use it. But if this macro is used in GNU gettext, and GNU dnl gettext is already preinstalled in libintl, we update this dnl libintl. (Cf. the install rule in intl/Makefile.in.) if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else dnl Reset the values set by searching for libintl. LIBINTL= LTLIBINTL= INCINTL= fi ifelse(gt_included_intl, yes, [ if test "$gt_use_preinstalled_gnugettext" != "yes"; then dnl GNU gettext is not found in the C library. dnl Fall back on included GNU gettext library. nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LIBICONV $LIBTHREAD" LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LTLIBICONV $LTLIBTHREAD" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi CATOBJEXT= if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions to use GNU gettext tools. CATOBJEXT=.gmo fi ]) if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Some extra flags are needed during linking. LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then AC_DEFINE([ENABLE_NLS], [1], [Define to 1 if translation of program messages to the user's native language is requested.]) else USE_NLS=no fi fi AC_MSG_CHECKING([whether to use NLS]) AC_MSG_RESULT([$USE_NLS]) if test "$USE_NLS" = "yes"; then AC_MSG_CHECKING([where the gettext function comes from]) if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi AC_MSG_RESULT([$gt_source]) fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then AC_MSG_CHECKING([how to link with libintl]) AC_MSG_RESULT([$LIBINTL]) AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) fi dnl For backward compatibility. Some packages may be using this. AC_DEFINE([HAVE_GETTEXT], [1], [Define if the GNU gettext() function is already present or preinstalled.]) AC_DEFINE([HAVE_DCGETTEXT], [1], [Define if the GNU dcgettext() function is already present or preinstalled.]) fi dnl We need to process the po/ directory. POSUB=po fi ifelse(gt_included_intl, yes, [ dnl In GNU gettext we have to set BUILD_INCLUDED_LIBINTL to 'yes' dnl because some of the testsuite requires it. BUILD_INCLUDED_LIBINTL=yes dnl Make all variables we use known to autoconf. AC_SUBST([BUILD_INCLUDED_LIBINTL]) AC_SUBST([USE_INCLUDED_LIBINTL]) AC_SUBST([CATOBJEXT]) ]) dnl For backward compatibility. Some Makefiles may be using this. INTLLIBS="$LIBINTL" AC_SUBST([INTLLIBS]) dnl Make all documented variables known to autoconf. AC_SUBST([LIBINTL]) AC_SUBST([LTLIBINTL]) AC_SUBST([POSUB]) ]) dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. m4_define([gt_NEEDS_INIT], [ m4_divert_text([DEFAULTS], [gt_needs=]) m4_define([gt_NEEDS_INIT], []) ]) dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) AC_DEFUN([AM_GNU_GETTEXT_NEED], [ m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) ]) dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version]) AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], []) xdx-2.91/INSTALL0000644000175000017500000000223314224022173010217 00000000000000Basic installation instructions for Xdx ======================================= The simplest way to compile Xdx is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. 2. Type `make' to compile the package. Xdx needs the Gtk+2.0 development headers and libraries to compile. A package called pkg-config is also needed. There is a good chance that they will be installed together with the Gtk+ development environment. As of version 2.91, Xdx requires Gtk3 3.24 or later (earlier versions not tested, feedback welcome). 3. Type `make install' to install the programs and any data files and documentation (root/administrator privileges may be needed to install to the default path). 4. When you want to stip the binary when installing, just type: `make install-strip'. By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man/man1', `/usr/local/share/xdx', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH', e.g. `--prefix=$HOME/local'.. xdx-2.91/NEWS0000644000175000017500000000066114224021777007701 00000000000000xdx-2.91: Migrated to GTK3 xdx-2.5: Function keys F1 - F8 send often used commands to the cluster. Close dialog when Ctl-Q is used. Update manual page to current conventions. xdx-2.4.3: Fix compilation against GTK+ 2.24 Add command line option and environment variable to specify cty.dat New maintainer, Nate Bargmann, N0NB xdx-2.4.1: Fixes compilation against version 2.14 of GTK+. xdx-2.91/po/0000755000175000017500000000000014224026464007673 500000000000000xdx-2.91/po/remove-potcdate.sin0000644000175000017500000000132014224024346013415 00000000000000# Sed script that removes the POT-Creation-Date line in the header entry # from a POT file. # # Copyright (C) 2002 Free Software Foundation, Inc. # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. This file is offered as-is, # without any warranty. # # The distinction between the first and the following occurrences of the # pattern is achieved by looking at the hold space. /^"POT-Creation-Date: .*"$/{ x # Test if the hold space is empty. s/P/P/ ta # Yes it was empty. First occurrence. Remove the line. g d bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } xdx-2.91/po/LINGUAS0000644000175000017500000000010412523720573010635 00000000000000# Set of available languages. en@quot en@boldquot de nl fr es pl pt xdx-2.91/po/pl.po0000644000175000017500000003407714224026464010601 00000000000000# xdx - GTK+ DX-cluster client for amateur radio # Copyright (C) 2002-2006 Joop Stakenborg # This file is distributed under the same license as the xdx package. # Bogusław Ciastek SQ5TB , 2004-2015. # # msgid "" msgstr "" "Project-Id-Version: xdx 2.0\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2022-04-08 07:40-0500\n" "PO-Revision-Date: 2015-05-17 00:45+0100\n" "Last-Translator: Bogusław Ciastek \n" "Language-Team: \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.7.4\n" #: src/gui_aboutdialog.c:128 msgid "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" msgstr "DX cluster TCP/IP i klient czat ON4KST dla radioamatorów" #: src/gui.c:130 msgid "_Program" msgstr "_Program" #: src/gui.c:131 msgid "_Host" msgstr "_Host" #: src/gui.c:132 msgid "_Settings" msgstr "_Ustawienia" #: src/gui.c:133 msgid "H_elp" msgstr "P_omoc" #: src/gui.c:162 #, fuzzy #| msgid "Connection Log" msgid "_Connection Log" msgstr "Historia połączeń" #: src/gui.c:163 #, fuzzy #| msgid "Quit" msgid "_Quit" msgstr "Zakończ" #: src/gui.c:177 #, fuzzy #| msgid "Connect..." msgid "_Connect..." msgstr "Połącz..." #: src/gui.c:178 #, fuzzy #| msgid "Disconnect" msgid "_Disconnect" msgstr "Rozłącz" #: src/gui.c:196 #, fuzzy #| msgid "Function keys bar" msgid "_Function keys bar" msgstr "Pasek klawiszy funkcyjnych" #: src/gui.c:197 #, fuzzy #| msgid "Auto Reconnect" msgid "_Auto Reconnect" msgstr "Ponowne łączenie" #: src/gui.c:198 #, fuzzy #| msgid "Chat sidebar" msgid "_Chat sidebar" msgstr "Panel czat" #: src/gui.c:200 #, fuzzy #| msgid "Preferences..." msgid "_Preferences..." msgstr "Preferencje..." #: src/gui.c:228 #, fuzzy #| msgid "Manual" msgid "_Manual" msgstr "Podręcznik" #: src/gui.c:229 #, fuzzy #| msgid "About" msgid "_About" msgstr "O programie" #: src/gui.c:342 #, c-format msgid "Error loading icon: %s" msgstr "Błąd podczas wczytywania ikony: %s" #: src/gui.c:444 src/gui_settingsdialog.c:526 msgid "Spotter" msgstr "Nasłuchujący" #: src/gui.c:468 src/gui_settingsdialog.c:538 msgid "Remarks" msgstr "Uwagi" #: src/gui.c:476 src/gui_settingsdialog.c:541 msgid "Time" msgstr "Czas" #: src/gui.c:484 src/gui_settingsdialog.c:544 msgid "Info" msgstr "Informacja" #: src/gui.c:492 src/gui_settingsdialog.c:547 msgid "Country" msgstr "Kraj" #: src/gui.c:541 #, fuzzy #| msgid "Highlighting" msgid "Text highlighting" msgstr "Wyróżnianie" #: src/gui.c:552 src/gui_settingsdialog.c:773 #, fuzzy #| msgid "Color %d" msgid "Color 1" msgstr "Kolor %d" #: src/gui.c:555 src/gui.c:565 src/gui.c:575 src/gui.c:585 src/gui.c:595 #: src/gui.c:605 src/gui.c:615 src/gui.c:625 msgid "Active" msgstr "" #: src/gui.c:562 src/gui_settingsdialog.c:780 #, fuzzy #| msgid "Color %d" msgid "Color 2" msgstr "Kolor %d" #: src/gui.c:572 src/gui_settingsdialog.c:787 #, fuzzy #| msgid "Color %d" msgid "Color 3" msgstr "Kolor %d" #: src/gui.c:582 src/gui_settingsdialog.c:794 #, fuzzy #| msgid "Color %d" msgid "Color 4" msgstr "Kolor %d" #: src/gui.c:592 src/gui_settingsdialog.c:801 #, fuzzy #| msgid "Color %d" msgid "Color 5" msgstr "Kolor %d" #: src/gui.c:602 src/gui_settingsdialog.c:808 #, fuzzy #| msgid "Color %d" msgid "Color 6" msgstr "Kolor %d" #: src/gui.c:612 src/gui_settingsdialog.c:815 #, fuzzy #| msgid "Color %d" msgid "Color 7" msgstr "Kolor %d" #: src/gui.c:622 src/gui_settingsdialog.c:822 #, fuzzy #| msgid "Color %d" msgid "Color 8" msgstr "Kolor %d" #: src/gui.c:629 msgid "Sound" msgstr "Dźwięk" #: src/gui.c:666 src/gui.c:667 src/gui.c:668 src/gui.c:669 src/gui.c:670 #: src/gui.c:671 src/gui.c:672 src/gui.c:673 msgid "Enter a word to highlight" msgstr "Wprowadź wyróżniane słowo" #: src/gui.c:675 src/gui.c:677 src/gui.c:679 src/gui.c:681 src/gui.c:683 #: src/gui.c:685 src/gui.c:687 src/gui.c:689 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Łącznie z komunikatami [Ctrl+%d]" #: src/gui.c:691 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Włącz/wyłącz dźwięk [Ctrl+%d]" #: src/gui.c:694 src/gui.c:695 src/gui.c:696 src/gui.c:697 src/gui.c:698 #: src/gui.c:699 src/gui.c:700 src/gui.c:701 msgid "Right click to edit" msgstr "Kliknij prawym aby edytować" #: src/gui.c:1369 #, fuzzy #| msgid "xdx - edit function key" msgid "Xdx - Edit function key" msgstr "xdx - edytuj klawisz funkcyjny" #: src/gui.c:1372 src/gui_closedialog.c:76 msgid "Cancel" msgstr "" #: src/gui.c:1374 src/gui_closedialog.c:78 msgid "OK" msgstr "" #: src/gui.c:1388 #, c-format msgid "Command to be used for F%d" msgstr "Polecenie jakie ma zostać użyte dla F%d" #: src/gui_closedialog.c:73 #, fuzzy #| msgid "xdx - close connection" msgid "Xdx - Close connection" msgstr "xdx - zakończ połączenie" #: src/gui_closedialog.c:93 #, c-format msgid "Close connection to %s ?" msgstr "Zakończyć połączenie z %s ?" #: src/gui_closedialog.c:103 msgid "Connection closed" msgstr "Połączenie zakończone" #: src/gui_exitdialog.c:71 msgid "Exit" msgstr "Wyjście " #: src/gui_exitdialog.c:74 msgid "No" msgstr "" #: src/gui_exitdialog.c:76 msgid "Yes" msgstr "" #: src/gui_exitdialog.c:90 msgid "Exit " msgstr "Wyjście " #: src/gui_manualdialog.c:72 #, fuzzy #| msgid "xdx - manual" msgid "Xdx - Manual" msgstr "xdx - podręcznik" #: src/gui_manualdialog.c:75 src/gui_logdialog.c:84 msgid "Close" msgstr "" #. TRANSLATORS: #. * Do not translate MANUAL unless you provide a faq in your language, #. * e.g. the polish faq is called MANUAL.pl. #. #: src/gui_manualdialog.c:101 msgid "MANUAL" msgstr "MANUAL.pl" #: src/gui_opendialog.c:81 #, fuzzy #| msgid "xdx - open connection" msgid "Xdx - Open connection" msgstr "xdx - otwórz połączenie" #: src/gui_opendialog.c:84 src/gui_settingsdialog.c:256 msgid "_Cancel" msgstr "" #: src/gui_opendialog.c:86 src/gui_settingsdialog.c:258 msgid "_OK" msgstr "" #: src/gui_opendialog.c:105 #, fuzzy #| msgid "_Hostname" msgid "Hostname" msgstr "Nazwa _hosta" #: src/gui_opendialog.c:121 #, fuzzy #| msgid "_Port" msgid "Port" msgstr "_Port" #: src/gui_logdialog.c:79 #, fuzzy #| msgid "xdx - connection log" msgid "Xdx - Connection log" msgstr "xdx - historia połączeń" #: src/gui_logdialog.c:82 msgid "Clear" msgstr "" #: src/gui_settingsdialog.c:132 #, fuzzy #| msgid "xdx - Select a font" msgid "Xdx - Select a font" msgstr "xdx - Wybierz czcionkę" #: src/gui_settingsdialog.c:155 msgid "How about this font?" msgstr "Słońce świeci nad Łodzią" #: src/gui_settingsdialog.c:253 #, fuzzy #| msgid "xdx - preferences" msgid "Xdx - Preferences" msgstr "xdx - preferencje" #: src/gui_settingsdialog.c:279 src/gui_settingsdialog.c:475 msgid "General" msgstr "Ogólne" #: src/gui_settingsdialog.c:284 msgid "Output" msgstr "Dane wyjściowe" #: src/gui_settingsdialog.c:289 src/gui_settingsdialog.c:641 msgid "Fonts" msgstr "Czcionki" #: src/gui_settingsdialog.c:294 msgid "Colors" msgstr "Kolory" #: src/gui_settingsdialog.c:303 msgid "Callsign" msgstr "Znak" #: src/gui_settingsdialog.c:312 msgid "Your callsign" msgstr "Twój znak" #: src/gui_settingsdialog.c:320 msgid "Callsign to be used for login" msgstr "Znak używany podczas logowania" #: src/gui_settingsdialog.c:327 msgid "Login" msgstr "Logowanie" #: src/gui_settingsdialog.c:337 msgid "Enable autologin" msgstr "Włącz automatyczne logowanie" #: src/gui_settingsdialog.c:346 msgid "Commands" msgstr "Polecenia" #: src/gui_settingsdialog.c:354 msgid "Comma separated list of commands to send at login" msgstr "Oddzielona przecinkami lista poleceń do wysłania po połączeniu" #: src/gui_settingsdialog.c:373 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:383 msgid "Enable hamlib" msgstr "Aktywuj hamlib" #: src/gui_settingsdialog.c:392 msgid "Command for rigctl" msgstr "Polecenie dla rigctl" #: src/gui_settingsdialog.c:400 #, fuzzy, c-format #| msgid "" #| "When double clicking on a dx-spot this will set the frequency of your rig " #| "using rigctl (%d = the frequency retrieved from the DX spot)" msgid "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" msgstr "" "Gdy podwójnie klikniesz na spocie DX, ustawia częstotliwość w twoim radiu " "używając rigctl (%d = częstotliwość otrzymana ze spotu DX)" #: src/gui_settingsdialog.c:420 msgid "Programs" msgstr "Programy" #: src/gui_settingsdialog.c:434 msgid "Web browser" msgstr "Przeglądarka internetowa" #: src/gui_settingsdialog.c:442 msgid "Mail program" msgstr "Program pocztowy" #: src/gui_settingsdialog.c:449 msgid "Sound playing" msgstr "Odtwarzanie dźwięku" #: src/gui_settingsdialog.c:457 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "" "Przeglądarka internetowa uruchamiana po kliknięciu adresu www (%s = adres)" #: src/gui_settingsdialog.c:459 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "" "Program pocztowy uruchamiany po kliknięciu adresu pocztowego (%s = adres " "pocztowy)" #: src/gui_settingsdialog.c:461 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Program używany do odtwarzania dźwięków (%s = plik dźwiękowy)" #: src/gui_settingsdialog.c:485 msgid "Echo sent text to the screen" msgstr "Powtarzaj wysłany tekst na ekranie" #: src/gui_settingsdialog.c:489 msgid "Send keepalive packets (read the manual)" msgstr "Wysyłaj pakiety podtrzymujące (przeczytaj podręcznik)" #: src/gui_settingsdialog.c:504 msgid "Columns" msgstr "Kolumny" #: src/gui_settingsdialog.c:514 msgid "Columns to show on the screen" msgstr "Kolumny pokazywane na ekranie" #: src/gui_settingsdialog.c:587 msgid "Saving" msgstr "Zapisywanie" #: src/gui_settingsdialog.c:603 msgid "Save DX spots" msgstr "Zapisz spoty DX" #: src/gui_settingsdialog.c:606 msgid "Save WCY/WWV" msgstr "Zapisz WCY/WWV (informacje o propagacji)" #: src/gui_settingsdialog.c:612 msgid "Save \"To all\"" msgstr "Zapisz \"To all\" (wiadomości do wszystkich)" #: src/gui_settingsdialog.c:615 msgid "Save WX" msgstr "Zapisz WX (informacje pogodowe)" #: src/gui_settingsdialog.c:655 #, fuzzy #| msgid "Font for DX messages" msgid "Font for DX spots window" msgstr "Czcionka dla wiadomości DX" #: src/gui_settingsdialog.c:667 msgid "Select _DX Font" msgstr "Wybierz czcionkę dla _DX" #: src/gui_settingsdialog.c:670 #, fuzzy #| msgid "Font for DX messages" msgid "Font for message/chat window" msgstr "Czcionka dla wiadomości DX" #: src/gui_settingsdialog.c:681 msgid "Select _Other Fonts" msgstr "Wybierz czcionkę dla _pozostałych" #: src/gui_settingsdialog.c:687 #, fuzzy #| msgid "Colors to use for highlighting" msgid "DX cluster messsage highlighting" msgstr "Kolory używane przy wyróżnianiu" #: src/gui_settingsdialog.c:698 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for DX Cluster highlighting" msgstr "Kolory używane przy wyróżnianiu" #: src/gui_settingsdialog.c:715 msgid "Prompt" msgstr "Komunikat" #: src/gui_settingsdialog.c:722 msgid "Sent text" msgstr "Wysłany tekst" #: src/gui_settingsdialog.c:745 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Chat window user highlighting" msgstr "Kolory używane przy wyróżnianiu" #: src/gui_settingsdialog.c:756 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for user selected highlighting" msgstr "Kolory używane przy wyróżnianiu" #: src/main.c:521 #, c-format msgid "Welcome to %s" msgstr "Witamy w %s" #: src/net.c:120 #, c-format msgid "Resolving %s..." msgstr "Tłumaczenie adresu %s..." #: src/net.c:126 #, c-format msgid "Resolve failed: %s" msgstr "Tłumaczenie adresu nieudane: %s" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "Łączenie z: %s" #: src/net.c:169 #, c-format msgid "Connected to %s" msgstr "Połączony z %s" #: src/net.c:299 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Połączenie zakończone, ponowna próba połączenia za 10 sekund" #: src/net.c:305 msgid "Connection closed by remote host" msgstr "Połączenie zakończone przez zdalny host" #: src/net.c:320 msgid "Connection closed by remote host (0 bytes received)" msgstr "Połączenie zakończone przez zdalny host (0 bajtów odebranych)" #: src/net.c:379 #, c-format msgid "Write failed: %s" msgstr "Nieudana próba zapisu: %s" #: src/net.c:389 msgid "Nothing to send, you are not connected" msgstr "Nic nie wysłano, nie jesteś połączony(a)" #: src/preferences.c:77 #, c-format msgid "Creating ~/.%s directory." msgstr "Tworzenie katalogu ~/.%s." #: src/preferences.c:79 #, c-format msgid "~/.%s is not a directory." msgstr "~/.%s nie jest katalogiem." #: src/text.c:1143 #, c-format msgid "%s: %s\n" msgstr "%s: %s\n" #: src/text.c:1154 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "Nie można odczytać cty.dat w %s\n" #: src/text.c:1160 #, c-format msgid "Loading %s\n" msgstr "Wczytywanie %s\n" #: src/utils.c:136 src/utils.c:158 #, c-format msgid "Starting: %s" msgstr "Uruchamianie: %s" #~ msgid "Highlights" #~ msgstr "Wyróżnianie" #~ msgid "Font for other messages" #~ msgstr "Czcionka dla pozostałych wiadomości" #~ msgid "Colors for the chat window" #~ msgstr "Kolory w oknie rozmów" #~ msgid "Fork has failed: %s" #~ msgstr "Nieudana próba utworzenia procesu potomnego: %s" #~ msgid "Error on setting channel encoding: %s" #~ msgstr "Błąd przy ustawianiu kodowania kanału: %s" #~ msgid "xdx - about" #~ msgstr "xdx - o programie" #~ msgid "%s version %s" #~ msgstr "%s wersja %s" #~ msgid "Published under the GNU General Public License" #~ msgstr "Opublikowano w oparciu o GNU General Public License" #~ msgid "/_Program/Quit" #~ msgstr "/_Program/Wyjście" #~ msgid "/_Host/Open" #~ msgstr "/_Host/OtwĂłrz" #~ msgid "/_Host/Close" #~ msgstr "/_Host/Zamknij" #~ msgid "/_Settings/Preferences" #~ msgstr "/_Ustawienia/Preferencje" #~ msgid "/H_elp/About" #~ msgstr "/P_omoc/O programie" xdx-2.91/po/Makevars0000644000175000017500000000447212523720573011320 00000000000000# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Joop Stakenborg # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = n0nb@n0nb.us # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' # context. Possible values are "yes" and "no". Set this to yes if the # package uses functions taking also a message context, like pgettext(), or # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. USE_MSGCTXT = no # These options get passed to msgmerge. # Useful options are in particular: # --previous to keep previous msgids of translated messages, # --quiet to reduce the verbosity. MSGMERGE_OPTIONS = xdx-2.91/po/en@quot.po0000644000175000017500000003026114224026464011570 00000000000000# English translations for xdx package. # Copyright (C) 2022 Joop Stakenborg # This file is distributed under the same license as the xdx package. # Automatically generated, 2022. # # All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # msgid "" msgstr "" "Project-Id-Version: xdx 2.91\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2022-04-08 07:40-0500\n" "PO-Revision-Date: 2022-04-08 07:40-0500\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en@quot\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/gui_aboutdialog.c:128 msgid "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" msgstr "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" #: src/gui.c:130 msgid "_Program" msgstr "_Program" #: src/gui.c:131 msgid "_Host" msgstr "_Host" #: src/gui.c:132 msgid "_Settings" msgstr "_Settings" #: src/gui.c:133 msgid "H_elp" msgstr "H_elp" #: src/gui.c:162 msgid "_Connection Log" msgstr "_Connection Log" #: src/gui.c:163 msgid "_Quit" msgstr "_Quit" #: src/gui.c:177 msgid "_Connect..." msgstr "_Connect..." #: src/gui.c:178 msgid "_Disconnect" msgstr "_Disconnect" #: src/gui.c:196 msgid "_Function keys bar" msgstr "_Function keys bar" #: src/gui.c:197 msgid "_Auto Reconnect" msgstr "_Auto Reconnect" #: src/gui.c:198 msgid "_Chat sidebar" msgstr "_Chat sidebar" #: src/gui.c:200 msgid "_Preferences..." msgstr "_Preferences..." #: src/gui.c:228 msgid "_Manual" msgstr "_Manual" #: src/gui.c:229 msgid "_About" msgstr "_About" #: src/gui.c:342 #, c-format msgid "Error loading icon: %s" msgstr "Error loading icon: %s" #: src/gui.c:444 src/gui_settingsdialog.c:526 msgid "Spotter" msgstr "Spotter" #: src/gui.c:468 src/gui_settingsdialog.c:538 msgid "Remarks" msgstr "Remarks" #: src/gui.c:476 src/gui_settingsdialog.c:541 msgid "Time" msgstr "Time" #: src/gui.c:484 src/gui_settingsdialog.c:544 msgid "Info" msgstr "Info" #: src/gui.c:492 src/gui_settingsdialog.c:547 msgid "Country" msgstr "Country" #: src/gui.c:541 msgid "Text highlighting" msgstr "Text highlighting" #: src/gui.c:552 src/gui_settingsdialog.c:773 msgid "Color 1" msgstr "Color 1" #: src/gui.c:555 src/gui.c:565 src/gui.c:575 src/gui.c:585 src/gui.c:595 #: src/gui.c:605 src/gui.c:615 src/gui.c:625 msgid "Active" msgstr "Active" #: src/gui.c:562 src/gui_settingsdialog.c:780 msgid "Color 2" msgstr "Color 2" #: src/gui.c:572 src/gui_settingsdialog.c:787 msgid "Color 3" msgstr "Color 3" #: src/gui.c:582 src/gui_settingsdialog.c:794 msgid "Color 4" msgstr "Color 4" #: src/gui.c:592 src/gui_settingsdialog.c:801 msgid "Color 5" msgstr "Color 5" #: src/gui.c:602 src/gui_settingsdialog.c:808 msgid "Color 6" msgstr "Color 6" #: src/gui.c:612 src/gui_settingsdialog.c:815 msgid "Color 7" msgstr "Color 7" #: src/gui.c:622 src/gui_settingsdialog.c:822 msgid "Color 8" msgstr "Color 8" #: src/gui.c:629 msgid "Sound" msgstr "Sound" #: src/gui.c:666 src/gui.c:667 src/gui.c:668 src/gui.c:669 src/gui.c:670 #: src/gui.c:671 src/gui.c:672 src/gui.c:673 msgid "Enter a word to highlight" msgstr "Enter a word to highlight" #: src/gui.c:675 src/gui.c:677 src/gui.c:679 src/gui.c:681 src/gui.c:683 #: src/gui.c:685 src/gui.c:687 src/gui.c:689 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Include prompt [Ctrl+%d]" #: src/gui.c:691 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Enable/disable sound [Ctrl+%d]" #: src/gui.c:694 src/gui.c:695 src/gui.c:696 src/gui.c:697 src/gui.c:698 #: src/gui.c:699 src/gui.c:700 src/gui.c:701 msgid "Right click to edit" msgstr "Right click to edit" #: src/gui.c:1369 msgid "Xdx - Edit function key" msgstr "Xdx - Edit function key" #: src/gui.c:1372 src/gui_closedialog.c:76 msgid "Cancel" msgstr "Cancel" #: src/gui.c:1374 src/gui_closedialog.c:78 msgid "OK" msgstr "OK" #: src/gui.c:1388 #, c-format msgid "Command to be used for F%d" msgstr "Command to be used for F%d" #: src/gui_closedialog.c:73 msgid "Xdx - Close connection" msgstr "Xdx - Close connection" #: src/gui_closedialog.c:93 #, c-format msgid "Close connection to %s ?" msgstr "Close connection to %s ?" #: src/gui_closedialog.c:103 msgid "Connection closed" msgstr "Connection closed" #: src/gui_exitdialog.c:71 msgid "Exit" msgstr "Exit" #: src/gui_exitdialog.c:74 msgid "No" msgstr "No" #: src/gui_exitdialog.c:76 msgid "Yes" msgstr "Yes" #: src/gui_exitdialog.c:90 msgid "Exit " msgstr "Exit " #: src/gui_manualdialog.c:72 msgid "Xdx - Manual" msgstr "Xdx - Manual" #: src/gui_manualdialog.c:75 src/gui_logdialog.c:84 msgid "Close" msgstr "Close" #. TRANSLATORS: #. * Do not translate MANUAL unless you provide a faq in your language, #. * e.g. the polish faq is called MANUAL.pl. #. #: src/gui_manualdialog.c:101 msgid "MANUAL" msgstr "MANUAL" #: src/gui_opendialog.c:81 msgid "Xdx - Open connection" msgstr "Xdx - Open connection" #: src/gui_opendialog.c:84 src/gui_settingsdialog.c:256 msgid "_Cancel" msgstr "_Cancel" #: src/gui_opendialog.c:86 src/gui_settingsdialog.c:258 msgid "_OK" msgstr "_OK" #: src/gui_opendialog.c:105 msgid "Hostname" msgstr "Hostname" #: src/gui_opendialog.c:121 msgid "Port" msgstr "Port" #: src/gui_logdialog.c:79 msgid "Xdx - Connection log" msgstr "Xdx - Connection log" #: src/gui_logdialog.c:82 msgid "Clear" msgstr "Clear" #: src/gui_settingsdialog.c:132 msgid "Xdx - Select a font" msgstr "Xdx - Select a font" #: src/gui_settingsdialog.c:155 msgid "How about this font?" msgstr "How about this font?" #: src/gui_settingsdialog.c:253 msgid "Xdx - Preferences" msgstr "Xdx - Preferences" #: src/gui_settingsdialog.c:279 src/gui_settingsdialog.c:475 msgid "General" msgstr "General" #: src/gui_settingsdialog.c:284 msgid "Output" msgstr "Output" #: src/gui_settingsdialog.c:289 src/gui_settingsdialog.c:641 msgid "Fonts" msgstr "Fonts" #: src/gui_settingsdialog.c:294 msgid "Colors" msgstr "Colors" #: src/gui_settingsdialog.c:303 msgid "Callsign" msgstr "Callsign" #: src/gui_settingsdialog.c:312 msgid "Your callsign" msgstr "Your callsign" #: src/gui_settingsdialog.c:320 msgid "Callsign to be used for login" msgstr "Callsign to be used for login" #: src/gui_settingsdialog.c:327 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:337 msgid "Enable autologin" msgstr "Enable autologin" #: src/gui_settingsdialog.c:346 msgid "Commands" msgstr "Commands" #: src/gui_settingsdialog.c:354 msgid "Comma separated list of commands to send at login" msgstr "Comma separated list of commands to send at login" #: src/gui_settingsdialog.c:373 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:383 msgid "Enable hamlib" msgstr "Enable hamlib" #: src/gui_settingsdialog.c:392 msgid "Command for rigctl" msgstr "Command for rigctl" #: src/gui_settingsdialog.c:400 #, c-format msgid "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" msgstr "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" #: src/gui_settingsdialog.c:420 msgid "Programs" msgstr "Programs" #: src/gui_settingsdialog.c:434 msgid "Web browser" msgstr "Web browser" #: src/gui_settingsdialog.c:442 msgid "Mail program" msgstr "Mail program" #: src/gui_settingsdialog.c:449 msgid "Sound playing" msgstr "Sound playing" #: src/gui_settingsdialog.c:457 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "Web browser to start after clicking on a url (%s = url)" #: src/gui_settingsdialog.c:459 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "Mail program to start after clicking on a mail url (%s = mail url)" #: src/gui_settingsdialog.c:461 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Program used to play sound (%s = sound file)" #: src/gui_settingsdialog.c:485 msgid "Echo sent text to the screen" msgstr "Echo sent text to the screen" #: src/gui_settingsdialog.c:489 msgid "Send keepalive packets (read the manual)" msgstr "Send keepalive packets (read the manual)" #: src/gui_settingsdialog.c:504 msgid "Columns" msgstr "Columns" #: src/gui_settingsdialog.c:514 msgid "Columns to show on the screen" msgstr "Columns to show on the screen" #: src/gui_settingsdialog.c:587 msgid "Saving" msgstr "Saving" #: src/gui_settingsdialog.c:603 msgid "Save DX spots" msgstr "Save DX spots" #: src/gui_settingsdialog.c:606 msgid "Save WCY/WWV" msgstr "Save WCY/WWV" #: src/gui_settingsdialog.c:612 msgid "Save \"To all\"" msgstr "Save “To all”" #: src/gui_settingsdialog.c:615 msgid "Save WX" msgstr "Save WX" #: src/gui_settingsdialog.c:655 msgid "Font for DX spots window" msgstr "Font for DX spots window" #: src/gui_settingsdialog.c:667 msgid "Select _DX Font" msgstr "Select _DX Font" #: src/gui_settingsdialog.c:670 msgid "Font for message/chat window" msgstr "Font for message/chat window" #: src/gui_settingsdialog.c:681 msgid "Select _Other Fonts" msgstr "Select _Other Fonts" #: src/gui_settingsdialog.c:687 msgid "DX cluster messsage highlighting" msgstr "DX cluster messsage highlighting" #: src/gui_settingsdialog.c:698 msgid "Colors for DX Cluster highlighting" msgstr "Colors for DX Cluster highlighting" #: src/gui_settingsdialog.c:715 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:722 msgid "Sent text" msgstr "Sent text" #: src/gui_settingsdialog.c:745 msgid "Chat window user highlighting" msgstr "Chat window user highlighting" #: src/gui_settingsdialog.c:756 msgid "Colors for user selected highlighting" msgstr "Colors for user selected highlighting" #: src/main.c:521 #, c-format msgid "Welcome to %s" msgstr "Welcome to %s" #: src/net.c:120 #, c-format msgid "Resolving %s..." msgstr "Resolving %s..." #: src/net.c:126 #, c-format msgid "Resolve failed: %s" msgstr "Resolve failed: %s" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "Connecting to: %s" #: src/net.c:169 #, c-format msgid "Connected to %s" msgstr "Connected to %s" #: src/net.c:299 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Connection closed, trying reconnect in 10 seconds" #: src/net.c:305 msgid "Connection closed by remote host" msgstr "Connection closed by remote host" #: src/net.c:320 msgid "Connection closed by remote host (0 bytes received)" msgstr "Connection closed by remote host (0 bytes received)" #: src/net.c:379 #, c-format msgid "Write failed: %s" msgstr "Write failed: %s" #: src/net.c:389 msgid "Nothing to send, you are not connected" msgstr "Nothing to send, you are not connected" #: src/preferences.c:77 #, c-format msgid "Creating ~/.%s directory." msgstr "Creating ~/.%s directory." #: src/preferences.c:79 #, c-format msgid "~/.%s is not a directory." msgstr "~/.%s is not a directory." #: src/text.c:1143 #, c-format msgid "%s: %s\n" msgstr "%s: %s\n" #: src/text.c:1154 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "Cannot read cty.dat in %s\n" #: src/text.c:1160 #, c-format msgid "Loading %s\n" msgstr "Loading %s\n" #: src/utils.c:136 src/utils.c:158 #, c-format msgid "Starting: %s" msgstr "Starting: %s" xdx-2.91/po/es.gmo0000644000175000017500000001123414224026464010727 00000000000000H\a !)2Pk1! 33T1 7Qhmsy  B&* Q ,X           (0 Y c i w   7      05 f n &y      G V j s   $ 8 DMU$q' $*08@GNk   O$4C;  #  +5L,g   @)9 P ^ hr52A 1-&' E%8, F )+$<!69B(*GD3 7/>=C";:?0# 4H@.%s: %s CallsignCallsign to be used for loginCannot read cty.dat in %s Close connection to %s ?ColorsColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommandsConnected to %sConnecting to: %sConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.Echo sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sExitExit FontsGeneralH_elpHamlibHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)Nothing to send, you are not connectedOutputProgram used to play sound (%s = sound file)ProgramsPromptRemarksResolve failed: %sResolving %s...Right click to editSave "To all"Save DX spotsSave WCY/WWVSave WXSavingSelect _DX FontSelect _Other FontsSend keepalive packets (read the manual)Sent textSoundSound playingSpotterStarting: %sTimeWeb browserWeb browser to start after clicking on a url (%s = url)Welcome to %sWrite failed: %sYour callsign_Host_Program_Settings~/.%s is not a directory.Project-Id-Version: xdx 2.0 Report-Msgid-Bugs-To: n0nb@n0nb.us PO-Revision-Date: 2015-01-25 01:16+0000 Last-Translator: Baltasar Perez-Diaz Language-Team: Spanish/Spain Language: es MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %s: %s IndicativoIndicativo a utilizar en el DX-ClusterNo se puede leer cty.dat en %s ¿Cerrar la conexión con %s?ColoresColumnasColumnas a mostrar en pantallaLista de comandos a enviar al entrar al DX-Cluster, separados por comasComando para rigctlComandosConectado a %sConectando con: %sConexión finalizadaConexión finalizada por el servidorConexión finalizada por el servidor (0 bytes recibidos)Conexión finalizada, se intentará conectar de nuevo en 10 segundosEntidadCreando el directorio ~/.%sEco en la pantalla del texto enviadoHabilitar autologinHabilitar hamlibHabilitar/deshabilitar sonido [Ctrl+%d]Introduzca la palabra a resaltarError en la carga del icono: %sSalirSalirFuentesGeneral_AyudaHamlib¿Que le parece esta fuente?Incluir prompt [Ctrl+%d]InformaciónCargando %s LoginMANUAL.esLector de correoLector de correo a ejecutar al hacer click sobre una dirección (%s = mail url)Nada para enviar, no está conectadoSalidaPrograma utilizado para reproducir sonidos (%s = fichero de sonido)ProgramasPromptComentariosFallo en la resolución: %sResolviendo %s...Pulse el botón derecho para editarGuardar "To all"Guardar spots DXGuardar WCY/WWVGuardar WXGuardandoSeleccionar Fuente _DXSeleccionar _Otras FuentesEnviar paquetes "keepalive" (leer el manual)Texto enviadoSonidoReproductor de sonidoSpotterIniciando: %sHoraNavegador WebNavegador web a ejecutar al hacer click sobre una url (%s = url)Bienvenido a %sFallo de escritura: %sSu indicativo_Servidor_Programa_Configuración~/.%s no es un directorioxdx-2.91/po/Makefile.in.in0000644000175000017500000004616314224024346012274 00000000000000# Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-2000 Ulrich Drepper # Copyright (C) 2000-2020 Free Software Foundation, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. This file is offered as-is, # without any warranty. # # Origin: gettext-0.21 GETTEXT_MACRO_VERSION = 0.20 PACKAGE = @PACKAGE@ VERSION = @VERSION@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SED = @SED@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datarootdir = @datarootdir@ datadir = @datadir@ localedir = @localedir@ gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ # We use $(mkdir_p). # In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as # "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, # @install_sh@ does not start with $(SHELL), so we add it. # In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined # either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ MKDIR_P = @MKDIR_P@ mkdir_p = @mkdir_p@ # When building gettext-tools, we prefer to use the built programs # rather than installed programs. However, we can't do that when we # are cross compiling. CROSS_COMPILING = @CROSS_COMPILING@ GMSGFMT_ = @GMSGFMT@ GMSGFMT_no = @GMSGFMT@ GMSGFMT_yes = @GMSGFMT_015@ GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) XGETTEXT_ = @XGETTEXT@ XGETTEXT_no = @XGETTEXT@ XGETTEXT_yes = @XGETTEXT_015@ XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) MSGMERGE = @MSGMERGE@ MSGMERGE_UPDATE = @MSGMERGE@ --update MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot POFILESDEPS_yes = $(POFILESDEPS_) POFILESDEPS_no = POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT)) DISTFILESDEPS_ = update-po DISTFILESDEPS_yes = $(DISTFILESDEPS_) DISTFILESDEPS_no = DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO)) # Makevars gets inserted here. (Don't remove this line!) all: all-@USE_NLS@ .SUFFIXES: .SUFFIXES: .po .gmo .sed .sin .nop .po-create .po-update # The .pot file, stamp-po, .po files, and .gmo files appear in release tarballs. # The GNU Coding Standards say in # : # "GNU distributions usually contain some files which are not source files # ... . Since these files normally appear in the source directory, they # should always appear in the source directory, not in the build directory. # So Makefile rules to update them should put the updated files in the # source directory." # Therefore we put these files in the source directory, not the build directory. # During .po -> .gmo conversion, take into account the most recent changes to # the .pot file. This eliminates the need to update the .po files when the # .pot file has changed, which would be troublesome if the .po files are put # under version control. $(GMOFILES): $(srcdir)/$(DOMAIN).pot .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.1po && rm -f $${lang}.1po"; \ cd $(srcdir) && \ rm -f $${lang}.gmo && \ $(MSGMERGE) $(MSGMERGE_FOR_MSGFMT_OPTION) -o $${lang}.1po $${lang}.po $(DOMAIN).pot && \ $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.1po && \ mv t-$${lang}.gmo $${lang}.gmo && \ rm -f $${lang}.1po .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all-yes: $(srcdir)/stamp-po all-no: # Ensure that the gettext macros and this Makefile.in.in are in sync. CHECK_MACRO_VERSION = \ test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ exit 1; \ } # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because # we don't want to bother translators with empty POT files). We assume that # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. # In this case, $(srcdir)/stamp-po is a nop (i.e. a phony target). # $(srcdir)/stamp-po is a timestamp denoting the last time at which the CATALOGS # have been loosely updated. Its purpose is that when a developer or translator # checks out the package from a version control system, and the $(DOMAIN).pot # file is not under version control, "make" will update the $(DOMAIN).pot and # the $(CATALOGS), but subsequent invocations of "make" will do nothing. This # timestamp would not be necessary if updating the $(CATALOGS) would always # touch them; however, the rule for $(POFILES) has been designed to not touch # files that don't need to be changed. $(srcdir)/stamp-po: $(srcdir)/$(DOMAIN).pot @$(CHECK_MACRO_VERSION) test ! -f $(srcdir)/$(DOMAIN).pot || \ test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @test ! -f $(srcdir)/$(DOMAIN).pot || { \ echo "touch $(srcdir)/stamp-po" && \ echo timestamp > $(srcdir)/stamp-poT && \ mv $(srcdir)/stamp-poT $(srcdir)/stamp-po; \ } # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. # The determination of whether the package xyz is a GNU one is based on the # heuristic whether some file in the top level directory mentions "GNU xyz". # If GNU 'find' is available, we avoid grepping through monster files. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed package_gnu="$(PACKAGE_GNU)"; \ test -n "$$package_gnu" || { \ if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU @PACKAGE@' /dev/null '{}' ';' 2>/dev/null; \ else \ LC_ALL=C grep -i 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \ fi; \ } | grep -v 'libtool:' >/dev/null; then \ package_gnu=yes; \ else \ package_gnu=no; \ fi; \ }; \ if test "$$package_gnu" = "yes"; then \ package_prefix='GNU '; \ else \ package_prefix=''; \ fi; \ if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ else \ msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ fi; \ case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address="$$msgid_bugs_address" \ $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ ;; \ *) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --package-name="$${package_prefix}@PACKAGE@" \ --package-version='@VERSION@' \ --msgid-bugs-address="$$msgid_bugs_address" \ $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ ;; \ esac test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot-header; then \ sed -e '1,/^#$$/d' < $(DOMAIN).po > $(DOMAIN).1po && \ cat $(srcdir)/$(DOMAIN).pot-header $(DOMAIN).1po > $(DOMAIN).po && \ rm -f $(DOMAIN).1po \ || exit 1; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(POFILESDEPS) @test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) \ && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].*) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ 0.1[6-7] | 0.1[6-7].*) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --previous $${lang}.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} --previous $${lang}.po $(DOMAIN).pot;; \ esac; \ }; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: install-dvi install-ps install-pdf install-html: mostlyclean: rm -f remove-potcdate.sed rm -f $(srcdir)/stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f $(srcdir)/$(DOMAIN).pot $(srcdir)/stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS) @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: $(srcdir)/stamp-po $(DISTFILES) @dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/$(DOMAIN).pot; then \ dists="$$dists $(DOMAIN).pot stamp-po"; \ else \ case $(XGETTEXT) in \ :) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because a suitable 'xgettext' program was not found in PATH." 1>&2;; \ *) echo "Warning: Creating a tarball without '$(DOMAIN).pot', because 'xgettext' found no strings to extract. Check the contents of the POTFILES.in file and the XGETTEXT_OPTIONS in the Makevars file." 1>&2;; \ esac; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir) || exit 1; \ else \ cp -p $(srcdir)/$$file $(distdir) || exit 1; \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools" && test "$(CROSS_COMPILING)" != "yes"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang --previous $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].*) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ 0.1[6-7] | 0.1[6-7].*) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ *) \ $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang --previous -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ esac; \ }; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: # Recreate Makefile by invoking config.status. Explicitly invoke the shell, # because execution permission bits may not work on the current file system. # Use @SHELL@, which is the shell determined by autoconf for the use by its # scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ && @SHELL@ ./config.status $(subdir)/$@.in po-directories force: # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xdx-2.91/po/Rules-quot0000644000175000017500000000453314224024346011620 00000000000000# Special Makefile rules for English message catalogs with quotation marks. # # Copyright (C) 2001-2017 Free Software Foundation, Inc. # This file, Rules-quot, and its auxiliary files (listed under # DISTFILES.common.extra1) are free software; the Free Software Foundation # gives unlimited permission to use, copy, distribute, and modify them. DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot .SUFFIXES: .insert-header .po-update-en en@quot.po-create: $(MAKE) en@quot.po-update en@boldquot.po-create: $(MAKE) en@boldquot.po-update en@quot.po-update: en@quot.po-update-en en@boldquot.po-update: en@boldquot.po-update-en .insert-header.po-update-en: @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ if test "$(PACKAGE)" = "gettext-tools" && test "$(CROSS_COMPILING)" != "yes"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ ll=`echo $$lang | sed -e 's/@.*//'`; \ LC_ALL=C; export LC_ALL; \ cd $(srcdir); \ if $(MSGINIT) $(MSGINIT_OPTIONS) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \ | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \ { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \ $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \ ;; \ *) \ $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \ ;; \ esac } 2>/dev/null > $$tmpdir/$$lang.new.po \ ; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "creation of $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi en@quot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header en@boldquot.insert-header: insert-header.sin sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header mostlyclean: mostlyclean-quot mostlyclean-quot: rm -f *.insert-header xdx-2.91/po/en@boldquot.header0000644000175000017500000000247214224024346013243 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # xdx-2.91/po/de.po0000644000175000017500000003130114224026464010541 00000000000000# xdx - GTK+ DX-cluster client for amateur radio # German messages for xdx. # Copyright (C) 2008 Joop Stakenborg # This file is distributed under the same license as the xdx package. # Thomas Beierlein, DL1JBE , 2008, 2014. # # msgid "" msgstr "" "Project-Id-Version: xdx 2.4.1\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2022-04-08 07:40-0500\n" "PO-Revision-Date: 2009-01-10 07:27+0100\n" "Last-Translator: Thomas Beierlein \n" "Language-Team: German\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/gui_aboutdialog.c:128 #, fuzzy msgid "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" msgstr "Tcp/ip DX-Cluster und ON4KST Chat Client fuer Funkamateure" #: src/gui.c:130 msgid "_Program" msgstr "_Programm" #: src/gui.c:131 msgid "_Host" msgstr "_Host" #: src/gui.c:132 msgid "_Settings" msgstr "_Einstellungen" #: src/gui.c:133 msgid "H_elp" msgstr "H_ilfe" #: src/gui.c:162 #, fuzzy #| msgid "Connection Log" msgid "_Connection Log" msgstr "Verbindungs Log" #: src/gui.c:163 #, fuzzy #| msgid "Quit" msgid "_Quit" msgstr "Quit" #: src/gui.c:177 #, fuzzy #| msgid "Connect..." msgid "_Connect..." msgstr "Verbinden..." #: src/gui.c:178 #, fuzzy #| msgid "Disconnect" msgid "_Disconnect" msgstr "Trennen..." #: src/gui.c:196 #, fuzzy #| msgid "Function keys bar" msgid "_Function keys bar" msgstr "Funktionstasten anzeigen" #: src/gui.c:197 #, fuzzy #| msgid "Auto Reconnect" msgid "_Auto Reconnect" msgstr "Autom. Neuverbinden" #: src/gui.c:198 #, fuzzy #| msgid "Chat sidebar" msgid "_Chat sidebar" msgstr "Chat sidebar" #: src/gui.c:200 #, fuzzy #| msgid "Preferences..." msgid "_Preferences..." msgstr "Einstellungen" #: src/gui.c:228 #, fuzzy #| msgid "Manual" msgid "_Manual" msgstr "Handbuch" #: src/gui.c:229 #, fuzzy #| msgid "About" msgid "_About" msgstr "About" #: src/gui.c:342 #, c-format msgid "Error loading icon: %s" msgstr "Fehler beim Laden des Icon: %s" #: src/gui.c:444 src/gui_settingsdialog.c:526 msgid "Spotter" msgstr "Spotter" #: src/gui.c:468 src/gui_settingsdialog.c:538 msgid "Remarks" msgstr "Bemerkungen" #: src/gui.c:476 src/gui_settingsdialog.c:541 msgid "Time" msgstr "Zeit" #: src/gui.c:484 src/gui_settingsdialog.c:544 msgid "Info" msgstr "Info" #: src/gui.c:492 src/gui_settingsdialog.c:547 msgid "Country" msgstr "Land" #: src/gui.c:541 #, fuzzy #| msgid "Highlighting" msgid "Text highlighting" msgstr "Hervorhebung" #: src/gui.c:552 src/gui_settingsdialog.c:773 #, fuzzy #| msgid "Color %d" msgid "Color 1" msgstr "Farbe %d" #: src/gui.c:555 src/gui.c:565 src/gui.c:575 src/gui.c:585 src/gui.c:595 #: src/gui.c:605 src/gui.c:615 src/gui.c:625 msgid "Active" msgstr "" #: src/gui.c:562 src/gui_settingsdialog.c:780 #, fuzzy #| msgid "Color %d" msgid "Color 2" msgstr "Farbe %d" #: src/gui.c:572 src/gui_settingsdialog.c:787 #, fuzzy #| msgid "Color %d" msgid "Color 3" msgstr "Farbe %d" #: src/gui.c:582 src/gui_settingsdialog.c:794 #, fuzzy #| msgid "Color %d" msgid "Color 4" msgstr "Farbe %d" #: src/gui.c:592 src/gui_settingsdialog.c:801 #, fuzzy #| msgid "Color %d" msgid "Color 5" msgstr "Farbe %d" #: src/gui.c:602 src/gui_settingsdialog.c:808 #, fuzzy #| msgid "Color %d" msgid "Color 6" msgstr "Farbe %d" #: src/gui.c:612 src/gui_settingsdialog.c:815 #, fuzzy #| msgid "Color %d" msgid "Color 7" msgstr "Farbe %d" #: src/gui.c:622 src/gui_settingsdialog.c:822 #, fuzzy #| msgid "Color %d" msgid "Color 8" msgstr "Farbe %d" #: src/gui.c:629 msgid "Sound" msgstr "Klang" #: src/gui.c:666 src/gui.c:667 src/gui.c:668 src/gui.c:669 src/gui.c:670 #: src/gui.c:671 src/gui.c:672 src/gui.c:673 msgid "Enter a word to highlight" msgstr "Hervorzuhebendes Wort eingeben" #: src/gui.c:675 src/gui.c:677 src/gui.c:679 src/gui.c:681 src/gui.c:683 #: src/gui.c:685 src/gui.c:687 src/gui.c:689 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Include prompt [Ctrl+%d]" #: src/gui.c:691 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Sound an/aus [Ctrl+%d]" #: src/gui.c:694 src/gui.c:695 src/gui.c:696 src/gui.c:697 src/gui.c:698 #: src/gui.c:699 src/gui.c:700 src/gui.c:701 msgid "Right click to edit" msgstr "Rechts Klick zum editieren" #: src/gui.c:1369 #, fuzzy msgid "Xdx - Edit function key" msgstr "xdx - Verbindung oeffnen" #: src/gui.c:1372 src/gui_closedialog.c:76 msgid "Cancel" msgstr "" #: src/gui.c:1374 src/gui_closedialog.c:78 msgid "OK" msgstr "" #: src/gui.c:1388 #, fuzzy, c-format msgid "Command to be used for F%d" msgstr "Rufzeichen fuer das Login" #: src/gui_closedialog.c:73 #, fuzzy #| msgid "xdx - close connection" msgid "Xdx - Close connection" msgstr "xdx - Verbindung schliessen" #: src/gui_closedialog.c:93 #, c-format msgid "Close connection to %s ?" msgstr "Verbindung zu %s schliessen?" #: src/gui_closedialog.c:103 msgid "Connection closed" msgstr "Verbindung geschlossen" #: src/gui_exitdialog.c:71 msgid "Exit" msgstr "Exit" #: src/gui_exitdialog.c:74 msgid "No" msgstr "" #: src/gui_exitdialog.c:76 msgid "Yes" msgstr "" #: src/gui_exitdialog.c:90 msgid "Exit " msgstr "Exit" #: src/gui_manualdialog.c:72 #, fuzzy #| msgid "xdx - manual" msgid "Xdx - Manual" msgstr "xdx - Handbuch" #: src/gui_manualdialog.c:75 src/gui_logdialog.c:84 msgid "Close" msgstr "" #. TRANSLATORS: #. * Do not translate MANUAL unless you provide a faq in your language, #. * e.g. the polish faq is called MANUAL.pl. #. #: src/gui_manualdialog.c:101 msgid "MANUAL" msgstr "MANUAL" #: src/gui_opendialog.c:81 #, fuzzy #| msgid "xdx - open connection" msgid "Xdx - Open connection" msgstr "xdx - Verbindung oeffnen" #: src/gui_opendialog.c:84 src/gui_settingsdialog.c:256 msgid "_Cancel" msgstr "" #: src/gui_opendialog.c:86 src/gui_settingsdialog.c:258 msgid "_OK" msgstr "" #: src/gui_opendialog.c:105 #, fuzzy #| msgid "_Hostname" msgid "Hostname" msgstr "_Hostname" #: src/gui_opendialog.c:121 #, fuzzy #| msgid "_Port" msgid "Port" msgstr "_Port" #: src/gui_logdialog.c:79 #, fuzzy #| msgid "xdx - connection log" msgid "Xdx - Connection log" msgstr "xdx - Verbindungs Log" #: src/gui_logdialog.c:82 msgid "Clear" msgstr "" #: src/gui_settingsdialog.c:132 #, fuzzy #| msgid "xdx - Select a font" msgid "Xdx - Select a font" msgstr "xdx - Fontauswahl" #: src/gui_settingsdialog.c:155 msgid "How about this font?" msgstr "Testtext zur Fontauswahl" #: src/gui_settingsdialog.c:253 #, fuzzy #| msgid "xdx - preferences" msgid "Xdx - Preferences" msgstr "xdx - preferences" #: src/gui_settingsdialog.c:279 src/gui_settingsdialog.c:475 msgid "General" msgstr "Allgemeines" #: src/gui_settingsdialog.c:284 msgid "Output" msgstr "Output" #: src/gui_settingsdialog.c:289 src/gui_settingsdialog.c:641 msgid "Fonts" msgstr "Fonts" #: src/gui_settingsdialog.c:294 msgid "Colors" msgstr "Farben" #: src/gui_settingsdialog.c:303 msgid "Callsign" msgstr "Rufzeichen" #: src/gui_settingsdialog.c:312 msgid "Your callsign" msgstr "Ihr Rufzeichen" #: src/gui_settingsdialog.c:320 msgid "Callsign to be used for login" msgstr "Rufzeichen fuer das Login" #: src/gui_settingsdialog.c:327 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:337 msgid "Enable autologin" msgstr "Autologin erlauben" #: src/gui_settingsdialog.c:346 msgid "Commands" msgstr "Kommandos" #: src/gui_settingsdialog.c:354 msgid "Comma separated list of commands to send at login" msgstr "" "Durch Komma getrennte Liste von Kommandos, die beim Login gesendet werden" #: src/gui_settingsdialog.c:373 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:383 msgid "Enable hamlib" msgstr "Hamlib benutzen" #: src/gui_settingsdialog.c:392 msgid "Command for rigctl" msgstr "Kommando fuer rigctl" #: src/gui_settingsdialog.c:400 #, fuzzy, c-format #| msgid "" #| "When double clicking on a dx-spot this will set the frequency of your rig " #| "using rigctl (%d = the frequency retrieved from the DX spot)" msgid "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" msgstr "" "Doppelclick auf einen DX-Spot setzt die Frequenz mittels rigctl (%d = " "Frequenz, die aus dem DX-Spot entnommen wurde)" #: src/gui_settingsdialog.c:420 msgid "Programs" msgstr "Programme" #: src/gui_settingsdialog.c:434 msgid "Web browser" msgstr "Web Browser" #: src/gui_settingsdialog.c:442 msgid "Mail program" msgstr "Mail Programm" #: src/gui_settingsdialog.c:449 msgid "Sound playing" msgstr "Sound abspielen" #: src/gui_settingsdialog.c:457 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "Web Browser der bei Klick auf eine URL (%s = url) zu starten ist" #: src/gui_settingsdialog.c:459 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "" "Mail Programm welches bei Klick auf eine Mail URL (%s = Mail url) zu starten " "ist" #: src/gui_settingsdialog.c:461 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Programm zum Abspielen eines Sound (%s = Sound Datei)" #: src/gui_settingsdialog.c:485 msgid "Echo sent text to the screen" msgstr "Echo sendet Text auf den Bildschirm" #: src/gui_settingsdialog.c:489 msgid "Send keepalive packets (read the manual)" msgstr "Sende Keepalive Pakete (bitte Handbuch nachlesen)" #: src/gui_settingsdialog.c:504 msgid "Columns" msgstr "Spalten" #: src/gui_settingsdialog.c:514 msgid "Columns to show on the screen" msgstr "anzuzeigende Spalten" #: src/gui_settingsdialog.c:587 msgid "Saving" msgstr "Speichern" #: src/gui_settingsdialog.c:603 msgid "Save DX spots" msgstr "Speichere DX Spots" #: src/gui_settingsdialog.c:606 msgid "Save WCY/WWV" msgstr "Speichere WCY/WWV" #: src/gui_settingsdialog.c:612 msgid "Save \"To all\"" msgstr "Speichere \"To all\"" #: src/gui_settingsdialog.c:615 msgid "Save WX" msgstr "Speichere WX" #: src/gui_settingsdialog.c:655 #, fuzzy #| msgid "Font for DX messages" msgid "Font for DX spots window" msgstr "Font fuer DX Nachrichten" #: src/gui_settingsdialog.c:667 msgid "Select _DX Font" msgstr "Waehle _DX Font" #: src/gui_settingsdialog.c:670 #, fuzzy #| msgid "Font for DX messages" msgid "Font for message/chat window" msgstr "Font fuer DX Nachrichten" #: src/gui_settingsdialog.c:681 msgid "Select _Other Fonts" msgstr "Waehle andere F_onts" #: src/gui_settingsdialog.c:687 #, fuzzy #| msgid "Colors to use for highlighting" msgid "DX cluster messsage highlighting" msgstr "Farben zur Hervorhebung" #: src/gui_settingsdialog.c:698 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for DX Cluster highlighting" msgstr "Farben zur Hervorhebung" #: src/gui_settingsdialog.c:715 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:722 msgid "Sent text" msgstr "Gesendeter Text" #: src/gui_settingsdialog.c:745 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Chat window user highlighting" msgstr "Farben zur Hervorhebung" #: src/gui_settingsdialog.c:756 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for user selected highlighting" msgstr "Farben zur Hervorhebung" #: src/main.c:521 #, c-format msgid "Welcome to %s" msgstr "Willkommen bei %s" #: src/net.c:120 #, c-format msgid "Resolving %s..." msgstr "Resolving %s..." #: src/net.c:126 #, c-format msgid "Resolve failed: %s" msgstr "Resolve failed: %s" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "Verbinde mit %s" #: src/net.c:169 #, c-format msgid "Connected to %s" msgstr "Verbunden mit %s" #: src/net.c:299 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Verbindung geschlossen, versuche Neuverbindung in 10 Sekunden" #: src/net.c:305 msgid "Connection closed by remote host" msgstr "Verbindung durch Remote Host geschlossen" #: src/net.c:320 msgid "Connection closed by remote host (0 bytes received)" msgstr "Verbindung durch Remote Host geschlossen (0 bytes empfangen)" #: src/net.c:379 #, c-format msgid "Write failed: %s" msgstr "Schreiben fehlgeschlagen: %s" #: src/net.c:389 msgid "Nothing to send, you are not connected" msgstr "Nichts zu senden, Sie sind nicht verbunden" #: src/preferences.c:77 #, c-format msgid "Creating ~/.%s directory." msgstr "Lege Verzeichnis ~/.%s an." #: src/preferences.c:79 #, c-format msgid "~/.%s is not a directory." msgstr "~/.%s ist kein Verzeichnis." #: src/text.c:1143 #, c-format msgid "%s: %s\n" msgstr "%s: %s\n" #: src/text.c:1154 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "Kann cty.dat in %s nicht lesen\n" #: src/text.c:1160 #, c-format msgid "Loading %s\n" msgstr "Lade %s\n" #: src/utils.c:136 src/utils.c:158 #, c-format msgid "Starting: %s" msgstr "Starte: %s" #~ msgid "Highlights" #~ msgstr "Highlights" #~ msgid "Font for other messages" #~ msgstr "Font fuer andere Nachrichten" #~ msgid "Colors for the chat window" #~ msgstr "Farben fuer das Chat-Fenster" xdx-2.91/po/stamp-po0000644000175000017500000000001214224026464011267 00000000000000timestamp xdx-2.91/po/de.gmo0000644000175000017500000001112114224026464010703 00000000000000H\a !)2Pk1! 33T1 7Qhmsy  B&* Q ,X           (0 Y c i w   7      I5        I W l v   ( < =RW#r *18Qjox~ P*5 LV ]i|  1M]cs { @ &552A 1-&' E%8, F )+$<!69B(*GD3 7/>=C";:?0# 4H@.%s: %s CallsignCallsign to be used for loginCannot read cty.dat in %s Close connection to %s ?ColorsColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommandsConnected to %sConnecting to: %sConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.Echo sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sExitExit FontsGeneralH_elpHamlibHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)Nothing to send, you are not connectedOutputProgram used to play sound (%s = sound file)ProgramsPromptRemarksResolve failed: %sResolving %s...Right click to editSave "To all"Save DX spotsSave WCY/WWVSave WXSavingSelect _DX FontSelect _Other FontsSend keepalive packets (read the manual)Sent textSoundSound playingSpotterStarting: %sTimeWeb browserWeb browser to start after clicking on a url (%s = url)Welcome to %sWrite failed: %sYour callsign_Host_Program_Settings~/.%s is not a directory.Project-Id-Version: xdx 2.4.1 Report-Msgid-Bugs-To: n0nb@n0nb.us PO-Revision-Date: 2009-01-10 07:27+0100 Last-Translator: Thomas Beierlein Language-Team: German Language: de MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); %s: %s RufzeichenRufzeichen fuer das LoginKann cty.dat in %s nicht lesen Verbindung zu %s schliessen?FarbenSpaltenanzuzeigende SpaltenDurch Komma getrennte Liste von Kommandos, die beim Login gesendet werdenKommando fuer rigctlKommandosVerbunden mit %sVerbinde mit %sVerbindung geschlossenVerbindung durch Remote Host geschlossenVerbindung durch Remote Host geschlossen (0 bytes empfangen)Verbindung geschlossen, versuche Neuverbindung in 10 SekundenLandLege Verzeichnis ~/.%s an.Echo sendet Text auf den BildschirmAutologin erlaubenHamlib benutzenSound an/aus [Ctrl+%d]Hervorzuhebendes Wort eingebenFehler beim Laden des Icon: %sExitExitFontsAllgemeinesH_ilfeHamlibTesttext zur FontauswahlInclude prompt [Ctrl+%d]InfoLade %s LoginMANUALMail ProgrammMail Programm welches bei Klick auf eine Mail URL (%s = Mail url) zu starten istNichts zu senden, Sie sind nicht verbundenOutputProgramm zum Abspielen eines Sound (%s = Sound Datei)ProgrammePromptBemerkungenResolve failed: %sResolving %s...Rechts Klick zum editierenSpeichere "To all"Speichere DX SpotsSpeichere WCY/WWVSpeichere WXSpeichernWaehle _DX FontWaehle andere F_ontsSende Keepalive Pakete (bitte Handbuch nachlesen)Gesendeter TextKlangSound abspielenSpotterStarte: %sZeitWeb BrowserWeb Browser der bei Klick auf eine URL (%s = url) zu starten istWillkommen bei %sSchreiben fehlgeschlagen: %sIhr Rufzeichen_Host_Programm_Einstellungen~/.%s ist kein Verzeichnis.xdx-2.91/po/fr.po0000644000175000017500000003213714224026464010570 00000000000000# xdx - GTK+ DX-cluster client for amateur radio # Copyright (C) 2002-2006 Joop Stakenborg # This file is distributed under the same license as the xdx package. # Jean-Luc Coulon , 2006. # # msgid "" msgstr "" "Project-Id-Version: xdx 2.0\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2022-04-08 07:40-0500\n" "PO-Revision-Date: 2006-04-27 10:59+0200\n" "Last-Translator: Jean-Luc Coulon (f5ibh) \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gui_aboutdialog.c:128 #, fuzzy msgid "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" msgstr "Client de chat DX-Cluster TCP/IP et ON4KST pour radioamateur" #: src/gui.c:130 msgid "_Program" msgstr "_Programme" #: src/gui.c:131 msgid "_Host" msgstr "_Hôte" #: src/gui.c:132 msgid "_Settings" msgstr "Para_mètres" #: src/gui.c:133 msgid "H_elp" msgstr "_Aide" #: src/gui.c:162 #, fuzzy #| msgid "Connection Log" msgid "_Connection Log" msgstr "_Journal de connexion" #: src/gui.c:163 #, fuzzy #| msgid "Quit" msgid "_Quit" msgstr "_Quitter" #: src/gui.c:177 #, fuzzy #| msgid "Connect..." msgid "_Connect..." msgstr "_Connecter..." #: src/gui.c:178 #, fuzzy #| msgid "Disconnect" msgid "_Disconnect" msgstr "_Déconnecter" #: src/gui.c:196 msgid "_Function keys bar" msgstr "" #: src/gui.c:197 #, fuzzy #| msgid "Auto Reconnect" msgid "_Auto Reconnect" msgstr "Reconnexion _automatique" #: src/gui.c:198 #, fuzzy #| msgid "Chat sidebar" msgid "_Chat sidebar" msgstr "_Barre latérale de messagerie instantannée" #: src/gui.c:200 #, fuzzy #| msgid "Preferences..." msgid "_Preferences..." msgstr "_Préférences..." #: src/gui.c:228 #, fuzzy #| msgid "Manual" msgid "_Manual" msgstr "_Manuel" #: src/gui.c:229 #, fuzzy #| msgid "About" msgid "_About" msgstr "_À propos" #: src/gui.c:342 #, c-format msgid "Error loading icon: %s" msgstr "Erreur lors du chargement de l'icône : %s" #: src/gui.c:444 src/gui_settingsdialog.c:526 msgid "Spotter" msgstr "Spotter" #: src/gui.c:468 src/gui_settingsdialog.c:538 msgid "Remarks" msgstr "Commentaires" #: src/gui.c:476 src/gui_settingsdialog.c:541 msgid "Time" msgstr "Heure" #: src/gui.c:484 src/gui_settingsdialog.c:544 msgid "Info" msgstr "Info" #: src/gui.c:492 src/gui_settingsdialog.c:547 msgid "Country" msgstr "" #: src/gui.c:541 #, fuzzy #| msgid "Highlighting" msgid "Text highlighting" msgstr "Mise en évidence" #: src/gui.c:552 src/gui_settingsdialog.c:773 #, fuzzy #| msgid "Color %d" msgid "Color 1" msgstr "Couleur %d" #: src/gui.c:555 src/gui.c:565 src/gui.c:575 src/gui.c:585 src/gui.c:595 #: src/gui.c:605 src/gui.c:615 src/gui.c:625 msgid "Active" msgstr "" #: src/gui.c:562 src/gui_settingsdialog.c:780 #, fuzzy #| msgid "Color %d" msgid "Color 2" msgstr "Couleur %d" #: src/gui.c:572 src/gui_settingsdialog.c:787 #, fuzzy #| msgid "Color %d" msgid "Color 3" msgstr "Couleur %d" #: src/gui.c:582 src/gui_settingsdialog.c:794 #, fuzzy #| msgid "Color %d" msgid "Color 4" msgstr "Couleur %d" #: src/gui.c:592 src/gui_settingsdialog.c:801 #, fuzzy #| msgid "Color %d" msgid "Color 5" msgstr "Couleur %d" #: src/gui.c:602 src/gui_settingsdialog.c:808 #, fuzzy #| msgid "Color %d" msgid "Color 6" msgstr "Couleur %d" #: src/gui.c:612 src/gui_settingsdialog.c:815 #, fuzzy #| msgid "Color %d" msgid "Color 7" msgstr "Couleur %d" #: src/gui.c:622 src/gui_settingsdialog.c:822 #, fuzzy #| msgid "Color %d" msgid "Color 8" msgstr "Couleur %d" #: src/gui.c:629 msgid "Sound" msgstr "Sons" #: src/gui.c:666 src/gui.c:667 src/gui.c:668 src/gui.c:669 src/gui.c:670 #: src/gui.c:671 src/gui.c:672 src/gui.c:673 msgid "Enter a word to highlight" msgstr "Entrer un mot à mettre en évidence" #: src/gui.c:675 src/gui.c:677 src/gui.c:679 src/gui.c:681 src/gui.c:683 #: src/gui.c:685 src/gui.c:687 src/gui.c:689 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Inclure l'invite [Ctrl+%d]" #: src/gui.c:691 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Activer/désactiver les sons [Ctrl+%d]" #: src/gui.c:694 src/gui.c:695 src/gui.c:696 src/gui.c:697 src/gui.c:698 #: src/gui.c:699 src/gui.c:700 src/gui.c:701 msgid "Right click to edit" msgstr "" #: src/gui.c:1369 #, fuzzy msgid "Xdx - Edit function key" msgstr "xdx - connexion établie" #: src/gui.c:1372 src/gui_closedialog.c:76 msgid "Cancel" msgstr "" #: src/gui.c:1374 src/gui_closedialog.c:78 msgid "OK" msgstr "" #: src/gui.c:1388 #, fuzzy, c-format msgid "Command to be used for F%d" msgstr "Indicatif à utiliser lors de la connexion" #: src/gui_closedialog.c:73 #, fuzzy #| msgid "xdx - close connection" msgid "Xdx - Close connection" msgstr "xdx - ferme la connexion" #: src/gui_closedialog.c:93 #, c-format msgid "Close connection to %s ?" msgstr "Fermer la connexion vers %s ?" #: src/gui_closedialog.c:103 msgid "Connection closed" msgstr "Connexion fermée" #: src/gui_exitdialog.c:71 msgid "Exit" msgstr "" #: src/gui_exitdialog.c:74 msgid "No" msgstr "" #: src/gui_exitdialog.c:76 msgid "Yes" msgstr "" #: src/gui_exitdialog.c:90 msgid "Exit " msgstr "" #: src/gui_manualdialog.c:72 #, fuzzy #| msgid "xdx - manual" msgid "Xdx - Manual" msgstr "xdx - à propos" #: src/gui_manualdialog.c:75 src/gui_logdialog.c:84 msgid "Close" msgstr "" #. TRANSLATORS: #. * Do not translate MANUAL unless you provide a faq in your language, #. * e.g. the polish faq is called MANUAL.pl. #. #: src/gui_manualdialog.c:101 msgid "MANUAL" msgstr "MANUAL.fr" #: src/gui_opendialog.c:81 #, fuzzy #| msgid "xdx - open connection" msgid "Xdx - Open connection" msgstr "xdx - connexion établie" #: src/gui_opendialog.c:84 src/gui_settingsdialog.c:256 msgid "_Cancel" msgstr "" #: src/gui_opendialog.c:86 src/gui_settingsdialog.c:258 msgid "_OK" msgstr "" #: src/gui_opendialog.c:105 #, fuzzy #| msgid "_Hostname" msgid "Hostname" msgstr "Nom d'_hôte" #: src/gui_opendialog.c:121 #, fuzzy #| msgid "_Port" msgid "Port" msgstr "_Port" #: src/gui_logdialog.c:79 #, fuzzy #| msgid "xdx - connection log" msgid "Xdx - Connection log" msgstr "xdx - journal de connexion" #: src/gui_logdialog.c:82 msgid "Clear" msgstr "" #: src/gui_settingsdialog.c:132 #, fuzzy #| msgid "xdx - Select a font" msgid "Xdx - Select a font" msgstr "xdx - Choisir une police" #: src/gui_settingsdialog.c:155 msgid "How about this font?" msgstr "Que pensez-vous de cette police ?" #: src/gui_settingsdialog.c:253 #, fuzzy #| msgid "xdx - preferences" msgid "Xdx - Preferences" msgstr "xdx - préférences" #: src/gui_settingsdialog.c:279 src/gui_settingsdialog.c:475 msgid "General" msgstr "Général" #: src/gui_settingsdialog.c:284 msgid "Output" msgstr "Sortie" #: src/gui_settingsdialog.c:289 src/gui_settingsdialog.c:641 msgid "Fonts" msgstr "Polices" #: src/gui_settingsdialog.c:294 msgid "Colors" msgstr "Couleurs" #: src/gui_settingsdialog.c:303 msgid "Callsign" msgstr "Indicatif" #: src/gui_settingsdialog.c:312 msgid "Your callsign" msgstr "Votre indicatif" #: src/gui_settingsdialog.c:320 msgid "Callsign to be used for login" msgstr "Indicatif à utiliser lors de la connexion" #: src/gui_settingsdialog.c:327 msgid "Login" msgstr "Connexion" #: src/gui_settingsdialog.c:337 msgid "Enable autologin" msgstr "Activer la connexion automatique" #: src/gui_settingsdialog.c:346 msgid "Commands" msgstr "Commandes" #: src/gui_settingsdialog.c:354 msgid "Comma separated list of commands to send at login" msgstr "Liste de commandes séparées par une virgule à lancer lors du login" #: src/gui_settingsdialog.c:373 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:383 msgid "Enable hamlib" msgstr "Activer la hamlib" #: src/gui_settingsdialog.c:392 msgid "Command for rigctl" msgstr "Commande pour rigctl" #: src/gui_settingsdialog.c:400 #, fuzzy, c-format #| msgid "" #| "When double clicking on a dx-spot this will set the frequency of your rig " #| "using rigctl (%d = the frequency retrieved from the DX spot)" msgid "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" msgstr "" "Lors du double clic sur un spot dx ceci réglera la fréquence de votre " "transceiver en utilisant rigctl (%d = la fréquence extraite du spot DX)" #: src/gui_settingsdialog.c:420 msgid "Programs" msgstr "Programmes" #: src/gui_settingsdialog.c:434 msgid "Web browser" msgstr "Navigateur internet" #: src/gui_settingsdialog.c:442 msgid "Mail program" msgstr "Programme de gestion du courriel" #: src/gui_settingsdialog.c:449 msgid "Sound playing" msgstr "Reproduction du son" #: src/gui_settingsdialog.c:457 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "Navigateur internet à lancer après avoir cliqué une url (%s = url)" #: src/gui_settingsdialog.c:459 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "" "Programme de courriel à lancer après avoir cliqué une url de courrier (%s = " "url de courriel)" #: src/gui_settingsdialog.c:461 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Programme à utiliser pour jouer les sons (%s = fichier sonore)" #: src/gui_settingsdialog.c:485 msgid "Echo sent text to the screen" msgstr "Envoyer le texte émis à l'écran (« écho »)" #: src/gui_settingsdialog.c:489 msgid "Send keepalive packets (read the manual)" msgstr "Envoyer des paquets de maintien de lien (lire le manuel)" #: src/gui_settingsdialog.c:504 msgid "Columns" msgstr "Colonnes" #: src/gui_settingsdialog.c:514 msgid "Columns to show on the screen" msgstr "Colonnes à afficher sur l'écran" #: src/gui_settingsdialog.c:587 msgid "Saving" msgstr "Enregistrement" #: src/gui_settingsdialog.c:603 msgid "Save DX spots" msgstr "Sauvegarder les spots DX" #: src/gui_settingsdialog.c:606 msgid "Save WCY/WWV" msgstr "Sauvegarder WCY/WWV" #: src/gui_settingsdialog.c:612 msgid "Save \"To all\"" msgstr "Sauvegarder « To all »" #: src/gui_settingsdialog.c:615 msgid "Save WX" msgstr "Sauvegarder WX" #: src/gui_settingsdialog.c:655 #, fuzzy #| msgid "Font for DX messages" msgid "Font for DX spots window" msgstr "Polices pour les messages de DX" #: src/gui_settingsdialog.c:667 msgid "Select _DX Font" msgstr "Police du _DX" #: src/gui_settingsdialog.c:670 #, fuzzy #| msgid "Font for DX messages" msgid "Font for message/chat window" msgstr "Polices pour les messages de DX" #: src/gui_settingsdialog.c:681 msgid "Select _Other Fonts" msgstr "Autres polices" #: src/gui_settingsdialog.c:687 #, fuzzy #| msgid "Colors to use for highlighting" msgid "DX cluster messsage highlighting" msgstr "Couleurs à utiliser pour la mise en évidence" #: src/gui_settingsdialog.c:698 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for DX Cluster highlighting" msgstr "Couleurs à utiliser pour la mise en évidence" #: src/gui_settingsdialog.c:715 msgid "Prompt" msgstr "Invite" #: src/gui_settingsdialog.c:722 msgid "Sent text" msgstr "Texte envoyé" #: src/gui_settingsdialog.c:745 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Chat window user highlighting" msgstr "Couleurs à utiliser pour la mise en évidence" #: src/gui_settingsdialog.c:756 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for user selected highlighting" msgstr "Couleurs à utiliser pour la mise en évidence" #: src/main.c:521 #, c-format msgid "Welcome to %s" msgstr "Bienvenue sur %s" #: src/net.c:120 #, c-format msgid "Resolving %s..." msgstr "Résolution de %s en cours..." #: src/net.c:126 #, c-format msgid "Resolve failed: %s" msgstr "Erreur lors de la résolution : %s" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "Connexion à %s en cours" #: src/net.c:169 #, c-format msgid "Connected to %s" msgstr "Connecté à %s" #: src/net.c:299 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Connexion fermée, essai de reconnexion dans 10 secondes" #: src/net.c:305 msgid "Connection closed by remote host" msgstr "Connexion fermée par l'hôte distant" #: src/net.c:320 msgid "Connection closed by remote host (0 bytes received)" msgstr "Connexion fermée par l'hôte distant (aucun octet reçu)" #: src/net.c:379 #, c-format msgid "Write failed: %s" msgstr "Erreur d'écriture : %s" #: src/net.c:389 msgid "Nothing to send, you are not connected" msgstr "Rien à envoyer, vous n'êtes pas connecté" #: src/preferences.c:77 #, c-format msgid "Creating ~/.%s directory." msgstr "Création du répertoire ~/.%s." #: src/preferences.c:79 #, c-format msgid "~/.%s is not a directory." msgstr "~/.%s n'est pas un répertoire." #: src/text.c:1143 #, c-format msgid "%s: %s\n" msgstr "" #: src/text.c:1154 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "" #: src/text.c:1160 #, c-format msgid "Loading %s\n" msgstr "" #: src/utils.c:136 src/utils.c:158 #, c-format msgid "Starting: %s" msgstr "Démarrage en cours : %s" #~ msgid "Highlights" #~ msgstr "Mises en évidence" #~ msgid "Font for other messages" #~ msgstr "Police pour les autres messages" #~ msgid "Colors for the chat window" #~ msgstr "Couleurs pour la fenêtre de messagerie instantnnée" #~ msgid "Fork has failed: %s" #~ msgstr "Erreur de fork : %s" xdx-2.91/po/nl.po0000644000175000017500000003160614224026464010572 00000000000000# xdx - GTK+ DX-cluster client for amateur radio # Copyright (C) 2002-2006 Joop Stakenborg # This file is distributed under the same license as the xdx package. # Joop Stakenborg , 2014. # msgid "" msgstr "" "Project-Id-Version: xdx 2.0\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2022-04-08 07:40-0500\n" "PO-Revision-Date: 2014-01-26 20:07+0100\n" "Last-Translator: Joop Stakenborg \n" "Language-Team: Nederlands \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/gui_aboutdialog.c:128 #, fuzzy msgid "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" msgstr "Tcp/ip DX cluster en ON4KST chat client voor zendamateurs" #: src/gui.c:130 msgid "_Program" msgstr "_Programma" #: src/gui.c:131 msgid "_Host" msgstr "_Station" #: src/gui.c:132 msgid "_Settings" msgstr "_Instellingen" #: src/gui.c:133 msgid "H_elp" msgstr "_Hulp" #: src/gui.c:162 #, fuzzy #| msgid "Connection Log" msgid "_Connection Log" msgstr "Verbindingslog" #: src/gui.c:163 #, fuzzy #| msgid "Quit" msgid "_Quit" msgstr "Afsluiten" #: src/gui.c:177 #, fuzzy #| msgid "Connect..." msgid "_Connect..." msgstr "Verbinden..." #: src/gui.c:178 #, fuzzy #| msgid "Disconnect" msgid "_Disconnect" msgstr "Verbinding verbreken" #: src/gui.c:196 #, fuzzy #| msgid "Function keys bar" msgid "_Function keys bar" msgstr "Functietoets werkbalk" #: src/gui.c:197 #, fuzzy #| msgid "Auto Reconnect" msgid "_Auto Reconnect" msgstr "Automatisch opnieuw verbinden" #: src/gui.c:198 #, fuzzy #| msgid "Chat sidebar" msgid "_Chat sidebar" msgstr "Chat zijvenster" #: src/gui.c:200 #, fuzzy #| msgid "Preferences..." msgid "_Preferences..." msgstr "Voorkeuren..." #: src/gui.c:228 #, fuzzy #| msgid "Manual" msgid "_Manual" msgstr "Handboek" #: src/gui.c:229 #, fuzzy #| msgid "About" msgid "_About" msgstr "Info" #: src/gui.c:342 #, c-format msgid "Error loading icon: %s" msgstr "Fout bij het laden van het programma icoon: %s" #: src/gui.c:444 src/gui_settingsdialog.c:526 msgid "Spotter" msgstr "Spotter" #: src/gui.c:468 src/gui_settingsdialog.c:538 msgid "Remarks" msgstr "Opmerkingen" #: src/gui.c:476 src/gui_settingsdialog.c:541 msgid "Time" msgstr "Tijd" #: src/gui.c:484 src/gui_settingsdialog.c:544 msgid "Info" msgstr "Info" #: src/gui.c:492 src/gui_settingsdialog.c:547 msgid "Country" msgstr "Land" #: src/gui.c:541 #, fuzzy #| msgid "Highlighting" msgid "Text highlighting" msgstr "Kleuren" #: src/gui.c:552 src/gui_settingsdialog.c:773 #, fuzzy #| msgid "Color %d" msgid "Color 1" msgstr "Kleur %d" #: src/gui.c:555 src/gui.c:565 src/gui.c:575 src/gui.c:585 src/gui.c:595 #: src/gui.c:605 src/gui.c:615 src/gui.c:625 msgid "Active" msgstr "" #: src/gui.c:562 src/gui_settingsdialog.c:780 #, fuzzy #| msgid "Color %d" msgid "Color 2" msgstr "Kleur %d" #: src/gui.c:572 src/gui_settingsdialog.c:787 #, fuzzy #| msgid "Color %d" msgid "Color 3" msgstr "Kleur %d" #: src/gui.c:582 src/gui_settingsdialog.c:794 #, fuzzy #| msgid "Color %d" msgid "Color 4" msgstr "Kleur %d" #: src/gui.c:592 src/gui_settingsdialog.c:801 #, fuzzy #| msgid "Color %d" msgid "Color 5" msgstr "Kleur %d" #: src/gui.c:602 src/gui_settingsdialog.c:808 #, fuzzy #| msgid "Color %d" msgid "Color 6" msgstr "Kleur %d" #: src/gui.c:612 src/gui_settingsdialog.c:815 #, fuzzy #| msgid "Color %d" msgid "Color 7" msgstr "Kleur %d" #: src/gui.c:622 src/gui_settingsdialog.c:822 #, fuzzy #| msgid "Color %d" msgid "Color 8" msgstr "Kleur %d" #: src/gui.c:629 msgid "Sound" msgstr "Geluid" #: src/gui.c:666 src/gui.c:667 src/gui.c:668 src/gui.c:669 src/gui.c:670 #: src/gui.c:671 src/gui.c:672 src/gui.c:673 msgid "Enter a word to highlight" msgstr "Voer een woord in om te kleuren" #: src/gui.c:675 src/gui.c:677 src/gui.c:679 src/gui.c:681 src/gui.c:683 #: src/gui.c:685 src/gui.c:687 src/gui.c:689 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Prompt meenemen [Ctrl+%d]" #: src/gui.c:691 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Geluid aan/uit zetten [Ctrl+%d]" #: src/gui.c:694 src/gui.c:695 src/gui.c:696 src/gui.c:697 src/gui.c:698 #: src/gui.c:699 src/gui.c:700 src/gui.c:701 msgid "Right click to edit" msgstr "Rechts klikken om te veranderen" #: src/gui.c:1369 #, fuzzy #| msgid "xdx - edit function key" msgid "Xdx - Edit function key" msgstr "xdx - functietoets veranderen\t" #: src/gui.c:1372 src/gui_closedialog.c:76 msgid "Cancel" msgstr "" #: src/gui.c:1374 src/gui_closedialog.c:78 msgid "OK" msgstr "" #: src/gui.c:1388 #, c-format msgid "Command to be used for F%d" msgstr "Commando dat gebruikt wordt voor F%d" #: src/gui_closedialog.c:73 #, fuzzy #| msgid "xdx - close connection" msgid "Xdx - Close connection" msgstr "xdx - verbinding sluiten" #: src/gui_closedialog.c:93 #, c-format msgid "Close connection to %s ?" msgstr "Verbinding naar %s sluiten ?" #: src/gui_closedialog.c:103 msgid "Connection closed" msgstr "Verbinding gesloten" #: src/gui_exitdialog.c:71 msgid "Exit" msgstr "" #: src/gui_exitdialog.c:74 msgid "No" msgstr "" #: src/gui_exitdialog.c:76 msgid "Yes" msgstr "" #: src/gui_exitdialog.c:90 msgid "Exit " msgstr "" #: src/gui_manualdialog.c:72 #, fuzzy #| msgid "xdx - manual" msgid "Xdx - Manual" msgstr "xdx - handboek" #: src/gui_manualdialog.c:75 src/gui_logdialog.c:84 msgid "Close" msgstr "" #. TRANSLATORS: #. * Do not translate MANUAL unless you provide a faq in your language, #. * e.g. the polish faq is called MANUAL.pl. #. #: src/gui_manualdialog.c:101 msgid "MANUAL" msgstr "MANUAL.nl" #: src/gui_opendialog.c:81 #, fuzzy #| msgid "xdx - open connection" msgid "Xdx - Open connection" msgstr "xdx - verbinding openen" #: src/gui_opendialog.c:84 src/gui_settingsdialog.c:256 msgid "_Cancel" msgstr "" #: src/gui_opendialog.c:86 src/gui_settingsdialog.c:258 msgid "_OK" msgstr "" #: src/gui_opendialog.c:105 #, fuzzy #| msgid "_Hostname" msgid "Hostname" msgstr "_Hostnaam" #: src/gui_opendialog.c:121 #, fuzzy #| msgid "_Port" msgid "Port" msgstr "_Poort" #: src/gui_logdialog.c:79 #, fuzzy #| msgid "xdx - connection log" msgid "Xdx - Connection log" msgstr "xdx - verbindingslog" #: src/gui_logdialog.c:82 msgid "Clear" msgstr "" #: src/gui_settingsdialog.c:132 #, fuzzy #| msgid "xdx - Select a font" msgid "Xdx - Select a font" msgstr "xdx - Selekteer een lettertype" #: src/gui_settingsdialog.c:155 msgid "How about this font?" msgstr "Wat denk je van dit font?" #: src/gui_settingsdialog.c:253 #, fuzzy #| msgid "xdx - preferences" msgid "Xdx - Preferences" msgstr "xdx - voorkeuren" #: src/gui_settingsdialog.c:279 src/gui_settingsdialog.c:475 msgid "General" msgstr "Algemeen" #: src/gui_settingsdialog.c:284 msgid "Output" msgstr "Output" #: src/gui_settingsdialog.c:289 src/gui_settingsdialog.c:641 msgid "Fonts" msgstr "Lettertypes" #: src/gui_settingsdialog.c:294 msgid "Colors" msgstr "Kleuren" #: src/gui_settingsdialog.c:303 msgid "Callsign" msgstr "Roepletters" #: src/gui_settingsdialog.c:312 msgid "Your callsign" msgstr "Uw roepletters" #: src/gui_settingsdialog.c:320 msgid "Callsign to be used for login" msgstr "Roepletters te gebruiken voor login" #: src/gui_settingsdialog.c:327 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:337 msgid "Enable autologin" msgstr "Autologin aanzetten" #: src/gui_settingsdialog.c:346 msgid "Commands" msgstr "Commando's" #: src/gui_settingsdialog.c:354 msgid "Comma separated list of commands to send at login" msgstr "Commando's te versturen na login gescheiden door een komma" #: src/gui_settingsdialog.c:373 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:383 msgid "Enable hamlib" msgstr "Hamlib aanzetten" #: src/gui_settingsdialog.c:392 msgid "Command for rigctl" msgstr "Aanroepen van rigctl" #: src/gui_settingsdialog.c:400 #, fuzzy, c-format #| msgid "" #| "When double clicking on a dx-spot this will set the frequency of your rig " #| "using rigctl (%d = the frequency retrieved from the DX spot)" msgid "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" msgstr "" "Wanneer je dubbelklikt op een dx-spot zal dit commando de frequentie van je " "ontvanger veranderen met rigctl (%d = de frequentie van de dx-spot)" #: src/gui_settingsdialog.c:420 msgid "Programs" msgstr "Programma's" #: src/gui_settingsdialog.c:434 msgid "Web browser" msgstr "Web browser" #: src/gui_settingsdialog.c:442 msgid "Mail program" msgstr "Mail programma" #: src/gui_settingsdialog.c:449 msgid "Sound playing" msgstr "Geluid afspelen" #: src/gui_settingsdialog.c:457 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "Starten van web browser na het klikken op een url (%s = url)" #: src/gui_settingsdialog.c:459 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "" "Mail programma dat gestart wordt na het klikken op een mail url (%s = mail " "url)" #: src/gui_settingsdialog.c:461 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "" "Programma dat gebruikt wordt om geluid af te spelen (%s = geluidsbestand)" #: src/gui_settingsdialog.c:485 msgid "Echo sent text to the screen" msgstr "Verzonden berichten naar het scherm kopiëren" #: src/gui_settingsdialog.c:489 msgid "Send keepalive packets (read the manual)" msgstr "Verbinding in stand houden (lees het handboek)" #: src/gui_settingsdialog.c:504 msgid "Columns" msgstr "Kolommen" #: src/gui_settingsdialog.c:514 msgid "Columns to show on the screen" msgstr "Kolommen die te zien zijn op het scherm" #: src/gui_settingsdialog.c:587 msgid "Saving" msgstr "Opslaan" #: src/gui_settingsdialog.c:603 msgid "Save DX spots" msgstr "DX spots opslaan" #: src/gui_settingsdialog.c:606 msgid "Save WCY/WWV" msgstr "WCY/WWV opslaan" #: src/gui_settingsdialog.c:612 msgid "Save \"To all\"" msgstr "\"To all\" opslaan" #: src/gui_settingsdialog.c:615 msgid "Save WX" msgstr "WX opslaan" #: src/gui_settingsdialog.c:655 #, fuzzy #| msgid "Font for DX messages" msgid "Font for DX spots window" msgstr "Lettertype voor DX berichten" #: src/gui_settingsdialog.c:667 msgid "Select _DX Font" msgstr "Kies _DX lettertype" #: src/gui_settingsdialog.c:670 #, fuzzy #| msgid "Font for DX messages" msgid "Font for message/chat window" msgstr "Lettertype voor DX berichten" #: src/gui_settingsdialog.c:681 msgid "Select _Other Fonts" msgstr "Kies A_nder lettertype" #: src/gui_settingsdialog.c:687 #, fuzzy #| msgid "Colors to use for highlighting" msgid "DX cluster messsage highlighting" msgstr "Kleuren te gebruiken voor het opvallen" #: src/gui_settingsdialog.c:698 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for DX Cluster highlighting" msgstr "Kleuren te gebruiken voor het opvallen" #: src/gui_settingsdialog.c:715 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:722 msgid "Sent text" msgstr "Verzonden text" #: src/gui_settingsdialog.c:745 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Chat window user highlighting" msgstr "Kleuren te gebruiken voor het opvallen" #: src/gui_settingsdialog.c:756 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for user selected highlighting" msgstr "Kleuren te gebruiken voor het opvallen" #: src/main.c:521 #, c-format msgid "Welcome to %s" msgstr "Welkom bij %s" #: src/net.c:120 #, c-format msgid "Resolving %s..." msgstr "Opzoeken van %s..." #: src/net.c:126 #, c-format msgid "Resolve failed: %s" msgstr "Resolver faalt: %s" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "Verbinding maken met: %s" #: src/net.c:169 #, c-format msgid "Connected to %s" msgstr "Verbonden met %s" #: src/net.c:299 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Verbinding verbroken, opnieuw verbinden over 10 seconden" #: src/net.c:305 msgid "Connection closed by remote host" msgstr "Verbinding verbroken" #: src/net.c:320 msgid "Connection closed by remote host (0 bytes received)" msgstr "Verbinding verbroken door server (0 bytes ontvangen)" #: src/net.c:379 #, c-format msgid "Write failed: %s" msgstr "Schrijven faalt: %s" #: src/net.c:389 msgid "Nothing to send, you are not connected" msgstr "Kan niets versturen, je hebt geen verbinding" #: src/preferences.c:77 #, c-format msgid "Creating ~/.%s directory." msgstr "Maken van ~/.%s bestandsmap." #: src/preferences.c:79 #, c-format msgid "~/.%s is not a directory." msgstr "~/.%s is geen bestandsmap." #: src/text.c:1143 #, c-format msgid "%s: %s\n" msgstr "" #: src/text.c:1154 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "" #: src/text.c:1160 #, c-format msgid "Loading %s\n" msgstr "" #: src/utils.c:136 src/utils.c:158 #, c-format msgid "Starting: %s" msgstr "Starten van: %s" #~ msgid "Highlights" #~ msgstr "Kleuren" #~ msgid "Font for other messages" #~ msgstr "Lettertype voor andere berichten" #~ msgid "Colors for the chat window" #~ msgstr "Kleuren voor het chat venster" #~ msgid "Fork has failed: %s" #~ msgstr "Fork faalt: %s" xdx-2.91/po/boldquot.sed0000644000175000017500000000033114224024346012133 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g s/“/“/g s/”/”/g s/‘/‘/g s/’/’/g xdx-2.91/po/nl.gmo0000644000175000017500000001103614224026464010731 00000000000000D<a\!(01N 3 1@rz   &.4;Pint {B&,& / 6 > Q a u     (   - 2 7> v     V - #9 ] z  ' :  $ ( 3 D ] q 4 8   -DXi. .3 9COR,I , 3?Re .$3:JRb g<s   1.= -*)"#; A!4( B%'825$&C@/3+: ?76<, 0 D9>CallsignCallsign to be used for loginClose connection to %s ?ColorsColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnected to %sConnecting to: %sConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.Echo sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFontsGeneralH_elpHamlibHow about this font?Include prompt [Ctrl+%d]InfoLoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)Nothing to send, you are not connectedOutputProgram used to play sound (%s = sound file)ProgramsPromptRemarksResolve failed: %sResolving %s...Right click to editSave "To all"Save DX spotsSave WCY/WWVSave WXSavingSelect _DX FontSelect _Other FontsSend keepalive packets (read the manual)Sent textSoundSound playingSpotterStarting: %sTimeWeb browserWeb browser to start after clicking on a url (%s = url)Welcome to %sWrite failed: %sYour callsign_Host_Program_Settings~/.%s is not a directory.Project-Id-Version: xdx 2.0 Report-Msgid-Bugs-To: n0nb@n0nb.us PO-Revision-Date: 2014-01-26 20:07+0100 Last-Translator: Joop Stakenborg Language-Team: Nederlands Language: nl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); RoeplettersRoepletters te gebruiken voor loginVerbinding naar %s sluiten ?KleurenKolommenKolommen die te zien zijn op het schermCommando's te versturen na login gescheiden door een kommaAanroepen van rigctlCommando dat gebruikt wordt voor F%dCommando'sVerbonden met %sVerbinding maken met: %sVerbinding geslotenVerbinding verbrokenVerbinding verbroken door server (0 bytes ontvangen)Verbinding verbroken, opnieuw verbinden over 10 secondenLandMaken van ~/.%s bestandsmap.Verzonden berichten naar het scherm kopiërenAutologin aanzettenHamlib aanzettenGeluid aan/uit zetten [Ctrl+%d]Voer een woord in om te kleurenFout bij het laden van het programma icoon: %sLettertypesAlgemeen_HulpHamlibWat denk je van dit font?Prompt meenemen [Ctrl+%d]InfoLoginMANUAL.nlMail programmaMail programma dat gestart wordt na het klikken op een mail url (%s = mail url)Kan niets versturen, je hebt geen verbindingOutputProgramma dat gebruikt wordt om geluid af te spelen (%s = geluidsbestand)Programma'sPromptOpmerkingenResolver faalt: %sOpzoeken van %s...Rechts klikken om te veranderen"To all" opslaanDX spots opslaanWCY/WWV opslaanWX opslaanOpslaanKies _DX lettertypeKies A_nder lettertypeVerbinding in stand houden (lees het handboek)Verzonden textGeluidGeluid afspelenSpotterStarten van: %sTijdWeb browserStarten van web browser na het klikken op een url (%s = url)Welkom bij %sSchrijven faalt: %sUw roepletters_Station_Programma_Instellingen~/.%s is geen bestandsmap.xdx-2.91/po/xdx.pot0000644000175000017500000002175514224026464011154 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Joop Stakenborg # This file is distributed under the same license as the xdx package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: xdx 2.91\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2022-04-08 07:40-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: src/gui_aboutdialog.c:128 msgid "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" msgstr "" #: src/gui.c:130 msgid "_Program" msgstr "" #: src/gui.c:131 msgid "_Host" msgstr "" #: src/gui.c:132 msgid "_Settings" msgstr "" #: src/gui.c:133 msgid "H_elp" msgstr "" #: src/gui.c:162 msgid "_Connection Log" msgstr "" #: src/gui.c:163 msgid "_Quit" msgstr "" #: src/gui.c:177 msgid "_Connect..." msgstr "" #: src/gui.c:178 msgid "_Disconnect" msgstr "" #: src/gui.c:196 msgid "_Function keys bar" msgstr "" #: src/gui.c:197 msgid "_Auto Reconnect" msgstr "" #: src/gui.c:198 msgid "_Chat sidebar" msgstr "" #: src/gui.c:200 msgid "_Preferences..." msgstr "" #: src/gui.c:228 msgid "_Manual" msgstr "" #: src/gui.c:229 msgid "_About" msgstr "" #: src/gui.c:342 #, c-format msgid "Error loading icon: %s" msgstr "" #: src/gui.c:444 src/gui_settingsdialog.c:526 msgid "Spotter" msgstr "" #: src/gui.c:468 src/gui_settingsdialog.c:538 msgid "Remarks" msgstr "" #: src/gui.c:476 src/gui_settingsdialog.c:541 msgid "Time" msgstr "" #: src/gui.c:484 src/gui_settingsdialog.c:544 msgid "Info" msgstr "" #: src/gui.c:492 src/gui_settingsdialog.c:547 msgid "Country" msgstr "" #: src/gui.c:541 msgid "Text highlighting" msgstr "" #: src/gui.c:552 src/gui_settingsdialog.c:773 msgid "Color 1" msgstr "" #: src/gui.c:555 src/gui.c:565 src/gui.c:575 src/gui.c:585 src/gui.c:595 #: src/gui.c:605 src/gui.c:615 src/gui.c:625 msgid "Active" msgstr "" #: src/gui.c:562 src/gui_settingsdialog.c:780 msgid "Color 2" msgstr "" #: src/gui.c:572 src/gui_settingsdialog.c:787 msgid "Color 3" msgstr "" #: src/gui.c:582 src/gui_settingsdialog.c:794 msgid "Color 4" msgstr "" #: src/gui.c:592 src/gui_settingsdialog.c:801 msgid "Color 5" msgstr "" #: src/gui.c:602 src/gui_settingsdialog.c:808 msgid "Color 6" msgstr "" #: src/gui.c:612 src/gui_settingsdialog.c:815 msgid "Color 7" msgstr "" #: src/gui.c:622 src/gui_settingsdialog.c:822 msgid "Color 8" msgstr "" #: src/gui.c:629 msgid "Sound" msgstr "" #: src/gui.c:666 src/gui.c:667 src/gui.c:668 src/gui.c:669 src/gui.c:670 #: src/gui.c:671 src/gui.c:672 src/gui.c:673 msgid "Enter a word to highlight" msgstr "" #: src/gui.c:675 src/gui.c:677 src/gui.c:679 src/gui.c:681 src/gui.c:683 #: src/gui.c:685 src/gui.c:687 src/gui.c:689 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "" #: src/gui.c:691 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "" #: src/gui.c:694 src/gui.c:695 src/gui.c:696 src/gui.c:697 src/gui.c:698 #: src/gui.c:699 src/gui.c:700 src/gui.c:701 msgid "Right click to edit" msgstr "" #: src/gui.c:1369 msgid "Xdx - Edit function key" msgstr "" #: src/gui.c:1372 src/gui_closedialog.c:76 msgid "Cancel" msgstr "" #: src/gui.c:1374 src/gui_closedialog.c:78 msgid "OK" msgstr "" #: src/gui.c:1388 #, c-format msgid "Command to be used for F%d" msgstr "" #: src/gui_closedialog.c:73 msgid "Xdx - Close connection" msgstr "" #: src/gui_closedialog.c:93 #, c-format msgid "Close connection to %s ?" msgstr "" #: src/gui_closedialog.c:103 msgid "Connection closed" msgstr "" #: src/gui_exitdialog.c:71 msgid "Exit" msgstr "" #: src/gui_exitdialog.c:74 msgid "No" msgstr "" #: src/gui_exitdialog.c:76 msgid "Yes" msgstr "" #: src/gui_exitdialog.c:90 msgid "Exit " msgstr "" #: src/gui_manualdialog.c:72 msgid "Xdx - Manual" msgstr "" #: src/gui_manualdialog.c:75 src/gui_logdialog.c:84 msgid "Close" msgstr "" #. TRANSLATORS: #. * Do not translate MANUAL unless you provide a faq in your language, #. * e.g. the polish faq is called MANUAL.pl. #. #: src/gui_manualdialog.c:101 msgid "MANUAL" msgstr "" #: src/gui_opendialog.c:81 msgid "Xdx - Open connection" msgstr "" #: src/gui_opendialog.c:84 src/gui_settingsdialog.c:256 msgid "_Cancel" msgstr "" #: src/gui_opendialog.c:86 src/gui_settingsdialog.c:258 msgid "_OK" msgstr "" #: src/gui_opendialog.c:105 msgid "Hostname" msgstr "" #: src/gui_opendialog.c:121 msgid "Port" msgstr "" #: src/gui_logdialog.c:79 msgid "Xdx - Connection log" msgstr "" #: src/gui_logdialog.c:82 msgid "Clear" msgstr "" #: src/gui_settingsdialog.c:132 msgid "Xdx - Select a font" msgstr "" #: src/gui_settingsdialog.c:155 msgid "How about this font?" msgstr "" #: src/gui_settingsdialog.c:253 msgid "Xdx - Preferences" msgstr "" #: src/gui_settingsdialog.c:279 src/gui_settingsdialog.c:475 msgid "General" msgstr "" #: src/gui_settingsdialog.c:284 msgid "Output" msgstr "" #: src/gui_settingsdialog.c:289 src/gui_settingsdialog.c:641 msgid "Fonts" msgstr "" #: src/gui_settingsdialog.c:294 msgid "Colors" msgstr "" #: src/gui_settingsdialog.c:303 msgid "Callsign" msgstr "" #: src/gui_settingsdialog.c:312 msgid "Your callsign" msgstr "" #: src/gui_settingsdialog.c:320 msgid "Callsign to be used for login" msgstr "" #: src/gui_settingsdialog.c:327 msgid "Login" msgstr "" #: src/gui_settingsdialog.c:337 msgid "Enable autologin" msgstr "" #: src/gui_settingsdialog.c:346 msgid "Commands" msgstr "" #: src/gui_settingsdialog.c:354 msgid "Comma separated list of commands to send at login" msgstr "" #: src/gui_settingsdialog.c:373 msgid "Hamlib" msgstr "" #: src/gui_settingsdialog.c:383 msgid "Enable hamlib" msgstr "" #: src/gui_settingsdialog.c:392 msgid "Command for rigctl" msgstr "" #: src/gui_settingsdialog.c:400 #, c-format msgid "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" msgstr "" #: src/gui_settingsdialog.c:420 msgid "Programs" msgstr "" #: src/gui_settingsdialog.c:434 msgid "Web browser" msgstr "" #: src/gui_settingsdialog.c:442 msgid "Mail program" msgstr "" #: src/gui_settingsdialog.c:449 msgid "Sound playing" msgstr "" #: src/gui_settingsdialog.c:457 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "" #: src/gui_settingsdialog.c:459 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "" #: src/gui_settingsdialog.c:461 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "" #: src/gui_settingsdialog.c:485 msgid "Echo sent text to the screen" msgstr "" #: src/gui_settingsdialog.c:489 msgid "Send keepalive packets (read the manual)" msgstr "" #: src/gui_settingsdialog.c:504 msgid "Columns" msgstr "" #: src/gui_settingsdialog.c:514 msgid "Columns to show on the screen" msgstr "" #: src/gui_settingsdialog.c:587 msgid "Saving" msgstr "" #: src/gui_settingsdialog.c:603 msgid "Save DX spots" msgstr "" #: src/gui_settingsdialog.c:606 msgid "Save WCY/WWV" msgstr "" #: src/gui_settingsdialog.c:612 msgid "Save \"To all\"" msgstr "" #: src/gui_settingsdialog.c:615 msgid "Save WX" msgstr "" #: src/gui_settingsdialog.c:655 msgid "Font for DX spots window" msgstr "" #: src/gui_settingsdialog.c:667 msgid "Select _DX Font" msgstr "" #: src/gui_settingsdialog.c:670 msgid "Font for message/chat window" msgstr "" #: src/gui_settingsdialog.c:681 msgid "Select _Other Fonts" msgstr "" #: src/gui_settingsdialog.c:687 msgid "DX cluster messsage highlighting" msgstr "" #: src/gui_settingsdialog.c:698 msgid "Colors for DX Cluster highlighting" msgstr "" #: src/gui_settingsdialog.c:715 msgid "Prompt" msgstr "" #: src/gui_settingsdialog.c:722 msgid "Sent text" msgstr "" #: src/gui_settingsdialog.c:745 msgid "Chat window user highlighting" msgstr "" #: src/gui_settingsdialog.c:756 msgid "Colors for user selected highlighting" msgstr "" #: src/main.c:521 #, c-format msgid "Welcome to %s" msgstr "" #: src/net.c:120 #, c-format msgid "Resolving %s..." msgstr "" #: src/net.c:126 #, c-format msgid "Resolve failed: %s" msgstr "" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "" #: src/net.c:169 #, c-format msgid "Connected to %s" msgstr "" #: src/net.c:299 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "" #: src/net.c:305 msgid "Connection closed by remote host" msgstr "" #: src/net.c:320 msgid "Connection closed by remote host (0 bytes received)" msgstr "" #: src/net.c:379 #, c-format msgid "Write failed: %s" msgstr "" #: src/net.c:389 msgid "Nothing to send, you are not connected" msgstr "" #: src/preferences.c:77 #, c-format msgid "Creating ~/.%s directory." msgstr "" #: src/preferences.c:79 #, c-format msgid "~/.%s is not a directory." msgstr "" #: src/text.c:1143 #, c-format msgid "%s: %s\n" msgstr "" #: src/text.c:1154 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "" #: src/text.c:1160 #, c-format msgid "Loading %s\n" msgstr "" #: src/utils.c:136 src/utils.c:158 #, c-format msgid "Starting: %s" msgstr "" xdx-2.91/po/en@quot.gmo0000644000175000017500000001573614224026464011746 00000000000000v|     ' . I g m s          " %  $ 1B t      3 14 f n      5 : @ Y v |         B 6&9`cj,o   #3(G pz  D 7  CQ /<Rdx |    #-<G'/7?GOW_"f%15>N` r31 <Y jx $-B[ `lr yB&,/8?GZj~  (  % -D: 7 q  !(8 @ NZ jv [YQ$lGiTtZh56>gO\3.jS';UWCv:IEr#P1`- )(od,q?XBbeA" !&u 42+K%=D90<F8*LHsack@ mV]_pMfJR/N^n7%s: %s ActiveCallsignCallsign to be used for loginCancelCannot read cty.dat in %s Chat window user highlightingClearCloseClose connection to %s ?Color 1Color 2Color 3Color 4Color 5Color 6Color 7Color 8ColorsColors for DX Cluster highlightingColors for user selected highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnected to %sConnecting to: %sConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DX cluster messsage highlightingEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sExitExit Font for DX spots windowFont for message/chat windowFontsGeneralH_elpHamlibHostnameHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)NoNothing to send, you are not connectedOKOutputPortProgram used to play sound (%s = sound file)ProgramsPromptRemarksResolve failed: %sResolving %s...Right click to editSave "To all"Save DX spotsSave WCY/WWVSave WXSavingSelect _DX FontSelect _Other FontsSend keepalive packets (read the manual)Sent textSoundSound playingSpotterStarting: %sTCP/IP DX-cluster and ON4KST chat client for amateur radio operatorsText highlightingTimeWeb browserWeb browser to start after clicking on a url (%s = url)Welcome to %sWhen double clicking on a dx-spot this will set the frequency of your radio using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sXdx - Close connectionXdx - Connection logXdx - Edit function keyXdx - ManualXdx - Open connectionXdx - PreferencesXdx - Select a fontYesYour callsign_About_Auto Reconnect_Cancel_Chat sidebar_Connect..._Connection Log_Disconnect_Function keys bar_Host_Manual_OK_Preferences..._Program_Quit_Settings~/.%s is not a directory.Project-Id-Version: xdx 2.91 Report-Msgid-Bugs-To: n0nb@n0nb.us PO-Revision-Date: 2022-04-08 07:40-0500 Last-Translator: Automatically generated Language-Team: none Language: en@quot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); %s: %s ActiveCallsignCallsign to be used for loginCancelCannot read cty.dat in %s Chat window user highlightingClearCloseClose connection to %s ?Color 1Color 2Color 3Color 4Color 5Color 6Color 7Color 8ColorsColors for DX Cluster highlightingColors for user selected highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnected to %sConnecting to: %sConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DX cluster messsage highlightingEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sExitExit Font for DX spots windowFont for message/chat windowFontsGeneralH_elpHamlibHostnameHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)NoNothing to send, you are not connectedOKOutputPortProgram used to play sound (%s = sound file)ProgramsPromptRemarksResolve failed: %sResolving %s...Right click to editSave “To all”Save DX spotsSave WCY/WWVSave WXSavingSelect _DX FontSelect _Other FontsSend keepalive packets (read the manual)Sent textSoundSound playingSpotterStarting: %sTCP/IP DX-cluster and ON4KST chat client for amateur radio operatorsText highlightingTimeWeb browserWeb browser to start after clicking on a url (%s = url)Welcome to %sWhen double clicking on a dx-spot this will set the frequency of your radio using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sXdx - Close connectionXdx - Connection logXdx - Edit function keyXdx - ManualXdx - Open connectionXdx - PreferencesXdx - Select a fontYesYour callsign_About_Auto Reconnect_Cancel_Chat sidebar_Connect..._Connection Log_Disconnect_Function keys bar_Host_Manual_OK_Preferences..._Program_Quit_Settings~/.%s is not a directory.xdx-2.91/po/quot.sed0000644000175000017500000000023114224024346011271 00000000000000s/"\([^"]*\)"/“\1”/g s/`\([^`']*\)'/‘\1’/g s/ '\([^`']*\)' / ‘\1’ /g s/ '\([^`']*\)'$/ ‘\1’/g s/^'\([^`']*\)' /‘\1’ /g s/“”/""/g xdx-2.91/po/pt.po0000644000175000017500000003156514224026464010610 00000000000000# xdx - GTK+ DX-cluster client for amateur radio # Copyright (C) 2002-2006 Joop Stakenborg # This file is distributed under the same license as the xdx package. # David Quental CT1DRB , 2007, 2014. # # msgid "" msgstr "" "Project-Id-Version: xdx 2.0\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2022-04-08 07:40-0500\n" "PO-Revision-Date: 2006-04-23 12:12+0100\n" "Last-Translator: David Quental \n" "Language-Team: Português/Portugal\n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gui_aboutdialog.c:128 #, fuzzy msgid "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" msgstr "" "Cliente TCP/IP de DX-Cluster e cliente de chat ON4KST para radioamadores" #: src/gui.c:130 msgid "_Program" msgstr "_Programa" #: src/gui.c:131 msgid "_Host" msgstr "_Servidor" #: src/gui.c:132 msgid "_Settings" msgstr "_Configuração" #: src/gui.c:133 msgid "H_elp" msgstr "_Ajuda" #: src/gui.c:162 #, fuzzy #| msgid "Connection Log" msgid "_Connection Log" msgstr "Registo de ligação" #: src/gui.c:163 #, fuzzy #| msgid "Quit" msgid "_Quit" msgstr "Sair" #: src/gui.c:177 #, fuzzy #| msgid "Connect..." msgid "_Connect..." msgstr "Ligar..." #: src/gui.c:178 #, fuzzy #| msgid "Disconnect" msgid "_Disconnect" msgstr "Desligar" #: src/gui.c:196 #, fuzzy #| msgid "Function keys bar" msgid "_Function keys bar" msgstr "Barra das teclas de funções" #: src/gui.c:197 #, fuzzy #| msgid "Auto Reconnect" msgid "_Auto Reconnect" msgstr "Voltar a ligar automáticamente" #: src/gui.c:198 #, fuzzy #| msgid "Chat sidebar" msgid "_Chat sidebar" msgstr "Barra lateral de chat" #: src/gui.c:200 #, fuzzy #| msgid "Preferences..." msgid "_Preferences..." msgstr "Preferências..." #: src/gui.c:228 #, fuzzy #| msgid "Manual" msgid "_Manual" msgstr "Manual" #: src/gui.c:229 #, fuzzy #| msgid "About" msgid "_About" msgstr "Acerca de" #: src/gui.c:342 #, c-format msgid "Error loading icon: %s" msgstr "Erro a carregar o icon: %s" #: src/gui.c:444 src/gui_settingsdialog.c:526 msgid "Spotter" msgstr "Quem colocou" #: src/gui.c:468 src/gui_settingsdialog.c:538 msgid "Remarks" msgstr "Comentários" #: src/gui.c:476 src/gui_settingsdialog.c:541 msgid "Time" msgstr "Hora" #: src/gui.c:484 src/gui_settingsdialog.c:544 msgid "Info" msgstr "Informação" #: src/gui.c:492 src/gui_settingsdialog.c:547 msgid "Country" msgstr "País" #: src/gui.c:541 #, fuzzy #| msgid "Highlighting" msgid "Text highlighting" msgstr "Para destacar" #: src/gui.c:552 src/gui_settingsdialog.c:773 #, fuzzy #| msgid "Color %d" msgid "Color 1" msgstr "Côr %d" #: src/gui.c:555 src/gui.c:565 src/gui.c:575 src/gui.c:585 src/gui.c:595 #: src/gui.c:605 src/gui.c:615 src/gui.c:625 msgid "Active" msgstr "" #: src/gui.c:562 src/gui_settingsdialog.c:780 #, fuzzy #| msgid "Color %d" msgid "Color 2" msgstr "Côr %d" #: src/gui.c:572 src/gui_settingsdialog.c:787 #, fuzzy #| msgid "Color %d" msgid "Color 3" msgstr "Côr %d" #: src/gui.c:582 src/gui_settingsdialog.c:794 #, fuzzy #| msgid "Color %d" msgid "Color 4" msgstr "Côr %d" #: src/gui.c:592 src/gui_settingsdialog.c:801 #, fuzzy #| msgid "Color %d" msgid "Color 5" msgstr "Côr %d" #: src/gui.c:602 src/gui_settingsdialog.c:808 #, fuzzy #| msgid "Color %d" msgid "Color 6" msgstr "Côr %d" #: src/gui.c:612 src/gui_settingsdialog.c:815 #, fuzzy #| msgid "Color %d" msgid "Color 7" msgstr "Côr %d" #: src/gui.c:622 src/gui_settingsdialog.c:822 #, fuzzy #| msgid "Color %d" msgid "Color 8" msgstr "Côr %d" #: src/gui.c:629 msgid "Sound" msgstr "Som" #: src/gui.c:666 src/gui.c:667 src/gui.c:668 src/gui.c:669 src/gui.c:670 #: src/gui.c:671 src/gui.c:672 src/gui.c:673 msgid "Enter a word to highlight" msgstr "Introduça a palavra a ressaltar" #: src/gui.c:675 src/gui.c:677 src/gui.c:679 src/gui.c:681 src/gui.c:683 #: src/gui.c:685 src/gui.c:687 src/gui.c:689 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Incluir prompt [Ctrl+%d]" #: src/gui.c:691 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Habilitar/desabilitar som [Ctrl+%d]" #: src/gui.c:694 src/gui.c:695 src/gui.c:696 src/gui.c:697 src/gui.c:698 #: src/gui.c:699 src/gui.c:700 src/gui.c:701 msgid "Right click to edit" msgstr "Carregue na tecla direita para editar" #: src/gui.c:1369 #, fuzzy msgid "Xdx - Edit function key" msgstr "xdx - abrir conecção" #: src/gui.c:1372 src/gui_closedialog.c:76 msgid "Cancel" msgstr "" #: src/gui.c:1374 src/gui_closedialog.c:78 msgid "OK" msgstr "" #: src/gui.c:1388 #, fuzzy, c-format msgid "Command to be used for F%d" msgstr "Indicativo a utilizar no DX-Cluster" #: src/gui_closedialog.c:73 #, fuzzy #| msgid "xdx - close connection" msgid "Xdx - Close connection" msgstr "xdx - fechar ligações" #: src/gui_closedialog.c:93 #, c-format msgid "Close connection to %s ?" msgstr "Fechar a ligação com %s?" #: src/gui_closedialog.c:103 msgid "Connection closed" msgstr "Ligação finalizada" #: src/gui_exitdialog.c:71 msgid "Exit" msgstr "" #: src/gui_exitdialog.c:74 msgid "No" msgstr "" #: src/gui_exitdialog.c:76 msgid "Yes" msgstr "" #: src/gui_exitdialog.c:90 msgid "Exit " msgstr "" #: src/gui_manualdialog.c:72 #, fuzzy #| msgid "xdx - manual" msgid "Xdx - Manual" msgstr "xdx - manual" #: src/gui_manualdialog.c:75 src/gui_logdialog.c:84 msgid "Close" msgstr "" #. TRANSLATORS: #. * Do not translate MANUAL unless you provide a faq in your language, #. * e.g. the polish faq is called MANUAL.pl. #. #: src/gui_manualdialog.c:101 msgid "MANUAL" msgstr "MANUAL" #: src/gui_opendialog.c:81 #, fuzzy #| msgid "xdx - open connection" msgid "Xdx - Open connection" msgstr "xdx - abrir ligação" #: src/gui_opendialog.c:84 src/gui_settingsdialog.c:256 msgid "_Cancel" msgstr "" #: src/gui_opendialog.c:86 src/gui_settingsdialog.c:258 msgid "_OK" msgstr "" #: src/gui_opendialog.c:105 #, fuzzy #| msgid "_Hostname" msgid "Hostname" msgstr "_Servidor" #: src/gui_opendialog.c:121 #, fuzzy #| msgid "_Port" msgid "Port" msgstr "_Porta" #: src/gui_logdialog.c:79 #, fuzzy #| msgid "xdx - connection log" msgid "Xdx - Connection log" msgstr "xdx - registo de ligação" #: src/gui_logdialog.c:82 msgid "Clear" msgstr "" #: src/gui_settingsdialog.c:132 #, fuzzy #| msgid "xdx - Select a font" msgid "Xdx - Select a font" msgstr "xdx - Seleccionar uma fonte" #: src/gui_settingsdialog.c:155 msgid "How about this font?" msgstr "Que lhe parece esta fonte?" #: src/gui_settingsdialog.c:253 #, fuzzy #| msgid "xdx - preferences" msgid "Xdx - Preferences" msgstr "xdx - preferências" #: src/gui_settingsdialog.c:279 src/gui_settingsdialog.c:475 msgid "General" msgstr "Geral" #: src/gui_settingsdialog.c:284 msgid "Output" msgstr "Saída" #: src/gui_settingsdialog.c:289 src/gui_settingsdialog.c:641 msgid "Fonts" msgstr "Fontes" #: src/gui_settingsdialog.c:294 msgid "Colors" msgstr "Cores" #: src/gui_settingsdialog.c:303 msgid "Callsign" msgstr "Indicativo" #: src/gui_settingsdialog.c:312 msgid "Your callsign" msgstr "O seu indicativo" #: src/gui_settingsdialog.c:320 msgid "Callsign to be used for login" msgstr "Indicativo a utilizar no DX-Cluster" #: src/gui_settingsdialog.c:327 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:337 msgid "Enable autologin" msgstr "Habilitar autologin" #: src/gui_settingsdialog.c:346 msgid "Commands" msgstr "Comandos" #: src/gui_settingsdialog.c:354 msgid "Comma separated list of commands to send at login" msgstr "" "Lista de comandos a enviar ao entrar no DX-Cluster, separados por virgulas" #: src/gui_settingsdialog.c:373 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:383 msgid "Enable hamlib" msgstr "Habilitar hamlib" #: src/gui_settingsdialog.c:392 msgid "Command for rigctl" msgstr "Comando para rigctl" #: src/gui_settingsdialog.c:400 #, fuzzy, c-format #| msgid "" #| "When double clicking on a dx-spot this will set the frequency of your rig " #| "using rigctl (%d = the frequency retrieved from the DX spot)" msgid "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" msgstr "" "Quando fizer um duplo click sobre um spot DX, o seu rádio ajustará à " "frequência do spot utilizando rigctl (%d = frequência do spot DX)" #: src/gui_settingsdialog.c:420 msgid "Programs" msgstr "Programas" #: src/gui_settingsdialog.c:434 msgid "Web browser" msgstr "Navegador Web" #: src/gui_settingsdialog.c:442 msgid "Mail program" msgstr "Leitor de correio" #: src/gui_settingsdialog.c:449 msgid "Sound playing" msgstr "Reproductor de som" #: src/gui_settingsdialog.c:457 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "Navegador web a executar ao fazer click sobre uma url (%s = url)" #: src/gui_settingsdialog.c:459 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "" "Leitor de correio a executar ao fazer click sobre uma direcção (%s = mail " "url)" #: src/gui_settingsdialog.c:461 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Programa utilizado para reproduzir sons (%s = ficheiro de som)" #: src/gui_settingsdialog.c:485 msgid "Echo sent text to the screen" msgstr "Eco no ecran do texto enviado" #: src/gui_settingsdialog.c:489 msgid "Send keepalive packets (read the manual)" msgstr "Enviar pacotes \"keepalive\" (ler no manual)" #: src/gui_settingsdialog.c:504 msgid "Columns" msgstr "Colunas" #: src/gui_settingsdialog.c:514 msgid "Columns to show on the screen" msgstr "Colunas a mostrar no ecran" #: src/gui_settingsdialog.c:587 msgid "Saving" msgstr "Guardando" #: src/gui_settingsdialog.c:603 msgid "Save DX spots" msgstr "Guardar spots DX" #: src/gui_settingsdialog.c:606 msgid "Save WCY/WWV" msgstr "Guardar WCY/WWV" #: src/gui_settingsdialog.c:612 msgid "Save \"To all\"" msgstr "Guardar \"To all\"" #: src/gui_settingsdialog.c:615 msgid "Save WX" msgstr "Guardar WX" #: src/gui_settingsdialog.c:655 #, fuzzy #| msgid "Font for DX messages" msgid "Font for DX spots window" msgstr "Fonte para mensagens DX" #: src/gui_settingsdialog.c:667 msgid "Select _DX Font" msgstr "Seleccionar Fonte _DX" #: src/gui_settingsdialog.c:670 #, fuzzy #| msgid "Font for DX messages" msgid "Font for message/chat window" msgstr "Fonte para mensagens DX" #: src/gui_settingsdialog.c:681 msgid "Select _Other Fonts" msgstr "Seleccionar _Outras Fontes" #: src/gui_settingsdialog.c:687 #, fuzzy #| msgid "Colors to use for highlighting" msgid "DX cluster messsage highlighting" msgstr "Cores a utilizar para destacar" #: src/gui_settingsdialog.c:698 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for DX Cluster highlighting" msgstr "Cores a utilizar para destacar" #: src/gui_settingsdialog.c:715 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:722 msgid "Sent text" msgstr "Texto enviado" #: src/gui_settingsdialog.c:745 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Chat window user highlighting" msgstr "Cores a utilizar para destacar" #: src/gui_settingsdialog.c:756 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for user selected highlighting" msgstr "Cores a utilizar para destacar" #: src/main.c:521 #, c-format msgid "Welcome to %s" msgstr "Benvindo ao %s" #: src/net.c:120 #, c-format msgid "Resolving %s..." msgstr "Resolvendo %s..." #: src/net.c:126 #, c-format msgid "Resolve failed: %s" msgstr "Falha na resolução: %s" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "Ligando com: %s" #: src/net.c:169 #, c-format msgid "Connected to %s" msgstr "Ligado a %s" #: src/net.c:299 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Ligação finalizada, se tentará ligar de novo em 10 segundos" #: src/net.c:305 msgid "Connection closed by remote host" msgstr "Ligação finalizada pelo servidor" #: src/net.c:320 msgid "Connection closed by remote host (0 bytes received)" msgstr "Ligção finalizada pelo servidor (0 bytes recebidos)" #: src/net.c:379 #, c-format msgid "Write failed: %s" msgstr "Falha de escrita: %s" #: src/net.c:389 msgid "Nothing to send, you are not connected" msgstr "Nada para enviar, não está ligado" #: src/preferences.c:77 #, c-format msgid "Creating ~/.%s directory." msgstr "Criando a directoria ~/.%s" #: src/preferences.c:79 #, c-format msgid "~/.%s is not a directory." msgstr "~/.%s não é uma directoria" #: src/text.c:1143 #, c-format msgid "%s: %s\n" msgstr "%s: %s\n" #: src/text.c:1154 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "Não é possivel ler o ficheiro cty.dat em %s\n" #: src/text.c:1160 #, c-format msgid "Loading %s\n" msgstr "A carregar %s\n" #: src/utils.c:136 src/utils.c:158 #, c-format msgid "Starting: %s" msgstr "Iniciando: %s" #~ msgid "Highlights" #~ msgstr "Ressaltados" #~ msgid "Font for other messages" #~ msgstr "Fonte para outras mensagens" #~ msgid "Colors for the chat window" #~ msgstr "Cores para a janela de chat" #~ msgid "Fork has failed: %s" #~ msgstr "Ha fallado el fork: %s" xdx-2.91/po/pl.gmo0000644000175000017500000001207314224026464010735 00000000000000JlePQYb1&AJZl ~31 'D Uc   % B2 &u  ,        - ; H P W g ({   D  ! 7- e s    +    " A a h p B  ) +<*UAB #$Hg#v$   ". Q\ l vS,C"f oy +(< \h#8 9-glL     H!  2#$7 1-:B=5)?I+, ;@&>6J FC%.D('E8<3"*/9G0A4%s: %s CallsignCallsign to be used for loginCannot read cty.dat in %s Close connection to %s ?ColorsColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnected to %sConnecting to: %sConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.Echo sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sExitExit FontsGeneralH_elpHamlibHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)Nothing to send, you are not connectedOutputProgram used to play sound (%s = sound file)ProgramsPromptRemarksResolve failed: %sResolving %s...Right click to editSave "To all"Save DX spotsSave WCY/WWVSave WXSavingSelect _DX FontSelect _Other FontsSend keepalive packets (read the manual)Sent textSoundSound playingSpotterStarting: %sTCP/IP DX-cluster and ON4KST chat client for amateur radio operatorsTimeWeb browserWeb browser to start after clicking on a url (%s = url)Welcome to %sWrite failed: %sYour callsign_Host_Program_Settings~/.%s is not a directory.Project-Id-Version: xdx 2.0 Report-Msgid-Bugs-To: n0nb@n0nb.us PO-Revision-Date: 2015-05-17 00:45+0100 Last-Translator: Bogusław Ciastek Language-Team: Language: pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: Poedit 1.7.4 %s: %s ZnakZnak używany podczas logowaniaNie można odczytać cty.dat w %s Zakończyć połączenie z %s ?KoloryKolumnyKolumny pokazywane na ekranieOddzielona przecinkami lista poleceń do wysłania po połączeniuPolecenie dla rigctlPolecenie jakie ma zostać użyte dla F%dPoleceniaPołączony z %sŁączenie z: %sPołączenie zakończonePołączenie zakończone przez zdalny hostPołączenie zakończone przez zdalny host (0 bajtów odebranych)Połączenie zakończone, ponowna próba połączenia za 10 sekundKrajTworzenie katalogu ~/.%s.Powtarzaj wysłany tekst na ekranieWłącz automatyczne logowanieAktywuj hamlibWłącz/wyłącz dźwięk [Ctrl+%d]Wprowadź wyróżniane słowoBłąd podczas wczytywania ikony: %sWyjście Wyjście CzcionkiOgólneP_omocHamlibSłońce świeci nad ŁodziąŁącznie z komunikatami [Ctrl+%d]InformacjaWczytywanie %s LogowanieMANUAL.plProgram pocztowyProgram pocztowy uruchamiany po kliknięciu adresu pocztowego (%s = adres pocztowy)Nic nie wysłano, nie jesteś połączony(a)Dane wyjścioweProgram używany do odtwarzania dźwięków (%s = plik dźwiękowy)ProgramyKomunikatUwagiTłumaczenie adresu nieudane: %sTłumaczenie adresu %s...Kliknij prawym aby edytowaćZapisz "To all" (wiadomości do wszystkich)Zapisz spoty DXZapisz WCY/WWV (informacje o propagacji)Zapisz WX (informacje pogodowe)ZapisywanieWybierz czcionkę dla _DXWybierz czcionkę dla _pozostałychWysyłaj pakiety podtrzymujące (przeczytaj podręcznik)Wysłany tekstDźwiękOdtwarzanie dźwiękuNasłuchującyUruchamianie: %sDX cluster TCP/IP i klient czat ON4KST dla radioamatorówCzasPrzeglądarka internetowaPrzeglądarka internetowa uruchamiana po kliknięciu adresu www (%s = adres)Witamy w %sNieudana próba zapisu: %sTwój znak_Host_Program_Ustawienia~/.%s nie jest katalogiem.xdx-2.91/po/en@quot.header0000644000175000017500000000226414224024346012401 00000000000000# All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # xdx-2.91/po/en@boldquot.po0000644000175000017500000003050314224026464012430 00000000000000# English translations for xdx package. # Copyright (C) 2022 Joop Stakenborg # This file is distributed under the same license as the xdx package. # Automatically generated, 2022. # # All this catalog "translates" are quotation characters. # The msgids must be ASCII and therefore cannot contain real quotation # characters, only substitutes like grave accent (0x60), apostrophe (0x27) # and double quote (0x22). These substitutes look strange; see # https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html # # This catalog translates grave accent (0x60) and apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019). # It also translates pairs of apostrophe (0x27) to # left single quotation mark (U+2018) and right single quotation mark (U+2019) # and pairs of quotation mark (0x22) to # left double quotation mark (U+201C) and right double quotation mark (U+201D). # # When output to an UTF-8 terminal, the quotation characters appear perfectly. # When output to an ISO-8859-1 terminal, the single quotation marks are # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to # grave/acute accent (by libiconv), and the double quotation marks are # transliterated to 0x22. # When output to an ASCII terminal, the single quotation marks are # transliterated to apostrophes, and the double quotation marks are # transliterated to 0x22. # # This catalog furthermore displays the text between the quotation marks in # bold face, assuming the VT100/XTerm escape sequences. # msgid "" msgstr "" "Project-Id-Version: xdx 2.91\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2022-04-08 07:40-0500\n" "PO-Revision-Date: 2022-04-08 07:40-0500\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en@boldquot\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/gui_aboutdialog.c:128 msgid "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" msgstr "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" #: src/gui.c:130 msgid "_Program" msgstr "_Program" #: src/gui.c:131 msgid "_Host" msgstr "_Host" #: src/gui.c:132 msgid "_Settings" msgstr "_Settings" #: src/gui.c:133 msgid "H_elp" msgstr "H_elp" #: src/gui.c:162 msgid "_Connection Log" msgstr "_Connection Log" #: src/gui.c:163 msgid "_Quit" msgstr "_Quit" #: src/gui.c:177 msgid "_Connect..." msgstr "_Connect..." #: src/gui.c:178 msgid "_Disconnect" msgstr "_Disconnect" #: src/gui.c:196 msgid "_Function keys bar" msgstr "_Function keys bar" #: src/gui.c:197 msgid "_Auto Reconnect" msgstr "_Auto Reconnect" #: src/gui.c:198 msgid "_Chat sidebar" msgstr "_Chat sidebar" #: src/gui.c:200 msgid "_Preferences..." msgstr "_Preferences..." #: src/gui.c:228 msgid "_Manual" msgstr "_Manual" #: src/gui.c:229 msgid "_About" msgstr "_About" #: src/gui.c:342 #, c-format msgid "Error loading icon: %s" msgstr "Error loading icon: %s" #: src/gui.c:444 src/gui_settingsdialog.c:526 msgid "Spotter" msgstr "Spotter" #: src/gui.c:468 src/gui_settingsdialog.c:538 msgid "Remarks" msgstr "Remarks" #: src/gui.c:476 src/gui_settingsdialog.c:541 msgid "Time" msgstr "Time" #: src/gui.c:484 src/gui_settingsdialog.c:544 msgid "Info" msgstr "Info" #: src/gui.c:492 src/gui_settingsdialog.c:547 msgid "Country" msgstr "Country" #: src/gui.c:541 msgid "Text highlighting" msgstr "Text highlighting" #: src/gui.c:552 src/gui_settingsdialog.c:773 msgid "Color 1" msgstr "Color 1" #: src/gui.c:555 src/gui.c:565 src/gui.c:575 src/gui.c:585 src/gui.c:595 #: src/gui.c:605 src/gui.c:615 src/gui.c:625 msgid "Active" msgstr "Active" #: src/gui.c:562 src/gui_settingsdialog.c:780 msgid "Color 2" msgstr "Color 2" #: src/gui.c:572 src/gui_settingsdialog.c:787 msgid "Color 3" msgstr "Color 3" #: src/gui.c:582 src/gui_settingsdialog.c:794 msgid "Color 4" msgstr "Color 4" #: src/gui.c:592 src/gui_settingsdialog.c:801 msgid "Color 5" msgstr "Color 5" #: src/gui.c:602 src/gui_settingsdialog.c:808 msgid "Color 6" msgstr "Color 6" #: src/gui.c:612 src/gui_settingsdialog.c:815 msgid "Color 7" msgstr "Color 7" #: src/gui.c:622 src/gui_settingsdialog.c:822 msgid "Color 8" msgstr "Color 8" #: src/gui.c:629 msgid "Sound" msgstr "Sound" #: src/gui.c:666 src/gui.c:667 src/gui.c:668 src/gui.c:669 src/gui.c:670 #: src/gui.c:671 src/gui.c:672 src/gui.c:673 msgid "Enter a word to highlight" msgstr "Enter a word to highlight" #: src/gui.c:675 src/gui.c:677 src/gui.c:679 src/gui.c:681 src/gui.c:683 #: src/gui.c:685 src/gui.c:687 src/gui.c:689 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Include prompt [Ctrl+%d]" #: src/gui.c:691 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Enable/disable sound [Ctrl+%d]" #: src/gui.c:694 src/gui.c:695 src/gui.c:696 src/gui.c:697 src/gui.c:698 #: src/gui.c:699 src/gui.c:700 src/gui.c:701 msgid "Right click to edit" msgstr "Right click to edit" #: src/gui.c:1369 msgid "Xdx - Edit function key" msgstr "Xdx - Edit function key" #: src/gui.c:1372 src/gui_closedialog.c:76 msgid "Cancel" msgstr "Cancel" #: src/gui.c:1374 src/gui_closedialog.c:78 msgid "OK" msgstr "OK" #: src/gui.c:1388 #, c-format msgid "Command to be used for F%d" msgstr "Command to be used for F%d" #: src/gui_closedialog.c:73 msgid "Xdx - Close connection" msgstr "Xdx - Close connection" #: src/gui_closedialog.c:93 #, c-format msgid "Close connection to %s ?" msgstr "Close connection to %s ?" #: src/gui_closedialog.c:103 msgid "Connection closed" msgstr "Connection closed" #: src/gui_exitdialog.c:71 msgid "Exit" msgstr "Exit" #: src/gui_exitdialog.c:74 msgid "No" msgstr "No" #: src/gui_exitdialog.c:76 msgid "Yes" msgstr "Yes" #: src/gui_exitdialog.c:90 msgid "Exit " msgstr "Exit " #: src/gui_manualdialog.c:72 msgid "Xdx - Manual" msgstr "Xdx - Manual" #: src/gui_manualdialog.c:75 src/gui_logdialog.c:84 msgid "Close" msgstr "Close" #. TRANSLATORS: #. * Do not translate MANUAL unless you provide a faq in your language, #. * e.g. the polish faq is called MANUAL.pl. #. #: src/gui_manualdialog.c:101 msgid "MANUAL" msgstr "MANUAL" #: src/gui_opendialog.c:81 msgid "Xdx - Open connection" msgstr "Xdx - Open connection" #: src/gui_opendialog.c:84 src/gui_settingsdialog.c:256 msgid "_Cancel" msgstr "_Cancel" #: src/gui_opendialog.c:86 src/gui_settingsdialog.c:258 msgid "_OK" msgstr "_OK" #: src/gui_opendialog.c:105 msgid "Hostname" msgstr "Hostname" #: src/gui_opendialog.c:121 msgid "Port" msgstr "Port" #: src/gui_logdialog.c:79 msgid "Xdx - Connection log" msgstr "Xdx - Connection log" #: src/gui_logdialog.c:82 msgid "Clear" msgstr "Clear" #: src/gui_settingsdialog.c:132 msgid "Xdx - Select a font" msgstr "Xdx - Select a font" #: src/gui_settingsdialog.c:155 msgid "How about this font?" msgstr "How about this font?" #: src/gui_settingsdialog.c:253 msgid "Xdx - Preferences" msgstr "Xdx - Preferences" #: src/gui_settingsdialog.c:279 src/gui_settingsdialog.c:475 msgid "General" msgstr "General" #: src/gui_settingsdialog.c:284 msgid "Output" msgstr "Output" #: src/gui_settingsdialog.c:289 src/gui_settingsdialog.c:641 msgid "Fonts" msgstr "Fonts" #: src/gui_settingsdialog.c:294 msgid "Colors" msgstr "Colors" #: src/gui_settingsdialog.c:303 msgid "Callsign" msgstr "Callsign" #: src/gui_settingsdialog.c:312 msgid "Your callsign" msgstr "Your callsign" #: src/gui_settingsdialog.c:320 msgid "Callsign to be used for login" msgstr "Callsign to be used for login" #: src/gui_settingsdialog.c:327 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:337 msgid "Enable autologin" msgstr "Enable autologin" #: src/gui_settingsdialog.c:346 msgid "Commands" msgstr "Commands" #: src/gui_settingsdialog.c:354 msgid "Comma separated list of commands to send at login" msgstr "Comma separated list of commands to send at login" #: src/gui_settingsdialog.c:373 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:383 msgid "Enable hamlib" msgstr "Enable hamlib" #: src/gui_settingsdialog.c:392 msgid "Command for rigctl" msgstr "Command for rigctl" #: src/gui_settingsdialog.c:400 #, c-format msgid "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" msgstr "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" #: src/gui_settingsdialog.c:420 msgid "Programs" msgstr "Programs" #: src/gui_settingsdialog.c:434 msgid "Web browser" msgstr "Web browser" #: src/gui_settingsdialog.c:442 msgid "Mail program" msgstr "Mail program" #: src/gui_settingsdialog.c:449 msgid "Sound playing" msgstr "Sound playing" #: src/gui_settingsdialog.c:457 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "Web browser to start after clicking on a url (%s = url)" #: src/gui_settingsdialog.c:459 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "Mail program to start after clicking on a mail url (%s = mail url)" #: src/gui_settingsdialog.c:461 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Program used to play sound (%s = sound file)" #: src/gui_settingsdialog.c:485 msgid "Echo sent text to the screen" msgstr "Echo sent text to the screen" #: src/gui_settingsdialog.c:489 msgid "Send keepalive packets (read the manual)" msgstr "Send keepalive packets (read the manual)" #: src/gui_settingsdialog.c:504 msgid "Columns" msgstr "Columns" #: src/gui_settingsdialog.c:514 msgid "Columns to show on the screen" msgstr "Columns to show on the screen" #: src/gui_settingsdialog.c:587 msgid "Saving" msgstr "Saving" #: src/gui_settingsdialog.c:603 msgid "Save DX spots" msgstr "Save DX spots" #: src/gui_settingsdialog.c:606 msgid "Save WCY/WWV" msgstr "Save WCY/WWV" #: src/gui_settingsdialog.c:612 msgid "Save \"To all\"" msgstr "Save “To all”" #: src/gui_settingsdialog.c:615 msgid "Save WX" msgstr "Save WX" #: src/gui_settingsdialog.c:655 msgid "Font for DX spots window" msgstr "Font for DX spots window" #: src/gui_settingsdialog.c:667 msgid "Select _DX Font" msgstr "Select _DX Font" #: src/gui_settingsdialog.c:670 msgid "Font for message/chat window" msgstr "Font for message/chat window" #: src/gui_settingsdialog.c:681 msgid "Select _Other Fonts" msgstr "Select _Other Fonts" #: src/gui_settingsdialog.c:687 msgid "DX cluster messsage highlighting" msgstr "DX cluster messsage highlighting" #: src/gui_settingsdialog.c:698 msgid "Colors for DX Cluster highlighting" msgstr "Colors for DX Cluster highlighting" #: src/gui_settingsdialog.c:715 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:722 msgid "Sent text" msgstr "Sent text" #: src/gui_settingsdialog.c:745 msgid "Chat window user highlighting" msgstr "Chat window user highlighting" #: src/gui_settingsdialog.c:756 msgid "Colors for user selected highlighting" msgstr "Colors for user selected highlighting" #: src/main.c:521 #, c-format msgid "Welcome to %s" msgstr "Welcome to %s" #: src/net.c:120 #, c-format msgid "Resolving %s..." msgstr "Resolving %s..." #: src/net.c:126 #, c-format msgid "Resolve failed: %s" msgstr "Resolve failed: %s" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "Connecting to: %s" #: src/net.c:169 #, c-format msgid "Connected to %s" msgstr "Connected to %s" #: src/net.c:299 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Connection closed, trying reconnect in 10 seconds" #: src/net.c:305 msgid "Connection closed by remote host" msgstr "Connection closed by remote host" #: src/net.c:320 msgid "Connection closed by remote host (0 bytes received)" msgstr "Connection closed by remote host (0 bytes received)" #: src/net.c:379 #, c-format msgid "Write failed: %s" msgstr "Write failed: %s" #: src/net.c:389 msgid "Nothing to send, you are not connected" msgstr "Nothing to send, you are not connected" #: src/preferences.c:77 #, c-format msgid "Creating ~/.%s directory." msgstr "Creating ~/.%s directory." #: src/preferences.c:79 #, c-format msgid "~/.%s is not a directory." msgstr "~/.%s is not a directory." #: src/text.c:1143 #, c-format msgid "%s: %s\n" msgstr "%s: %s\n" #: src/text.c:1154 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "Cannot read cty.dat in %s\n" #: src/text.c:1160 #, c-format msgid "Loading %s\n" msgstr "Loading %s\n" #: src/utils.c:136 src/utils.c:158 #, c-format msgid "Starting: %s" msgstr "Starting: %s" xdx-2.91/po/fr.gmo0000644000175000017500000001101014224026464010717 00000000000000A$Y,10CL\n 31!> O]| B&X,     & 6 (J s }   7    " + 5 PO *    ! E( n    % 9 8( a 2  & $+3_ gqw"~   _+V?  # *E^r 8  /5EI  %3  9>0!*-=?+')1#A6;&@$ < 4 :("7,582/.CallsignCallsign to be used for loginClose connection to %s ?ColorsColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommandsConnected to %sConnecting to: %sConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCreating ~/.%s directory.Echo sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFontsGeneralH_elpHamlibHow about this font?Include prompt [Ctrl+%d]InfoLoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)Nothing to send, you are not connectedOutputProgram used to play sound (%s = sound file)ProgramsPromptRemarksResolve failed: %sResolving %s...Save "To all"Save DX spotsSave WCY/WWVSave WXSavingSelect _DX FontSelect _Other FontsSend keepalive packets (read the manual)Sent textSoundSound playingSpotterStarting: %sTimeWeb browserWeb browser to start after clicking on a url (%s = url)Welcome to %sWrite failed: %sYour callsign_Host_Program_Settings~/.%s is not a directory.Project-Id-Version: xdx 2.0 Report-Msgid-Bugs-To: n0nb@n0nb.us PO-Revision-Date: 2006-04-27 10:59+0200 Last-Translator: Jean-Luc Coulon (f5ibh) Language-Team: French Language: fr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IndicatifIndicatif à utiliser lors de la connexionFermer la connexion vers %s ?CouleursColonnesColonnes à afficher sur l'écranListe de commandes séparées par une virgule à lancer lors du loginCommande pour rigctlCommandesConnecté à %sConnexion à %s en coursConnexion ferméeConnexion fermée par l'hôte distantConnexion fermée par l'hôte distant (aucun octet reçu)Connexion fermée, essai de reconnexion dans 10 secondesCréation du répertoire ~/.%s.Envoyer le texte émis à l'écran (« écho »)Activer la connexion automatiqueActiver la hamlibActiver/désactiver les sons [Ctrl+%d]Entrer un mot à mettre en évidenceErreur lors du chargement de l'icône : %sPolicesGénéral_AideHamlibQue pensez-vous de cette police ?Inclure l'invite [Ctrl+%d]InfoConnexionMANUAL.frProgramme de gestion du courrielProgramme de courriel à lancer après avoir cliqué une url de courrier (%s = url de courriel)Rien à envoyer, vous n'êtes pas connectéSortieProgramme à utiliser pour jouer les sons (%s = fichier sonore)ProgrammesInviteCommentairesErreur lors de la résolution : %sRésolution de %s en cours...Sauvegarder « To all »Sauvegarder les spots DXSauvegarder WCY/WWVSauvegarder WXEnregistrementPolice du _DXAutres policesEnvoyer des paquets de maintien de lien (lire le manuel)Texte envoyéSonsReproduction du sonSpotterDémarrage en cours : %sHeureNavigateur internetNavigateur internet à lancer après avoir cliqué une url (%s = url)Bienvenue sur %sErreur d'écriture : %sVotre indicatif_Hôte_ProgrammePara_mètres~/.%s n'est pas un répertoire.xdx-2.91/po/insert-header.sin0000644000175000017500000000161214224024346013055 00000000000000# Sed script that inserts the file called HEADER before the header entry. # # Copyright (C) 2001 Free Software Foundation, Inc. # Written by Bruno Haible , 2001. # This file is free software; the Free Software Foundation gives # unlimited permission to use, copy, distribute, and modify it. # # At each occurrence of a line starting with "msgid ", we execute the following # commands. At the first occurrence, insert the file. At the following # occurrences, do nothing. The distinction between the first and the following # occurrences is achieved by looking at the hold space. /^msgid /{ x # Test if the hold space is empty. s/m/m/ ta # Yes it was empty. First occurrence. Read the file. r HEADER # Output the file's contents by reading the next line. But don't lose the # current line while doing this. g N bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } xdx-2.91/po/pt.gmo0000644000175000017500000001107214224026464010743 00000000000000FLa| 0Kdks1 341h 1HNV\cx  B&& ,- Z c j r       ( . 8 > L T a f 7r     0 ; C #N .r     J 0 D M Y i "~ 5 > 7Ui#z  )6EKRPd#> ) 0=V%g  * 0>B U bp u@   30? /,+$% C#6* D ')":47&(EB1 5-<;A 98=.!2F>@%s: %s CallsignCallsign to be used for loginCannot read cty.dat in %s Close connection to %s ?ColorsColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommandsConnected to %sConnecting to: %sConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.Echo sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sFontsGeneralH_elpHamlibHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)Nothing to send, you are not connectedOutputProgram used to play sound (%s = sound file)ProgramsPromptRemarksResolve failed: %sResolving %s...Right click to editSave "To all"Save DX spotsSave WCY/WWVSave WXSavingSelect _DX FontSelect _Other FontsSend keepalive packets (read the manual)Sent textSoundSound playingSpotterStarting: %sTimeWeb browserWeb browser to start after clicking on a url (%s = url)Welcome to %sWrite failed: %sYour callsign_Host_Program_Settings~/.%s is not a directory.Project-Id-Version: xdx 2.0 Report-Msgid-Bugs-To: n0nb@n0nb.us PO-Revision-Date: 2006-04-23 12:12+0100 Last-Translator: David Quental Language-Team: Português/Portugal Language: pt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %s: %s IndicativoIndicativo a utilizar no DX-ClusterNão é possivel ler o ficheiro cty.dat em %s Fechar a ligação com %s?CoresColunasColunas a mostrar no ecranLista de comandos a enviar ao entrar no DX-Cluster, separados por virgulasComando para rigctlComandosLigado a %sLigando com: %sLigação finalizadaLigação finalizada pelo servidorLigção finalizada pelo servidor (0 bytes recebidos)Ligação finalizada, se tentará ligar de novo em 10 segundosPaísCriando a directoria ~/.%sEco no ecran do texto enviadoHabilitar autologinHabilitar hamlibHabilitar/desabilitar som [Ctrl+%d]Introduça a palavra a ressaltarErro a carregar o icon: %sFontesGeral_AjudaHamlibQue lhe parece esta fonte?Incluir prompt [Ctrl+%d]InformaçãoA carregar %s LoginMANUALLeitor de correioLeitor de correio a executar ao fazer click sobre uma direcção (%s = mail url)Nada para enviar, não está ligadoSaídaPrograma utilizado para reproduzir sons (%s = ficheiro de som)ProgramasPromptComentáriosFalha na resolução: %sResolvendo %s...Carregue na tecla direita para editarGuardar "To all"Guardar spots DXGuardar WCY/WWVGuardar WXGuardandoSeleccionar Fonte _DXSeleccionar _Outras FontesEnviar pacotes "keepalive" (ler no manual)Texto enviadoSomReproductor de somQuem colocouIniciando: %sHoraNavegador WebNavegador web a executar ao fazer click sobre uma url (%s = url)Benvindo ao %sFalha de escrita: %sO seu indicativo_Servidor_Programa_Configuração~/.%s não é uma directoriaxdx-2.91/po/POTFILES.in0000644000175000017500000000050112646316272011371 00000000000000# List of source files containing translable strings. src/gui_aboutdialog.c src/gui.c src/gui_closedialog.c src/gui_exitdialog.c src/gui_manualdialog.c src/gui_opendialog.c src/gui_logdialog.c src/gui_settingsdialog.c src/history.c src/hyperlink.c src/main.c src/net.c src/preferences.c src/save.c src/text.c src/utils.c xdx-2.91/po/en@boldquot.gmo0000644000175000017500000001575214224026464012605 00000000000000v|     ' . I g m s          " %  $ 1B t      3 14 f n      5 : @ Y v |         B 6&9`cj,o   #3(G pz  D 7  CQ /<Rdx |    #-@G #+3;CKS[c"j%1 9BRd v31 @] n| !(1F_ dpv }B&,3<CK^n  (  #1 9DF 7 }  -4D L Zf v [YQ$lGiTtZh56>gO\3.jS';UWCv:IEr#P1`- )(od,q?XBbeA" !&u 42+K%=D90<F8*LHsack@ mV]_pMfJR/N^n7%s: %s ActiveCallsignCallsign to be used for loginCancelCannot read cty.dat in %s Chat window user highlightingClearCloseClose connection to %s ?Color 1Color 2Color 3Color 4Color 5Color 6Color 7Color 8ColorsColors for DX Cluster highlightingColors for user selected highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnected to %sConnecting to: %sConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DX cluster messsage highlightingEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sExitExit Font for DX spots windowFont for message/chat windowFontsGeneralH_elpHamlibHostnameHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)NoNothing to send, you are not connectedOKOutputPortProgram used to play sound (%s = sound file)ProgramsPromptRemarksResolve failed: %sResolving %s...Right click to editSave "To all"Save DX spotsSave WCY/WWVSave WXSavingSelect _DX FontSelect _Other FontsSend keepalive packets (read the manual)Sent textSoundSound playingSpotterStarting: %sTCP/IP DX-cluster and ON4KST chat client for amateur radio operatorsText highlightingTimeWeb browserWeb browser to start after clicking on a url (%s = url)Welcome to %sWhen double clicking on a dx-spot this will set the frequency of your radio using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sXdx - Close connectionXdx - Connection logXdx - Edit function keyXdx - ManualXdx - Open connectionXdx - PreferencesXdx - Select a fontYesYour callsign_About_Auto Reconnect_Cancel_Chat sidebar_Connect..._Connection Log_Disconnect_Function keys bar_Host_Manual_OK_Preferences..._Program_Quit_Settings~/.%s is not a directory.Project-Id-Version: xdx 2.91 Report-Msgid-Bugs-To: n0nb@n0nb.us PO-Revision-Date: 2022-04-08 07:40-0500 Last-Translator: Automatically generated Language-Team: none Language: en@boldquot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); %s: %s ActiveCallsignCallsign to be used for loginCancelCannot read cty.dat in %s Chat window user highlightingClearCloseClose connection to %s ?Color 1Color 2Color 3Color 4Color 5Color 6Color 7Color 8ColorsColors for DX Cluster highlightingColors for user selected highlightingColumnsColumns to show on the screenComma separated list of commands to send at loginCommand for rigctlCommand to be used for F%dCommandsConnected to %sConnecting to: %sConnection closedConnection closed by remote hostConnection closed by remote host (0 bytes received)Connection closed, trying reconnect in 10 secondsCountryCreating ~/.%s directory.DX cluster messsage highlightingEcho sent text to the screenEnable autologinEnable hamlibEnable/disable sound [Ctrl+%d]Enter a word to highlightError loading icon: %sExitExit Font for DX spots windowFont for message/chat windowFontsGeneralH_elpHamlibHostnameHow about this font?Include prompt [Ctrl+%d]InfoLoading %s LoginMANUALMail programMail program to start after clicking on a mail url (%s = mail url)NoNothing to send, you are not connectedOKOutputPortProgram used to play sound (%s = sound file)ProgramsPromptRemarksResolve failed: %sResolving %s...Right click to editSave “To all”Save DX spotsSave WCY/WWVSave WXSavingSelect _DX FontSelect _Other FontsSend keepalive packets (read the manual)Sent textSoundSound playingSpotterStarting: %sTCP/IP DX-cluster and ON4KST chat client for amateur radio operatorsText highlightingTimeWeb browserWeb browser to start after clicking on a url (%s = url)Welcome to %sWhen double clicking on a dx-spot this will set the frequency of your radio using rigctl (%d = the frequency retrieved from the DX spot)Write failed: %sXdx - Close connectionXdx - Connection logXdx - Edit function keyXdx - ManualXdx - Open connectionXdx - PreferencesXdx - Select a fontYesYour callsign_About_Auto Reconnect_Cancel_Chat sidebar_Connect..._Connection Log_Disconnect_Function keys bar_Host_Manual_OK_Preferences..._Program_Quit_Settings~/.%s is not a directory.xdx-2.91/po/es.po0000644000175000017500000003167514224026464010576 00000000000000# xdx - GTK+ DX-cluster client for amateur radio # Copyright (C) 2002-2006 Joop Stakenborg # This file is distributed under the same license as the xdx package. # Baltasar Perez (ea8bvp) , 2006. # # msgid "" msgstr "" "Project-Id-Version: xdx 2.0\n" "Report-Msgid-Bugs-To: n0nb@n0nb.us\n" "POT-Creation-Date: 2022-04-08 07:40-0500\n" "PO-Revision-Date: 2015-01-25 01:16+0000\n" "Last-Translator: Baltasar Perez-Diaz \n" "Language-Team: Spanish/Spain \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: src/gui_aboutdialog.c:128 #, fuzzy msgid "TCP/IP DX-cluster and ON4KST chat client for amateur radio operators" msgstr "" "Cliente TCP/IP del DX-Cluster y cliente del chat ON4KST para radioaficionados" #: src/gui.c:130 msgid "_Program" msgstr "_Programa" #: src/gui.c:131 msgid "_Host" msgstr "_Servidor" #: src/gui.c:132 msgid "_Settings" msgstr "_Configuración" #: src/gui.c:133 msgid "H_elp" msgstr "_Ayuda" #: src/gui.c:162 #, fuzzy #| msgid "Connection Log" msgid "_Connection Log" msgstr "Registro de Conexión" #: src/gui.c:163 #, fuzzy #| msgid "Quit" msgid "_Quit" msgstr "Salir" #: src/gui.c:177 #, fuzzy #| msgid "Connect..." msgid "_Connect..." msgstr "Conectar..." #: src/gui.c:178 #, fuzzy #| msgid "Disconnect" msgid "_Disconnect" msgstr "Desconectar" #: src/gui.c:196 #, fuzzy #| msgid "Function keys bar" msgid "_Function keys bar" msgstr "Barra de teclas de función" #: src/gui.c:197 #, fuzzy #| msgid "Auto Reconnect" msgid "_Auto Reconnect" msgstr "Volver a conectar automáticamente" #: src/gui.c:198 #, fuzzy #| msgid "Chat sidebar" msgid "_Chat sidebar" msgstr "Barra lateral de chat" #: src/gui.c:200 #, fuzzy #| msgid "Preferences..." msgid "_Preferences..." msgstr "Preferencias..." #: src/gui.c:228 #, fuzzy #| msgid "Manual" msgid "_Manual" msgstr "Manual" #: src/gui.c:229 #, fuzzy #| msgid "About" msgid "_About" msgstr "Acerca de ..." #: src/gui.c:342 #, c-format msgid "Error loading icon: %s" msgstr "Error en la carga del icono: %s" #: src/gui.c:444 src/gui_settingsdialog.c:526 msgid "Spotter" msgstr "Spotter" #: src/gui.c:468 src/gui_settingsdialog.c:538 msgid "Remarks" msgstr "Comentarios" #: src/gui.c:476 src/gui_settingsdialog.c:541 msgid "Time" msgstr "Hora" #: src/gui.c:484 src/gui_settingsdialog.c:544 msgid "Info" msgstr "Información" #: src/gui.c:492 src/gui_settingsdialog.c:547 msgid "Country" msgstr "Entidad" #: src/gui.c:541 #, fuzzy #| msgid "Highlighting" msgid "Text highlighting" msgstr "Para destacar" #: src/gui.c:552 src/gui_settingsdialog.c:773 #, fuzzy #| msgid "Color %d" msgid "Color 1" msgstr "Color %d" #: src/gui.c:555 src/gui.c:565 src/gui.c:575 src/gui.c:585 src/gui.c:595 #: src/gui.c:605 src/gui.c:615 src/gui.c:625 msgid "Active" msgstr "" #: src/gui.c:562 src/gui_settingsdialog.c:780 #, fuzzy #| msgid "Color %d" msgid "Color 2" msgstr "Color %d" #: src/gui.c:572 src/gui_settingsdialog.c:787 #, fuzzy #| msgid "Color %d" msgid "Color 3" msgstr "Color %d" #: src/gui.c:582 src/gui_settingsdialog.c:794 #, fuzzy #| msgid "Color %d" msgid "Color 4" msgstr "Color %d" #: src/gui.c:592 src/gui_settingsdialog.c:801 #, fuzzy #| msgid "Color %d" msgid "Color 5" msgstr "Color %d" #: src/gui.c:602 src/gui_settingsdialog.c:808 #, fuzzy #| msgid "Color %d" msgid "Color 6" msgstr "Color %d" #: src/gui.c:612 src/gui_settingsdialog.c:815 #, fuzzy #| msgid "Color %d" msgid "Color 7" msgstr "Color %d" #: src/gui.c:622 src/gui_settingsdialog.c:822 #, fuzzy #| msgid "Color %d" msgid "Color 8" msgstr "Color %d" #: src/gui.c:629 msgid "Sound" msgstr "Sonido" #: src/gui.c:666 src/gui.c:667 src/gui.c:668 src/gui.c:669 src/gui.c:670 #: src/gui.c:671 src/gui.c:672 src/gui.c:673 msgid "Enter a word to highlight" msgstr "Introduzca la palabra a resaltar" #: src/gui.c:675 src/gui.c:677 src/gui.c:679 src/gui.c:681 src/gui.c:683 #: src/gui.c:685 src/gui.c:687 src/gui.c:689 #, c-format msgid "Include prompt [Ctrl+%d]" msgstr "Incluir prompt [Ctrl+%d]" #: src/gui.c:691 #, c-format msgid "Enable/disable sound [Ctrl+%d]" msgstr "Habilitar/deshabilitar sonido [Ctrl+%d]" #: src/gui.c:694 src/gui.c:695 src/gui.c:696 src/gui.c:697 src/gui.c:698 #: src/gui.c:699 src/gui.c:700 src/gui.c:701 msgid "Right click to edit" msgstr "Pulse el botón derecho para editar" #: src/gui.c:1369 #, fuzzy msgid "Xdx - Edit function key" msgstr "xdx - editar tecla de función" #: src/gui.c:1372 src/gui_closedialog.c:76 msgid "Cancel" msgstr "" #: src/gui.c:1374 src/gui_closedialog.c:78 msgid "OK" msgstr "" #: src/gui.c:1388 #, fuzzy, c-format msgid "Command to be used for F%d" msgstr "Comando a ejecutar para F%d" #: src/gui_closedialog.c:73 #, fuzzy #| msgid "xdx - close connection" msgid "Xdx - Close connection" msgstr "xdx - cerrar conexión" #: src/gui_closedialog.c:93 #, c-format msgid "Close connection to %s ?" msgstr "¿Cerrar la conexión con %s?" #: src/gui_closedialog.c:103 msgid "Connection closed" msgstr "Conexión finalizada" #: src/gui_exitdialog.c:71 msgid "Exit" msgstr "Salir" #: src/gui_exitdialog.c:74 msgid "No" msgstr "" #: src/gui_exitdialog.c:76 msgid "Yes" msgstr "" #: src/gui_exitdialog.c:90 msgid "Exit " msgstr "Salir" #: src/gui_manualdialog.c:72 #, fuzzy #| msgid "xdx - manual" msgid "Xdx - Manual" msgstr "xdx - manual" #: src/gui_manualdialog.c:75 src/gui_logdialog.c:84 msgid "Close" msgstr "" #. TRANSLATORS: #. * Do not translate MANUAL unless you provide a faq in your language, #. * e.g. the polish faq is called MANUAL.pl. #. #: src/gui_manualdialog.c:101 msgid "MANUAL" msgstr "MANUAL.es" #: src/gui_opendialog.c:81 #, fuzzy #| msgid "xdx - open connection" msgid "Xdx - Open connection" msgstr "xdx - abrir conexión" #: src/gui_opendialog.c:84 src/gui_settingsdialog.c:256 msgid "_Cancel" msgstr "" #: src/gui_opendialog.c:86 src/gui_settingsdialog.c:258 msgid "_OK" msgstr "" #: src/gui_opendialog.c:105 #, fuzzy #| msgid "_Hostname" msgid "Hostname" msgstr "_Servidor" #: src/gui_opendialog.c:121 #, fuzzy #| msgid "_Port" msgid "Port" msgstr "_Puerto" #: src/gui_logdialog.c:79 #, fuzzy #| msgid "xdx - connection log" msgid "Xdx - Connection log" msgstr "xdx - registro de conexión" #: src/gui_logdialog.c:82 msgid "Clear" msgstr "" #: src/gui_settingsdialog.c:132 #, fuzzy #| msgid "xdx - Select a font" msgid "Xdx - Select a font" msgstr "xdx - Seleccionar una fuente" #: src/gui_settingsdialog.c:155 msgid "How about this font?" msgstr "¿Que le parece esta fuente?" #: src/gui_settingsdialog.c:253 #, fuzzy #| msgid "xdx - preferences" msgid "Xdx - Preferences" msgstr "xdx - preferencias" #: src/gui_settingsdialog.c:279 src/gui_settingsdialog.c:475 msgid "General" msgstr "General" #: src/gui_settingsdialog.c:284 msgid "Output" msgstr "Salida" #: src/gui_settingsdialog.c:289 src/gui_settingsdialog.c:641 msgid "Fonts" msgstr "Fuentes" #: src/gui_settingsdialog.c:294 msgid "Colors" msgstr "Colores" #: src/gui_settingsdialog.c:303 msgid "Callsign" msgstr "Indicativo" #: src/gui_settingsdialog.c:312 msgid "Your callsign" msgstr "Su indicativo" #: src/gui_settingsdialog.c:320 msgid "Callsign to be used for login" msgstr "Indicativo a utilizar en el DX-Cluster" #: src/gui_settingsdialog.c:327 msgid "Login" msgstr "Login" #: src/gui_settingsdialog.c:337 msgid "Enable autologin" msgstr "Habilitar autologin" #: src/gui_settingsdialog.c:346 msgid "Commands" msgstr "Comandos" #: src/gui_settingsdialog.c:354 msgid "Comma separated list of commands to send at login" msgstr "" "Lista de comandos a enviar al entrar al DX-Cluster, separados por comas" #: src/gui_settingsdialog.c:373 msgid "Hamlib" msgstr "Hamlib" #: src/gui_settingsdialog.c:383 msgid "Enable hamlib" msgstr "Habilitar hamlib" #: src/gui_settingsdialog.c:392 msgid "Command for rigctl" msgstr "Comando para rigctl" #: src/gui_settingsdialog.c:400 #, fuzzy, c-format #| msgid "" #| "When double clicking on a dx-spot this will set the frequency of your rig " #| "using rigctl (%d = the frequency retrieved from the DX spot)" msgid "" "When double clicking on a dx-spot this will set the frequency of your radio " "using rigctl (%d = the frequency retrieved from the DX spot)" msgstr "" "Cuando haga doble click sobre un spot DX, su equipo se ajustará a la " "frecuencia del spot utilizando rigctl (%d = frecuencia del spot DX)" #: src/gui_settingsdialog.c:420 msgid "Programs" msgstr "Programas" #: src/gui_settingsdialog.c:434 msgid "Web browser" msgstr "Navegador Web" #: src/gui_settingsdialog.c:442 msgid "Mail program" msgstr "Lector de correo" #: src/gui_settingsdialog.c:449 msgid "Sound playing" msgstr "Reproductor de sonido" #: src/gui_settingsdialog.c:457 #, c-format msgid "Web browser to start after clicking on a url (%s = url)" msgstr "Navegador web a ejecutar al hacer click sobre una url (%s = url)" #: src/gui_settingsdialog.c:459 #, c-format msgid "Mail program to start after clicking on a mail url (%s = mail url)" msgstr "" "Lector de correo a ejecutar al hacer click sobre una dirección (%s = mail " "url)" #: src/gui_settingsdialog.c:461 #, c-format msgid "Program used to play sound (%s = sound file)" msgstr "Programa utilizado para reproducir sonidos (%s = fichero de sonido)" #: src/gui_settingsdialog.c:485 msgid "Echo sent text to the screen" msgstr "Eco en la pantalla del texto enviado" #: src/gui_settingsdialog.c:489 msgid "Send keepalive packets (read the manual)" msgstr "Enviar paquetes \"keepalive\" (leer el manual)" #: src/gui_settingsdialog.c:504 msgid "Columns" msgstr "Columnas" #: src/gui_settingsdialog.c:514 msgid "Columns to show on the screen" msgstr "Columnas a mostrar en pantalla" #: src/gui_settingsdialog.c:587 msgid "Saving" msgstr "Guardando" #: src/gui_settingsdialog.c:603 msgid "Save DX spots" msgstr "Guardar spots DX" #: src/gui_settingsdialog.c:606 msgid "Save WCY/WWV" msgstr "Guardar WCY/WWV" #: src/gui_settingsdialog.c:612 msgid "Save \"To all\"" msgstr "Guardar \"To all\"" #: src/gui_settingsdialog.c:615 msgid "Save WX" msgstr "Guardar WX" #: src/gui_settingsdialog.c:655 #, fuzzy #| msgid "Font for DX messages" msgid "Font for DX spots window" msgstr "Fuente para mensajes DX" #: src/gui_settingsdialog.c:667 msgid "Select _DX Font" msgstr "Seleccionar Fuente _DX" #: src/gui_settingsdialog.c:670 #, fuzzy #| msgid "Font for DX messages" msgid "Font for message/chat window" msgstr "Fuente para mensajes DX" #: src/gui_settingsdialog.c:681 msgid "Select _Other Fonts" msgstr "Seleccionar _Otras Fuentes" #: src/gui_settingsdialog.c:687 #, fuzzy #| msgid "Colors to use for highlighting" msgid "DX cluster messsage highlighting" msgstr "Colores a utilizar para destacar" #: src/gui_settingsdialog.c:698 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for DX Cluster highlighting" msgstr "Colores a utilizar para destacar" #: src/gui_settingsdialog.c:715 msgid "Prompt" msgstr "Prompt" #: src/gui_settingsdialog.c:722 msgid "Sent text" msgstr "Texto enviado" #: src/gui_settingsdialog.c:745 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Chat window user highlighting" msgstr "Colores a utilizar para destacar" #: src/gui_settingsdialog.c:756 #, fuzzy #| msgid "Colors to use for highlighting" msgid "Colors for user selected highlighting" msgstr "Colores a utilizar para destacar" #: src/main.c:521 #, c-format msgid "Welcome to %s" msgstr "Bienvenido a %s" #: src/net.c:120 #, c-format msgid "Resolving %s..." msgstr "Resolviendo %s..." #: src/net.c:126 #, c-format msgid "Resolve failed: %s" msgstr "Fallo en la resolución: %s" #: src/net.c:131 #, c-format msgid "Connecting to: %s" msgstr "Conectando con: %s" #: src/net.c:169 #, c-format msgid "Connected to %s" msgstr "Conectado a %s" #: src/net.c:299 msgid "Connection closed, trying reconnect in 10 seconds" msgstr "Conexión finalizada, se intentará conectar de nuevo en 10 segundos" #: src/net.c:305 msgid "Connection closed by remote host" msgstr "Conexión finalizada por el servidor" #: src/net.c:320 msgid "Connection closed by remote host (0 bytes received)" msgstr "Conexión finalizada por el servidor (0 bytes recibidos)" #: src/net.c:379 #, c-format msgid "Write failed: %s" msgstr "Fallo de escritura: %s" #: src/net.c:389 msgid "Nothing to send, you are not connected" msgstr "Nada para enviar, no está conectado" #: src/preferences.c:77 #, c-format msgid "Creating ~/.%s directory." msgstr "Creando el directorio ~/.%s" #: src/preferences.c:79 #, c-format msgid "~/.%s is not a directory." msgstr "~/.%s no es un directorio" #: src/text.c:1143 #, c-format msgid "%s: %s\n" msgstr "%s: %s\n" #: src/text.c:1154 #, c-format msgid "Cannot read cty.dat in %s\n" msgstr "No se puede leer cty.dat en %s\n" #: src/text.c:1160 #, c-format msgid "Loading %s\n" msgstr "Cargando %s\n" #: src/utils.c:136 src/utils.c:158 #, c-format msgid "Starting: %s" msgstr "Iniciando: %s" #~ msgid "Highlights" #~ msgstr "Resaltados" #~ msgid "Font for other messages" #~ msgstr "Fuente para otros mensajes" #~ msgid "Colors for the chat window" #~ msgstr "Colores para la ventana de chat" #~ msgid "Fork has failed: %s" #~ msgstr "Ha fallado el fork: %s" xdx-2.91/COPYING0000644000175000017500000004325412646316272010245 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. xdx-2.91/MANUAL0000644000175000017500000002146713621127455010111 00000000000000xdx - tcp/ip DX-cluster and ON4KST chat client for Amateur Radio ================================================================ Xdx is a DX-cluster client which shows a list with DX announcements and a separate text widget with WWV, WCY, 'To ALL' and other server messages. It is also suited to connect to ON4KST chat. Quick keystroke reference ========================= Main menu: Alt-P Open Program menu Ctl-L View connection log Ctl-Q Exit Xdx with a close dialog Alt-H Open Host menu Ctl-O Connect to cluster server Ctl-C Disconnect from cluster server Alt-S Open Settings menu Ctl-K Toggle function keys window Ctl-R Toggle auto reconnect Ctl-S Toggle highlight window Ctl-P Open preferences dialog Alt-E Open Help menu Ctl-H View this manual Ctl-A About Xdx Function keys window: F1 - F8 Saved F1 to F8 commands Highlights window: Alt-1 - Alt-8 Switch between highlight entries Ctl-1 - Ctl-8 Activate highlights (toggles check boxes) General: Alt-0 Return focus to the command entry window What is a DX Cluster? ===================== A DX Cluster is a means for Amateur (Ham) Radio operators to tell each other, in realtime, about DX stations (interesting or rare Amateur Radio stations from all over the world). Users who are connected to a DX Cluster are capable of announcing DX spots and related announcements, send personal talk messages, send and receive mail messages, search and retrieve archived data, and access data from information databases. For a list of DX Clusters see: http://www.ng3k.com/Misc/cluster.html ON4KST chat is more suited for VHF and UHF operators. It is a place where hams meet for planning long distance radio contact, moonbounce and meteor scatter. For more info on ON4KST chat see http://www.on4kst.com. Commands ======== Here are some basic DX-cluster commands to get started: announce/full 'msg': Send a line of text to all connected stations. bye: Exit the DX Cluster. dx 'frequency' 'callsign' 'comment': Send DX spot information. show/dx: View previously logged DX spots. ON4KST uses a DX-cluster command subset. It is best if you type '/help' after being connected. All of the commands need to start with '/'. DX-cluster Command examples =========================== 1) dx 28002.2 xz7a worked with 80m dipole!! 2) sh/dx on hf/cw 50 Callsign and autologin ====================== The callsign in the first page of the preferences dialog is used for recognizing the DX-cluster prompt (so xdx can colorize it) and for autologin. When autologin is enabled, a number of commands can be sent to the cluster. You may enter them in the 'Commands' entry, separated by a comma, e.g. set/page 0,unset beep' will disable paging and stop beeps. You can also use commands when a password is needed. There is a 0.5 second delay between commands. Keepalive packets ================= If you have a bad network and experience random disconnects, you can try to enable keepalive in the settings dialog. This will send a backspace to the server every 5 minutes. Saving DX info ============== Individual messages can be saved to a file when activated from the preferences dialog. $HOME/.xdx/dxspots DX spots as displayed in the top list. $HOME/.xdx/wwv WCY/WWV announcements with propagation info. $HOME/.xdx/toall Chat messages as displayed in the bottom text widget. $HOME/.xdx/wx Weather information. When wwv data is saved, files with "tab separated values" will be saved for every WWV host. This is useful for creating graphs. The format of this file: YYYMMDDHH SFI A K R Where SFI is the 10.7 cm solar flux index, A and K both indicate geomagnetic activity and R refers to sunspot numbers. An example script is included in the xdx data directory which uses gnuplot to display data from DK0WCY. It is called with 'gnuplot wwv.gnuplot'. It writes a plot to $HOME/.xdx/DK0WCY.png. Hamlib support ============== When double clicking on a dxspot in the top window this will set your rig's frequency. You need the rigctl binary from the hamlib distribution for this. Please modify the ID for your rig in the rigctl command line in preferences dialog, e.g. 'rigctl -m 210 -r /dev/rig set_freq %d' will use ID 210 (Kenwood TS-870), see 'rigctl ---list' for a list of models. Web browsers and mail programs ============================== A URL in the chat window will appear blue and underlined when your mouse is over it. Clicking on it will open the link in your preferred browser or mail program (see the preferences dialog): Start the gnome web-browser when clicking a URL: 'epiphany %s'. Start mozilla-mail on clicking a mail URL: 'mozilla -compose "to=%s"'. By default the browser and email apps are not set in the preferences dialog. Leaving them blank will cause your preferred desktop apps to be run to handle these URIs. In some cases it may be necessary to check the desktop configuration for preferred applications. If that fails, it may be necessary to manually edit ~/.local/share/applications/mimeapps.list to force your preferences to be honored. This change is due to changes in GTK+ 2.24 which made the previous way of handling URIs obsolete. Highlights ========== The 'chat sidebar' allows entry of 8 different words, which can be highlighted in the chat window. When the checkbox is used xdx will search for a highlight in all of the incoming text. When not used, only the text after the prompt is searched. Colors for the highlights are configured in page 3 of the settings dialog. You can quickly turn checkboxes on/off with Ctrl-1 to Ctrl-8, you can switch between entries with Alt-1 to Alt-8. Alt-0 switches back to the send widget. Function keys ============= Selecting 'Ctl-k' toggles the function key window. Commands may be assigned to keys F1 through F8 by right-clicking on the mouse and entering the command into the pop-up dialog. Commands will only be sent when a connection to a cluster is active. Commands may be sent even when the function key window is hidden. Sound support ============= When a highlight is active in the chat window, a sound can be played. In order for the sound to work you must use a secondary program and set it in the first page of the preferences dialog: 'play %s' will use play, which is part of the sox package, 'esdplay %s' uses esdplay which is useful when using gnome and esound. 'aplay %s' uses aplay which is from the ALSA utilities. Smileys ======= There is support for a limited number of smileys in the chat window: :) :-) :)) :-)) ;) ;-) :( :-( :(( :-(( Country file support ==================== Included with the Xdx distribution is cty.dat that provides information for determining the country of origin of the spotted callsign. The country file is maintained by Jim Reisert, AD1C and the latest version can be downloaded from: http://www.country-files.com/cty/cty.dat The specification for the country file is: http://www.country-files.com/cty/backup/format.htm Updates to the country file are released before major DX contests. This file will be updated more often than Xdx so the version included in the source archive will become out of date in a short period of time. Rather than release new versions of Xdx just to update cty.dat, support has been added to load the file from your home directory. This can be done in one of two ways. 1. Place the updated cty.dat into the Xdx preferences directory which is $HOME/.xdx on POSIX platforms. 2. If cty.dat is kept in another directory for use with a logging program, set the XDX_CTY environment variable to the path of cty.dat, e.g. $HOME/log/cty.dat or use the '-c' or '--cty_dat' option on the xdx command line to set the path. The command line option overrides the setting of the environment variable. When the environment variable or the command line option is set the cty.dat in the preferences directory will not be loaded unless the path does not end in "cty.dat" or cty.dat is not a regular file, i.e. is a directory. In such cases the preferences directory will be checked. The system installed version of cty.dat will be loaded as a fallback should the simple tests fail and the preferences directory does not contain cty.dat. There is currently no test of whether the given cty.dat conforms to the specification. If, for whatever reason, country determination is not desired, creating a 0 byte file named cty.dat and using one of the above means to have Xdx load it will disable country processing. License and support =================== Xdx is free and published under the GNU GPL license. It is written by Joop Stakenborg . Nate Bargmann (current maintainer) Please send a report if you find bugs or if you want enhancements. xdx-2.91/include/0000755000175000017500000000000014224026464010700 500000000000000xdx-2.91/include/config.h.in0000644000175000017500000001234014224024367012643 00000000000000/* include/config.h.in. Generated from configure.ac by autoheader. */ /* */ #undef ENABLE_NLS /* Define to 1 if you have the `alarm' function. */ #undef HAVE_ALARM /* Define to 1 if you have the header file. */ #undef HAVE_ARPA_INET_H /* Define to 1 if you have the `bzero' function. */ #undef HAVE_BZERO /* */ #undef HAVE_CATGETS /* Define to 1 if you have the Mac OS X function CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework. */ #undef HAVE_CFPREFERENCESCOPYAPPVALUE /* Define if the GNU dcgettext() function is already present or preinstalled. */ #undef HAVE_DCGETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H /* Define to 1 if you have the `fork' function. */ #undef HAVE_FORK /* Define to 1 if you have the `gethostbyname' function. */ #undef HAVE_GETHOSTBYNAME /* */ #undef HAVE_GETTEXT /* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV /* Define to 1 if you have the `inet_ntoa' function. */ #undef HAVE_INET_NTOA /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LIBINTL_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if you have the `mkdir' function. */ #undef HAVE_MKDIR /* Define to 1 if you have the header file. */ #undef HAVE_NETDB_H /* Define to 1 if you have the header file. */ #undef HAVE_NETINET_IN_H /* Define to 1 if you have the `putenv' function. */ #undef HAVE_PUTENV /* Define to 1 if you have the `setlocale' function. */ #undef HAVE_SETLOCALE /* Define to 1 if you have the `socket' function. */ #undef HAVE_SOCKET /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ #undef HAVE_STAT_EMPTY_STRING_BUG /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* */ #undef HAVE_STPCPY /* Define to 1 if you have the `strerror' function. */ #undef HAVE_STRERROR /* Define to 1 if you have the `strftime' function. */ #undef HAVE_STRFTIME /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have that is POSIX.1 compatible. */ #undef HAVE_SYS_WAIT_H /* Define to 1 if you have the `tzset' function. */ #undef HAVE_TZSET /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the `vfork' function. */ #undef HAVE_VFORK /* Define to 1 if you have the header file. */ #undef HAVE_VFORK_H /* Define to 1 if `fork' works. */ #undef HAVE_WORKING_FORK /* Define to 1 if `vfork' works. */ #undef HAVE_WORKING_VFORK /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ #undef LSTAT_FOLLOWS_SLASHED_SYMLINK /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define as the return type of signal handlers (`int' or `void'). */ #undef RETSIGTYPE /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if your declares `struct tm'. */ #undef TM_IN_SYS_TIME /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif /* Version number of package */ #undef VERSION /* Define to 1 if on MINIX. */ #undef _MINIX /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ #undef _POSIX_1_SOURCE /* Define to 1 if you need to in order for `stat' and other things to work. */ #undef _POSIX_SOURCE /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `int' if does not define. */ #undef pid_t /* Define as `fork' if `vfork' does not work. */ #undef vfork xdx-2.91/Makefile.am0000644000175000017500000000121114205540034011215 00000000000000## Process this file with automake to produce Makefile.in SHARE_FILES = MANUAL MANUAL.es MANUAL.fr MANUAL.nl MANUAL.pl cty.dat GNUPLOT_FILES = gnuplot/wwv.gnuplot PIXMAP_FILES = pixmaps/bigsmile.png pixmaps/cry.png pixmaps/sad.png \ pixmaps/smile.png pixmaps/wink.png pixmaps/xdx-logo.png \ pixmaps/xdx.png pixmaps/xdx.xpm SOUND_FILES = sounds/attention.wav EXTRA_DIST = \ xdx.1.in \ Xdx.desktop.in SUBDIRS = m4 po src desktopdir = $(datadir)/applications desktop_DATA = Xdx.desktop man_MANS = xdx.1 dist_pkgdata_DATA = $(SHARE_FILES) nobase_dist_pkgdata_DATA = $(PIXMAP_FILES) $(SOUND_FILES) $(GNUPLOT_FILES) ACLOCAL_AMFLAGS = -I m4 xdx-2.91/Makefile.in0000644000175000017500000010163614224024370011243 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_append_flag.m4 \ $(top_srcdir)/m4/ax_cflags_warn_all.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/host-cpu-c-abi.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(dist_pkgdata_DATA) \ $(nobase_dist_pkgdata_DATA) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/config.h CONFIG_CLEAN_FILES = xdx.1 Xdx.desktop CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(desktopdir)" \ "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(pkgdatadir)" NROFF = nroff MANS = $(man_MANS) DATA = $(desktop_DATA) $(dist_pkgdata_DATA) \ $(nobase_dist_pkgdata_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir distdir-am dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Xdx.desktop.in \ $(srcdir)/xdx.1.in $(top_srcdir)/build-aux/compile \ $(top_srcdir)/build-aux/config.guess \ $(top_srcdir)/build-aux/config.rpath \ $(top_srcdir)/build-aux/config.sub \ $(top_srcdir)/build-aux/install-sh \ $(top_srcdir)/build-aux/missing \ $(top_srcdir)/include/config.h.in ABOUT-NLS AUTHORS COPYING \ ChangeLog INSTALL NEWS README TODO build-aux/compile \ build-aux/config.guess build-aux/config.rpath \ build-aux/config.sub build-aux/install-sh build-aux/missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip # Exists only to be overridden by the user if desired. AM_DISTCHECK_DVI_TARGET = dvi distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_CFLAGS = @AM_CFLAGS@ AM_CPPFLAGS = @AM_CPPFLAGS@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SHARE_FILES = MANUAL MANUAL.es MANUAL.fr MANUAL.nl MANUAL.pl cty.dat GNUPLOT_FILES = gnuplot/wwv.gnuplot PIXMAP_FILES = pixmaps/bigsmile.png pixmaps/cry.png pixmaps/sad.png \ pixmaps/smile.png pixmaps/wink.png pixmaps/xdx-logo.png \ pixmaps/xdx.png pixmaps/xdx.xpm SOUND_FILES = sounds/attention.wav EXTRA_DIST = \ xdx.1.in \ Xdx.desktop.in SUBDIRS = m4 po src desktopdir = $(datadir)/applications desktop_DATA = Xdx.desktop man_MANS = xdx.1 dist_pkgdata_DATA = $(SHARE_FILES) nobase_dist_pkgdata_DATA = $(PIXMAP_FILES) $(SOUND_FILES) $(GNUPLOT_FILES) ACLOCAL_AMFLAGS = -I m4 all: all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): include/config.h: include/stamp-h1 @test -f $@ || rm -f include/stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) include/stamp-h1 include/stamp-h1: $(top_srcdir)/include/config.h.in $(top_builddir)/config.status @rm -f include/stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status include/config.h $(top_srcdir)/include/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f include/stamp-h1 touch $@ distclean-hdr: -rm -f include/config.h include/stamp-h1 xdx.1: $(top_builddir)/config.status $(srcdir)/xdx.1.in cd $(top_builddir) && $(SHELL) ./config.status $@ Xdx.desktop: $(top_builddir)/config.status $(srcdir)/Xdx.desktop.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) install-dist_pkgdataDATA: $(dist_pkgdata_DATA) @$(NORMAL_INSTALL) @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \ done uninstall-dist_pkgdataDATA: @$(NORMAL_UNINSTALL) @list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir) install-nobase_dist_pkgdataDATA: $(nobase_dist_pkgdata_DATA) @$(NORMAL_INSTALL) @list='$(nobase_dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \ fi; \ $(am__nobase_list) | while read dir files; do \ xfiles=; for file in $$files; do \ if test -f "$$file"; then xfiles="$$xfiles $$file"; \ else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \ test -z "$$xfiles" || { \ test "x$$dir" = x. || { \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)/$$dir'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)/$$dir"; }; \ echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(pkgdatadir)/$$dir'"; \ $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(pkgdatadir)/$$dir" || exit $$?; }; \ done uninstall-nobase_dist_pkgdataDATA: @$(NORMAL_UNINSTALL) @list='$(nobase_dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \ dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-zstd: distdir tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ *.tar.zst*) \ zstd -dc $(distdir).tar.zst | $(am__untar) ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(MANS) $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(pkgdatadir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-desktopDATA install-dist_pkgdataDATA \ install-man install-nobase_dist_pkgdataDATA install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-man1 install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-desktopDATA uninstall-dist_pkgdataDATA \ uninstall-man uninstall-nobase_dist_pkgdataDATA uninstall-man: uninstall-man1 .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ dist-zstd distcheck distclean distclean-generic distclean-hdr \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-desktopDATA \ install-dist_pkgdataDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-nobase_dist_pkgdataDATA install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am tags tags-am uninstall uninstall-am \ uninstall-desktopDATA uninstall-dist_pkgdataDATA uninstall-man \ uninstall-man1 uninstall-nobase_dist_pkgdataDATA .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xdx-2.91/MANUAL.es0000644000175000017500000002474612646316272010525 00000000000000xdx - Cliente TCP/IP del Cluster DX y cliente del chat ON4KST para radioaficionados =================================================================================== Xdx es un cliente para Cluster DX que muestra una lista con los anuncios DX por un lado, y en una ventana aparte los mensajes WWV, WCY, "To ALL" y otros mensajes del servidor. Se puede utilizar también para acceder al chat de ON4KST. Referencia de teclas rápidas ============================ Menú principal: Alt-P Abre el menú Programa Ctl-L Visualiza el registro de conexión Ctl-Q Salir de Xdx con una ventana de cierre Alt-H Abre el menú Servidor Ctl-O Conexión al servidor cluster Ctl-C Desconexión del servidor cluster Alt-S Abre el menú de Configuración Ctl-K Conmuta ventana de teclas de función Ctl-R Conmuta auto reconectar Ctl-S Conmuta ventana de resaltado Ctl-P Abre la ventana de preferencias Alt-E Abre el menú de ayuda Ctl-H Ver este manual Ctl-A Sobre Xdx Ventana de teclas de función: F1 - F8 Comandos F1 a F8 guardados Ventana de resaltado: Alt-1 - Alt-8 Cambia entre las entradas de resaltado Ctl-1 - Ctl-8 Activa resaltados (conmuta casillas) General: Alt-0 Devuelve el foco a la ventana de entrada de comandos ¿Qué es un Cluster DX? ====================== Un Cluster DX es un medio de comunicación entre radioficionados que se intercambian información, en tiempo real, de las estaciones DX (estaciones interesantes o raras de radioaficionados de todo el mundo) que hay en las bandas. Los usuarios que están conectados al Cluster DX son capaces de anunciar spots DX, enviarse mensajes personales, enviar y recibir mensajes de correo, buscar y recuperar datos archivados, y acceder a información de bases de datos. Una lista de Cluster DX en: http://www.ng3k.com/Misc/cluster.html El chat de ON4KST es mas apropiado para operadores de VHF y UHF. Es el lugar de encuentro de radioaficionados para planear contactos de radio de larga distancia, rebote lunar y reflexión meteórica. Para mas información del chat de ON4KST visitar la web http://www.on4kst.com. Comandos ======== Estos son los comandos básicos para iniciarse: announce/full 'msg': Envía la línea de texto 'msg' a todas las estaciones conectadas. bye: Sale del Cluster DX. dx 'frecuencia' 'indicativo' 'comentario': Envia información de un DX. show/dx: Ver los spots DX anteriores. El chat ON4KST utiliza un subconjunto de comandos del DX-cluster. Se recomienda escribir '/help' en la ventana después de conectarse. Todos los comandos comienzan por '/'. Ejemplos ======== 1) dx 28002.2 xz7a trabajado con un dipolo 80m!! 2) sh/dx on hf/cw 50 La mayoría de los clusters proporcionan ayuda enviando un '?' o 'help '. Indicativo y Autologin ====================== El indicativo que aparece en la primera página de la ventana de preferencias se utiliza para entrar al cluster DX (para que xdx pueda colorearlo) y para autologin. Cuando se habilita el autologin se pueden enviar varios comandos al cluster de forma automática. Podría introducirlos en el apartado 'Comandos' separados por comas, p.e. 'set/page 0,unset/beep' deshabilitará la paginación y no se emitirán mas pitidos. Puede utilizar también esta opción para enviar contraseñas cuando se requiera. Existe un retardo de 0.5 segundos entre comandos. Paquetes "Keepalive" ==================== Si tiene una mala conexión a red y experimenta desconexiones aleatorias, puede probar a habilitar 'Enviar paquetes "keepalive"' en la ventana de preferencias. Con esta opción activada se envia un caracter de retroceso (backspace) al servidor cada 5 minutos. Guardando información DX ======================== Los mensajes individuales se pueden guardar en un fichero cuando se activa la opción en la ventana de preferencias. $HOME/.xdx/dxspots Spots DX con el formato que se muestra en la ventana. $HOME/.xdx/wwv Anuncios WCY/WWV con información de propagación. $HOME/.xdx/toall Mensajes de chat que se muestran en la ventana inferior. $HOME/.xdx/wx Información del tiempo. Cuando se guardan datos WWV, se guardan para cada host WWV en ficheros independientes con los valores separados por tabuladores. Esto es útil para crear gráficas. El formato de este fichero es: YYYMMDDHH SFI A K R Donde SFI es el flujo solar a 10.7cm, A y K son los índices A y K que indican las condiciones geomagnéticas y R es el número de manchas solares. Se incluye un script de ejemplo en el directorio de datos de xdx que utiliza gnuplot para mostrar los datos de DK0WCY. Se puede ejecutar con 'gnuplot wwv.gnuplot'. La gráfica se guarda en $HOME/.xdx/DK0WCY.png. Soporte Hamlib ============== Cuando haga doble clic sobre un spot DX, su equipo se ajustará a la frecuencia del spot. Necesitará el binario rigctl del paquete hamlib. Por favor, modifique el ID de su equipo en la línea de comando de rigctl en la ventana de preferencias, p.e. 'rigctl -m 210 set_freq %d' usará ID 210 (Kenwood TS-870), ejecutar "rigctl ---list" para ver la lista completa de modelos. Navegadores web y lectores de correo ==================================== Una URL que aparezca en la ventana de chat se volverá azul y subrayada cuando pase el ratón por encima. Haciendo clic sobre el enlace, se abrirá su navegador o lector de correo preferido (ver ventana de preferencias): Ejecutar el navegador web de gnome cuando se hace clic sobre una URL: 'epiphany %s'. Ejecutar el mozilla-mail al hacer clic en una dirección de correo: 'mozilla -compose "to=%s"'. El navegador web y las aplicaciones de correo no están establecidas por defecto en la ventana de preferencias. Si deja estos campos vacios se ejecutarán las aplicaciones que utilice en su escritorio que traten estas URIs. En algunos casos podría ser necesario comprobar la configuración de escritorio de sus aplicaciones favoritas. Si falla, podría ser necesario que tenga que editar manualmente el fichero ~/.local/share/applications/mimeapps.list para forzar sus preferencias. Esto es debido a los cambios en GTK+ 2.24 que convirtió en obsoleta la manera inicial de tratar estas URIs. Resaltado ========= La barra lateral de chat permite introducir 8 palabras distintas que se pueden destacar cuando aparezcan en la ventana de chat. Cuando se selecciona la palabra con la casilla de selección adyacente, xdx buscará la palabra en el texto que va saliendo y la destacará con colores cuando la encuentre. Si no se selecciona ninguna palabra, solamente buscará el texto que aparece después del prompt. Se puede elegir el color para cada palabra en la pestaña 3 de la ventana de preferencias. Puede habilitar o deshabilitar las palabras con Ctrl-1 a Ctrl-8 y puede cambiar entre las palabras con Alt-1 a Alt-8. Alt-0 vuelve al anterior. Teclas de función ================= Tecleando 'Ctl-k' se cambia a la ventana de teclas de función. Se pueden asignar comandos a las teclas F1 a F8 haciendo clic con el botón derecho del ratón e introduciendo el comando en la ventana emergente. Los comandos se enviarán solo cuando hay una conexión activa al cluster. Se pueden enviar los comandos incluso cuando la ventana de teclas de función está oculta. Soporte de sonido ================= Se puede reproducir un sonido cuando esta activado el destacado de palabras en la ventana de chat. Para que funcione el sonido debe utilizar un programa secundario y configurarlo en la primera pestaña de la ventana de preferencias: 'play %s' utilizará el comando play, que es parte del paquete sox; 'esdplay %s' utilizará esdplay que es útil cuando se utiliza gnome y esound. 'aplay %s' usa aplay de las utilidades ALSA. Emoticones (smileys) ==================== Existe soporte para un número limitado de emoticones en la ventana de chat: :) :-) :)) :-)) ;) ;-) :( :-( :(( :-(( Fichero de soporte de paises/entidades ====================================== Con la distribución de Xdx se incluye el fichero cty.dat que proporciona información del pais/entidad origen del indicativo DX. Este fichero está mantenido por Jim Reisert, AD1C y puede descargar la última versión en: http://www.country-files.com/cty/cty.dat El fichero de especificación de paises/entidades es: http://www.country-files.com/cty/backup/format.htm Se realizan actualizaciones a este fichero generalmente antes de los principales concursos DX. Este fichero se actualiza mas a menudo que Xdx por lo que la versión que incluye el programa quedará caducada en un periodo corto de tiempo. En lugar de generar versiones nuevas de Xdx solo para actualizar el fichero cty.dat, se dan a continuación los pasos para actualizarlo desde su directorio raiz. Se puede hacer de dos formas: 1. Colocar el fichero cty.dat actualizado en el directorio de preferencias de Xdx que es $HOME/.xdx en plataformas POSIX. 2. Si mantiene el fichero cty.dat en otro directorio para su uso con programas de registro de contactos, establezca la variable de entorno XDX_CTY con la ruta del fichero cty.dat, p.e. $HOME/log/cty.dat o utilice las opciones '-c' or '--cty_dat' en linea de comandos del programa Xdx para establecer la ruta. La opción de línea de comandos tiene preferencia sobre la variable de entorno XDX_CTY. Cuando se utiliza la opción de linea de comandos, o la variable de entorno, el fichero cty.dat que resida en el directorio de preferencias no se cargará a menos que la ruta especificada no termine en "cty.dat" o que cty.dat no sea un fichero, sino un directorio. En tal caso se comprobará el directorio de preferencias. Se usará la versión cty.dat instalada por el programa en caso de que fallen las rutas especificadas por la variable de entorno o en la linea de comandos, o que el directorio de preferencias no contenga un fichero cty.dat. Actualmente no se comprueba si el fichero cty.dat especificado se ajusta a las especificaciones. Si por cualquier razón no se desea que el programa determine el pais/entidad del indicativo, puede crear un fichero de 0 bytes con el nombre cty.dat y pasarlo como entrada al programa Xdx utilizando los métodos descritos arriba. De esta forma Xdx no averiguará el pais/entidad. Soporte y licencia ================== Xdx es libre y publicado bajo la licencia GNU GPL. Su autor es Joop Stakenborg . Nate Bargmann (mantenedor actual) Por favor, envie un informe si encuentra fallos o si desea mejoras. xdx-2.91/gnuplot/0000755000175000017500000000000014224026464010745 500000000000000xdx-2.91/gnuplot/wwv.gnuplot0000644000175000017500000000322712646316272013133 00000000000000# # xdx - GTK+ DX-cluster client for amateur radio # Copyright (C) 2002-2006 Joop Stakenborg # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # gnuplot script for displaying wwv data, call with 'gnuplot wwv.gnuplot' # version 1.0, March 8, 2006 - initial release, distributed with xdx-2.0 set term png xFFFFFF set out '~/.xdx/DK0WCY.png #set term postscript #set out '~/.xdx/DK0WCY.ps' set format x "%.0f" set xtics rotate set timefmt "%Y%m%d%H" set format x "%Y%m%d" set xdata time set multiplot set title "Solar Flux Index" set size 0.4,0.45 set origin 0.0,0.55 plot '~/.xdx/DK0WCY-3.tsv' using 1:2 with lines notitle set title "A Index" set size 0.4,0.45 set origin 0.5,0.55 plot '~/.xdx/DK0WCY-3.tsv' using 1:3 with lines notitle set title "K Index" set size 0.4,0.45 set origin 0.0,0.05 plot '~/.xdx/DK0WCY-3.tsv' using 1:4 with lines notitle set title "Sunspot number" set size 0.4,0.45 set origin 0.5,0.05 plot '~/.xdx/DK0WCY-3.tsv' using 1:5 with lines notitle unset multiplot xdx-2.91/ChangeLog0000644000175000017500000001525314224021715010747 00000000000000Changelog for version Xdx (2.90) * Complete migration to GTK3. * Add margins around various frame elements. * Move the highlighting color selections from the Fonts tab to the Colors tab. * Adjust Preferences dialog layout for more consistency. * Release for further testing. Changelog for version Xdx (2.90) * Spelling corrections. Thanks, dforsi. * Begin migration to GTK+3. * Release for testing GTK+3 migration. Changelog for version Xdx (2.5) * Complete function key command entry support. * Add close dialog when Ctl-Q is used to exit. * Update manual page to current conventions. * Update GPL boiler plate for current FSF mailing address. Thanks, Walter Fey, DL8FCL. * Spanish translation update from Baltasar, EA8BVP. * German translation update from Tom, DL1JBE. * Polish translation update from Bogusław, SQ5TB. * Update to CTY-2505 – 20 April 2015. * Add Keywords entry to desktop file. Changelog for version Xdx (2.4.3) * Apply Debian patch from bug #577377. * Bring build system up to date for later versions of Autotools. * Do not track any build system generated files in Git VCS. * Modify source as needed for clean build with Gtk+ 2.24. * New upstream maintainer, Nate Bargmann, N0NB * Development hosted at https://github.com/N0NB/xdx * Portuguese translation update from David, CT1DRB * Add support to load updated country file using command line option, environment variable, or placing cty.dat in the preferences directory. * Fix URI handling for GTK+ 2.24 and later. Changelog for version xdx (2.4.2) * German translations added. * Improved gnuplot script for proper use of time format for the x-axis. * Both contributions by Tom DL1JBE, Thanks! Changelog for version xdx (2.4.1) * This fixes compilation against version 2.14 of GTK+. Thanks to Tom, DL1JBE for notifying me. Changelog for version xdx (2.4) * Added automatic country lookup by Emanuele IZ0ETE. In order for this to work you need to enable the country column in the preferences dialog. * With this release visible columns need to be reconfigured. * Portuguese translation added. Thanks to David, CT1DRB. Changelog for version xdx (2.3) * Compilation fixes for MAC OS X. Thanks to IZ0ETE. Changelog for version xdx (2.2) * This fixes compilation issues due to a missing time.h include statement. Changelog for version xdx (2.1) * French, Spanish and Polish translation updates. * Allow zero length strings in the commands autologin entry. This will send a plain return. * Make sure we can fill in the callsign in the settings dialog. * Use glib functions for calling external programs. * CLX compatibility for auto-reconnect has been added. Changelog for version xdx (2.0) * Polish translations by Boguslaw Ciastek SQ5TB, thanks! * A Dutch manual has been added. * Updated gettext and automake version used. * Install a .desktop file. * Language files and manuals have been converted to UTF-8. * The send widget is now a multiline text widget which allows entry of more characters. * Fonts used for DX messages (top window) and other messages (bottom window) can now be changed through the preferences dialog. * Linespacing added to the chat window, which makes it better readable. * You can turn local echo off in the preferences dialog. * The position of the divider between the chat and DX window is now saved. * You can now use highlights in the chat window. Highlights will produce colored text. Words to be highlighted can be set in the 'chat sidebar'. When the checkbox next to the highlighted word is checked, xdx will search for a highlight in all of the incoming text. When the checkbox is unchecked, only the text after the prompt is searched. * Checkboxes can be activated with ctrl-1 to ctrl-8. Entries can be focused with alt-1 to alt-8. * Alt-0 will switch focus to the send widget. * Colors used for highlighting can be set in page 3 of the preferences dialog. * The chat sidebar can be shown/hidden with F4. * You can disable automatic scrolling of the chat window by clicking in the window. Same for the DX window. * Parse of the DX cluster output has been improved. Xdx would sporadically miss DX messages. * A new about dialog has been added. * The manual now uses monospace font. It is activated with F1. * Auto reconnect has been added. When activated through the settings menu, xdx will try to reconnect when the connection is broken. This code is somewhat experimental.... * To keep track of your connections a connection log is kept. It can be viewed from the menu (Ctrl+l). * Xdx can send a keepalive packet every 5 minutes, which is useful for bad network connections. You must activate it in the settings dialog. * Sound support has been added. When a highlight is active in the chat window, a sound can be heard. You must use another program to play sound and set it in the first page of the preferences dialog. * Both ON4KST and DX-cluster prompts in the chat window are now colorized. The callsign is bold. * All of the colors in the chat window are now configurable. * When wwv data is saved, files with "tab seperated values" will be saved for every WWV host. See the MANUAL for the data format. Changelog for version xdx (1.2) * Fixed compilation against GTK+ version 2.4. * Added spanish translations and manual by Baltasar Perez, EB8AKF. Thanks! * A new option added to the preferences dialog which allows showing/hiding of columns in the spots window. Changelog for version xdx (1.1) * Correctly save preferences and history when selecting program->exit from the menu. This bug was reported by Wilbert Knol ZL2BSJ, thanks! * Set the cursor after the entry when recalling history of the command line. Changelog for version xdx (1.0) * A preferences dialog has been added. * A URL in the chat window will now appear blue and underlined when your mouse is over it. Clicking on it will open the link in your preferred browser or mail program (see the preferences dialog). * Fixed saving of position, size of the main window and columnwidths. * Support for smileys (:) :-) :)) :-)) ;) ;-) :( :-( :(( :-(() in the chatwindow. * Basic hamlib support. Double clicking on a dxspot will set your rig's frequency. Needs the rigctl binary from the hamlib distribution. * Autologin has been added. To use it, enter your callsign in the preferences dialog. You can also add a comma separated list of commands here, which will be sent after login to the cluster. * Dxspots, wcy/wwv information, toall and wx information can be saved to independent files when activated from the preferences dialog. xdx-2.91/configure0000755000175000017500000115455214224024367011121 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for Xdx 2.91. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh 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 case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. 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 || PATH_SEPARATOR=';' } 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 #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 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. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 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 : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || 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 : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 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 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 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if 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 # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: xdxclusterclient-discuss@lists.sourceforge.net about $0: your system, including any error possibly output before $0: this message. Then install a modern shell, or manually $0: run the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # 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 : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # 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 : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO 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'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # 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 # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='Xdx' PACKAGE_TARNAME='xdx' PACKAGE_VERSION='2.91' PACKAGE_STRING='Xdx 2.91' PACKAGE_BUGREPORT='xdxclusterclient-discuss@lists.sourceforge.net' PACKAGE_URL='https://github.com/N0NB/xdx' ac_unique_file="src/main.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #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_UNISTD_H # include #endif" gt_needs= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS AM_CFLAGS AM_CPPFLAGS GTK_LIBS GTK_CFLAGS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG LIBOBJS POSUB LTLIBINTL LIBINTL INTLLIBS LTLIBICONV LIBICONV INTL_MACOSX_LIBS host_os host_vendor host_cpu host build_os build_vendor build_cpu build XGETTEXT_EXTRA_OPTIONS MSGMERGE_FOR_MSGFMT_OPTION MSGMERGE XGETTEXT_015 XGETTEXT GMSGFMT_015 GMSGFMT MSGFMT GETTEXT_MACRO_VERSION USE_NLS SED EGREP GREP CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL am__quote' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking enable_nls with_gnu_ld enable_rpath with_libiconv_prefix with_libintl_prefix ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR GTK_CFLAGS GTK_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) 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" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) 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" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) 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" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) 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" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures Xdx 2.91 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/xdx] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of Xdx 2.91:";; 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-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --disable-nls do not use Native Language Support --disable-rpath do not hardcode runtime library paths Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib --without-libintl-prefix don't search for libintl in includedir and libdir Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path GTK_CFLAGS C compiler flags for GTK, overriding pkg-config GTK_LIBS linker flags for GTK, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . Xdx home page: . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. 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/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF Xdx configure 2.91 generated by GNU Autoconf 2.69 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 exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 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\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_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 xdxclusterclient-discuss@lists.sourceforge.net ## ## ------------------------------------------------------------- ##" ) | 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_c_try_run LINENO # ---------------------- # 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 if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $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\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 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 fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_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_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_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_c_check_header_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { 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 : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 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_c_check_type # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { 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. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* 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 $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func 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 Xdx $as_me 2.91, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # 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=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $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 && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF 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 # 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_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else 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_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi gt_needs="$gt_needs " # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## 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 ac_config_headers="$ac_config_headers include/config.h" ac_aux_dir= for ac_dir in build-aux "$srcdir"/build-aux; 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 build-aux \"$srcdir\"/build-aux" "$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. AM_CPPFLAGS="${AM_CPPFLAGS} -I\$(top_srcdir)/include" am__api_version='1.16' # 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 # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # 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 test $ac_prog = install && 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 # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir 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" && 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" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi 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 # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $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. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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_STRIP="${ac_tool_prefix}strip" $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 fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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_STRIP="strip" $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 fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog" $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 fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $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=`$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: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='xdx' VERSION='2.91' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } case $?:`cat confinc.out 2>/dev/null` in #( '0:this is the am__doit target') : case $s in #( BSD) : am__include='.include' am__quote='"' ;; #( *) : am__include='include' am__quote='' ;; esac ;; #( *) : ;; esac if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 $as_echo "${_am_result}" >&6; } # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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}gcc" $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 fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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="gcc" $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 fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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}cc" $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 fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # 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+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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$ac_prog" $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 fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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="$ac_prog" $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 fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 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\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $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 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $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 { { $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 { $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 { $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 () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $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 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF 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 : ac_cv_prog_cc_c89=$ac_arg fi 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 # 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 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 ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $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 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes else MINIX= fi if test "$MINIX" = yes; then $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h $as_echo "#define _MINIX 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } if ${ac_cv_safe_to_define___extensions__+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_define___extensions__=yes else ac_cv_safe_to_define___extensions__=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h $as_echo "#define _ALL_SOURCE 1" >>confdefs.h $as_echo "#define _GNU_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 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 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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}gcc" $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 fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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="gcc" $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 fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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}cc" $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 fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # 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+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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$ac_prog" $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 fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. 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="$ac_prog" $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 fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 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\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF 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 : ac_cv_prog_cc_c89=$ac_arg fi 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 # 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 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 ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } GETTEXT_MACRO_VERSION=0.20 # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) 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_path_GMSGFMT="$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 done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; *) GMSGFMT_015=$GMSGFMT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi rm -f messages.po case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; *) XGETTEXT_015=$XGETTEXT ;; esac # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi # Find out how to test for executable files. Don't use a zero-byte file, # as systems may use methods other than mode bits to determine executability. cat >conf$$.file <<_ASEOF #! /bin/sh exit 0 _ASEOF chmod +x conf$$.file if test -x conf$$.file >/dev/null 2>&1; then ac_executable_p="test -x" else ac_executable_p="test -f" fi rm -f conf$$.file # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGMERGE" in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$ac_save_IFS" test -z "$ac_dir" && ac_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then echo "$as_me: trying $ac_dir/$ac_word..." >&5 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" break 2 fi fi done done IFS="$ac_save_IFS" test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" ;; esac fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt' else if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet' else MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet' fi fi test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= ac_config_commands="$ac_config_commands po-directories" if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && 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 fi { $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;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then 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 fi fi { $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;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi if test -n "$LD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld" >&5 $as_echo_n "checking for ld... " >&6; } elif test "$GCC" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if test -n "$LD"; then # Let the user override the test with a path. : else if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else acl_cv_path_LD= # Final result of this test ac_prog=ld # Program to search in $PATH if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) acl_output=`($CC -print-prog-name=ld) 2>&5` ;; esac case $acl_output in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'` while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do acl_output=`echo $acl_output | sed "s%$re_direlt%/%"` done # Got the pathname. No search in PATH is needed. acl_cv_path_LD="$acl_output" ac_prog= ;; "") # If it fails, then pretend we aren't using GCC. ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac fi if test -n "$ac_prog"; then # Search for $ac_prog in $PATH. acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 conftest.$ac_ext /* end confdefs.h. */ #if defined __powerpc64__ || defined _ARCH_PPC64 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : # The compiler produces 64-bit code. Add option '-b64' so that the # linker groks 64-bit object files. case "$acl_cv_path_LD " in *" -b64 "*) ;; *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; sparc64-*-netbsd*) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else # The compiler produces 32-bit code. Add option '-m elf32_sparc' # so that the linker groks 32-bit object files. case "$acl_cv_path_LD " in *" -m elf32_sparc "*) ;; *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; esac fi LD="$acl_cv_path_LD" fi if test -n "$LD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${acl_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 $as_echo_n "checking for shared library run path origin... " >&6; } if ${acl_cv_rpath+:} false; then : $as_echo_n "(cached) " >&6 else CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 $as_echo "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; : else enable_rpath=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5 $as_echo_n "checking 32-bit host C ABI... " >&6; } if ${gl_cv_host_cpu_c_abi_32bit+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$gl_cv_host_cpu_c_abi"; then case "$gl_cv_host_cpu_c_abi" in i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) gl_cv_host_cpu_c_abi_32bit=yes ;; x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) gl_cv_host_cpu_c_abi_32bit=no ;; *) gl_cv_host_cpu_c_abi_32bit=unknown ;; esac else case "$host_cpu" in # CPUs that only support a 32-bit ABI. arc \ | bfin \ | cris* \ | csky \ | epiphany \ | ft32 \ | h8300 \ | m68k \ | microblaze | microblazeel \ | nds32 | nds32le | nds32be \ | nios2 | nios2eb | nios2el \ | or1k* \ | or32 \ | sh | sh1234 | sh1234elb \ | tic6x \ | xtensa* ) gl_cv_host_cpu_c_abi_32bit=yes ;; # CPUs that only support a 64-bit ABI. alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \ | mmix ) gl_cv_host_cpu_c_abi_32bit=no ;; i[34567]86 ) gl_cv_host_cpu_c_abi_32bit=yes ;; x86_64 ) # On x86_64 systems, the C compiler may be generating code in one of # these ABIs: # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64. # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64 # with native Windows (mingw, MSVC). # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if (defined __x86_64__ || defined __amd64__ \ || defined _M_X64 || defined _M_AMD64) \ && !(defined __ILP32__ || defined _ILP32) int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; arm* | aarch64 ) # Assume arm with EABI. # On arm64 systems, the C compiler may be generating code in one of # these ABIs: # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64. # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32. # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32) int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; hppa1.0 | hppa1.1 | hppa2.0* | hppa64 ) # On hppa, the C compiler may be generating 32-bit code or 64-bit # code. In the latter case, it defines _LP64 and __LP64__. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __LP64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; ia64* ) # On ia64 on HP-UX, the C compiler may be generating 64-bit code or # 32-bit code. In the latter case, it defines _ILP32. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _ILP32 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=yes else gl_cv_host_cpu_c_abi_32bit=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; mips* ) # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this # at 32. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64) int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; powerpc* ) # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD. # No need to distinguish them here; the caller may distinguish # them based on the OS. # On powerpc64 systems, the C compiler may still be generating # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may # be generating 64-bit code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __powerpc64__ || defined _ARCH_PPC64 int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; rs6000 ) gl_cv_host_cpu_c_abi_32bit=yes ;; riscv32 | riscv64 ) # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d. # Size of 'long' and 'void *': cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; s390* ) # On s390x, the C compiler may be generating 64-bit (= s390x) code # or 31-bit (= s390) code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __LP64__ || defined __s390x__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; sparc | sparc64 ) # UltraSPARCs running Linux have `uname -m` = "sparc64", but the # C compiler still generates 32-bit code. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined __sparcv9 || defined __arch64__ int ok; #else error fail #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_host_cpu_c_abi_32bit=no else gl_cv_host_cpu_c_abi_32bit=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; *) gl_cv_host_cpu_c_abi_32bit=unknown ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5 $as_echo "$gl_cv_host_cpu_c_abi_32bit" >&6; } HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5 $as_echo_n "checking for ELF binary format... " >&6; } if ${gl_cv_elf+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __ELF__ Extensible Linking Format #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "Extensible Linking Format" >/dev/null 2>&1; then : gl_cv_elf=yes else gl_cv_elf=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5 $as_echo "$gl_cv_elf" >&6; } if test $gl_cv_elf; then # Extract the ELF class of a file (5th byte) in decimal. # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header if od -A x < /dev/null >/dev/null 2>/dev/null; then # Use POSIX od. func_elfclass () { od -A n -t d1 -j 4 -N 1 } else # Use BSD hexdump. func_elfclass () { dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "' echo } fi case $HOST_CPU_C_ABI_32BIT in yes) # 32-bit ABI. acl_is_expected_elfclass () { test "`func_elfclass | sed -e 's/[ ]//g'`" = 1 } ;; no) # 64-bit ABI. acl_is_expected_elfclass () { test "`func_elfclass | sed -e 's/[ ]//g'`" = 2 } ;; *) # Unknown. acl_is_expected_elfclass () { : } ;; esac else acl_is_expected_elfclass () { : } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5 $as_echo_n "checking for the common suffixes of directories in the library search path... " >&6; } if ${acl_cv_libdirstems+:} false; then : $as_echo_n "(cached) " >&6 else acl_libdirstem=lib acl_libdirstem2= acl_libdirstem3= case "$host_os" in solaris*) if test $HOST_CPU_C_ABI_32BIT = no; then acl_libdirstem2=lib/64 case "$host_cpu" in sparc*) acl_libdirstem3=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem3=lib/amd64 ;; esac fi ;; *) searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \ | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test $HOST_CPU_C_ABI_32BIT != no; then # 32-bit or unknown ABI. if test -d /usr/lib32; then acl_libdirstem2=lib32 fi fi if test $HOST_CPU_C_ABI_32BIT != yes; then # 64-bit or unknown ABI. if test -d /usr/lib64; then acl_libdirstem3=lib64 fi fi if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;; */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib32 ) acl_libdirstem2=lib32 ;; */lib64 ) acl_libdirstem3=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" if test $HOST_CPU_C_ABI_32BIT = yes; then # 32-bit ABI. acl_libdirstem3= fi if test $HOST_CPU_C_ABI_32BIT = no; then # 64-bit ABI. acl_libdirstem2= fi fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem" acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5 $as_echo "$acl_cv_libdirstems" >&6; } acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'` acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'` acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'` use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" additional_libdir2="$withval/$acl_libdirstem2" additional_libdir3="$withval/$acl_libdirstem3" fi fi fi if test "X$additional_libdir2" = "X$additional_libdir"; then additional_libdir2= fi if test "X$additional_libdir3" = "X$additional_libdir"; then additional_libdir3= fi LIBICONV= LTLIBICONV= INCICONV= LIBICONV_PREFIX= HAVE_LIBICONV= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='iconv ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do if test "X$found_dir" = "X"; then eval dir=\$$additional_libdir_variable if test -n "$dir"; then if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi fi done fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" else LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem3 | */$acl_libdirstem3/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then haveit= if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ;; esac done fi else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFPreferencesCopyAppValue(NULL, NULL) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFPreferencesCopyAppValue=yes else gt_cv_func_CFPreferencesCopyAppValue=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5 $as_echo_n "checking for CFLocaleCopyPreferredLanguages... " >&6; } if ${gt_cv_func_CFLocaleCopyPreferredLanguages+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { CFLocaleCopyPreferredLanguages(); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFLocaleCopyPreferredLanguages=yes else gt_cv_func_CFLocaleCopyPreferredLanguages=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5 $as_echo "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; } if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then $as_echo "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h fi INTL_MACOSX_LIBS= if test $gt_cv_func_CFPreferencesCopyAppValue = yes \ || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" fi LIBINTL= LTLIBINTL= POSUB= case " $gt_needs " in *" need-formatstring-macros "*) gt_api_version=3 ;; *" need-ngettext "*) gt_api_version=2 ;; *) gt_api_version=1 ;; esac gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no if test $gt_api_version -ge 3; then gt_revision_test_code=' #ifndef __GNU_GETTEXT_SUPPORTED_REVISION #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) #endif typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ' else gt_revision_test_code= fi if test $gt_api_version -ge 2; then gt_expression_test_code=' + * ngettext ("", "", 0)' else gt_expression_test_code= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 $as_echo_n "checking for GNU gettext in libc... " >&6; } if eval \${$gt_func_gnugettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef __GNU_GETTEXT_SUPPORTED_REVISION extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings) #else #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 #endif $gt_revision_test_code int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libc=yes" else eval "$gt_func_gnugettext_libc=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$gt_func_gnugettext_libc { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_func_iconv=yes fi 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" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 $as_echo_n "checking for working iconv... " >&6; } if ${am_cv_func_iconv_works+:} false; then : $as_echo_n "(cached) " >&6 else am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do if test "$cross_compiling" = yes; then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifndef ICONV_CONST # define ICONV_CONST $ac_iconv_const #endif int main () { int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\263"; char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; ICONV_CONST char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 8; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ { /* Try standardized names. */ iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP"); /* Try IRIX, OSF/1 names. */ iconv_t cd2 = iconv_open ("UTF-8", "eucJP"); /* Try AIX names. */ iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP"); /* Try HP-UX names. */ iconv_t cd4 = iconv_open ("utf8", "eucJP"); if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1) && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1)) result |= 16; if (cd1 != (iconv_t)(-1)) iconv_close (cd1); if (cd2 != (iconv_t)(-1)) iconv_close (cd2); if (cd3 != (iconv_t)(-1)) iconv_close (cd3); if (cd4 != (iconv_t)(-1)) iconv_close (cd4); } return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_iconv_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi test "$am_cv_func_iconv_works" = no || break done LIBS="$am_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 $as_echo "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then $as_echo "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 $as_echo_n "checking how to link with libiconv... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 $as_echo "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libintl-prefix was given. if test "${with_libintl_prefix+set}" = set; then : withval=$with_libintl_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\" eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" additional_libdir2="$withval/$acl_libdirstem2" additional_libdir3="$withval/$acl_libdirstem3" fi fi fi if test "X$additional_libdir2" = "X$additional_libdir"; then additional_libdir2= fi if test "X$additional_libdir3" = "X$additional_libdir"; then additional_libdir3= fi LIBINTL= LTLIBINTL= INCINTL= LIBINTL_PREFIX= HAVE_LIBINTL= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='intl ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do if test "X$found_dir" = "X"; then eval dir=\$$additional_libdir_variable if test -n "$dir"; then if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi fi done fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2" \ || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" else LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem3 | */$acl_libdirstem3/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'` if test "$name" = 'intl'; then LIBINTL_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \ && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then haveit= if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \ || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBINTL; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$dependency_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$dependency_libdir"; then LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" ;; esac done fi else LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" done fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 $as_echo_n "checking for GNU gettext in libintl... " >&6; } if eval \${$gt_func_gnugettext_libintl+:} false; then : $as_echo_n "(cached) " >&6 else gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef __GNU_GETTEXT_SUPPORTED_REVISION extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) #else #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 #endif $gt_revision_test_code int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libintl=yes" else eval "$gt_func_gnugettext_libintl=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #ifndef __GNU_GETTEXT_SUPPORTED_REVISION extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias (const char *); #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias ("")) #else #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0 #endif $gt_revision_test_code int main () { bindtextdomain ("", ""); return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" eval "$gt_func_gnugettext_libintl=yes" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS" fi eval ac_res=\$$gt_func_gnugettext_libintl { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ && test "$PACKAGE" != gettext-runtime \ && test "$PACKAGE" != gettext-tools; }; then gt_use_preinstalled_gnugettext=yes else LIBINTL= LTLIBINTL= INCINTL= fi if test -n "$INTL_MACOSX_LIBS"; then if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" fi fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then $as_echo "#define ENABLE_NLS 1" >>confdefs.h else USE_NLS=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 $as_echo_n "checking whether to use NLS... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } if test "$USE_NLS" = "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 $as_echo_n "checking where the gettext function comes from... " >&6; } if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then gt_source="external libintl" else gt_source="libc" fi else gt_source="included intl directory" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 $as_echo "$gt_source" >&6; } fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 $as_echo_n "checking how to link with libintl... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 $as_echo "$LIBINTL" >&6; } for element in $INCINTL; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done fi $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h fi POSUB=po fi INTLLIBS="$LIBINTL" # autoheader templates for AM_GNU_GETTEXT checks. # Checks for header files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } if ${ac_cv_header_sys_wait_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main () { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_sys_wait_h=yes else ac_cv_header_sys_wait_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 $as_echo "$ac_cv_header_sys_wait_h" >&6; } if test $ac_cv_header_sys_wait_h = yes; then $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h fi for ac_header in arpa/inet.h fcntl.h libintl.h netdb.h netinet/in.h string.h sys/socket.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$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 # Checks for typedefs, structures, and compiler characteristics. { $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 () { #ifndef __cplusplus /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. 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 */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this sort of thing. */ char tx; char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* 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; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; if (!foo) return 0; } return !cs[0] && !zero.x; #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_const=yes else ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $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 $as_echo "#define const /**/" >>confdefs.h fi # Checks for library functions. ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" if test "x$ac_cv_type_pid_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF fi for ac_header in vfork.h do : ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" if test "x$ac_cv_header_vfork_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VFORK_H 1 _ACEOF fi done for ac_func in fork vfork 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 if test "x$ac_cv_func_fork" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 $as_echo_n "checking for working fork... " >&6; } if ${ac_cv_func_fork_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_fork_works=cross else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* By Ruediger Kuhlmann. */ return fork () < 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_fork_works=yes else ac_cv_func_fork_works=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 $as_echo "$ac_cv_func_fork_works" >&6; } else ac_cv_func_fork_works=$ac_cv_func_fork fi if test "x$ac_cv_func_fork_works" = xcross; then case $host in *-*-amigaos* | *-*-msdosdjgpp*) # Override, as these systems have only a dummy fork() stub ac_cv_func_fork_works=no ;; *) ac_cv_func_fork_works=yes ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} fi ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 $as_echo_n "checking for working vfork... " >&6; } if ${ac_cv_func_vfork_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_vfork_works=cross else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Thanks to Paul Eggert for this test. */ $ac_includes_default #include #ifdef HAVE_VFORK_H # include #endif /* On some sparc systems, changes by the child to local and incoming argument registers are propagated back to the parent. The compiler is told about this with #include , but some compilers (e.g. gcc -O) don't grok . Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */ static void #ifdef __cplusplus sparc_address_test (int arg) # else sparc_address_test (arg) int arg; #endif { static pid_t child; if (!child) { child = vfork (); if (child < 0) { perror ("vfork"); _exit(2); } if (!child) { arg = getpid(); write(-1, "", 0); _exit (arg); } } } int main () { pid_t parent = getpid (); pid_t child; sparc_address_test (0); child = vfork (); if (child == 0) { /* Here is another test for sparc vfork register problems. This test uses lots of local variables, at least as many local variables as main has allocated so far including compiler temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should reuse the register of parent for one of the local variables, since it will think that parent can't possibly be used any more in this routine. Assigning to the local variable will thus munge parent in the parent process. */ pid_t p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); /* Convince the compiler that p..p7 are live; otherwise, it might use the same hardware register for all 8 local variables. */ if (p != p1 || p != p2 || p != p3 || p != p4 || p != p5 || p != p6 || p != p7) _exit(1); /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent from child file descriptors. If the child closes a descriptor before it execs or exits, this munges the parent's descriptor as well. Test for this by closing stdout in the child. */ _exit(close(fileno(stdout)) != 0); } else { int status; struct stat st; while (wait(&status) != child) ; return ( /* Was there some problem with vforking? */ child < 0 /* Did the child fail? (This shouldn't happen.) */ || status /* Did the vfork/compiler bug occur? */ || parent != getpid() /* Did the file descriptor bug occur? */ || fstat(fileno(stdout), &st) != 0 ); } } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_vfork_works=yes else ac_cv_func_vfork_works=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 $as_echo "$ac_cv_func_vfork_works" >&6; } fi; if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=$ac_cv_func_vfork { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} fi if test "x$ac_cv_func_vfork_works" = xyes; then $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h else $as_echo "#define vfork fork" >>confdefs.h fi if test "x$ac_cv_func_fork_works" = xyes; then $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 $as_echo_n "checking return type of signal handlers... " >&6; } if ${ac_cv_type_signal+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return *(signal (0, 0)) (0) == 1; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_type_signal=int else ac_cv_type_signal=void fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 $as_echo "$ac_cv_type_signal" >&6; } cat >>confdefs.h <<_ACEOF #define RETSIGTYPE $ac_cv_type_signal _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : $as_echo_n "(cached) " >&6 else rm -f conftest.sym conftest.file echo >conftest.file if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then if test "$cross_compiling" = yes; then : ac_cv_func_lstat_dereferences_slashed_symlink=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; /* Linux will dereference the symlink and fail, as required by POSIX. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ return lstat ("conftest.sym/", &sbuf) == 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_lstat_dereferences_slashed_symlink=yes else ac_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi else # If the `ln -s' command failed, then we probably don't even # have an lstat function. ac_cv_func_lstat_dereferences_slashed_symlink=no fi rm -f conftest.sym conftest.file fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && cat >>confdefs.h <<_ACEOF #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 _ACEOF if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then case " $LIBOBJS " in *" lstat.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS lstat.$ac_objext" ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5 $as_echo_n "checking whether stat accepts an empty string... " >&6; } if ${ac_cv_func_stat_empty_string_bug+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_stat_empty_string_bug=yes else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { struct stat sbuf; return stat ("", &sbuf) == 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_stat_empty_string_bug=no else ac_cv_func_stat_empty_string_bug=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; } if test $ac_cv_func_stat_empty_string_bug = yes; then case " $LIBOBJS " in *" stat.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS stat.$ac_objext" ;; esac cat >>confdefs.h <<_ACEOF #define HAVE_STAT_EMPTY_STRING_BUG 1 _ACEOF fi for ac_func in tzset setlocale putenv alarm bzero gethostbyname inet_ntoa memset mkdir socket strerror 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 for ac_func in strftime do : ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" if test "x$ac_cv_func_strftime" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRFTIME 1 _ACEOF else # strftime is in -lintl on SCO UNIX. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 $as_echo_n "checking for strftime in -lintl... " >&6; } if ${ac_cv_lib_intl_strftime+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char strftime (); int main () { return strftime (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_strftime=yes else ac_cv_lib_intl_strftime=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_intl_strftime" >&5 $as_echo "$ac_cv_lib_intl_strftime" >&6; } if test "x$ac_cv_lib_intl_strftime" = xyes; then : $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h LIBS="-lintl $LIBS" fi fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } if ${ac_cv_struct_tm+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { struct tm tm; int *p = &tm.tm_sec; return !p; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_struct_tm=time.h else ac_cv_struct_tm=sys/time.h fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 $as_echo "$ac_cv_struct_tm" >&6; } if test $ac_cv_struct_tm = sys/time.h; then $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h fi if ${CFLAGS+:} false; then : case " $CFLAGS " in *" "*) { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains "; } >&5 (: CFLAGS already contains ) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; *) { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS \""; } >&5 (: CFLAGS="$CFLAGS ") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } CFLAGS="$CFLAGS " ;; esac else CFLAGS="" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking AM_CFLAGS for maximum warnings" >&5 $as_echo_n "checking AM_CFLAGS for maximum warnings... " >&6; } if ${ac_cv_cflags_warn_all+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_cflags_warn_all="no, unknown" ac_save_CFLAGS="$CFLAGS" for ac_arg in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" # do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done CFLAGS="$ac_save_CFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5 $as_echo "$ac_cv_cflags_warn_all" >&6; } case ".$ac_cv_cflags_warn_all" in .ok|.ok,*) ;; .|.no|.no,*) ;; *) if ${AM_CFLAGS+:} false; then : case " $AM_CFLAGS " in *" $ac_cv_cflags_warn_all "*) { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5 (: AM_CFLAGS already contains $ac_cv_cflags_warn_all) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; *) { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_CFLAGS=\"\$AM_CFLAGS \$ac_cv_cflags_warn_all\""; } >&5 (: AM_CFLAGS="$AM_CFLAGS $ac_cv_cflags_warn_all") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } AM_CFLAGS="$AM_CFLAGS $ac_cv_cflags_warn_all" ;; esac else AM_CFLAGS="$ac_cv_cflags_warn_all" fi ;; esac 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 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) 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_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 done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) 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_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 done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; 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; } PKG_CONFIG="" fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.14.0" >&5 $as_echo_n "checking for gtk+-3.0 >= 3.14.0... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.14.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.14.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.14.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.14.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.14.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.14.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.14.0" 2>&1` else GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.14.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (gtk+-3.0 >= 3.14.0) were not met: $GTK_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GTK_CFLAGS and GTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi ac_config_files="$ac_config_files m4/Makefile po/Makefile.in src/Makefile Makefile xdx.1 Xdx.desktop" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear 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 { $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 case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 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" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh 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 case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. 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 || PATH_SEPARATOR=';' } 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 #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 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] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $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. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. 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 : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # 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 : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by Xdx $as_me 2.91, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to . Xdx home page: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ Xdx config.status 2.91 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" 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." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $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=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" # Capture the value of obsolete ALL_LINGUAS because we need it to compute # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS" # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "xdx.1") CONFIG_FILES="$CONFIG_FILES xdx.1" ;; "Xdx.desktop") CONFIG_FILES="$CONFIG_FILES Xdx.desktop" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. 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/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $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 { $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 $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. case $CONFIG_FILES in #( *\'*) : eval set x "$CONFIG_FILES" ;; #( *) : set x $CONFIG_FILES ;; #( *) : ;; esac shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`$as_dirname -- "$am_mf" || $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$am_mf" : 'X\(//\)[^/]' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$am_mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` am_filepart=`$as_basename -- "$am_mf" || $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ X"$am_mf" : 'X\(//\)$' \| \ X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$am_mf" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` { echo "$as_me:$LINENO: cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles" >&5 (cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } || am_rc=$? done if test $am_rc -ne 0; then { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE=\"gmake\" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See \`config.log' for more details" "$LINENO" 5; } fi { am_dirpart=; unset am_dirpart;} { am_filepart=; unset am_filepart;} { am_mf=; unset am_mf;} { am_rc=; unset am_rc;} rm -f conftest-deps.mk } ;; "po-directories":C) for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac # Treat a directory as a PO directory if and only if it has a # POTFILES.in file. This allows packages to have multiple PO # directories under different names or in different locations. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" gt_tab=`printf '\t'` cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" POMAKEFILEDEPS="POTFILES.in" # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$OBSOLETE_ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" else # The set of available languages was given in configure.in. ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS fi # Compute POFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) # Compute UPDATEPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) # Compute DUMMYPOFILES # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) # Compute GMOFILES # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= UPDATEPOFILES= DUMMYPOFILES= GMOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi xdx-2.91/configure.ac0000644000175000017500000000445014224024346011463 00000000000000## Process this file with autoconf to create configure. -*- autoconf -*- dnl Autoconf 2.67 is in Debian Squeeze. AC_PREREQ([2.67]) AC_INIT([Xdx], [2.91], [xdxclusterclient-discuss@lists.sourceforge.net], [xdx], [https://github.com/N0NB/xdx]) AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([include/config.h]) AC_CONFIG_AUX_DIR([build-aux]) AM_CPPFLAGS="${AM_CPPFLAGS} -I\$(top_srcdir)/include" AM_INIT_AUTOMAKE([-Wall subdir-objects]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_USE_SYSTEM_EXTENSIONS AC_PROG_INSTALL AC_PROG_CC AC_LANG([C]) dnl Quell AC_COMPILE_IFELSE warnings AC_USE_SYSTEM_EXTENSIONS AM_GNU_GETTEXT([external]) dnl Should work with at least the version of gettext in Debian Wheezy AM_GNU_GETTEXT_VERSION([0.21]) # autoheader templates for AM_GNU_GETTEXT checks. AH_TEMPLATE([ENABLE_NLS], []) AH_TEMPLATE([HAVE_CATGETS], []) AH_TEMPLATE([HAVE_GETTEXT], []) AH_TEMPLATE([HAVE_LC_MESSAGES], []) AH_TEMPLATE([HAVE_STPCPY], []) # Checks for header files. AC_HEADER_SYS_WAIT AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h netdb.h netinet/in.h string.h sys/socket.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST # Checks for library functions. AC_FUNC_FORK m4_warn([obsolete], [your code may safely assume C89 semantics that RETSIGTYPE is void. Remove this warning and the `AC_CACHE_CHECK' when you adjust the code.])dnl AC_CACHE_CHECK([return type of signal handlers],[ac_cv_type_signal],[AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([#include #include ], [return *(signal (0, 0)) (0) == 1;])], [ac_cv_type_signal=int], [ac_cv_type_signal=void])]) AC_DEFINE_UNQUOTED([RETSIGTYPE],[$ac_cv_type_signal],[Define as the return type of signal handlers (`int' or `void').]) AC_FUNC_STAT AC_CHECK_FUNCS([tzset setlocale putenv alarm bzero gethostbyname inet_ntoa memset mkdir socket strerror]) AC_FUNC_STRFTIME AC_STRUCT_TM AX_CFLAGS_WARN_ALL([AM_CFLAGS]) dnl Installed GTK must be at least version 3.14 (Debian Jessie) PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.14.0]) AC_SUBST([GTK_CFLAGS]) AC_SUBST([GTK_LIBS]) dnl Output accumulated flags to the Makefile files. AC_SUBST([AM_CPPFLAGS]) AC_SUBST([AM_CFLAGS]) AC_CONFIG_FILES([m4/Makefile po/Makefile.in src/Makefile Makefile xdx.1 Xdx.desktop]) AC_OUTPUT xdx-2.91/Xdx.desktop.in0000644000175000017500000000053013621127455011740 00000000000000[Desktop Entry] Name=Xdx Comment=DX-cluster client for amateur radio Comment[nl]=DX-cluster client voor zendamateurs Comment[pl]=Klient DX-cluster dla krótkofalowców Exec=@prefix@/bin/xdx Icon=@prefix@/share/xdx/pixmaps/xdx-logo.png Terminal=false Type=Application Categories=Network;HamRadio; Keywords=DX cluster;packet cluster;DX spotting; xdx-2.91/TODO0000644000175000017500000000025412523720573007670 000000000000002.5: Function keys for commands Support current versions of cty.dat. 2.6: Communicate with xlog on countries worked/confirmed and colorize DX-spots accordingly. xdx-2.91/ABOUT-NLS0000644000175000017500000000010314224024346010413 00000000000000 xdx-2.91/build-aux/0000755000175000017500000000000014224026464011147 500000000000000xdx-2.91/build-aux/compile0000755000175000017500000001635014224024370012444 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2018-03-07.03; # UTC # Copyright (C) 1999-2020 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN* | MSYS*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: xdx-2.91/build-aux/config.sub0000755000175000017500000010645014224024370013052 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2018 Free Software Foundation, Inc. timestamp='2018-02-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to . # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS Canonicalize a configuration name. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo "$1" exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ kopensolaris*-gnu* | cloudabi*-eabi* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo "$1" | sed 's/-[^-]*$//'` if [ "$basic_machine" != "$1" ] then os=`echo "$1" | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | ba \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | e2k | epiphany \ | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia16 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pru \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | visium \ | wasm32 \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; leon|leon[3-9]) basic_machine=sparc-$basic_machine ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | ba-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | e2k-* | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pru-* \ | pyramid-* \ | riscv32-* | riscv64-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | visium-* \ | wasm32-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-pc os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; asmjs) basic_machine=asmjs-unknown ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2*) basic_machine=m68k-bull os=-sysv3 ;; e500v[12]) basic_machine=powerpc-unknown os=$os"spe" ;; e500v[12]-*) basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=$os"spe" ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; leon-*|leon[3-9]-*) basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; moxiebox) basic_machine=moxie-unknown os=-moxiebox ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; nsv-tandem) basic_machine=nsv-tandem ;; nsx-tandem) basic_machine=nsx-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh5el) basic_machine=sh5le-unknown ;; simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; x64) basic_machine=x86_64-pc ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases that might get confused # with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # es1800 is here to avoid being matched by es* (a different OS) -es1800*) os=-ose ;; # Now accept the basic system types. # The portable systems comes first. # Each alternative MUST end in a * to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* | -cloudabi* | -sortix* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ | -midnightbsd*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -xray | -os68k* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo "$os" | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo "$os" | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo "$os" | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4*) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -pikeos*) # Until real need of OS specific support for # particular features comes up, bare metal # configurations are quite functional. case $basic_machine in arm*) os=-eabi ;; *) os=-elf ;; esac ;; -nacl*) ;; -ios) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; c8051-*) os=-elf ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; pru-*) os=-elf ;; *-be) os=-beos ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` ;; esac echo "$basic_machine$os" exit # Local variables: # eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: xdx-2.91/build-aux/config.rpath0000755000175000017500000004421614224024346013403 00000000000000#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2020 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit , 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # The first argument passed to this file is the canonical host specification, # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld # should be set by the caller. # # The set of defined variables is at the end of this script. # Known limitations: # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer # than 256 bytes, otherwise the compiler driver will dump core. The only # known workaround is to choose shorter directory names for the build # directory and/or the installation directory. # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a shrext=.so host="$1" host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` # Code taken from libtool.m4's _LT_CC_BASENAME. for cc_temp in $CC""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` # Code taken from libtool.m4's _LT_COMPILER_PIC. wl= if test "$GCC" = yes; then wl='-Wl,' else case "$host_os" in aix*) wl='-Wl,' ;; mingw* | cygwin* | pw32* | os2* | cegcc*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6* | nonstopux*) wl='-Wl,' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in ecc*) wl='-Wl,' ;; icc* | ifort*) wl='-Wl,' ;; lf95*) wl='-Wl,' ;; nagfor*) wl='-Wl,-Wl,,' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) wl='-Wl,' ;; ccc*) wl='-Wl,' ;; xl* | bgxl* | bgf* | mpixl*) wl='-Wl,' ;; como) wl='-lopt=' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ F* | *Sun*Fortran*) wl= ;; *Sun\ C*) wl='-Wl,' ;; esac ;; esac ;; newsos6) ;; *nto* | *qnx*) ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; rdos*) ;; solaris*) case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) wl='-Qoption ld ' ;; *) wl='-Wl,' ;; esac ;; sunos4*) wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3*) wl='-Wl,' ;; sysv4*MP*) ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) wl='-Wl,' ;; unicos*) wl='-Wl,' ;; uts4*) ;; esac fi # Code taken from libtool.m4's _LT_LINKER_SHLIBS. hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no case "$host_os" in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. # Unlike libtool, we use -rpath here, not --rpath, since the documented # option of GNU ld is called -rpath, not --rpath. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' case "$host_os" in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no fi ;; amigaos*) case "$host_cpu" in powerpc) ;; m68k) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then : else ld_shlibs=no fi ;; haiku*) ;; interix[3-9]*) hardcode_direct=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; netbsd*) ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' else ld_shlibs=no fi ;; esac ;; sunos4*) hardcode_direct=yes ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then hardcode_libdir_flag_spec= fi else case "$host_os" in aix3*) # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac fi hardcode_direct=yes hardcode_libdir_separator=':' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac fi # Begin _LT_AC_SYS_LIBPATH_AIX. echo 'int main () { return 0; }' > conftest.c ${CC} ${LDFLAGS} conftest.c -o conftest aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` fi if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib" fi rm -f conftest.c conftest # End _LT_AC_SYS_LIBPATH_AIX. if test "$aix_use_runtimelinking" = yes; then hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' else hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" fi fi ;; amigaos*) case "$host_cpu" in powerpc) ;; m68k) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' libext=lib ;; darwin* | rhapsody*) hardcode_direct=no if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then : else ld_shlibs=no fi ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; freebsd2.[01]*) hardcode_direct=yes hardcode_minus_L=yes ;; freebsd* | dragonfly*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; hpux9*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; hpux10*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no ;; *) hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; netbsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; newsos6) hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then hardcode_libdir_flag_spec='${wl}-rpath,$libdir' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) hardcode_libdir_flag_spec='-R$libdir' ;; *) hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; osf3*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) if test "$GCC" = yes; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else # Both cc and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) hardcode_libdir_flag_spec='-R$libdir' ;; sunos4*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes ;; sysv4) case $host_vendor in sni) hardcode_direct=yes # is this really true??? ;; siemens) hardcode_direct=no ;; motorola) hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac ;; sysv4.3*) ;; sysv4*MP*) if test -d /usr/nec; then ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) ;; sysv5* | sco3.2v5* | sco5v6*) hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' ;; uts4*) hardcode_libdir_flag_spec='-L$libdir' ;; *) ld_shlibs=no ;; esac fi # Check dynamic linker characteristics # Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. # Unlike libtool.m4, here we don't care about _all_ names of the library, but # only about the one the linker finds when passed -lNAME. This is the last # element of library_names_spec in libtool.m4, or possibly two of them if the # linker has special search rules. library_names_spec= # the last element of library_names_spec in libtool.m4 libname_spec='lib$name' case "$host_os" in aix3*) library_names_spec='$libname.a' ;; aix[4-9]*) library_names_spec='$libname$shrext' ;; amigaos*) case "$host_cpu" in powerpc*) library_names_spec='$libname$shrext' ;; m68k) library_names_spec='$libname.a' ;; esac ;; beos*) library_names_spec='$libname$shrext' ;; bsdi[45]*) library_names_spec='$libname$shrext' ;; cygwin* | mingw* | pw32* | cegcc*) shrext=.dll library_names_spec='$libname.dll.a $libname.lib' ;; darwin* | rhapsody*) shrext=.dylib library_names_spec='$libname$shrext' ;; dgux*) library_names_spec='$libname$shrext' ;; freebsd[23].*) library_names_spec='$libname$shrext$versuffix' ;; freebsd* | dragonfly*) library_names_spec='$libname$shrext' ;; gnu*) library_names_spec='$libname$shrext' ;; haiku*) library_names_spec='$libname$shrext' ;; hpux9* | hpux10* | hpux11*) case $host_cpu in ia64*) shrext=.so ;; hppa*64*) shrext=.sl ;; *) shrext=.sl ;; esac library_names_spec='$libname$shrext' ;; interix[3-9]*) library_names_spec='$libname$shrext' ;; irix5* | irix6* | nonstopux*) library_names_spec='$libname$shrext' case "$host_os" in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; *) libsuff= shlibsuff= ;; esac ;; esac ;; linux*oldld* | linux*aout* | linux*coff*) ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) library_names_spec='$libname$shrext' ;; knetbsd*-gnu) library_names_spec='$libname$shrext' ;; netbsd*) library_names_spec='$libname$shrext' ;; newsos6) library_names_spec='$libname$shrext' ;; *nto* | *qnx*) library_names_spec='$libname$shrext' ;; openbsd*) library_names_spec='$libname$shrext$versuffix' ;; os2*) libname_spec='$name' shrext=.dll library_names_spec='$libname.a' ;; osf3* | osf4* | osf5*) library_names_spec='$libname$shrext' ;; rdos*) ;; solaris*) library_names_spec='$libname$shrext' ;; sunos4*) library_names_spec='$libname$shrext$versuffix' ;; sysv4 | sysv4.3*) library_names_spec='$libname$shrext' ;; sysv4*MP*) library_names_spec='$libname$shrext' ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) library_names_spec='$libname$shrext' ;; tpf*) library_names_spec='$libname$shrext' ;; uts4*) library_names_spec='$libname$shrext' ;; esac sed_quote_subst='s/\(["`$\\]\)/\\\1/g' escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` shlibext=`echo "$shrext" | sed -e 's,^\.,,'` escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # # Please send patches to . me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > "$dummy.c" ; for c in cc gcc c89 c99 ; do if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "$UNAME_SYSTEM" in Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval "$set_cc_for_build" cat <<-EOF > "$dummy.c" #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" # If ldd exists, use it to detect musl libc. if command -v ldd >/dev/null && \ ldd --version 2>&1 | grep -q ^musl then LIBC=musl fi ;; esac # Note: order is significant - the case branches are not exclusive. case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ "/sbin/$sysctl" 2>/dev/null || \ "/usr/sbin/$sysctl" 2>/dev/null || \ echo unknown)` case "$UNAME_MACHINE_ARCH" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; earmv*) arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` machine="${arch}${endian}"-unknown ;; *) machine="$UNAME_MACHINE_ARCH"-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently (or will in the future) and ABI. case "$UNAME_MACHINE_ARCH" in earm*) os=netbsdelf ;; arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval "$set_cc_for_build" if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # Determine ABI tags. case "$UNAME_MACHINE_ARCH" in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "$UNAME_VERSION" in Debian*) release='-gnu' ;; *) release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "$machine-${os}${release}${abi}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" exit ;; *:LibertyBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" exit ;; *:MidnightBSD:*:*) echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" exit ;; *:ekkoBSD:*:*) echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" exit ;; *:SolidBSD:*:*) echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd"$UNAME_RELEASE" exit ;; *:MirBSD:*:*) echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" exit ;; *:Sortix:*:*) echo "$UNAME_MACHINE"-unknown-sortix exit ;; *:Redox:*:*) echo "$UNAME_MACHINE"-unknown-redox exit ;; mips:OSF1:*.*) echo mips-dec-osf1 exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE=alpha ;; "EV4.5 (21064)") UNAME_MACHINE=alpha ;; "LCA4 (21066/21068)") UNAME_MACHINE=alpha ;; "EV5 (21164)") UNAME_MACHINE=alphaev5 ;; "EV5.6 (21164A)") UNAME_MACHINE=alphaev56 ;; "EV5.6 (21164PC)") UNAME_MACHINE=alphapca56 ;; "EV5.7 (21164PC)") UNAME_MACHINE=alphapca57 ;; "EV6 (21264)") UNAME_MACHINE=alphaev6 ;; "EV6.7 (21264A)") UNAME_MACHINE=alphaev67 ;; "EV6.8CB (21264C)") UNAME_MACHINE=alphaev68 ;; "EV6.8AL (21264B)") UNAME_MACHINE=alphaev68 ;; "EV6.8CX (21264D)") UNAME_MACHINE=alphaev68 ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE=alphaev69 ;; "EV7 (21364)") UNAME_MACHINE=alphaev7 ;; "EV7.9 (21364A)") UNAME_MACHINE=alphaev79 ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo "$UNAME_MACHINE"-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo "$UNAME_MACHINE"-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix"$UNAME_RELEASE" exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux"$UNAME_RELEASE" exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval "$set_cc_for_build" SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 fi fi echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos"$UNAME_RELEASE" exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos"$UNAME_RELEASE" ;; sun4) echo sparc-sun-sunos"$UNAME_RELEASE" ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos"$UNAME_RELEASE" exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint"$UNAME_RELEASE" exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint"$UNAME_RELEASE" exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint"$UNAME_RELEASE" exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint"$UNAME_RELEASE" exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint"$UNAME_RELEASE" exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint"$UNAME_RELEASE" exit ;; m68k:machten:*:*) echo m68k-apple-machten"$UNAME_RELEASE" exit ;; powerpc:machten:*:*) echo powerpc-apple-machten"$UNAME_RELEASE" exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix"$UNAME_RELEASE" exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix"$UNAME_RELEASE" exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix"$UNAME_RELEASE" exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`"$dummy" "$dummyarg"` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos"$UNAME_RELEASE" exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] then if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ [ "$TARGET_BINARY_INTERFACE"x = x ] then echo m88k-dg-dgux"$UNAME_RELEASE" else echo m88k-dg-dguxbcs"$UNAME_RELEASE" fi else echo i586-dg-dgux"$UNAME_RELEASE" fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" fi echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/lslpp ] ; then IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" fi echo "$IBM_ARCH"-ibm-aix"$IBM_REV" exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` case "$UNAME_MACHINE" in 9000/31?) HP_ARCH=m68000 ;; 9000/[34]??) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "$sc_cpu_version" in 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "$sc_kernel_bits" in 32) HP_ARCH=hppa2.0n ;; 64) HP_ARCH=hppa2.0w ;; '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 esac ;; esac fi if [ "$HP_ARCH" = "" ]; then eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ "$HP_ARCH" = hppa2.0w ] then eval "$set_cc_for_build" # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH=hppa2.0w else HP_ARCH=hppa64 fi fi echo "$HP_ARCH"-hp-hpux"$HPUX_REV" exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux"$HPUX_REV" exit ;; 3050*:HI-UX:*:*) eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo "$UNAME_MACHINE"-unknown-osf1mk else echo "$UNAME_MACHINE"-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi"$UNAME_RELEASE" exit ;; *:BSD/OS:*:*) echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case "$UNAME_PROCESSOR" in amd64) UNAME_PROCESSOR=x86_64 ;; i386) UNAME_PROCESSOR=i586 ;; esac echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" exit ;; i*:CYGWIN*:*) echo "$UNAME_MACHINE"-pc-cygwin exit ;; *:MINGW64*:*) echo "$UNAME_MACHINE"-pc-mingw64 exit ;; *:MINGW*:*) echo "$UNAME_MACHINE"-pc-mingw32 exit ;; *:MSYS*:*) echo "$UNAME_MACHINE"-pc-msys exit ;; i*:PW*:*) echo "$UNAME_MACHINE"-pc-pw32 exit ;; *:Interix*:*) case "$UNAME_MACHINE" in x86) echo i586-pc-interix"$UNAME_RELEASE" exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix"$UNAME_RELEASE" exit ;; IA64) echo ia64-unknown-interix"$UNAME_RELEASE" exit ;; esac ;; i*:UWIN*:*) echo "$UNAME_MACHINE"-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; *:GNU:*:*) # the GNU system echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" exit ;; i*86:Minix:*:*) echo "$UNAME_MACHINE"-pc-minix exit ;; aarch64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; arc:Linux:*:* | arceb:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; arm*:Linux:*:*) eval "$set_cc_for_build" if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi else echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf fi fi exit ;; avr32*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; cris:Linux:*:*) echo "$UNAME_MACHINE"-axis-linux-"$LIBC" exit ;; crisv32:Linux:*:*) echo "$UNAME_MACHINE"-axis-linux-"$LIBC" exit ;; e2k:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; frv:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; hexagon:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; i*86:Linux:*:*) echo "$UNAME_MACHINE"-pc-linux-"$LIBC" exit ;; ia64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; k1om:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; m32r*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; m68*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } ;; mips64el:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; openrisc*:Linux:*:*) echo or1k-unknown-linux-"$LIBC" exit ;; or32:Linux:*:* | or1k*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; padre:Linux:*:*) echo sparc-unknown-linux-"$LIBC" exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-"$LIBC" exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; *) echo hppa-unknown-linux-"$LIBC" ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-"$LIBC" exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-"$LIBC" exit ;; ppc64le:Linux:*:*) echo powerpc64le-unknown-linux-"$LIBC" exit ;; ppcle:Linux:*:*) echo powerpcle-unknown-linux-"$LIBC" exit ;; riscv32:Linux:*:* | riscv64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" exit ;; sh64*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; sh*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; tile*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; vax:Linux:*:*) echo "$UNAME_MACHINE"-dec-linux-"$LIBC" exit ;; x86_64:Linux:*:*) if objdump -f /bin/sh | grep -q elf32-x86-64; then echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 else echo "$UNAME_MACHINE"-pc-linux-"$LIBC" fi exit ;; xtensa*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo "$UNAME_MACHINE"-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo "$UNAME_MACHINE"-unknown-stop exit ;; i*86:atheos:*:*) echo "$UNAME_MACHINE"-unknown-atheos exit ;; i*86:syllable:*:*) echo "$UNAME_MACHINE"-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos"$UNAME_RELEASE" exit ;; i*86:*DOS:*:*) echo "$UNAME_MACHINE"-pc-msdosdjgpp exit ;; i*86:*:4.*:*) UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" else echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" else echo "$UNAME_MACHINE"-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configure will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos"$UNAME_RELEASE" exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos"$UNAME_RELEASE" exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos"$UNAME_RELEASE" exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos"$UNAME_RELEASE" exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv"$UNAME_RELEASE" exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo "$UNAME_MACHINE"-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo "$UNAME_MACHINE"-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux"$UNAME_RELEASE" exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv"$UNAME_RELEASE" else echo mips-unknown-sysv"$UNAME_RELEASE" fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; x86_64:Haiku:*:*) echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux"$UNAME_RELEASE" exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux"$UNAME_RELEASE" exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux"$UNAME_RELEASE" exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux"$UNAME_RELEASE" exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux"$UNAME_RELEASE" exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux"$UNAME_RELEASE" exit ;; SX-ACE:SUPER-UX:*:*) echo sxace-nec-superux"$UNAME_RELEASE" exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody"$UNAME_RELEASE" exit ;; *:Rhapsody:*:*) echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown eval "$set_cc_for_build" if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_PPC >/dev/null then UNAME_PROCESSOR=powerpc fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit # processor. This is not true of the ARM version of Darwin # that Apple uses in portable devices. UNAME_PROCESSOR=x86_64 fi echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-*:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk"$UNAME_RELEASE" exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk"$UNAME_RELEASE" exit ;; NSR-*:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk"$UNAME_RELEASE" exit ;; NSV-*:NONSTOP_KERNEL:*:*) echo nsv-tandem-nsk"$UNAME_RELEASE" exit ;; NSX-*:NONSTOP_KERNEL:*:*) echo nsx-tandem-nsk"$UNAME_RELEASE" exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = 386; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo "$UNAME_MACHINE"-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux"$UNAME_RELEASE" exit ;; *:DragonFly:*:*) echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "$UNAME_MACHINE" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" exit ;; i*86:rdos:*:*) echo "$UNAME_MACHINE"-pc-rdos exit ;; i*86:AROS:*:*) echo "$UNAME_MACHINE"-pc-aros exit ;; x86_64:VMkernel:*:*) echo "$UNAME_MACHINE"-unknown-esx exit ;; amd64:Isilon\ OneFS:*:*) echo x86_64-unknown-onefs exit ;; esac echo "$0: unable to guess system type" >&2 case "$UNAME_MACHINE:$UNAME_SYSTEM" in mips:Linux | mips64:Linux) # If we got here on MIPS GNU/Linux, output extra information. cat >&2 <&2 </dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = "$UNAME_MACHINE" UNAME_RELEASE = "$UNAME_RELEASE" UNAME_SYSTEM = "$UNAME_SYSTEM" UNAME_VERSION = "$UNAME_VERSION" EOF exit 1 # Local variables: # eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: xdx-2.91/build-aux/depcomp0000755000175000017500000005602014224024370012441 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2018-03-07.03; # UTC # Copyright (C) 1999-2020 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: xdx-2.91/build-aux/install-sh0000755000175000017500000003577614224024370013107 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2020-11-14.01; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 # Create dirs (including intermediate dirs) using mode 755. # This is like GNU 'install' as of coreutils 8.32 (2020). mkdir_umask=22 backupsuffix= chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -p pass -p to $cpprog. -s $stripprog installed files. -S SUFFIX attempt to back up existing files, with suffix SUFFIX. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG By default, rm is invoked with -f; when overridden with RMPROG, it's up to you to specify -f if you want it. If -S is not specified, no backups are attempted. Email bug reports to bug-automake@gnu.org. Automake home page: https://www.gnu.org/software/automake/ " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -p) cpprog="$cpprog -p";; -s) stripcmd=$stripprog;; -S) backupsuffix="$2" shift;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? # Don't chown directories that already exist. if test $dstdir_status = 0; then chowncmd="" fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dstbase=`basename "$src"` case $dst in */) dst=$dst$dstbase;; *) dst=$dst/$dstbase;; esac dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi case $dstdir in */) dstdirslash=$dstdir;; *) dstdirslash=$dstdir/;; esac obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false # The $RANDOM variable is not portable (e.g., dash). Use it # here however when possible just to lower collision chance. tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap ' ret=$? rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null exit $ret ' 0 # Because "mkdir -p" follows existing symlinks and we likely work # directly in world-writeable /tmp, make sure that the '$tmpdir' # directory is successfully created first before we actually test # 'mkdir -p'. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null fi trap '' 0;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=${dstdirslash}_inst.$$_ rmtmp=${dstdirslash}_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && { test -z "$stripcmd" || { # Create $dsttmp read-write so that cp doesn't create it read-only, # which would cause strip to fail. if test -z "$doit"; then : >"$dsttmp" # No need to fork-exec 'touch'. else $doit touch "$dsttmp" fi } } && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # If $backupsuffix is set, and the file being installed # already exists, attempt a backup. Don't worry if it fails, # e.g., if mv doesn't support -f. if test -n "$backupsuffix" && test -f "$dst"; then $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null fi # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: xdx-2.91/build-aux/missing0000755000175000017500000001533614224024370012470 00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2018-03-07.03; # UTC # Copyright (C) 1996-2020 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=https://www.perl.org/ flex_URL=https://github.com/westes/flex gnu_software_URL=https://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: xdx-2.91/src/0000755000175000017500000000000014224026464010044 500000000000000xdx-2.91/src/gui_closedialog.c0000644000175000017500000000700214212155066013256 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_closedialog.c - dialog for closing a connection */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include "gui.h" #include "gui_closedialog.h" #include "net.h" #include "utils.h" /* * called from the menu */ void on_close_activate(GtkMenuItem *menuitem, gpointer user_data) { GtkWidget *closedialog, *closelabel, *hbox, *vbox, *stock, *mainentry; GString *labeltext = g_string_new(""); GString *msg = g_string_new(""); gint response; servertype *cluster; gtk_widget_set_sensitive(gui->window, 0); closedialog = gtk_dialog_new_with_buttons(_("Xdx - Close connection"), GTK_WINDOW(gui->window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, _("Cancel"), GTK_RESPONSE_CANCEL, _("OK"), GTK_RESPONSE_OK, NULL); hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_container_set_border_width(GTK_CONTAINER(hbox), 8); vbox = gtk_dialog_get_content_area(GTK_DIALOG(closedialog)); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); stock = gtk_image_new_from_icon_name("dialog-question", GTK_ICON_SIZE_DIALOG); gtk_box_pack_start(GTK_BOX(hbox), stock, FALSE, FALSE, 0); cluster = (servertype *)g_object_get_data(G_OBJECT(gui->window), "cluster"); g_string_printf(labeltext, _("Close connection to %s ?"), cluster->host); closelabel = gtk_label_new_with_mnemonic(labeltext->str); g_string_free(labeltext, TRUE); gtk_box_pack_start(GTK_BOX(hbox), closelabel, TRUE, TRUE, 0); gtk_widget_show_all(hbox); response = gtk_dialog_run(GTK_DIALOG(closedialog)); if (response == GTK_RESPONSE_OK) { g_string_printf(msg, _("Connection closed")); logconnection(msg); cldisconnect(msg, FALSE); g_string_free(msg, TRUE); } gtk_widget_destroy(closedialog); gtk_widget_set_sensitive(gui->window, 1); mainentry = g_object_get_data(G_OBJECT(gui->window), "mainentry"); gtk_widget_grab_focus(GTK_WIDGET(mainentry)); } xdx-2.91/src/preferences.c0000644000175000017500000005164514206154364012445 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * preferences.c - private functions for saving and recalling xdx preferences. */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include #include #include #include "gui.h" #include "preferences.h" #include "utils.h" preferencestype preferences; /* * check if ~/.xdx directory exists */ void dircheck() { struct stat statdir; gui->preferencesdir = g_strdup_printf("%s/.%s", g_get_home_dir(), PACKAGE); if (stat(gui->preferencesdir, &statdir) == -1) { if (mkdir(gui->preferencesdir, S_IRUSR | S_IWUSR | S_IXUSR) == -1) g_error(_("Creating ~/.%s directory."), PACKAGE); } else if (!S_ISDIR(statdir.st_mode)) g_error(_("~/.%s is not a directory."), PACKAGE); } /* * look up settings in ~/.xdx/preferences */ void loadpreferences(void) { gchar *preferencesfile, label[100], value[100]; FILE *fp; /* defaults */ preferences.x = 10; preferences.y = 30; preferences.width = 750; preferences.height = 550; preferences.columnwidths = g_strdup_printf("%d,%d,%d,%d,%d,%d,%d", COL0WIDTH, COL1WIDTH, COL2WIDTH, COL3WIDTH, COL4WIDTH, COL5WIDTH, COL6WIDTH); preferences.autologin = 0; preferences.callsign = g_strdup("N0CALL"); preferences.commands = g_strdup("set/page 0"); preferences.savedx = 0; preferences.savewwv = 0; preferences.savetoall = 0; preferences.savewx = 0; preferences.hamlib = 0; preferences.rigctl = g_strdup("rigctl -m 1 -r /dev/rig set_freq %d");; preferences.browserapp = g_strdup("?"); preferences.mailapp = g_strdup("?"); preferences.soundapp = g_strdup("play %s"); preferences.col0visible = 1; preferences.col1visible = 1; preferences.col2visible = 1; preferences.col3visible = 1; preferences.col4visible = 1; preferences.col5visible = 1; preferences.col6visible = 1; preferences.dxfont = g_strdup("Sans 10"); preferences.allfont = g_strdup("Sans 10"); preferences.localecho = 1; preferences.handlebarpos = 350; preferences.highword1 = g_strdup("?"); preferences.highword2 = g_strdup("?"); preferences.highword3 = g_strdup("?"); preferences.highword4 = g_strdup("?"); preferences.highword5 = g_strdup("?"); preferences.highword6 = g_strdup("?"); preferences.highword7 = g_strdup("?"); preferences.highword8 = g_strdup("?"); gdk_rgba_parse(&preferences.highcolor1, "red"); gdk_rgba_parse(&preferences.highcolor2, "red"); gdk_rgba_parse(&preferences.highcolor3, "red"); gdk_rgba_parse(&preferences.highcolor4, "red"); gdk_rgba_parse(&preferences.highcolor5, "red"); gdk_rgba_parse(&preferences.highcolor6, "red"); gdk_rgba_parse(&preferences.highcolor7, "red"); gdk_rgba_parse(&preferences.highcolor8, "red"); preferences.highmenu = g_strdup("00000000"); preferences.sidebar = 1; preferences.fbox = 1; preferences.reconnect = 0; preferences.playsound = 0; preferences.keepalive = 0; gdk_rgba_parse(&preferences.promptcolor, "green"); gdk_rgba_parse(&preferences.sentcolor, "red"); gdk_rgba_parse(&preferences.wwvcolor, "darkgreen"); gdk_rgba_parse(&preferences.wxcolor, "magenta"); preferences.f1command = g_strdup("^"); preferences.f2command = g_strdup("^"); preferences.f3command = g_strdup("^"); preferences.f4command = g_strdup("^"); preferences.f5command = g_strdup("^"); preferences.f6command = g_strdup("^"); preferences.f7command = g_strdup("^"); preferences.f8command = g_strdup("^"); /* open preferences file */ preferencesfile = g_strdup_printf("%s/preferences", gui->preferencesdir); fp = fopen(preferencesfile, "r"); if (fp) { while (!feof(fp)) { if (fscanf(fp, "%s %s", label, value) == EOF) break; if (!g_ascii_strcasecmp(label, "x")) preferences.x = atoi(value); else if (!g_ascii_strcasecmp(label, "y")) preferences.y = atoi(value); else if (!g_ascii_strcasecmp(label, "width")) preferences.width = atoi(value); else if (!g_ascii_strcasecmp(label, "height")) preferences.height = atoi(value); else if (!g_ascii_strcasecmp(label, "columnwidths2")) preferences.columnwidths = g_strdup(value); else if (!g_ascii_strcasecmp(label, "autologin")) preferences.autologin = atoi(value); else if (!g_ascii_strcasecmp(label, "callsign")) preferences.callsign = g_strdup(value); else if (!g_ascii_strcasecmp(label, "commands")) { g_strdelimit(value, "_", ' '); preferences.commands = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "savedx")) preferences.savedx = atoi(value); else if (!g_ascii_strcasecmp(label, "savewwv")) preferences.savewwv = atoi(value); else if (!g_ascii_strcasecmp(label, "savetoall")) preferences.savetoall = atoi(value); else if (!g_ascii_strcasecmp(label, "savewx")) preferences.savewx = atoi(value); else if (!g_ascii_strcasecmp(label, "hamlib")) preferences.hamlib = atoi(value); else if (!g_ascii_strcasecmp(label, "rigctl")) { g_strdelimit(value, "~", ' '); preferences.rigctl = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "browserapp")) { g_strdelimit(value, "~", ' '); preferences.browserapp = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "mailapp")) { g_strdelimit(value, "~", ' '); preferences.mailapp = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "soundapp")) { g_strdelimit(value, "~", ' '); preferences.soundapp = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "col0visible")) preferences.col0visible = atoi(value); else if (!g_ascii_strcasecmp(label, "col1visible")) preferences.col1visible = atoi(value); else if (!g_ascii_strcasecmp(label, "col2visible")) preferences.col2visible = atoi(value); else if (!g_ascii_strcasecmp(label, "col3visible")) preferences.col3visible = atoi(value); else if (!g_ascii_strcasecmp(label, "col4visible")) preferences.col4visible = atoi(value); else if (!g_ascii_strcasecmp(label, "col5visible")) preferences.col5visible = atoi(value); else if (!g_ascii_strcasecmp(label, "col6visible")) preferences.col6visible = atoi(value); else if (!g_ascii_strcasecmp(label, "dxfont")) { g_strdelimit(value, "~", ' '); preferences.dxfont = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "allfont")) { g_strdelimit(value, "~", ' '); preferences.allfont = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "localecho")) preferences.localecho = atoi(value); else if (!g_ascii_strcasecmp(label, "handlebarpos")) preferences.handlebarpos = atoi(value); else if (!g_ascii_strcasecmp(label, "highword1")) { g_strdelimit(value, "~", ' '); preferences.highword1 = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "highword2")) { g_strdelimit(value, "~", ' '); preferences.highword2 = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "highword3")) { g_strdelimit(value, "~", ' '); preferences.highword3 = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "highword4")) { g_strdelimit(value, "~", ' '); preferences.highword4 = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "highword5")) { g_strdelimit(value, "~", ' '); preferences.highword5 = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "highword6")) { g_strdelimit(value, "~", ' '); preferences.highword6 = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "highword7")) { g_strdelimit(value, "~", ' '); preferences.highword7 = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "highword8")) { g_strdelimit(value, "~", ' '); preferences.highword8 = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "highcolor1")) gdk_rgba_parse(&preferences.highcolor1, value); else if (!g_ascii_strcasecmp(label, "highcolor2")) gdk_rgba_parse(&preferences.highcolor2, value); else if (!g_ascii_strcasecmp(label, "highcolor3")) gdk_rgba_parse(&preferences.highcolor3, value); else if (!g_ascii_strcasecmp(label, "highcolor4")) gdk_rgba_parse(&preferences.highcolor4, value); else if (!g_ascii_strcasecmp(label, "highcolor5")) gdk_rgba_parse(&preferences.highcolor5, value); else if (!g_ascii_strcasecmp(label, "highcolor6")) gdk_rgba_parse(&preferences.highcolor6, value); else if (!g_ascii_strcasecmp(label, "highcolor7")) gdk_rgba_parse(&preferences.highcolor7, value); else if (!g_ascii_strcasecmp(label, "highcolor8")) gdk_rgba_parse(&preferences.highcolor8, value); else if (!g_ascii_strcasecmp(label, "highmenu")) preferences.highmenu = g_strdup(value); else if (!g_ascii_strcasecmp(label, "sidebar")) preferences.sidebar = atoi(value); else if (!g_ascii_strcasecmp(label, "fbox")) preferences.fbox = atoi(value); else if (!g_ascii_strcasecmp(label, "reconnect")) preferences.reconnect = atoi(value); else if (!g_ascii_strcasecmp(label, "playsound")) preferences.playsound = atoi(value); else if (!g_ascii_strcasecmp(label, "keepalive")) preferences.keepalive = atoi(value); else if (!g_ascii_strcasecmp(label, "promptcolor")) gdk_rgba_parse(&preferences.promptcolor, value); else if (!g_ascii_strcasecmp(label, "sentcolor")) gdk_rgba_parse(&preferences.sentcolor, value); else if (!g_ascii_strcasecmp(label, "wwvcolor")) gdk_rgba_parse(&preferences.wwvcolor, value); else if (!g_ascii_strcasecmp(label, "wxcolor")) gdk_rgba_parse(&preferences.wxcolor, value); else if (!g_ascii_strcasecmp(label, "f1command")) { g_strdelimit(value, "~", ' '); preferences.f1command = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "f2command")) { g_strdelimit(value, "~", ' '); preferences.f2command = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "f3command")) { g_strdelimit(value, "~", ' '); preferences.f3command = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "f4command")) { g_strdelimit(value, "~", ' '); preferences.f4command = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "f5command")) { g_strdelimit(value, "~", ' '); preferences.f5command = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "f6command")) { g_strdelimit(value, "~", ' '); preferences.f6command = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "f7command")) { g_strdelimit(value, "~", ' '); preferences.f7command = g_strdup(value); } else if (!g_ascii_strcasecmp(label, "f8command")) { g_strdelimit(value, "~", ' '); preferences.f8command = g_strdup(value); } } fclose(fp); } g_free(preferencesfile); } /* * save preferences in ~/.xdx/preferences */ void savepreferences(void) { gchar *preferencesfile, *str; FILE *fp; /* open preferences file */ preferencesfile = g_strdup_printf("%s/preferences", gui->preferencesdir); fp = fopen(preferencesfile, "w"); if (fp) { fprintf(fp, "version %s\n", VERSION); str = g_strdup_printf("%d", preferences.x); fprintf(fp, "x %s\n", str); str = g_strdup_printf("%d", preferences.y); fprintf(fp, "y %s\n", str); str = g_strdup_printf("%d", preferences.width); fprintf(fp, "width %s\n", str); str = g_strdup_printf("%d", preferences.height); fprintf(fp, "height %s\n", str); str = g_strdup_printf("%s", preferences.columnwidths); fprintf(fp, "columnwidths2 %s\n", str); str = g_strdup_printf("%d", preferences.autologin); fprintf(fp, "autologin %s\n", str); str = g_strdup_printf("%s", preferences.callsign); fprintf(fp, "callsign %s\n", str); str = g_strdup_printf("%s", preferences.commands); g_strdelimit(str, " ", '_'); fprintf(fp, "commands %s\n", str); str = g_strdup_printf("%d", preferences.savedx); fprintf(fp, "savedx %s\n", str); str = g_strdup_printf("%d", preferences.savewwv); fprintf(fp, "savewwv %s\n", str); str = g_strdup_printf("%d", preferences.savetoall); fprintf(fp, "savetoall %s\n", str); str = g_strdup_printf("%d", preferences.savewx); fprintf(fp, "savewx %s\n", str); str = g_strdup_printf("%d", preferences.hamlib); fprintf(fp, "hamlib %s\n", str); str = g_strdup_printf("%s", preferences.rigctl); g_strdelimit(str, " ", '~'); fprintf(fp, "rigctl %s\n", str); str = g_strdup_printf("%s", preferences.browserapp); g_strdelimit(str, " ", '~'); fprintf(fp, "browserapp %s\n", str); str = g_strdup_printf("%s", preferences.mailapp); g_strdelimit(str, " ", '~'); fprintf(fp, "mailapp %s\n", str); str = g_strdup_printf("%s", preferences.soundapp); g_strdelimit(str, " ", '~'); fprintf(fp, "soundapp %s\n", str); str = g_strdup_printf("%d", preferences.col0visible); fprintf(fp, "col0visible %s\n", str); str = g_strdup_printf("%d", preferences.col1visible); fprintf(fp, "col1visible %s\n", str); str = g_strdup_printf("%d", preferences.col2visible); fprintf(fp, "col2visible %s\n", str); str = g_strdup_printf("%d", preferences.col3visible); fprintf(fp, "col3visible %s\n", str); str = g_strdup_printf("%d", preferences.col4visible); fprintf(fp, "col4visible %s\n", str); str = g_strdup_printf("%d", preferences.col5visible); fprintf(fp, "col5visible %s\n", str); str = g_strdup_printf("%d", preferences.col6visible); fprintf(fp, "col6visible %s\n", str); str = g_strdup_printf("%s", preferences.dxfont); g_strdelimit(str, " ", '~'); fprintf(fp, "dxfont %s\n", str); str = g_strdup_printf("%s", preferences.allfont); g_strdelimit(str, " ", '~'); fprintf(fp, "allfont %s\n", str); str = g_strdup_printf("%d", preferences.localecho); fprintf(fp, "localecho %s\n", str); str = g_strdup_printf("%d", preferences.handlebarpos); fprintf(fp, "handlebarpos %s\n", str); str = g_strdup_printf("%s", preferences.highword1); g_strdelimit(str, " ", '~'); fprintf(fp, "highword1 %s\n", str); str = g_strdup_printf("%s", preferences.highword2); g_strdelimit(str, " ", '~'); fprintf(fp, "highword2 %s\n", str); str = g_strdup_printf("%s", preferences.highword3); g_strdelimit(str, " ", '~'); fprintf(fp, "highword3 %s\n", str); str = g_strdup_printf("%s", preferences.highword4); g_strdelimit(str, " ", '~'); fprintf(fp, "highword4 %s\n", str); str = g_strdup_printf("%s", preferences.highword5); g_strdelimit(str, " ", '~'); fprintf(fp, "highword5 %s\n", str); str = g_strdup_printf("%s", preferences.highword6); g_strdelimit(str, " ", '~'); fprintf(fp, "highword6 %s\n", str); str = g_strdup_printf("%s", preferences.highword7); g_strdelimit(str, " ", '~'); fprintf(fp, "highword7 %s\n", str); str = g_strdup_printf("%s", preferences.highword8); g_strdelimit(str, " ", '~'); fprintf(fp, "highword8 %s\n", str); fprintf(fp, "highcolor1 %s\n", gdk_rgba_to_string(&preferences.highcolor1)); fprintf(fp, "highcolor2 %s\n", gdk_rgba_to_string(&preferences.highcolor2)); fprintf(fp, "highcolor3 %s\n", gdk_rgba_to_string(&preferences.highcolor3)); fprintf(fp, "highcolor4 %s\n", gdk_rgba_to_string(&preferences.highcolor4)); fprintf(fp, "highcolor5 %s\n", gdk_rgba_to_string(&preferences.highcolor5)); fprintf(fp, "highcolor6 %s\n", gdk_rgba_to_string(&preferences.highcolor6)); fprintf(fp, "highcolor7 %s\n", gdk_rgba_to_string(&preferences.highcolor7)); fprintf(fp, "highcolor8 %s\n", gdk_rgba_to_string(&preferences.highcolor8)); str = g_strdup_printf("%s", preferences.highmenu); fprintf(fp, "highmenu %s\n", str); str = g_strdup_printf("%d", preferences.sidebar); fprintf(fp, "sidebar %s\n", str); str = g_strdup_printf("%d", preferences.fbox); fprintf(fp, "fbox %s\n", str); str = g_strdup_printf("%d", preferences.reconnect); fprintf(fp, "reconnect %s\n", str); str = g_strdup_printf("%d", preferences.playsound); fprintf(fp, "playsound %s\n", str); str = g_strdup_printf("%d", preferences.keepalive); fprintf(fp, "keepalive %s\n", str); fprintf(fp, "promptcolor %s\n", gdk_rgba_to_string(&preferences.promptcolor)); fprintf(fp, "sentcolor %s\n", gdk_rgba_to_string(&preferences.sentcolor)); fprintf(fp, "wwvcolor %s\n", gdk_rgba_to_string(&preferences.wwvcolor)); fprintf(fp, "wxcolor %s\n", gdk_rgba_to_string(&preferences.wxcolor)); str = g_strdup_printf("%s", preferences.f1command); g_strdelimit(str, " ", '~'); fprintf(fp, "f1command %s\n", str); str = g_strdup_printf("%s", preferences.f2command); g_strdelimit(str, " ", '~'); fprintf(fp, "f2command %s\n", str); str = g_strdup_printf("%s", preferences.f3command); g_strdelimit(str, " ", '~'); fprintf(fp, "f3command %s\n", str); str = g_strdup_printf("%s", preferences.f4command); g_strdelimit(str, " ", '~'); fprintf(fp, "f4command %s\n", str); str = g_strdup_printf("%s", preferences.f5command); g_strdelimit(str, " ", '~'); fprintf(fp, "f5command %s\n", str); str = g_strdup_printf("%s", preferences.f6command); g_strdelimit(str, " ", '~'); fprintf(fp, "f6command %s\n", str); str = g_strdup_printf("%s", preferences.f7command); g_strdelimit(str, " ", '~'); fprintf(fp, "f7command %s\n", str); str = g_strdup_printf("%s", preferences.f8command); g_strdelimit(str, " ", '~'); fprintf(fp, "f8command %s\n", str); g_free(str); fclose(fp); } g_free(preferencesfile); } xdx-2.91/src/utils.c0000644000175000017500000001544614220735404011277 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * utils.c - private functions that don't belong in other modules */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include #include "gui.h" #include "preferences.h" #include "utils.h" extern preferencestype preferences; static GList *pixmaps_directories = NULL; /* * use this function to set the directory containing installed pixmaps */ void add_pixmap_directory(const gchar *directory) { pixmaps_directories = g_list_prepend(pixmaps_directories, g_strdup(directory)); } /* * set statusbar message to the previous message after a timeout occurs */ static gint statusbar_timeout(gpointer data) { GtkWidget *mainstatusbar; mainstatusbar = g_object_get_data(G_OBJECT(gui->window), "mainstatusbar"); gtk_statusbar_pop(GTK_STATUSBAR(mainstatusbar), 1); gtk_statusbar_push(GTK_STATUSBAR(mainstatusbar), 1, gui->statusbarmessage); g_source_remove(gui->statusbartimer); gui->statusbartimer = -1; return FALSE; } /* * print a message to the statusbar. If timeout is set, the statusbar will * be set to the previous message after 5 seconds */ void updatestatusbar(GString *statusmessage, gboolean timeout) { GtkWidget *mainstatusbar; mainstatusbar = g_object_get_data(G_OBJECT(gui->window), "mainstatusbar"); gtk_statusbar_pop(GTK_STATUSBAR(mainstatusbar), 1); gtk_statusbar_push(GTK_STATUSBAR(mainstatusbar), 1, statusmessage->str); if (timeout) { if (gui->statusbartimer != -1) g_source_remove(gui->statusbartimer); gui->statusbartimer = g_timeout_add(5000, statusbar_timeout, NULL); } else gui->statusbarmessage = g_strdup(statusmessage->str); } static void shellcommand(gchar *command) { gchar **args; args = g_strsplit(command, " ", 0); g_spawn_async(NULL, args, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL); } /* Returns FALSE if preferences.browserapp setting does not end in "%s" so * desktop defined default browser app is called. */ gboolean openurl(const char *url) { if (g_strrstr(preferences.browserapp, "%s")) { gchar buf[1024]; GString *msg = g_string_new(""); g_snprintf(buf, sizeof(buf), preferences.browserapp, url); g_string_printf(msg, _("Starting: %s"), buf); updatestatusbar(msg, TRUE); shellcommand(buf); g_string_free(msg, TRUE); return TRUE; } else return FALSE; } /* Returns FALSE if preferences.mailapp setting does not end in "%s" so * desktop defined default mail app is called. */ gboolean openmail(const char *url) { if (g_strrstr(preferences.mailapp, "%s")) { gchar buf[1024]; GString *msg = g_string_new(""); g_snprintf(buf, sizeof(buf), preferences.mailapp, url); g_string_printf(msg, _("Starting: %s"), buf); updatestatusbar(msg, TRUE); shellcommand(buf); g_string_free(msg, TRUE); return TRUE; } else return FALSE; } void opensound(const char *file) { gchar buf[1024]; GString *msg = g_string_new(""); if (g_strrstr(preferences.soundapp, "%s")) { g_snprintf(buf, sizeof(buf), preferences.soundapp, file); shellcommand(buf); } g_string_free(msg, TRUE); } /* * try to convert an incoming message to utf8 */ gchar * try_utf8(const gchar *str) { gsize converted; gchar *utf8; if (str == NULL) return NULL; if (g_utf8_validate(str, -1, NULL)) return g_strdup(str); utf8 = g_locale_to_utf8(str, -1, &converted, NULL, NULL); if (utf8) return (utf8); utf8 = g_convert_with_fallback (str, -1, "UTF-8", "ISO-8859-1", ".", &converted, NULL, NULL); if (utf8) return (utf8); utf8 = g_convert_with_fallback (str, -1, "UTF-8", "ISO-8859-15", ".", &converted, NULL, NULL); if (utf8) return (utf8); utf8 = g_convert_with_fallback (str, -1, "UTF-8", "ISO-8859-2", ".", &converted, NULL, NULL); if (utf8) return (utf8); return (NULL); } /* get the current time, returned value has to be freed */ gchar * xdxgettime(gboolean formatted) { time_t current; struct tm *timestruct = NULL; gchar stimenow[20]; time(¤t); timestruct = localtime(¤t); if (formatted) strftime(stimenow, 20, "%T", timestruct); else strftime(stimenow, 20, "%H", timestruct); return (g_strdup(stimenow)); } /* get the current date, returned value has to be freed */ gchar * xdxgetdate(gboolean formatted) { time_t current; struct tm *timestruct = NULL; gchar datenow[20]; time(¤t); timestruct = localtime(¤t); if (formatted) strftime(datenow, 20, "%Y-%m-%d", timestruct); else strftime(datenow, 20, "%Y%m%d", timestruct); return (g_strdup(datenow)); } /* * log a connection */ void logconnection(GString *logstr) { gchar *str, *f; FILE *fp; str = g_strdup_printf ("[%s, %s UTC] %s", xdxgetdate(TRUE), xdxgettime(TRUE), logstr->str); f = g_strdup_printf("%s/log.txt", gui->preferencesdir); fp = fopen(f, "a"); fprintf(fp, "%s\n", str); fclose(fp); g_free(str); g_free(f); } gchar * my_strreplace(const char *str, const char *delimiter, const char *replacement) { gchar **split; gchar *ret; split = g_strsplit(str, delimiter, 0); ret = g_strjoinv(replacement, split); g_strfreev(split); return ret; } xdx-2.91/src/types.h0000644000175000017500000000207614212155066011304 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * types.h */ #ifndef XDX_TYPES_H #define XDX_TYPES_H enum { FROM_COLUMN, FREQ_COLUMN, DX_COLUMN, REM_COLUMN, TIME_COLUMN, INFO_COLUMN, COUNTRY_COLUMN, RGBA_COLUMN, N_COLUMNS }; #endif /* XDX_TYPES_H */ xdx-2.91/src/cmd_opts.c0000644000175000017500000000613512646316272011752 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2014 Nate Bargmann N0NB * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * cmd_opts.c - Parse command line options. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include "cmd_opts.h" void usage(FILE *stream, gchar *my_name) { g_fprintf(stream, "Usage: %s [options]\n\n", my_name); g_fprintf(stream, " -c --cty_dat cty.dat Path to cty.dat file\n" " -h --help Display this usage information.\n" " -V --version Print %s version\n", PACKAGE_NAME); } void version(FILE *stream) { g_fprintf(stream, "%s DX Cluster client\n" "Copyright (C) 2002-2006 Joop Stakenborg \n" "Copyright (C) 2014 Nate Bargmann \n\n" "%s comes with ABSOLUTELY NO WARRANTY.\n" "This is free software, and you are welcome to redistribute it\n" "under certain conditions. See the file COPYING for details.\n\n", PACKAGE_NAME, PACKAGE_NAME); } void parse_opts(int *argc, char ***argv) { int next_opt = 0; gchar *my_name; extern gchar *opt_cty_path; /* Valid short options. */ const char *const s_opts = "c:hV"; /* Valid long options. */ const struct option l_opts[] = { { "cty_dat", required_argument, NULL, 'c' }, { "help", no_argument, NULL, 'h' }, { "verbose", no_argument, NULL, 'V' }, { NULL, 0, NULL, 0 } }; my_name = g_strdup_printf("%s", *argv[0]); while (next_opt != -1) { next_opt = getopt_long(*argc, *argv, s_opts, l_opts, NULL); switch (next_opt) { case 'c': opt_cty_path = g_strdup_printf("%s", optarg); break; case 'h': usage(stdout, my_name); exit(EXIT_SUCCESS); case 'V': version(stdout); exit(EXIT_SUCCESS); case '?': version(stderr); usage(stderr, my_name); exit(EXIT_FAILURE); case -1: break; default: abort(); /* Major Oops! */ } } g_free(my_name); } xdx-2.91/src/text.h0000644000175000017500000000343012646316272011126 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * text.h */ #ifndef XDX_TEXT_H #define XDX_TEXT_H /* Buffer size for reading in a single cty.dat record. Currently the * entire cty.dat file is just under 80k bytes, so any single record should * be much less than this value, but with additions of callsign exceptions * record sizes will undoubtedly continue to grow. */ #define MAX_RECORD_SIZE 65536 typedef struct { gchar *countryname; guchar cq; /* guchar max=255 */ guchar itu; gchar *continent; gint latitude; gint longitude; gshort timezone; gchar *px; gchar *exceptions; guint worked; guint confirmed; } dxcc_data; struct info { gint country; gint cq; gint itu; }; void cleanup_dxcc(void); gint readctydata(void); struct info lookupcountry_by_callsign(gchar *callsign); void maintext_add(gchar *msg, gint len, gint messagetype); #endif /* XDX_TEXT_H */ xdx-2.91/src/history.h0000644000175000017500000000203712646316272011645 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * history.h */ #ifndef XDX_HISTORY_H #define XDX_HISTORY_H void loadhistory(void); void savehistory(void); void tx_save(GString *txmsg); void tx_previous(void); void tx_next(void); #endif /* XDX_HISTORY_H */ xdx-2.91/src/gui_logdialog.h0000644000175000017500000000203512646316272012747 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_logdialog.h */ #ifndef XDX_GUI_LOGDIALOG_H #define XDX_GUI_LOGDIALOG_H void on_log_activate(GtkMenuItem *menuitem, gpointer user_data); #endif /* XDX_GUI_LOGDIALOG_H */ xdx-2.91/src/gui_manualdialog.h0000644000175000017500000000205112646316272013441 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_manualdialog.h */ #ifndef XDX_GUI_MANUALDIALOG_H #define XDX_GUI_MANUALDIALOG_H void on_manual_activate(GtkMenuItem *menuitem, gpointer user_data); #endif /* XDX_GUI_MANUALDIALOG_H */ xdx-2.91/src/history.c0000644000175000017500000001017612646316272011643 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * history.c - private functions for handling connect history */ #include #include #include "gui.h" #include "history.h" #include "utils.h" #define TXHISTORY 10 /* * recall history and copy into the appropriate GList */ void loadhistory(void) { gchar *historyfile, history[128], **histsplit; FILE *fp; historyfile = g_strdup_printf("%s/history", gui->preferencesdir); fp = fopen(historyfile, "r"); if (fp == NULL) return; while (!feof(fp)) { if (fscanf(fp, "%s", history) == EOF) break; histsplit = g_strsplit(history, ":", -1); if (!g_ascii_strncasecmp(history, "ho", 2)) gui->hostnamehistory = g_list_append(gui->hostnamehistory, g_strdup(histsplit[1])); else if (!g_ascii_strncasecmp(history, "po", 2)) gui->porthistory = g_list_append(gui->porthistory, g_strdup(histsplit[1])); g_strfreev(histsplit); } fclose(fp); g_free(historyfile); } /* * save history to ~/.xdx/history for the hostname combobox and port combobox */ void savehistory(void) { gchar *historyfile; FILE *fp; guint i, n; GList *link; historyfile = g_strdup_printf("%s/history", gui->preferencesdir); fp = fopen(historyfile, "w"); if (fp == NULL) return; if ((n = g_list_length(gui->hostnamehistory)) > 0) { for (i = 0; i < n; i++) { link = g_list_nth(gui->hostnamehistory, i); if (link) fprintf(fp, "ho:%s\n", (gchar *)link->data); } } if ((n = g_list_length(gui->porthistory)) > 0) { for (i = 0; i < n; i++) { link = g_list_nth(gui->porthistory, i); if (link) fprintf(fp, "po:%s\n", (gchar *)link->data); } } fclose(fp); g_free(historyfile); } void tx_save(GString *txmsg) { gui->txhistory = g_list_append(gui->txhistory, g_strdup(txmsg->str)); if (g_list_length(gui->txhistory) > TXHISTORY) gui->txhistory = g_list_remove(gui->txhistory, g_list_first(gui->txhistory)->data); else gui->txitem++; gui->updown = 0; } void tx_previous(void) { GtkWidget *mainentry; GtkTextBuffer *entrybuffer; GtkTextIter end; gchar *str; if (gui->updown < gui->txitem) gui->updown++; if (gui->txhistory) { str = g_list_nth_data(gui->txhistory, (gui->txitem) - (gui->updown)); mainentry = g_object_get_data(G_OBJECT(gui->window), "mainentry"); entrybuffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(mainentry)); gtk_text_buffer_set_text(entrybuffer, str, -1); gtk_text_buffer_get_end_iter(entrybuffer, &end); gtk_text_buffer_place_cursor(entrybuffer, &end); } } void tx_next(void) { GtkWidget *mainentry; GtkTextBuffer *entrybuffer; GtkTextIter end; gchar *str; if (gui->updown > 0) gui->updown--; mainentry = g_object_get_data(G_OBJECT(gui->window), "mainentry"); entrybuffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(mainentry)); if (gui->updown == 0) gtk_text_buffer_set_text(entrybuffer, "", 0); else { str = g_list_nth_data(gui->txhistory, (gui->txitem) - (gui->updown)); gtk_text_buffer_set_text(entrybuffer, str, -1); gtk_text_buffer_get_end_iter(entrybuffer, &end); gtk_text_buffer_place_cursor(entrybuffer, &end); } } xdx-2.91/src/gtksourceiter.h0000644000175000017500000000446612646316272013046 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * Taken from the gtksourceview source tree with the following copyrights: * Copyright (C) 2000 - 2005 Paolo Maggi * Copyright (C) 2002, 2003 Jeroen Zwartepoorte * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __GTK_SOURCE_ITER_H__ #define __GTK_SOURCE_ITER_H__ G_BEGIN_DECLS typedef enum { GTK_SOURCE_SEARCH_VISIBLE_ONLY = 1 << 0, GTK_SOURCE_SEARCH_TEXT_ONLY = 1 << 1, GTK_SOURCE_SEARCH_CASE_INSENSITIVE = 1 << 2 /* Possible future plans: SEARCH_REGEXP */ } GtkSourceSearchFlags; const gchar *g_utf8_strcasestr(const gchar *haystack, const gchar *needle); gboolean gtk_source_iter_forward_search(const GtkTextIter *iter, const gchar *str, GtkSourceSearchFlags flags, GtkTextIter *match_start, GtkTextIter *match_end, const GtkTextIter *limit); gboolean gtk_source_iter_backward_search(const GtkTextIter *iter, const gchar *str, GtkSourceSearchFlags flags, GtkTextIter *match_start, GtkTextIter *match_end, const GtkTextIter *limit); gboolean gtk_source_iter_find_matching_bracket(GtkTextIter *iter); G_END_DECLS #endif /* __GTK_SOURCE_ITER_H__ */ xdx-2.91/src/gui_settingsdialog.c0000644000175000017500000015536414223177442014034 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_settingsdialog.c */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include #include #include "gtksourceiter.h" #include "gui.h" #include "gui_settingsdialog.h" #include "preferences.h" #include "utils.h" GtkWidget *preferencesdialog; extern preferencestype preferences; static void on_pautologincheckbutton_toggled(GtkToggleButton *togglebutton, gpointer user_data) { GtkWidget *ploginhseparator, *pcommandslabel, *pcommandsentry; gboolean state; ploginhseparator = g_object_get_data(G_OBJECT(preferencesdialog), "ploginhseparator"); pcommandslabel = g_object_get_data(G_OBJECT(preferencesdialog), "pcommandslabel"); pcommandsentry = g_object_get_data(G_OBJECT(preferencesdialog), "pcommandsentry"); state = gtk_toggle_button_get_active(togglebutton); if (state) { gtk_widget_set_sensitive(ploginhseparator, TRUE); gtk_widget_set_sensitive(pcommandslabel, TRUE); gtk_widget_set_sensitive(pcommandsentry, TRUE); } else { gtk_widget_set_sensitive(ploginhseparator, FALSE); gtk_widget_set_sensitive(pcommandslabel, FALSE); gtk_widget_set_sensitive(pcommandsentry, FALSE); } } static void on_phamlibcheckbutton_toggled(GtkToggleButton *togglebutton, gpointer user_data) { GtkWidget *phamlibhseparator, *priglabel, *prigentry; gboolean state; phamlibhseparator = g_object_get_data(G_OBJECT(preferencesdialog), "phamlibhseparator"); priglabel = g_object_get_data(G_OBJECT(preferencesdialog), "priglabel"); prigentry = g_object_get_data(G_OBJECT(preferencesdialog), "prigentry"); state = gtk_toggle_button_get_active(togglebutton); if (state) { gtk_widget_set_sensitive(phamlibhseparator, TRUE); gtk_widget_set_sensitive(priglabel, TRUE); gtk_widget_set_sensitive(prigentry, TRUE); } else { gtk_widget_set_sensitive(phamlibhseparator, FALSE); gtk_widget_set_sensitive(priglabel, FALSE); gtk_widget_set_sensitive(prigentry, FALSE); } } static void on_fontbutton_clicked(GtkButton *button, gpointer user_data) { GtkWidget *fontselectiondialog, *pfontsdxentry, *pfontsallentry; GdkPixbuf *fontselectiondialog_icon_pixbuf; gchar *font, *path; gint response; fontselectiondialog = gtk_font_chooser_dialog_new( _("Xdx - Select a font"), NULL); path = g_build_filename(PACKAGE_DATA_DIR, "pixmaps", "xdx.png", NULL); fontselectiondialog_icon_pixbuf = gdk_pixbuf_new_from_file(path, NULL); g_free(path); if (fontselectiondialog_icon_pixbuf) { gtk_window_set_icon(GTK_WINDOW(fontselectiondialog), fontselectiondialog_icon_pixbuf); g_object_unref(fontselectiondialog_icon_pixbuf); } /* Commenting these lines out quells the error generated by * CFLAGS+="-DGSEAL_ENABLE". This results in the Apply button being * shown, but it acts like the Cancel button. This doesn't matter since * this function will likely be replaced with the transition to GTK+3 as * gtk_font_selection_dialog_new() has been replaced by * gtk_font_chooser_dialog_new(). */ // gtk_widget_destroy(GTK_FONT_SELECTION_DIALOG // (fontselectiondialog)->apply_button); gtk_font_chooser_set_preview_text( GTK_FONT_CHOOSER(fontselectiondialog), _("How about this font?")); if (GPOINTER_TO_INT(user_data) == 1) gtk_font_chooser_set_font( GTK_FONT_CHOOSER(fontselectiondialog), preferences.dxfont); else gtk_font_chooser_set_font( GTK_FONT_CHOOSER(fontselectiondialog), preferences.allfont); gtk_widget_show_all(fontselectiondialog); response = gtk_dialog_run(GTK_DIALOG(fontselectiondialog)); if (response == GTK_RESPONSE_OK) { font = gtk_font_chooser_get_font( GTK_FONT_CHOOSER(fontselectiondialog)); if (GPOINTER_TO_INT(user_data) == 1) { pfontsdxentry = g_object_get_data(G_OBJECT(preferencesdialog), "pfontsdxentry"); gtk_entry_set_text(GTK_ENTRY(pfontsdxentry), font); } else { pfontsallentry = g_object_get_data(G_OBJECT(preferencesdialog), "pfontsallentry"); gtk_entry_set_text(GTK_ENTRY(pfontsallentry), font); } g_free(font); } gtk_widget_destroy(fontselectiondialog); } /* * called from the menu */ void on_settings_activate(GtkMenuItem *menuitem, gpointer user_data) { GtkWidget *pdialog_vbox, *pvbox1, *pvbox2, *pvbox3, *pvbox4, *pnotebook, *plabel1, *plabel2, *plabel3, *plabel4, *pcallsignframe, *pcallsignhbox, *pcallsignlabel, *pcallsignentry, *ploginframe, *ploginvbox, *pautologincheckbutton, *ploginhseparator, *pcommandshbox, *pcommandslabel, *pcommandsentry, *psavingframe, *psavingvbox, *psavedxcheckbutton, *psavewwvcheckbutton, *psavetoallcheckbutton, *psavewxcheckbutton, *psavinghbox, *psavingvbox2, *psavingvbox3, *phamlibframe, *phamlibvbox, *phamlibcheckbutton, *phamlibhseparator, *phamlibhbox, *priglabel, *prigentry, *pprogframe, *pprog_grid, *pprogbrowserlabel, *pprogbrowserentry, *pprogmaillabel, *pprogmailentry, *pprogsoundlabel, *pprogsoundentry, *pechoframe, *pechocheckbutton, *pechovbox, *plivecheckbutton, *pcolumnsframe, *pcolumnsvbox, *pcolumnsvboxlabel, *pcolumnshseparator, *pspottercheckbutton, *pqrgcheckbutton, *pdxcheckbutton, *premarkscheckbutton, *ptimecheckbutton, *pinfocheckbutton, *pcountrycheckbutton, *pcolumnshbox, *pcolumnsvbox2, *pcolumnsvbox3, *pfontsframe, *pfontsdxlabel, *pfontsalllabel, *pfontsdxentry, *pfontsallentry, *pfontsdxbutton, *pfontsallbutton, *pfontshseparator, *pfontshseparator2, *pfonts_grid, *pcolorsframe, *pcolorslabel, *pcolorsvbox, *promptcolorlabel, *promptcolorbutton, *sentcolorlabel, *pcolors_grid, *pcolors_separator, *sentcolorbutton, *wwvcolorlabel, *wwvcolorbutton, *wxcolorlabel, *wxcolorbutton, *phighframe, *phighvbox, *phighlabel, *phighseparator, *phighlight_grid, *phighlabel1, *colorbutton1, *phighlabel2, *colorbutton2, *phighlabel3, *colorbutton3, *phighlabel4, *colorbutton4, *phighlabel5, *colorbutton5, *phighlabel6, *colorbutton6, *phighlabel7, *colorbutton7, *phighlabel8, *colorbutton8; GtkTreeViewColumn *column; GtkWidget *treeview, *maintext, *mainentry; GtkWidget *highentry1, *highentry2, *highentry3, *highentry4, *highentry5, *highentry6, *highentry7, *highentry8; PangoFontDescription *font_description; gint response, pango_size; gboolean state; gchar *str; GtkTextBuffer *buffer; GdkRGBA color; gtk_widget_set_sensitive(gui->window, 0); preferencesdialog = gtk_dialog_new_with_buttons(_("Xdx - Preferences"), GTK_WINDOW(gui->window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_OK"), GTK_RESPONSE_OK, NULL); pdialog_vbox = gtk_dialog_get_content_area(GTK_DIALOG(preferencesdialog)); pnotebook = gtk_notebook_new(); pvbox1 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_container_add(GTK_CONTAINER(pnotebook), pvbox1); pvbox2 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_container_add(GTK_CONTAINER(pnotebook), pvbox2); pvbox3 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_container_add(GTK_CONTAINER(pnotebook), pvbox3); pvbox4 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_container_add(GTK_CONTAINER(pnotebook), pvbox4); plabel1 = gtk_label_new(_("General")); gtk_notebook_set_tab_label(GTK_NOTEBOOK(pnotebook), gtk_notebook_get_nth_page( GTK_NOTEBOOK(pnotebook), 0), plabel1); plabel2 = gtk_label_new(_("Output")); gtk_notebook_set_tab_label(GTK_NOTEBOOK(pnotebook), gtk_notebook_get_nth_page( GTK_NOTEBOOK(pnotebook), 1), plabel2); plabel3 = gtk_label_new(_("Fonts")); gtk_notebook_set_tab_label(GTK_NOTEBOOK(pnotebook), gtk_notebook_get_nth_page( GTK_NOTEBOOK(pnotebook), 2), plabel3); plabel4 = gtk_label_new(_("Colors")); gtk_notebook_set_tab_label(GTK_NOTEBOOK(pnotebook), gtk_notebook_get_nth_page( GTK_NOTEBOOK(pnotebook), 3), plabel4); gtk_box_pack_start(GTK_BOX(pdialog_vbox), pnotebook, TRUE, TRUE, 0); /* General tab */ /* Callsign frame */ pcallsignframe = gtk_frame_new(_("Callsign")); gtk_widget_set_margin_start(GTK_WIDGET(pcallsignframe), 5); gtk_widget_set_margin_end(GTK_WIDGET(pcallsignframe), 5); gtk_box_pack_start(GTK_BOX(pvbox1), pcallsignframe, TRUE, TRUE, 5); pcallsignhbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_margin_bottom(GTK_WIDGET(pcallsignhbox), 8); gtk_container_add(GTK_CONTAINER(pcallsignframe), pcallsignhbox); pcallsignlabel = gtk_label_new(_("Your callsign")); gtk_box_pack_start(GTK_BOX(pcallsignhbox), pcallsignlabel, FALSE, FALSE, 5); pcallsignentry = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(pcallsignentry), 15); gtk_box_pack_start(GTK_BOX(pcallsignhbox), pcallsignentry, TRUE, TRUE, 5); gtk_widget_set_tooltip_text(pcallsignentry, _("Callsign to be used for login")); if (g_ascii_strcasecmp(preferences.callsign, "?")) gtk_entry_set_text(GTK_ENTRY(pcallsignentry), preferences.callsign); /* Login frame */ ploginframe = gtk_frame_new(_("Login")); gtk_widget_set_margin_start(GTK_WIDGET(ploginframe), 5); gtk_widget_set_margin_end(GTK_WIDGET(ploginframe), 5); gtk_box_pack_start(GTK_BOX(pvbox1), ploginframe, TRUE, TRUE, 5); ploginvbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_margin_top(GTK_WIDGET(ploginvbox), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(ploginvbox), 8); gtk_container_add(GTK_CONTAINER(ploginframe), ploginvbox); pautologincheckbutton = gtk_check_button_new_with_label(_("Enable autologin")); gtk_box_pack_start(GTK_BOX(ploginvbox), pautologincheckbutton, FALSE, FALSE, 0); ploginhseparator = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL); gtk_box_pack_start(GTK_BOX(ploginvbox), ploginhseparator, TRUE, TRUE, 5); pcommandshbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_pack_start(GTK_BOX(ploginvbox), pcommandshbox, TRUE, TRUE, 0); pcommandslabel = gtk_label_new(_("Commands")); gtk_box_pack_start(GTK_BOX(pcommandshbox), pcommandslabel, FALSE, FALSE, 5); pcommandsentry = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(pcommandsentry), 80); gtk_box_pack_start(GTK_BOX(pcommandshbox), pcommandsentry, TRUE, TRUE, 5); gtk_widget_set_tooltip_text(pcommandsentry, _("Comma separated list of commands to send at login")); if (preferences.autologin == 1) { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pautologincheckbutton), TRUE); gtk_widget_set_sensitive(ploginhseparator, TRUE); gtk_widget_set_sensitive(pcommandslabel, TRUE); gtk_widget_set_sensitive(pcommandsentry, TRUE); } else { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pautologincheckbutton), FALSE); gtk_widget_set_sensitive(ploginhseparator, FALSE); gtk_widget_set_sensitive(pcommandslabel, FALSE); gtk_widget_set_sensitive(pcommandsentry, FALSE); } if (g_ascii_strcasecmp(preferences.commands, "?")) gtk_entry_set_text(GTK_ENTRY(pcommandsentry), preferences.commands); /* Hamlib frame */ phamlibframe = gtk_frame_new(_("Hamlib")); gtk_widget_set_margin_start(GTK_WIDGET(phamlibframe), 5); gtk_widget_set_margin_end(GTK_WIDGET(phamlibframe), 5); gtk_box_pack_start(GTK_BOX(pvbox1), phamlibframe, TRUE, TRUE, 5); phamlibvbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_margin_top(GTK_WIDGET(phamlibvbox), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(phamlibvbox), 8); gtk_container_add(GTK_CONTAINER(phamlibframe), phamlibvbox); phamlibcheckbutton = gtk_check_button_new_with_label(_("Enable hamlib")); gtk_box_pack_start(GTK_BOX(phamlibvbox), phamlibcheckbutton, FALSE, FALSE, 0); phamlibhseparator = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL); gtk_box_pack_start(GTK_BOX(phamlibvbox), phamlibhseparator, TRUE, TRUE, 5); phamlibhbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_pack_start(GTK_BOX(phamlibvbox), phamlibhbox, TRUE, TRUE, 0); priglabel = gtk_label_new(_("Command for rigctl")); gtk_box_pack_start(GTK_BOX(phamlibhbox), priglabel, FALSE, FALSE, 5); prigentry = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(prigentry), 80); gtk_box_pack_start(GTK_BOX(phamlibhbox), prigentry, TRUE, TRUE, 5); gtk_widget_set_tooltip_text(prigentry, _( "When double clicking on a dx-spot this will set the frequency of your " "radio using rigctl (%d = the frequency retrieved from the DX spot)")); if (preferences.hamlib == 1) { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(phamlibcheckbutton), TRUE); gtk_widget_set_sensitive(phamlibhseparator, TRUE); gtk_widget_set_sensitive(priglabel, TRUE); gtk_widget_set_sensitive(prigentry, TRUE); } else { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(phamlibcheckbutton), FALSE); gtk_widget_set_sensitive(phamlibhseparator, FALSE); gtk_widget_set_sensitive(priglabel, FALSE); gtk_widget_set_sensitive(prigentry, FALSE); } if (g_ascii_strcasecmp(preferences.rigctl, "?")) gtk_entry_set_text(GTK_ENTRY(prigentry), preferences.rigctl); /* Programs frame */ pprogframe = gtk_frame_new(_("Programs")); gtk_widget_set_margin_start(GTK_WIDGET(pprogframe), 5); gtk_widget_set_margin_end(GTK_WIDGET(pprogframe), 5); gtk_box_pack_start(GTK_BOX(pvbox1), pprogframe, TRUE, TRUE, 5); pprog_grid = gtk_grid_new(); gtk_grid_set_column_spacing(GTK_GRID(pprog_grid), 10); gtk_grid_set_row_spacing(GTK_GRID(pprog_grid), 8); gtk_widget_set_margin_top(GTK_WIDGET(pprog_grid), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(pprog_grid), 8); gtk_widget_set_margin_start(GTK_WIDGET(pprog_grid), 5); gtk_widget_set_margin_end(GTK_WIDGET(pprog_grid), 5); gtk_container_add(GTK_CONTAINER(pprogframe), pprog_grid); pprogbrowserlabel = gtk_label_new(_("Web browser")); gtk_grid_attach(GTK_GRID(pprog_grid), pprogbrowserlabel, 0, 0, 1, 1); pprogbrowserentry = gtk_entry_new(); gtk_entry_set_width_chars(GTK_ENTRY(pprogbrowserentry), 25); gtk_entry_set_max_length(GTK_ENTRY(pprogbrowserentry), 80); gtk_grid_attach(GTK_GRID(pprog_grid), pprogbrowserentry, 1, 0, 1, 1); pprogmaillabel = gtk_label_new(_("Mail program")); gtk_grid_attach(GTK_GRID(pprog_grid), pprogmaillabel, 0, 1, 1, 1); pprogmailentry = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(pprogmailentry), 80); gtk_grid_attach(GTK_GRID(pprog_grid), pprogmailentry, 1, 1, 1, 1); pprogsoundlabel = gtk_label_new(_("Sound playing")); gtk_grid_attach(GTK_GRID(pprog_grid), pprogsoundlabel, 0, 2, 1, 1); pprogsoundentry = gtk_entry_new(); gtk_entry_set_max_length(GTK_ENTRY(pprogmailentry), 80); gtk_grid_attach(GTK_GRID(pprog_grid), pprogsoundentry, 1, 2, 1, 1); gtk_widget_set_tooltip_text(pprogbrowserentry, _("Web browser to start after clicking on a url (%s = url)")); gtk_widget_set_tooltip_text(pprogmailentry, _("Mail program to start after clicking on a mail url (%s = mail url)")); gtk_widget_set_tooltip_text(pprogsoundentry, _("Program used to play sound (%s = sound file)")); if (g_ascii_strcasecmp(preferences.browserapp, "?")) gtk_entry_set_text(GTK_ENTRY(pprogbrowserentry), preferences.browserapp); if (g_ascii_strcasecmp(preferences.mailapp, "?")) gtk_entry_set_text(GTK_ENTRY(pprogmailentry), preferences.mailapp); if (g_ascii_strcasecmp(preferences.soundapp, "?")) gtk_entry_set_text(GTK_ENTRY(pprogsoundentry), preferences.soundapp); /* Output tab */ /* General frame */ pechoframe = gtk_frame_new(_("General")); gtk_widget_set_margin_start(GTK_WIDGET(pechoframe), 5); gtk_widget_set_margin_end(GTK_WIDGET(pechoframe), 5); gtk_box_pack_start(GTK_BOX(pvbox2), pechoframe, TRUE, TRUE, 5); pechovbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_margin_bottom(GTK_WIDGET(pechovbox), 8); gtk_container_add(GTK_CONTAINER(pechoframe), pechovbox); pechocheckbutton = gtk_check_button_new_with_label (_("Echo sent text to the screen")); gtk_box_pack_start(GTK_BOX(pechovbox), pechocheckbutton, FALSE, FALSE, 5); plivecheckbutton = gtk_check_button_new_with_label (_("Send keepalive packets (read the manual)")); gtk_box_pack_start(GTK_BOX(pechovbox), plivecheckbutton, FALSE, FALSE, 5); if (preferences.localecho == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pechocheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pechocheckbutton), FALSE); if (preferences.keepalive == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(plivecheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(plivecheckbutton), FALSE); /* Columns frame */ pcolumnsframe = gtk_frame_new(_("Columns")); gtk_widget_set_margin_start(GTK_WIDGET(pcolumnsframe), 5); gtk_widget_set_margin_end(GTK_WIDGET(pcolumnsframe), 5); gtk_box_pack_start(GTK_BOX(pvbox2), pcolumnsframe, TRUE, TRUE, 5); pcolumnsvbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_margin_top(GTK_WIDGET(pcolumnsvbox), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(pcolumnsvbox), 8); gtk_container_add(GTK_CONTAINER(pcolumnsframe), pcolumnsvbox); pcolumnsvboxlabel = gtk_label_new(_("Columns to show on the screen")); gtk_box_pack_start(GTK_BOX(pcolumnsvbox), pcolumnsvboxlabel, FALSE, FALSE, 5); pcolumnshseparator = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL); gtk_box_pack_start(GTK_BOX(pcolumnsvbox), pcolumnshseparator, FALSE, FALSE, 5); pcolumnshbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_pack_start(GTK_BOX(pcolumnsvbox), pcolumnshbox, FALSE, FALSE, 0); pcolumnsvbox2 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_box_pack_start(GTK_BOX(pcolumnshbox), pcolumnsvbox2, TRUE, TRUE, 0); pspottercheckbutton = gtk_check_button_new_with_label(_("Spotter")); gtk_box_pack_start(GTK_BOX(pcolumnsvbox2), pspottercheckbutton, FALSE, FALSE, 0); pqrgcheckbutton = gtk_check_button_new_with_label("QRG"); gtk_box_pack_start(GTK_BOX(pcolumnsvbox2), pqrgcheckbutton, FALSE, FALSE, 0); pdxcheckbutton = gtk_check_button_new_with_label("DX"); gtk_box_pack_start(GTK_BOX(pcolumnsvbox2), pdxcheckbutton, FALSE, FALSE, 0); pcolumnsvbox3 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_box_pack_start(GTK_BOX(pcolumnshbox), pcolumnsvbox3, TRUE, TRUE, 0); premarkscheckbutton = gtk_check_button_new_with_label(_("Remarks")); gtk_box_pack_start(GTK_BOX(pcolumnsvbox3), premarkscheckbutton, FALSE, FALSE, 0); ptimecheckbutton = gtk_check_button_new_with_label(_("Time")); gtk_box_pack_start(GTK_BOX(pcolumnsvbox3), ptimecheckbutton, FALSE, FALSE, 0); pinfocheckbutton = gtk_check_button_new_with_label(_("Info")); gtk_box_pack_start(GTK_BOX(pcolumnsvbox3), pinfocheckbutton, FALSE, FALSE, 0); pcountrycheckbutton = gtk_check_button_new_with_label(_("Country")); gtk_box_pack_start(GTK_BOX(pcolumnsvbox3), pcountrycheckbutton, FALSE, FALSE, 0); if (preferences.col0visible == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pspottercheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pspottercheckbutton), FALSE); if (preferences.col1visible == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pqrgcheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pqrgcheckbutton), FALSE); if (preferences.col2visible == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pdxcheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pdxcheckbutton), FALSE); if (preferences.col3visible == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(premarkscheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(premarkscheckbutton), FALSE); if (preferences.col4visible == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(ptimecheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(ptimecheckbutton), FALSE); if (preferences.col5visible == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pinfocheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pinfocheckbutton), FALSE); if (preferences.col6visible == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pcountrycheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(pcountrycheckbutton), FALSE); /* Saving frame */ psavingframe = gtk_frame_new(_("Saving")); gtk_widget_set_margin_start(GTK_WIDGET(psavingframe), 5); gtk_widget_set_margin_end(GTK_WIDGET(psavingframe), 5); gtk_box_pack_start(GTK_BOX(pvbox2), psavingframe, TRUE, TRUE, 5); psavingvbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_margin_top(GTK_WIDGET(psavingvbox), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(psavingvbox), 8); gtk_container_add(GTK_CONTAINER(psavingframe), psavingvbox); psavinghbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_pack_start(GTK_BOX(psavingvbox), psavinghbox, FALSE, FALSE, 0); psavingvbox2 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_box_pack_start(GTK_BOX(psavinghbox), psavingvbox2, TRUE, TRUE, 0); psavedxcheckbutton = gtk_check_button_new_with_label(_("Save DX spots")); gtk_box_pack_start(GTK_BOX(psavingvbox2), psavedxcheckbutton, FALSE, FALSE, 0); psavewwvcheckbutton = gtk_check_button_new_with_label(_("Save WCY/WWV")); gtk_box_pack_start(GTK_BOX(psavingvbox2), psavewwvcheckbutton, FALSE, FALSE, 0); psavingvbox3 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_box_pack_start(GTK_BOX(psavinghbox), psavingvbox3, TRUE, TRUE, 0); psavetoallcheckbutton = gtk_check_button_new_with_label(_("Save \"To all\"")); gtk_box_pack_start(GTK_BOX(psavingvbox3), psavetoallcheckbutton, FALSE, FALSE, 0); psavewxcheckbutton = gtk_check_button_new_with_label(_("Save WX")); gtk_box_pack_start(GTK_BOX(psavingvbox3), psavewxcheckbutton, FALSE, FALSE, 0); if (preferences.savedx == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(psavedxcheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(psavedxcheckbutton), FALSE); if (preferences.savewwv == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(psavewwvcheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(psavewwvcheckbutton), FALSE); if (preferences.savetoall == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(psavetoallcheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(psavetoallcheckbutton), FALSE); if (preferences.savewx == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(psavewxcheckbutton), TRUE); else gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(psavewxcheckbutton), FALSE); /* Fonts tab */ /* General frame */ pfontsframe = gtk_frame_new(_("Fonts")); gtk_widget_set_margin_start(GTK_WIDGET(pfontsframe), 5); gtk_widget_set_margin_end(GTK_WIDGET(pfontsframe), 5); gtk_box_pack_start(GTK_BOX(pvbox3), pfontsframe, TRUE, TRUE, 5); pfonts_grid = gtk_grid_new(); gtk_grid_set_column_spacing(GTK_GRID(pfonts_grid), 10); gtk_grid_set_row_spacing(GTK_GRID(pfonts_grid), 8); gtk_widget_set_margin_top(GTK_WIDGET(pfonts_grid), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(pfonts_grid), 8); gtk_widget_set_margin_start(GTK_WIDGET(pfonts_grid), 5); gtk_widget_set_margin_end(GTK_WIDGET(pfonts_grid), 5); gtk_container_add(GTK_CONTAINER(pfontsframe), pfonts_grid); pfontsdxlabel = gtk_label_new(_("Font for DX spots window")); gtk_grid_attach(GTK_GRID(pfonts_grid), pfontsdxlabel, 0, 0, 2, 1); pfontshseparator = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL); gtk_grid_attach(GTK_GRID(pfonts_grid), pfontshseparator, 0, 1, 2, 1); pfontsdxentry = gtk_entry_new(); gtk_entry_set_text(GTK_ENTRY(pfontsdxentry), preferences.dxfont); gtk_editable_set_editable(GTK_EDITABLE(pfontsdxentry), FALSE); gtk_entry_set_width_chars(GTK_ENTRY(pfontsdxentry), 25); gtk_grid_attach(GTK_GRID(pfonts_grid), pfontsdxentry, 0, 2, 1, 1); pfontsdxbutton = gtk_button_new_with_mnemonic(_("Select _DX Font")); gtk_grid_attach(GTK_GRID(pfonts_grid), pfontsdxbutton, 1, 2, 1, 1); pfontsalllabel = gtk_label_new(_("Font for message/chat window")); gtk_grid_attach(GTK_GRID(pfonts_grid), pfontsalllabel, 0, 3, 2, 1); pfontshseparator2 = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL); gtk_grid_attach(GTK_GRID(pfonts_grid), pfontshseparator2, 0, 4, 2, 1); pfontsallentry = gtk_entry_new(); gtk_entry_set_text(GTK_ENTRY(pfontsallentry), preferences.allfont); gtk_editable_set_editable(GTK_EDITABLE(pfontsallentry), FALSE); gtk_grid_attach(GTK_GRID(pfonts_grid), pfontsallentry, 0, 5, 1, 1); pfontsallbutton = gtk_button_new_with_mnemonic(_("Select _Other Fonts")); gtk_grid_attach(GTK_GRID(pfonts_grid), pfontsallbutton, 1, 5, 1, 1); /* Colors tab */ /* Chat Window Colors frame */ pcolorsframe = gtk_frame_new(_("DX cluster messsage highlighting")); gtk_widget_set_margin_start(GTK_WIDGET(pcolorsframe), 5); gtk_widget_set_margin_end(GTK_WIDGET(pcolorsframe), 5); gtk_box_pack_start(GTK_BOX(pvbox4), pcolorsframe, FALSE, FALSE, 5); pcolorsvbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_margin_top(GTK_WIDGET(pcolorsvbox), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(pcolorsvbox), 8); gtk_container_add(GTK_CONTAINER(pcolorsframe), pcolorsvbox); pcolorslabel = gtk_label_new( _("Colors for DX Cluster highlighting")); gtk_label_set_line_wrap(GTK_LABEL(pcolorslabel), TRUE); gtk_box_pack_start(GTK_BOX(pcolorsvbox), pcolorslabel, FALSE, FALSE, 5); pcolors_separator = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL); gtk_box_pack_start(GTK_BOX(pcolorsvbox), pcolors_separator, FALSE, FALSE, 5); pcolors_grid = gtk_grid_new(); gtk_grid_set_column_spacing(GTK_GRID(pcolors_grid), 10); gtk_grid_set_row_spacing(GTK_GRID(pcolors_grid), 8); gtk_widget_set_margin_top(GTK_WIDGET(pcolors_grid), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(pcolors_grid), 8); gtk_widget_set_margin_start(GTK_WIDGET(pcolors_grid), 5); gtk_widget_set_margin_end(GTK_WIDGET(pcolors_grid), 5); gtk_grid_set_column_homogeneous(GTK_GRID(pcolors_grid), TRUE); gtk_container_add(GTK_CONTAINER(pcolorsvbox), pcolors_grid); promptcolorlabel = gtk_label_new(_("Prompt")); gtk_widget_set_halign(GTK_WIDGET(promptcolorlabel), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(pcolors_grid), promptcolorlabel, 0, 0, 1, 1); promptcolorbutton = gtk_color_button_new_with_rgba(&preferences.promptcolor); gtk_grid_attach(GTK_GRID(pcolors_grid), promptcolorbutton, 1, 0, 1, 1); sentcolorlabel = gtk_label_new(_("Sent text")); gtk_widget_set_halign(GTK_WIDGET(sentcolorlabel), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(pcolors_grid), sentcolorlabel, 0, 1, 1, 1); sentcolorbutton = gtk_color_button_new_with_rgba(&preferences.sentcolor); gtk_grid_attach(GTK_GRID(pcolors_grid), sentcolorbutton, 1, 1, 1, 1); wwvcolorlabel = gtk_label_new("WWV / WCY"); gtk_widget_set_halign(GTK_WIDGET(wwvcolorlabel), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(pcolors_grid), wwvcolorlabel, 2, 0, 1, 1); wwvcolorbutton = gtk_color_button_new_with_rgba(&preferences.wwvcolor); gtk_grid_attach(GTK_GRID(pcolors_grid), wwvcolorbutton, 3, 0, 1, 1); wxcolorlabel = gtk_label_new("WX"); gtk_widget_set_halign(GTK_WIDGET(wxcolorlabel), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(pcolors_grid), wxcolorlabel, 2, 1, 1, 1); wxcolorbutton = gtk_color_button_new_with_rgba(&preferences.wxcolor); gtk_grid_attach(GTK_GRID(pcolors_grid), wxcolorbutton, 3, 1, 1, 1); /* Highlighting frame */ phighframe = gtk_frame_new(_("Chat window user highlighting")); gtk_widget_set_margin_start(GTK_WIDGET(phighframe), 5); gtk_widget_set_margin_end(GTK_WIDGET(phighframe), 5); gtk_box_pack_start(GTK_BOX(pvbox4), phighframe, TRUE, TRUE, 5); phighvbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_margin_top(GTK_WIDGET(phighvbox), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(phighvbox), 8); gtk_container_add(GTK_CONTAINER(phighframe), phighvbox); phighlabel = gtk_label_new( _("Colors for user selected highlighting")); gtk_label_set_line_wrap(GTK_LABEL(phighlabel), TRUE); gtk_box_pack_start(GTK_BOX(phighvbox), phighlabel, FALSE, FALSE, 5); phighseparator = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL); gtk_box_pack_start(GTK_BOX(phighvbox), phighseparator, FALSE, FALSE, 5); phighlight_grid = gtk_grid_new(); gtk_grid_set_column_spacing(GTK_GRID(phighlight_grid), 10); gtk_grid_set_row_spacing(GTK_GRID(phighlight_grid), 8); gtk_widget_set_margin_top(GTK_WIDGET(phighlight_grid), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(phighlight_grid), 8); gtk_widget_set_margin_start(GTK_WIDGET(phighlight_grid), 5); gtk_widget_set_margin_end(GTK_WIDGET(phighlight_grid), 5); gtk_grid_set_column_homogeneous(GTK_GRID(phighlight_grid), TRUE); gtk_container_add(GTK_CONTAINER(phighvbox), phighlight_grid); phighlabel1 = gtk_label_new(_("Color 1")); gtk_widget_set_halign(GTK_WIDGET(phighlabel1), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(phighlight_grid), phighlabel1, 0, 0, 1, 1); colorbutton1 = gtk_color_button_new_with_rgba(&preferences.highcolor1); gtk_grid_attach(GTK_GRID(phighlight_grid), colorbutton1, 1, 0, 1, 1); phighlabel2 = gtk_label_new(_("Color 2")); gtk_widget_set_halign(GTK_WIDGET(phighlabel2), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(phighlight_grid), phighlabel2, 0, 1, 1, 1); colorbutton2 = gtk_color_button_new_with_rgba(&preferences.highcolor2); gtk_grid_attach(GTK_GRID(phighlight_grid), colorbutton2, 1, 1, 1, 1); phighlabel3 = gtk_label_new(_("Color 3")); gtk_widget_set_halign(GTK_WIDGET(phighlabel3), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(phighlight_grid), phighlabel3, 0, 2, 1, 1); colorbutton3 = gtk_color_button_new_with_rgba(&preferences.highcolor3); gtk_grid_attach(GTK_GRID(phighlight_grid), colorbutton3, 1, 2, 1, 1); phighlabel4 = gtk_label_new(_("Color 4")); gtk_widget_set_halign(GTK_WIDGET(phighlabel4), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(phighlight_grid), phighlabel4, 0, 3, 1, 1); colorbutton4 = gtk_color_button_new_with_rgba(&preferences.highcolor4); gtk_grid_attach(GTK_GRID(phighlight_grid), colorbutton4, 1, 3, 1, 1); phighlabel5 = gtk_label_new(_("Color 5")); gtk_widget_set_halign(GTK_WIDGET(phighlabel5), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(phighlight_grid), phighlabel5, 2, 0, 1, 1); colorbutton5 = gtk_color_button_new_with_rgba(&preferences.highcolor5); gtk_grid_attach(GTK_GRID(phighlight_grid), colorbutton5, 3, 0, 1, 1); phighlabel6 = gtk_label_new(_("Color 6")); gtk_widget_set_halign(GTK_WIDGET(phighlabel6), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(phighlight_grid), phighlabel6, 2, 1, 1, 1); colorbutton6 = gtk_color_button_new_with_rgba(&preferences.highcolor6); gtk_grid_attach(GTK_GRID(phighlight_grid), colorbutton6, 3, 1, 1, 1); phighlabel7 = gtk_label_new(_("Color 7")); gtk_widget_set_halign(GTK_WIDGET(phighlabel7), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(phighlight_grid), phighlabel7, 2, 2, 1, 1); colorbutton7 = gtk_color_button_new_with_rgba(&preferences.highcolor7); gtk_grid_attach(GTK_GRID(phighlight_grid), colorbutton7, 3, 2, 1, 1); phighlabel8 = gtk_label_new(_("Color 8")); gtk_widget_set_halign(GTK_WIDGET(phighlabel8), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(phighlight_grid), phighlabel8, 2, 3, 1, 1); colorbutton8 = gtk_color_button_new_with_rgba(&preferences.highcolor8); gtk_grid_attach(GTK_GRID(phighlight_grid), colorbutton8, 3, 3, 1, 1); g_signal_connect((gpointer) pautologincheckbutton, "toggled", G_CALLBACK(on_pautologincheckbutton_toggled), NULL); g_signal_connect((gpointer) phamlibcheckbutton, "toggled", G_CALLBACK(on_phamlibcheckbutton_toggled), NULL); g_signal_connect((gpointer) pfontsdxbutton, "clicked", G_CALLBACK(on_fontbutton_clicked), GINT_TO_POINTER(1)); g_signal_connect((gpointer) pfontsallbutton, "clicked", G_CALLBACK(on_fontbutton_clicked), GINT_TO_POINTER(2)); g_object_set_data(G_OBJECT(preferencesdialog), "ploginhseparator", ploginhseparator); g_object_set_data(G_OBJECT(preferencesdialog), "pcallsignlabel", pcallsignlabel); g_object_set_data(G_OBJECT(preferencesdialog), "pcallsignentry", pcallsignentry); g_object_set_data(G_OBJECT(preferencesdialog), "pcommandslabel", pcommandslabel); g_object_set_data(G_OBJECT(preferencesdialog), "pcommandsentry", pcommandsentry); g_object_set_data(G_OBJECT(preferencesdialog), "phamlibhseparator", phamlibhseparator); g_object_set_data(G_OBJECT(preferencesdialog), "priglabel", priglabel); g_object_set_data(G_OBJECT(preferencesdialog), "prigentry", prigentry); g_object_set_data(G_OBJECT(preferencesdialog), "pfontsdxentry", pfontsdxentry); g_object_set_data(G_OBJECT(preferencesdialog), "pfontsallentry", pfontsallentry); gtk_widget_show_all(pnotebook); response = gtk_dialog_run(GTK_DIALOG(preferencesdialog)); if (response == GTK_RESPONSE_OK) { /* callsign frame */ str = gtk_editable_get_chars(GTK_EDITABLE(pcallsignentry), 0, -1); if (strlen(str) == 0) preferences.callsign = g_strdup("N0CALL"); else preferences.callsign = g_strdup(str); /* login frame */ state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(pautologincheckbutton)); if (state) preferences.autologin = 1; else preferences.autologin = 0; str = gtk_editable_get_chars(GTK_EDITABLE(pcommandsentry), 0, -1); if (strlen(str) == 0) preferences.commands = g_strdup("?"); else preferences.commands = g_strdup(str); /* saving frame */ state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(psavedxcheckbutton)); if (state) preferences.savedx = 1; else preferences.savedx = 0; state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(psavewwvcheckbutton)); if (state) preferences.savewwv = 1; else preferences.savewwv = 0; state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(psavetoallcheckbutton)); if (state) preferences.savetoall = 1; else preferences.savetoall = 0; state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(psavewxcheckbutton)); if (state) preferences.savewx = 1; else preferences.savewx = 0; /* hamlib frame */ state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(phamlibcheckbutton)); if (state) preferences.hamlib = 1; else preferences.hamlib = 0; str = gtk_editable_get_chars(GTK_EDITABLE(prigentry), 0, -1); if (strlen(str) == 0) preferences.rigctl = g_strdup("?"); else preferences.rigctl = g_strdup(str); /* programs frame */ str = gtk_editable_get_chars(GTK_EDITABLE(pprogbrowserentry), 0, -1); if (strlen(str) == 0) preferences.browserapp = g_strdup("?"); else preferences.browserapp = g_strdup(str); str = gtk_editable_get_chars(GTK_EDITABLE(pprogmailentry), 0, -1); if (strlen(str) == 0) preferences.mailapp = g_strdup("?"); else preferences.mailapp = g_strdup(str); str = gtk_editable_get_chars(GTK_EDITABLE(pprogsoundentry), 0, -1); if (strlen(str) == 0) preferences.soundapp = g_strdup("?"); else preferences.soundapp = g_strdup(str); /* general frame */ state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(pechocheckbutton)); if (state) preferences.localecho = 1; else preferences.localecho = 0; state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(plivecheckbutton)); if (state) preferences.keepalive = 1; else preferences.keepalive = 0; /* columns frame */ treeview = g_object_get_data(G_OBJECT(gui->window), "treeview"); state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(pspottercheckbutton)); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 0); if (state) { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), TRUE); if (preferences.col0visible == 0) gtk_tree_view_column_set_fixed_width(column, COL0WIDTH); preferences.col0visible = 1; } else { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); preferences.col0visible = 0; } state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(pqrgcheckbutton)); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 1); if (state) { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), TRUE); if (preferences.col1visible == 0) gtk_tree_view_column_set_fixed_width(column, COL1WIDTH); preferences.col1visible = 1; } else { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); preferences.col1visible = 0; } state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(pdxcheckbutton)); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 2); if (state) { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), TRUE); if (preferences.col2visible == 0) gtk_tree_view_column_set_fixed_width(column, COL2WIDTH); preferences.col2visible = 1; } else { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); preferences.col2visible = 0; } state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(premarkscheckbutton)); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 3); if (state) { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), TRUE); if (preferences.col3visible == 0) gtk_tree_view_column_set_fixed_width(column, COL3WIDTH); preferences.col3visible = 1; } else { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); preferences.col3visible = 0; } state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(ptimecheckbutton)); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 4); if (state) { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), TRUE); if (preferences.col4visible == 0) gtk_tree_view_column_set_fixed_width(column, COL4WIDTH); preferences.col4visible = 1; } else { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); preferences.col4visible = 0; } state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(pinfocheckbutton)); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 5); if (state) { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), TRUE); if (preferences.col5visible == 0) gtk_tree_view_column_set_fixed_width(column, COL5WIDTH); preferences.col5visible = 1; } else { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); preferences.col5visible = 0; } state = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(pcountrycheckbutton)); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 6); if (state) { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), TRUE); if (preferences.col6visible == 0) gtk_tree_view_column_set_fixed_width(column, COL6WIDTH); preferences.col6visible = 1; } else { gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); preferences.col6visible = 0; } /* fonts frame */ str = gtk_editable_get_chars(GTK_EDITABLE(pfontsdxentry), 0, -1); font_description = pango_font_description_from_string(str); /* Employ GCC diagnostic pragma to suppress warnings on these "deprecated" * functions. This absurdity is brought about due to the intent that CSS * is used for theming but if using already existing interfaces such as pango * font names the developer must come up with a solution to convert such names * to CSS. The library does not have such support. * * Source: https://discourse.gnome.org/t/converting-fontchooser-font-style-to-css-font-style/6599 */ #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_font(GTK_WIDGET(treeview), font_description); #pragma GCC diagnostic pop pango_font_description_free(font_description); preferences.dxfont = g_strdup(str); str = gtk_editable_get_chars(GTK_EDITABLE(pfontsallentry), 0, -1); font_description = pango_font_description_from_string(str); maintext = g_object_get_data(G_OBJECT(gui->window), "maintext"); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_font(GTK_WIDGET(maintext), font_description); #pragma GCC diagnostic pop pango_size = pango_font_description_get_size(font_description); /* line spacing is half character size */ g_object_set(G_OBJECT(maintext), "pixels-below-lines", PANGO_PIXELS(pango_size) / 2, NULL); pango_font_description_free(font_description); preferences.allfont = g_strdup(str); /* highlights frame*/ buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(maintext)); /* User selected colors for user defined word highlighting. */ gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(colorbutton1), &color); if (! gdk_rgba_equal(&color, &preferences.highcolor1)) { gui->high1tagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->high1tagname, "foreground-rgba", &color, NULL); highentry1 = g_object_get_data(G_OBJECT(gui->window), "highentry1"); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_color(highentry1, GTK_STATE_FLAG_NORMAL, &color); #pragma GCC diagnostic pop preferences.highcolor1 = color; } gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(colorbutton2), &color); if (! gdk_rgba_equal(&color, &preferences.highcolor2)) { gui->high2tagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->high2tagname, "foreground-rgba", &color, NULL); highentry2 = g_object_get_data(G_OBJECT(gui->window), "highentry2"); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_color(highentry2, GTK_STATE_FLAG_NORMAL, &color); #pragma GCC diagnostic pop preferences.highcolor2 = color; } gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(colorbutton3), &color); if (! gdk_rgba_equal(&color, &preferences.highcolor3)) { gui->high3tagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->high3tagname, "foreground-rgba", &color, NULL); highentry3 = g_object_get_data(G_OBJECT(gui->window), "highentry3"); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_color(highentry3, GTK_STATE_FLAG_NORMAL, &color); #pragma GCC diagnostic pop preferences.highcolor3 = color; } gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(colorbutton4), &color); if (! gdk_rgba_equal(&color, &preferences.highcolor4)) { gui->high4tagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->high4tagname, "foreground-rgba", &color, NULL); highentry4 = g_object_get_data(G_OBJECT(gui->window), "highentry4"); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_color(highentry4, GTK_STATE_FLAG_NORMAL, &color); #pragma GCC diagnostic pop preferences.highcolor4 = color; } gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(colorbutton5), &color); if (! gdk_rgba_equal(&color, &preferences.highcolor5)) { gui->high5tagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->high5tagname, "foreground-rgba", &color, NULL); highentry5 = g_object_get_data(G_OBJECT(gui->window), "highentry5"); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_color(highentry5, GTK_STATE_FLAG_NORMAL, &color); #pragma GCC diagnostic pop preferences.highcolor5 = color; } gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(colorbutton6), &color); if (! gdk_rgba_equal(&color, &preferences.highcolor6)) { gui->high6tagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->high6tagname, "foreground-rgba", &color, NULL); highentry6 = g_object_get_data(G_OBJECT(gui->window), "highentry6"); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_color(highentry6, GTK_STATE_FLAG_NORMAL, &color); #pragma GCC diagnostic pop preferences.highcolor6 = color; } gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(colorbutton7), &color); if (! gdk_rgba_equal(&color, &preferences.highcolor7)) { gui->high7tagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->high7tagname, "foreground-rgba", &color, NULL); highentry7 = g_object_get_data(G_OBJECT(gui->window), "highentry7"); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_color(highentry7, GTK_STATE_FLAG_NORMAL, &color); #pragma GCC diagnostic pop preferences.highcolor7 = color; } gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(colorbutton8), &color); if (! gdk_rgba_equal(&color, &preferences.highcolor8)) { gui->high8tagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->high8tagname, "foreground-rgba", &color, NULL); highentry8 = g_object_get_data(G_OBJECT(gui->window), "highentry8"); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_color(highentry8, GTK_STATE_FLAG_NORMAL, &color); #pragma GCC diagnostic pop preferences.highcolor8 = color; } /* User selected colors for Xdx defined string highlighting. */ gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(promptcolorbutton), &color); if (! gdk_rgba_equal(&color, &preferences.promptcolor)) { gui->prompttagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->prompttagname, "foreground-rgba", &color, NULL); gui->calltagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->calltagname, "foreground-rgba", &color, "weight", PANGO_WEIGHT_BOLD, NULL); preferences.promptcolor = color; } gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(sentcolorbutton), &color); if (! gdk_rgba_equal(&color, &preferences.sentcolor)) { gui->senttagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->senttagname, "foreground-rgba", &color, NULL); preferences.sentcolor = color; } gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(wwvcolorbutton), &color); if (! gdk_rgba_equal(&color, &preferences.wwvcolor)) { gui->wwvtagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->wwvtagname, "foreground-rgba", &color, NULL); preferences.wwvcolor = color; } gtk_color_chooser_get_rgba(GTK_COLOR_CHOOSER(wxcolorbutton), &color); if (! gdk_rgba_equal(&color, &preferences.wxcolor)) { gui->wxtagname = g_strdup_printf("%d", rand()); gtk_text_buffer_create_tag(buffer, gui->wxtagname, "foreground-rgba", &color, NULL); preferences.wxcolor = color; } g_free(str); } gtk_widget_destroy(preferencesdialog); mainentry = g_object_get_data(G_OBJECT(gui->window), "mainentry"); gtk_widget_set_sensitive(gui->window, 1); gtk_widget_grab_focus(GTK_WIDGET(mainentry)); } xdx-2.91/src/save.h0000644000175000017500000000200212646316272011072 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * save.h */ #ifndef XDX_SAVE_H #define XDX_SAVE_H void savedx(gchar *dx); void savewwv(gchar *wwv); void savetoall(gchar *toall); void savewx(gchar *wx); #endif /* XDX_SAVE_H */ xdx-2.91/src/net.c0000644000175000017500000002663214216757104010732 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * net.c - private functions for sending and receiving data, connecting and * disconnecting. */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #if HAVE_SYS_WAIT_H # include #endif #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include "gui.h" #include "history.h" #include "net.h" #include "preferences.h" #include "text.h" #include "utils.h" extern preferencestype preferences; /* create a new struct for the server */ servertype * new_cluster(void) { servertype *server = g_new0(servertype, 1); server->host = NULL; server->port = NULL; server->rxchannel = NULL; server->source_id = 0; server->sockethandle = -1; server->connected = FALSE; server->reconnecttimer = -1; server->reconnect = FALSE; server->lastcommand = NULL; server->keepalivetimer = -1; return (server); } /* * resolve, connect and create the io channel for reading */ gboolean clresolve(servertype *cluster) { gint ret; GString *msg = g_string_new(""); struct sockaddr_in claddress; struct hostent *clhostent; GError *err = NULL; // GIOStatus res = G_IO_STATUS_NORMAL; g_string_printf(msg, _("Resolving %s..."), cluster->host); updatestatusbar(msg, FALSE); clhostent = gethostbyname(cluster->host); if (clhostent == NULL) { g_string_printf(msg, _("Resolve failed: %s"), hstrerror(h_errno)); updatestatusbar(msg, FALSE); g_string_free(msg, TRUE); return FALSE; } else { g_string_printf(msg, _("Connecting to: %s"), inet_ntoa(*((struct in_addr *) clhostent->h_addr))); updatestatusbar(msg, FALSE); } if ((cluster->sockethandle = socket(AF_INET, SOCK_STREAM, 0)) == -1) { msg = g_string_new(g_strerror(errno)); updatestatusbar(msg, FALSE); g_string_free(msg, TRUE); return FALSE; } claddress.sin_family = AF_INET; claddress.sin_port = htons(atoi(cluster->port)); bcopy(clhostent->h_addr, &claddress.sin_addr, clhostent->h_length); bzero(&(claddress.sin_zero), 8); ret = connect(cluster->sockethandle, (struct sockaddr *) &claddress, sizeof(struct sockaddr)); if (ret == -1 && errno != EINPROGRESS) { if (preferences.reconnect == 1 && cluster->reconnect) { g_string_printf(msg, ("%s, trying reconnect in 10 seconds"), g_strerror(errno)); updatestatusbar(msg, FALSE); logconnection(msg); cluster->reconnecttimer = g_timeout_add(10000, reconnect, NULL); } else { msg = g_string_new(g_strerror(errno)); updatestatusbar(msg, FALSE); logconnection(msg); g_string_free(msg, TRUE); } return FALSE; } if (cluster->reconnect) cluster->reconnect = FALSE; g_string_printf(msg, _("Connected to %s"), cluster->host); updatestatusbar(msg, FALSE); logconnection(msg); g_string_free(msg, TRUE); gtk_widget_set_sensitive(GTK_WIDGET(g_object_get_data(G_OBJECT(gui->window), "close_item")), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(g_object_get_data(G_OBJECT(gui->window), "close_item")), TRUE); cluster->rxchannel = g_io_channel_unix_new(cluster->sockethandle); g_io_channel_set_flags(cluster->rxchannel, G_IO_FLAG_NONBLOCK, &err); // res = g_io_channel_set_encoding (cluster->rxchannel, NULL, &err); g_io_channel_set_encoding(cluster->rxchannel, NULL, &err); cluster->keepalivetimer = g_timeout_add(300000, send_keepalivepacket, NULL); cluster->source_id = g_io_add_watch (cluster->rxchannel, G_IO_IN, rx, cluster); return TRUE; } /* * disconnect routine, called from the disconnect dialog */ void cldisconnect(GString *msg, gboolean timeout) { servertype *cluster; cluster = g_object_get_data(G_OBJECT(gui->window), "cluster"); if (cluster->rxchannel) { g_io_channel_shutdown(cluster->rxchannel, TRUE, NULL); g_io_channel_unref(cluster->rxchannel); cluster->rxchannel = NULL; } g_source_remove(cluster->source_id); g_source_remove(cluster->keepalivetimer); close(cluster->sockethandle); cluster->sockethandle = -1; cluster->connected = FALSE; if (msg) updatestatusbar(msg, timeout); gtk_widget_set_sensitive(GTK_WIDGET(g_object_get_data(G_OBJECT(gui->window), "open_item")), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(g_object_get_data(G_OBJECT(gui->window), "close_item")), FALSE); } gint send_keepalivepacket(gpointer data) { if (preferences.keepalive == 1) { servertype *cluster = g_object_get_data(G_OBJECT(gui->window), "cluster"); write(cluster->sockethandle, "\b", 1); } return TRUE; } gint reconnect(gpointer data) { servertype *cluster; cluster = g_object_get_data(G_OBJECT(gui->window), "cluster"); g_source_remove(cluster->reconnecttimer); clresolve(cluster); return FALSE; } /* * a message is received here */ gboolean rx(GIOChannel *channel, GIOCondition cond, gpointer data) { gchar buf[1024], **sendsplit = NULL; gsize numbytes; GString *msg = g_string_new(""); GString *txstr = g_string_new(""); GIOStatus res = G_IO_STATUS_NORMAL; GError *err = NULL; gboolean ret = FALSE; gint i = 0; servertype *cluster = (servertype *)data; do res = g_io_channel_read_chars(cluster->rxchannel, buf, 1024, &numbytes, &err); while (res == G_IO_STATUS_AGAIN); switch (res) { case G_IO_STATUS_ERROR: /* connection refused ? */ g_string_printf(msg, ("%s while connected"), err->message); cldisconnect(msg, FALSE); g_string_free(msg, TRUE); g_error_free(err); err = NULL; return FALSE; break; case G_IO_STATUS_NORMAL: ret = TRUE; break; case G_IO_STATUS_EOF: /* remote end has closed connection */ if (preferences.reconnect == 1 && g_ascii_strncasecmp(cluster->lastcommand, "/b", 2) != 0 && g_ascii_strcasecmp(cluster->lastcommand, "b\n") != 0 && g_ascii_strcasecmp(cluster->lastcommand, "bye\n") != 0 && g_ascii_strcasecmp(cluster->lastcommand, "q\n") != 0 && g_ascii_strcasecmp(cluster->lastcommand, "quit\n") != 0 && g_ascii_strncasecmp(cluster->lastcommand, "/q", 2) != 0) { g_string_printf(msg, _("Connection closed, trying reconnect in 10 seconds")); cldisconnect(msg, FALSE); logconnection(msg); cluster->reconnecttimer = g_timeout_add(10000, reconnect, NULL); cluster->reconnect = TRUE; } else { g_string_printf(msg, _("Connection closed by remote host")); logconnection(msg); cldisconnect(msg, FALSE); } g_string_free(msg, TRUE); return FALSE; break; default: break; } if ((cond & G_IO_IN) && G_IO_STATUS_NORMAL) { if (numbytes == 0) { /* remote end has closed connection ? */ g_string_printf(msg, _("Connection closed by remote host (0 bytes received)")); cldisconnect(msg, FALSE); g_string_free(msg, TRUE); ret = FALSE; } else { maintext_add(buf, numbytes, MESSAGE_RX); /* autologin */ if (!cluster->connected && (preferences.autologin == 1) && (g_ascii_strcasecmp(preferences.callsign, "?"))) { g_string_printf(txstr, "%s", preferences.callsign); tx(txstr); g_string_free(txstr, TRUE); if (g_ascii_strcasecmp(preferences.commands, "?")) { sendsplit = g_strsplit(preferences.commands, ",", 0); while (sendsplit[i]) { txstr = g_string_new(sendsplit[i]); tx(txstr); usleep(500000); while (gtk_events_pending()) gtk_main_iteration(); g_string_free(txstr, TRUE); i++; } g_strfreev(sendsplit); } cluster->connected = TRUE; } } } return ret; } /* * send messages to the socket */ void tx(GString *txmsg) { gint numbytes; GString *errmsg = g_string_new(""); servertype *cluster; cluster = g_object_get_data(G_OBJECT(gui->window), "cluster"); if ((cluster->rxchannel) && (cluster->sockethandle != -1)) { if (txmsg->len > 0) tx_save(txmsg); txmsg = g_string_append(txmsg, "\n"); numbytes = write(cluster->sockethandle, txmsg->str, txmsg->len); if (numbytes == -1) { g_string_printf(errmsg, _("Write failed: %s"), g_strerror(errno)); updatestatusbar(errmsg, FALSE); g_string_free(errmsg, TRUE); return; } else if (preferences.localecho == 1) { maintext_add(txmsg->str, txmsg->len, MESSAGE_TX); } cluster->lastcommand = g_strdup(txmsg->str); } else { g_string_printf(errmsg, _("Nothing to send, you are not connected")); updatestatusbar(errmsg, FALSE); g_print("%s\n", txmsg->str); g_string_free(errmsg, TRUE); } } xdx-2.91/src/gui_exitdialog.c0000644000175000017500000000651414212155066013131 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * Copyright (C) 2014 Nate Bargmann * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_exitdialog.c - dialog for exiting the program */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include "gui.h" #include "gui_exitdialog.h" /* * called from the menu or from the window manager close button * on the main window. */ gboolean on_exit_dialog(GtkMenuItem *menuitem, gpointer user_data) { GtkWidget *exitdialog, *closelabel, *hbox, *vbox, *stock, *mainentry; GString *labeltext = g_string_new(""); gint response; gtk_widget_set_sensitive(gui->window, 0); exitdialog = gtk_dialog_new_with_buttons(_("Exit"), GTK_WINDOW(gui->window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, _("No"), GTK_RESPONSE_NO, _("Yes"), GTK_RESPONSE_YES, NULL); hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8); gtk_container_set_border_width(GTK_CONTAINER(hbox), 8); vbox = gtk_dialog_get_content_area(GTK_DIALOG(exitdialog)); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); stock = gtk_image_new_from_icon_name("dialog-question", GTK_ICON_SIZE_DIALOG); gtk_box_pack_start(GTK_BOX(hbox), stock, FALSE, FALSE, 0); g_string_printf(labeltext, _("Exit "PACKAGE_NAME"?")); closelabel = gtk_label_new_with_mnemonic(labeltext->str); g_string_free(labeltext, TRUE); gtk_box_pack_start(GTK_BOX(hbox), closelabel, TRUE, TRUE, 0); gtk_widget_show_all(hbox); response = gtk_dialog_run(GTK_DIALOG(exitdialog)); if (response == GTK_RESPONSE_YES) { on_quit_activate(menuitem, user_data); return FALSE; } gtk_widget_destroy(exitdialog); gtk_widget_set_sensitive(gui->window, TRUE); mainentry = g_object_get_data(G_OBJECT(gui->window), "mainentry"); gtk_widget_grab_focus(GTK_WIDGET(mainentry)); return TRUE; } xdx-2.91/src/gui.h0000644000175000017500000000675414220736241010732 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui.h */ #ifndef XDX_GUI_H #define XDX_GUI_H typedef struct guitype { GtkWidget *window; GList *hostnamehistory; GList *porthistory; GList *txhistory; gchar *preferencesdir; guint updown; guint txitem; gint statusbartimer; gchar *statusbarmessage; gchar *url; gchar *prompttagname; gchar *calltagname; gchar *senttagname; gchar *wwvtagname; gchar *wxtagname; gchar *high1tagname; gchar *high2tagname; gchar *high3tagname; gchar *high4tagname; gchar *high5tagname; gchar *high6tagname; gchar *high7tagname; gchar *high8tagname; } guitype; extern guitype *gui; guitype *new_gui(void); void create_mainwindow(void); gboolean on_mainwindow_delete_event(GtkWidget *widget, GdkEvent *event, gpointer user_data); gboolean on_mainwindow_destroy_event(GtkWidget *widget, GdkEvent *event, gpointer user_data); void on_mainentry_activate(GtkTextBuffer *buffer, gpointer user_data); gboolean on_mainwindow_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data); gboolean double_click(GtkWidget *widget, GdkEventButton *event, gpointer user_data); void on_fbutton_clicked(GtkButton *button, gpointer user_data); gboolean on_fbutton_press(GtkButton *button, GdkEventButton *event, gpointer user_data); void on_quit_activate(GtkMenuItem *menuitem, gpointer user_data); void on_sidebar_activate(GtkAction *action, gpointer user_data); void on_fkeys_activate(GtkAction *action, gpointer user_data); void on_reconnect_activate(GtkAction *action, gpointer user_data); void on_highentry_changed(GtkEditable *editable, gpointer user_data); gboolean on_highentry_clicked(GtkEditable *entry, GdkEventButton *event, gpointer user_data); extern GValue grid_spacing; #endif /* XDX_GUI_H */ xdx-2.91/src/gtksourceiter.c0000644000175000017500000005024613621127455013033 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * Taken from the gtksourceview source tree with the following copyrights: * Copyright (C) 2000 - 2005 Paolo Maggi * Copyright (C) 2002, 2003 Jeroen Zwartepoorte * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * Parts of this file are copied from the gedit and glimmer project. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include "gtksourceiter.h" #define GTK_TEXT_UNKNOWN_CHAR 0xFFFC /* this function acts like g_utf8_offset_to_pointer() except that if it finds a * decomposable character it consumes the decomposition length from the given * offset. So it's useful when the offset was calculated for the normalized * version of str, but we need a pointer to str itself. */ static const gchar * pointer_from_offset_skipping_decomp(const gchar *str, gint offset) { gchar *casefold, *normal; const gchar *p, *q; p = str; while (offset > 0) { q = g_utf8_next_char(p); casefold = g_utf8_casefold(p, q - p); normal = g_utf8_normalize(casefold, -1, G_NORMALIZE_NFD); offset -= g_utf8_strlen(normal, -1); g_free(casefold); g_free(normal); p = q; } return p; } /* * look for a substring (case insensitive) */ const gchar * g_utf8_strcasestr(const gchar *haystack, const gchar *needle) { gsize needle_len; gsize haystack_len; const gchar *ret = NULL; gchar *p; gchar *casefold; gchar *caseless_haystack; gint i; g_return_val_if_fail(haystack != NULL, NULL); g_return_val_if_fail(needle != NULL, NULL); casefold = g_utf8_casefold(haystack, -1); caseless_haystack = g_utf8_normalize(casefold, -1, G_NORMALIZE_NFD); g_free(casefold); needle_len = g_utf8_strlen(needle, -1); haystack_len = g_utf8_strlen(caseless_haystack, -1); if (needle_len == 0) { ret = (gchar *)haystack; goto finally_1; } if (haystack_len < needle_len) { ret = NULL; goto finally_1; } p = (gchar *)caseless_haystack; needle_len = strlen(needle); i = 0; while (*p) { if ((strncmp(p, needle, needle_len) == 0)) { ret = pointer_from_offset_skipping_decomp(haystack, i); goto finally_1; } p = g_utf8_next_char(p); i++; } finally_1: g_free(caseless_haystack); return ret; } static const gchar * g_utf8_strrcasestr(const gchar *haystack, const gchar *needle) { gsize needle_len; gsize haystack_len; const gchar *ret = NULL; gchar *p; gchar *casefold; gchar *caseless_haystack; gint i; g_return_val_if_fail(haystack != NULL, NULL); g_return_val_if_fail(needle != NULL, NULL); casefold = g_utf8_casefold(haystack, -1); caseless_haystack = g_utf8_normalize(casefold, -1, G_NORMALIZE_NFD); g_free(casefold); needle_len = g_utf8_strlen(needle, -1); haystack_len = g_utf8_strlen(caseless_haystack, -1); if (needle_len == 0) { ret = (gchar *)haystack; goto finally_1; } if (haystack_len < needle_len) { ret = NULL; goto finally_1; } i = haystack_len - needle_len; p = g_utf8_offset_to_pointer(caseless_haystack, i); needle_len = strlen(needle); while (p >= caseless_haystack) { if (strncmp(p, needle, needle_len) == 0) { ret = pointer_from_offset_skipping_decomp(haystack, i); goto finally_1; } p = g_utf8_prev_char(p); i--; } finally_1: g_free(caseless_haystack); return ret; } static gboolean g_utf8_caselessnmatch(const char *s1, const char *s2, gssize n1, gssize n2) { gchar *casefold; gchar *normalized_s1; gchar *normalized_s2; gint len_s1; gint len_s2; gboolean ret = FALSE; g_return_val_if_fail(s1 != NULL, FALSE); g_return_val_if_fail(s2 != NULL, FALSE); g_return_val_if_fail(n1 > 0, FALSE); g_return_val_if_fail(n2 > 0, FALSE); casefold = g_utf8_casefold(s1, n1); normalized_s1 = g_utf8_normalize(casefold, -1, G_NORMALIZE_NFD); g_free(casefold); casefold = g_utf8_casefold(s2, n2); normalized_s2 = g_utf8_normalize(casefold, -1, G_NORMALIZE_NFD); g_free(casefold); len_s1 = strlen(normalized_s1); len_s2 = strlen(normalized_s2); if (len_s1 < len_s2) goto finally_2; ret = (strncmp(normalized_s1, normalized_s2, len_s2) == 0); finally_2: g_free(normalized_s1); g_free(normalized_s2); return ret; } static void forward_chars_with_skipping(GtkTextIter *iter, gint count, gboolean skip_invisible, gboolean skip_nontext, gboolean skip_decomp) { gint i; g_return_if_fail(count >= 0); i = count; while (i > 0) { gboolean ignored = FALSE; /* minimal workaround to avoid the infinite loop of bug #168247. * It doesn't fix the problemjust the symptom... */ if (gtk_text_iter_is_end(iter)) return; if (skip_nontext && gtk_text_iter_get_char(iter) == GTK_TEXT_UNKNOWN_CHAR) ignored = TRUE; if (!ignored && skip_invisible && /* _gtk_text_btree_char_is_invisible (iter)*/ FALSE) ignored = TRUE; if (!ignored && skip_decomp) { /* being UTF8 correct sucks; this accounts for extra offsets coming from canonical decompositions of UTF8 characters (e.g. accented characters) which g_utf8_normalize() performs */ gchar *normal; gchar buffer[6]; gint buffer_len; buffer_len = g_unichar_to_utf8(gtk_text_iter_get_char(iter), buffer); normal = g_utf8_normalize(buffer, buffer_len, G_NORMALIZE_NFD); i -= (g_utf8_strlen(normal, -1) - 1); g_free(normal); } gtk_text_iter_forward_char(iter); if (!ignored) --i; } } static gboolean lines_match(const GtkTextIter *start, const gchar **lines, gboolean visible_only, gboolean slice, GtkTextIter *match_start, GtkTextIter *match_end) { GtkTextIter next; gchar *line_text; const gchar *found; gint offset; if (*lines == NULL || **lines == '\0') { if (match_start) *match_start = *start; if (match_end) *match_end = *start; return TRUE; } next = *start; gtk_text_iter_forward_line(&next); /* No more text in buffer, but *lines is nonempty */ if (gtk_text_iter_equal(start, &next)) return FALSE; if (slice) { if (visible_only) line_text = gtk_text_iter_get_visible_slice(start, &next); else line_text = gtk_text_iter_get_slice(start, &next); } else { if (visible_only) line_text = gtk_text_iter_get_visible_text(start, &next); else line_text = gtk_text_iter_get_text(start, &next); } if (match_start) { /* if this is the first line we're matching */ found = g_utf8_strcasestr(line_text, *lines); } else { /* If it's not the first line, we have to match from the * start of the line. */ if (g_utf8_caselessnmatch(line_text, *lines, strlen(line_text), strlen(*lines))) found = line_text; else found = NULL; } if (found == NULL) { g_free(line_text); return FALSE; } /* Get offset to start of search string */ offset = g_utf8_strlen(line_text, found - line_text); next = *start; /* If match start needs to be returned, set it to the * start of the search string. */ forward_chars_with_skipping(&next, offset, visible_only, !slice, FALSE); if (match_start) { *match_start = next; } /* Go to end of search string */ forward_chars_with_skipping(&next, g_utf8_strlen(*lines, -1), visible_only, !slice, TRUE); g_free(line_text); ++lines; if (match_end) *match_end = next; /* pass NULL for match_start, since we don't need to find the * start again. */ return lines_match(&next, lines, visible_only, slice, NULL, match_end); } static gboolean backward_lines_match(const GtkTextIter *start, const gchar **lines, gboolean visible_only, gboolean slice, GtkTextIter *match_start, GtkTextIter *match_end) { GtkTextIter line, next; gchar *line_text; const gchar *found; gint offset; if (*lines == NULL || **lines == '\0') { if (match_start) *match_start = *start; if (match_end) *match_end = *start; return TRUE; } line = next = *start; if (gtk_text_iter_get_line_offset(&next) == 0) { if (!gtk_text_iter_backward_line(&next)) return FALSE; } else gtk_text_iter_set_line_offset(&next, 0); if (slice) { if (visible_only) line_text = gtk_text_iter_get_visible_slice(&next, &line); else line_text = gtk_text_iter_get_slice(&next, &line); } else { if (visible_only) line_text = gtk_text_iter_get_visible_text(&next, &line); else line_text = gtk_text_iter_get_text(&next, &line); } if (match_start) { /* if this is the first line we're matching */ found = g_utf8_strrcasestr(line_text, *lines); } else { /* If it's not the first line, we have to match from the * start of the line. */ if (g_utf8_caselessnmatch(line_text, *lines, strlen(line_text), strlen(*lines))) found = line_text; else found = NULL; } if (found == NULL) { g_free(line_text); return FALSE; } /* Get offset to start of search string */ offset = g_utf8_strlen(line_text, found - line_text); forward_chars_with_skipping(&next, offset, visible_only, !slice, FALSE); /* If match start needs to be returned, set it to the * start of the search string. */ if (match_start) { *match_start = next; } /* Go to end of search string */ forward_chars_with_skipping(&next, g_utf8_strlen(*lines, -1), visible_only, !slice, TRUE); g_free(line_text); ++lines; if (match_end) *match_end = next; /* try to match the rest of the lines forward, passing NULL * for match_start so lines_match will try to match the entire * line */ return lines_match(&next, lines, visible_only, slice, NULL, match_end); } /* strsplit() that retains the delimiter as part of the string. */ static gchar ** strbreakup(const char *string, const char *delimiter, gint max_tokens) { GSList *string_list = NULL, *slist; gchar **str_array, *s, *casefold, *new_string; guint i, n = 1; g_return_val_if_fail(string != NULL, NULL); g_return_val_if_fail(delimiter != NULL, NULL); if (max_tokens < 1) max_tokens = G_MAXINT; s = strstr(string, delimiter); if (s) { guint delimiter_len = strlen(delimiter); do { guint len; len = s - string + delimiter_len; new_string = g_new(gchar, len + 1); strncpy(new_string, string, len); new_string[len] = 0; casefold = g_utf8_casefold(new_string, -1); g_free(new_string); new_string = g_utf8_normalize(casefold, -1, G_NORMALIZE_NFD); g_free(casefold); string_list = g_slist_prepend(string_list, new_string); n++; string = s + delimiter_len; s = strstr(string, delimiter); } while (--max_tokens && s); } if (*string) { n++; casefold = g_utf8_casefold(string, -1); new_string = g_utf8_normalize(casefold, -1, G_NORMALIZE_NFD); g_free(casefold); string_list = g_slist_prepend(string_list, new_string); } str_array = g_new(gchar *, n); i = n - 1; str_array[i--] = NULL; for (slist = string_list; slist; slist = slist->next) str_array[i--] = slist->data; g_slist_free(string_list); return str_array; } /** * gtk_source_iter_forward_search: * @iter: start of search. * @str: a search string. * @flags: flags affecting how the search is done. * @match_start: return location for start of match, or %%NULL. * @match_end: return location for end of match, or %%NULL. * @limit: bound for the search, or %%NULL for the end of the buffer. * * Searches forward for @str. Any match is returned by setting * @match_start to the first character of the match and @match_end to the * first character after the match. The search will not continue past * @limit. Note that a search is a linear or O(n) operation, so you * may wish to use @limit to avoid locking up your UI on large * buffers. * * If the #GTK_SOURCE_SEARCH_VISIBLE_ONLY flag is present, the match may * have invisible text interspersed in @str. i.e. @str will be a * possibly-noncontiguous subsequence of the matched range. similarly, * if you specify #GTK_SOURCE_SEARCH_TEXT_ONLY, the match may have * pixbufs or child widgets mixed inside the matched range. If these * flags are not given, the match must be exact; the special 0xFFFC * character in @str will match embedded pixbufs or child widgets. * If you specify the #GTK_SOURCE_SEARCH_CASE_INSENSITIVE flag, the text will * be matched regardless of what case it is in. * * Same as gtk_text_iter_forward_search(), but supports case insensitive * searching. * * Return value: whether a match was found. **/ gboolean gtk_source_iter_forward_search(const GtkTextIter *iter, const gchar *str, GtkSourceSearchFlags flags, GtkTextIter *match_start, GtkTextIter *match_end, const GtkTextIter *limit) { gchar **lines = NULL; GtkTextIter match; gboolean retval = FALSE; GtkTextIter search; gboolean visible_only; gboolean slice; g_return_val_if_fail(iter != NULL, FALSE); g_return_val_if_fail(str != NULL, FALSE); if ((flags & GTK_SOURCE_SEARCH_CASE_INSENSITIVE) == 0) return gtk_text_iter_forward_search(iter, str, flags, match_start, match_end, limit); if (limit && gtk_text_iter_compare(iter, limit) >= 0) return FALSE; if (*str == '\0') { /* If we can move one char, return the empty string there */ match = *iter; if (gtk_text_iter_forward_char(&match)) { if (limit && gtk_text_iter_equal(&match, limit)) return FALSE; if (match_start) *match_start = match; if (match_end) *match_end = match; return TRUE; } else { return FALSE; } } visible_only = (flags & GTK_SOURCE_SEARCH_VISIBLE_ONLY) != 0; slice = (flags & GTK_SOURCE_SEARCH_TEXT_ONLY) == 0; /* locate all lines */ lines = strbreakup(str, "\n", -1); search = *iter; do { /* This loop has an inefficient worst-case, where * gtk_text_iter_get_text () is called repeatedly on * a single line. */ GtkTextIter end; if (limit && gtk_text_iter_compare(&search, limit) >= 0) break; if (lines_match(&search, (const gchar **)lines, visible_only, slice, &match, &end)) { if (limit == NULL || (limit && gtk_text_iter_compare(&end, limit) < 0)) { retval = TRUE; if (match_start) *match_start = match; if (match_end) *match_end = end; } break; } } while (gtk_text_iter_forward_line(&search)); g_strfreev((gchar **)lines); return retval; } /** * gtk_source_iter_backward_search: * @iter: a #GtkTextIter where the search begins. * @str: search string. * @flags: bitmask of flags affecting the search. * @match_start: return location for start of match, or %%NULL. * @match_end: return location for end of match, or %%NULL. * @limit: location of last possible @match_start, or %%NULL for start of buffer. * * Same as gtk_text_iter_backward_search(), but supports case insensitive * searching. * * Return value: whether a match was found. **/ gboolean gtk_source_iter_backward_search(const GtkTextIter *iter, const gchar *str, GtkSourceSearchFlags flags, GtkTextIter *match_start, GtkTextIter *match_end, const GtkTextIter *limit) { gchar **lines = NULL; GtkTextIter match; gboolean retval = FALSE; GtkTextIter search; gboolean visible_only; gboolean slice; g_return_val_if_fail(iter != NULL, FALSE); g_return_val_if_fail(str != NULL, FALSE); if ((flags & GTK_SOURCE_SEARCH_CASE_INSENSITIVE) == 0) return gtk_text_iter_backward_search(iter, str, flags, match_start, match_end, limit); if (limit && gtk_text_iter_compare(iter, limit) <= 0) return FALSE; if (*str == '\0') { /* If we can move one char, return the empty string there */ match = *iter; if (gtk_text_iter_backward_char(&match)) { if (limit && gtk_text_iter_equal(&match, limit)) return FALSE; if (match_start) *match_start = match; if (match_end) *match_end = match; return TRUE; } else { return FALSE; } } visible_only = (flags & GTK_SOURCE_SEARCH_VISIBLE_ONLY) != 0; slice = (flags & GTK_SOURCE_SEARCH_TEXT_ONLY) == 0; /* locate all lines */ lines = strbreakup(str, "\n", -1); search = *iter; while (TRUE) { /* This loop has an inefficient worst-case, where * gtk_text_iter_get_text () is called repeatedly on * a single line. */ GtkTextIter end; if (limit && gtk_text_iter_compare(&search, limit) <= 0) break; if (backward_lines_match(&search, (const gchar **)lines, visible_only, slice, &match, &end)) { if (limit == NULL || (limit && gtk_text_iter_compare(&end, limit) > 0)) { retval = TRUE; if (match_start) *match_start = match; if (match_end) *match_end = end; } break; } if (gtk_text_iter_get_line_offset(&search) == 0) { if (!gtk_text_iter_backward_line(&search)) break; } else { gtk_text_iter_set_line_offset(&search, 0); } } g_strfreev((gchar **)lines); return retval; } /* * gtk_source_iter_find_matching_bracket is implemented in gtksourcebuffer.c */ xdx-2.91/src/gui_aboutdialog.c0000644000175000017500000001127314220775707013301 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_aboutdialog.c - creation of the about dialog */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include #include "gui.h" #include "preferences.h" #include "utils.h" extern preferencestype preferences; /* When mailapp or browserapp is not set in preferences, openmail and openurl * will return FALSE so we pass that up into the GTK+ signal handlers so * the GtkAboutDialog signal handler will call the mail or browser app defined * by desktop defaults. */ static gboolean handle_uri_hook(GtkAboutDialog *about, const char *link, gpointer data) { if (g_str_has_prefix(link, "mailto:")) { return openmail(link + 7); } else { return openurl(link); } } /* * called from the menu */ void on_about_activate(GtkMenuItem *menuitem, gpointer user_data) { const gchar *authors[] = { "Joop Stakenborg, PG4I ", "Nate Bargmann, N0NB ", NULL }; gchar *license = "Copyright (C) 2002-2007 Joop Stakenborg \n" "Copyright (C) 2014-2022 Nate Bargmann \n" "\n" "This program is free software; you can redistribute it and/or modify\n" "it under the terms of the GNU General Public License as published by\n" "the Free Software Foundation; either version 2 of the License, or\n" "(at your option) any later version.\n" "\n" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" "GNU General Public License for more details.\n" "\n" "You should have received a copy of the GNU General Public License along\n" "with this program; if not, write to the Free Software Foundation, Inc.,\n" "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n"; gchar *translators = "Dutch: Joop Stakenborg PG4I \n" "French: Jean-Luc Coulon F5IBH \n" "Polish: Boguslaw Ciastek SQ5TB \n" "Portuguese: David Quental CT1DRB \n" "Spanish: Baltasar Perez EC8AYR \n"; GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file (PACKAGE_DATA_DIR "/pixmaps/xdx-logo.png", NULL); GtkWidget *about = gtk_about_dialog_new(); GtkAboutDialog *ad = GTK_ABOUT_DIALOG(about); gtk_about_dialog_set_program_name(ad, PACKAGE_NAME); gtk_about_dialog_set_authors(ad, authors); gtk_about_dialog_set_comments(ad, _("TCP/IP DX-cluster and ON4KST chat client for amateur radio operators")); gtk_about_dialog_set_license(ad, license); gtk_about_dialog_set_website(ad, "https://github.com/N0NB/xdx"); gtk_about_dialog_set_logo(ad, pixbuf); gtk_about_dialog_set_translator_credits(ad, translators); gtk_about_dialog_set_version(ad, PACKAGE_VERSION); gtk_window_set_transient_for(GTK_WINDOW(ad), GTK_WINDOW(gui->window)); g_signal_connect(ad, "activate-link", G_CALLBACK(handle_uri_hook), NULL); gtk_dialog_run(GTK_DIALOG(ad)); gtk_widget_destroy(GTK_WIDGET(ad)); } xdx-2.91/src/save.c0000644000175000017500000000765513621127455011105 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * save.c - saving cluster information to harddisk */ #include #include #include #include #include #include "gui.h" #include "save.h" #include "utils.h" void savedx(gchar *dx) { gchar *savedxfile, *d, *t; FILE *fp; savedxfile = g_strdup_printf("%s/dxspots", gui->preferencesdir); fp = fopen(savedxfile, "a"); if (fp) { d = xdxgetdate(TRUE); t = xdxgettime(TRUE); fprintf(fp, "%s %s GMT - %s", d, t, dx); g_free(t); g_free(d); fclose(fp); } g_free(savedxfile); } /* in lines that look like this: "SFI=75, A=2, K=2, R= 13" "K=0 expK=0 A=4 R=13 SFI=75" extract info after the '=' and save it */ static void appendwwvinfo(FILE *fpointer, gchar *item, gchar *line) { gchar *copy = g_strdup(line); gchar *j, *tmp = NULL; gint i = 0; copy = my_strreplace(copy, "= ", "="); tmp = strstr(copy, item); if (tmp) { for (j = tmp; ; ++j) { i++; if (*j == ',') { *j = '\0'; break; } else if (*j == ' ') { *j = '\0'; break; } } /* use atoi to nuke spaces */ fprintf(fpointer, "\t%s", tmp + strlen(item)); } } void savewwv(gchar *wwv) { gchar *wwvfile, *d, *t, *tmp, *ind; FILE *fp; wwvfile = g_strdup_printf("%s/wwv", gui->preferencesdir); fp = fopen(wwvfile, "a"); if (fp) { d = xdxgetdate(TRUE); t = xdxgettime(TRUE); fprintf(fp, "%s %s GMT - %s", d, t, wwv); g_free(t); g_free(d); fclose(fp); } /* extract wwv hostname and save to separate file for every host */ tmp = g_strdup(wwv + 7); ind = index(tmp, ' '); *ind = '\0'; wwvfile = g_strdup_printf("%s/%s.tsv", gui->preferencesdir, tmp); g_free(tmp); fp = fopen(wwvfile, "a"); if (fp) { /* non-formatted use for saving tsv wwv info */ d = xdxgetdate(FALSE); t = xdxgettime(FALSE); fprintf(fp, "%s%s", d, t); g_free(t); g_free(d); appendwwvinfo(fp, "SFI=", wwv); appendwwvinfo(fp, "A=", wwv); appendwwvinfo(fp, "K=", wwv); appendwwvinfo(fp, "R=", wwv); fprintf(fp, "\n"); fclose(fp); } g_free(wwvfile); } void savetoall(gchar *toall) { gchar *toallfile, *d, *t; FILE *fp; toallfile = g_strdup_printf("%s/toall", gui->preferencesdir); fp = fopen(toallfile, "a"); if (fp) { d = xdxgetdate(TRUE); t = xdxgettime(TRUE); fprintf(fp, "%s %s GMT - %s", d, t, toall); g_free(t); g_free(d); fclose(fp); } g_free(toallfile); } void savewx(gchar *wx) { gchar *wxfile, *d, *t; FILE *fp; wxfile = g_strdup_printf("%s/wx", gui->preferencesdir); fp = fopen(wxfile, "a"); if (fp) { d = xdxgetdate(TRUE); t = xdxgettime(TRUE); fprintf(fp, "%s %s GMT - %s", d, t, wx); g_free(t); g_free(d); fclose(fp); } g_free(wxfile); } xdx-2.91/src/gui_opendialog.c0000644000175000017500000001711014221213050013077 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_opendialog.c - dialog for opening a connection */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include "gui.h" #include "gui_opendialog.h" #include "net.h" #include "utils.h" #define HOSTNAMEHISTORY 10 #define PORTHISTORY 10 /* * called from the menu */ void on_open_activate(GtkMenuItem *menuitem, gpointer user_data) { GtkWidget *opendialog, *hostnamecombo, *portcombo, *hbox, *vbox, *stock, *grid, *hostlabel, *portlabel, *mainentry, *hnc_child, *pc_child, *open_menu, *close_menu; gint i, num, response; GList *node; extern GValue grid_spacing; gboolean result = FALSE; servertype *cluster; gchar *s; gtk_widget_set_sensitive(gui->window, 0); opendialog = gtk_dialog_new_with_buttons(_("Xdx - Open connection"), GTK_WINDOW(gui->window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, _("_Cancel"), GTK_RESPONSE_CANCEL, _("_OK"), GTK_RESPONSE_OK, NULL); hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); gtk_container_set_border_width(GTK_CONTAINER(hbox), 6); vbox = gtk_dialog_get_content_area(GTK_DIALOG(opendialog)); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); stock = gtk_image_new_from_icon_name("dialog-question", GTK_ICON_SIZE_DIALOG); gtk_box_pack_start(GTK_BOX(hbox), stock, FALSE, FALSE, 0); grid = gtk_grid_new(); g_object_set_property(G_OBJECT(grid), "column-spacing", &grid_spacing); g_object_set_property(G_OBJECT(grid), "row-spacing", &grid_spacing); gtk_box_pack_start(GTK_BOX(hbox), grid, TRUE, TRUE, 0); hostlabel = gtk_label_new(_("Hostname")); gtk_grid_attach(GTK_GRID(grid), hostlabel, 0, 0, 1, 1); hostnamecombo = gtk_combo_box_text_new_with_entry(); if (gui->hostnamehistory) { num = g_list_length(gui->hostnamehistory); for (i = 0; i < num; i++) { s = g_list_nth_data(gui->hostnamehistory, i); gtk_combo_box_text_prepend_text(GTK_COMBO_BOX_TEXT(hostnamecombo), s); } } gtk_grid_attach(GTK_GRID(grid), hostnamecombo, 1, 0, 1, 1); portlabel = gtk_label_new(_("Port")); gtk_widget_set_halign(GTK_WIDGET(portlabel), GTK_ALIGN_END); gtk_grid_attach(GTK_GRID(grid), portlabel, 0, 1, 1, 1); portcombo = gtk_combo_box_text_new_with_entry(); if (gui->porthistory) { num = g_list_length(gui->porthistory); for (i = 0; i < num; i++) { s = g_list_nth_data(gui->porthistory, i); gtk_combo_box_text_prepend_text(GTK_COMBO_BOX_TEXT(portcombo), s); } } gtk_grid_attach(GTK_GRID(grid), portcombo, 1, 1, 1, 1); gtk_widget_show_all(hbox); gtk_widget_set_sensitive(gui->window, 0); gtk_combo_box_set_active(GTK_COMBO_BOX(portcombo), g_list_length(gui->porthistory) - 1); gtk_combo_box_set_active(GTK_COMBO_BOX(hostnamecombo), g_list_length(gui->hostnamehistory) - 1); response = gtk_dialog_run(GTK_DIALOG(opendialog)); open_menu = g_object_get_data(G_OBJECT(gui->window), "open_item"); close_menu= g_object_get_data(G_OBJECT(gui->window), "close_item"); if (response == GTK_RESPONSE_OK) { cluster = g_object_get_data(G_OBJECT(gui->window), "cluster"); hnc_child = gtk_bin_get_child(GTK_BIN(hostnamecombo)); cluster->host = gtk_editable_get_chars(GTK_EDITABLE(hnc_child), 0, -1); pc_child = gtk_bin_get_child(GTK_BIN(portcombo)); cluster->port = gtk_editable_get_chars(GTK_EDITABLE(pc_child), 0, -1); if (!g_ascii_strcasecmp(cluster->host, "")) cluster->host = "localhost"; if (!g_ascii_strcasecmp(cluster->port, "")) cluster->port = "8000"; /* let's see if we need to add host/port to the history */ node = NULL; node = g_list_find_custom(gui->hostnamehistory, cluster->host, (GCompareFunc)g_ascii_strncasecmp); if (!node) gui->hostnamehistory = g_list_prepend(gui->hostnamehistory, g_strdup(cluster->host)); else { /* add last connection to the top of the list */ if (g_list_position(gui->hostnamehistory, node) != 0) { g_free(node->data); gui->hostnamehistory = g_list_remove_link(gui->hostnamehistory, node); gui->hostnamehistory = g_list_prepend(gui->hostnamehistory, g_strdup(cluster->host)); } } if (g_list_length(gui->hostnamehistory) > HOSTNAMEHISTORY) gui->hostnamehistory = g_list_remove(gui->hostnamehistory, g_list_last(gui->hostnamehistory)->data); node = NULL; node = g_list_find_custom(gui->porthistory, cluster->port, (GCompareFunc)g_ascii_strncasecmp); if (!node) gui->porthistory = g_list_prepend(gui->porthistory, g_strdup(cluster->port)); else { if (g_list_position(gui->porthistory, node) != 0) { g_free(node->data); gui->porthistory = g_list_remove_link(gui->porthistory, node); gui->porthistory = g_list_prepend(gui->porthistory, g_strdup(cluster->port)); } } if (g_list_length(gui->porthistory) > PORTHISTORY) gui->porthistory = g_list_remove(gui->porthistory, g_list_last(gui->porthistory)->data); gtk_widget_set_sensitive(GTK_WIDGET(open_menu), FALSE); gtk_widget_set_sensitive(GTK_WIDGET(close_menu), FALSE); result = clresolve(cluster); } gtk_widget_destroy(opendialog); gtk_widget_set_sensitive(gui->window, 1); mainentry = g_object_get_data(G_OBJECT(gui->window), "mainentry"); gtk_widget_grab_focus(GTK_WIDGET(mainentry)); if (!result) { gtk_widget_set_sensitive(GTK_WIDGET(open_menu), TRUE); gtk_widget_set_sensitive(GTK_WIDGET(close_menu), FALSE); } } xdx-2.91/src/cmd_opts.h0000644000175000017500000000177312646316272011762 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2014 Nate Bargmann N0NB * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * cmd_opts.c - Parse command line options. */ #ifndef XDX_CMD_OPTS_H #define XDX_CMD_OPTS_H void parse_opts(int *argc, char ***argv); #endif /* XDX_CMD_OPTS_H */ xdx-2.91/src/preferences.h0000644000175000017500000000555114206154364012445 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * preferences.h */ #ifndef XDX_PREFERENCES_H #define XDX_PREFERENCES_H #define COL0WIDTH 70 #define COL1WIDTH 70 #define COL2WIDTH 70 #define COL3WIDTH 250 #define COL4WIDTH 60 #define COL5WIDTH 60 #define COL6WIDTH 60 typedef struct { gint x; gint y; gint width; gint height; gchar *columnwidths; gint autologin; gchar *callsign; gchar *commands; gint savedx; gint savewwv; gint savetoall; gint savewx; gint hamlib; gchar *rigctl; gchar *browserapp; gchar *mailapp; gchar *soundapp; gint col0visible; gint col1visible; gint col2visible; gint col3visible; gint col4visible; gint col5visible; gint col6visible; gchar *dxfont; gchar *allfont; gint localecho; gint handlebarpos; gchar *highword1; gchar *highword2; gchar *highword3; gchar *highword4; gchar *highword5; gchar *highword6; gchar *highword7; gchar *highword8; GdkRGBA highcolor1; GdkRGBA highcolor2; GdkRGBA highcolor3; GdkRGBA highcolor4; GdkRGBA highcolor5; GdkRGBA highcolor6; GdkRGBA highcolor7; GdkRGBA highcolor8; gchar *highmenu; gint sidebar; gint fbox; gint reconnect; gint playsound; gint keepalive; GdkRGBA promptcolor; GdkRGBA sentcolor; GdkRGBA wwvcolor; GdkRGBA wxcolor; gchar *f1command; gchar *f2command; gchar *f3command; gchar *f4command; gchar *f5command; gchar *f6command; gchar *f7command; gchar *f8command; } preferencestype; void dircheck(void); void loadpreferences(void); void savepreferences(void); #endif /* XDX_PREFERENCES_H */ xdx-2.91/src/gui_manualdialog.c0000644000175000017500000000773314223301102013423 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_aboutdialog.c - creation of the about dialog */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include #include "gui.h" #include "gui_manualdialog.h" #include "utils.h" void on_manual_activate(GtkMenuItem *menuitem, gpointer user_data) { GtkWidget *manualdialog, *swindow, *helptextview, *vbox; GtkTextBuffer *buffer; GtkTextIter iter; PangoFontDescription *font_desc; gchar buf[80], *helpfile, *b; FILE *in; manualdialog = gtk_dialog_new_with_buttons(_("Xdx - Manual"), GTK_WINDOW(gui->window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, _("Close"), GTK_RESPONSE_CLOSE, NULL); gtk_widget_set_size_request(manualdialog, 650, 300); swindow = gtk_scrolled_window_new(NULL, NULL); vbox = gtk_dialog_get_content_area(GTK_DIALOG(manualdialog)); gtk_box_pack_start(GTK_BOX(vbox),swindow, TRUE, TRUE, 0); helptextview = gtk_text_view_new(); gtk_text_view_set_editable(GTK_TEXT_VIEW(helptextview), FALSE); gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(helptextview), FALSE); gtk_widget_set_margin_start(GTK_WIDGET(helptextview), 5); gtk_widget_set_margin_end(GTK_WIDGET(helptextview), 5); gtk_widget_set_margin_top(GTK_WIDGET(helptextview), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(helptextview), 8); gtk_container_add(GTK_CONTAINER(swindow), helptextview); buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(helptextview)); gtk_text_buffer_get_start_iter(buffer, &iter); /* TRANSLATORS: * Do not translate MANUAL unless you provide a faq in your language, * e.g. the polish faq is called MANUAL.pl. */ helpfile = g_strdup_printf("%s%s%s", PACKAGE_DATA_DIR, G_DIR_SEPARATOR_S, _("MANUAL")); g_signal_connect(G_OBJECT(manualdialog), "response", G_CALLBACK(gtk_widget_destroy), NULL); in = fopen(helpfile, "r"); if (in) { do { if (fgets(buf, 80, in) == NULL) break; else { b = g_locale_to_utf8(buf, -1, NULL, NULL, NULL); gtk_text_buffer_insert(buffer, &iter, b, -1); g_free(b); } } while (!feof(in)); fclose(in); } font_desc = pango_font_description_from_string("mono"); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_font(helptextview, font_desc); #pragma GCC diagnostic pop pango_font_description_free(font_desc); g_free(helpfile); gtk_widget_show_all(manualdialog); } xdx-2.91/src/Makefile.am0000644000175000017500000000171013621127455012021 00000000000000## Process this file with automake to produce Makefile.in AM_CPPFLAGS = \ $(GTK_CFLAGS) -I.. \ -DPACKAGE_DATA_DIR=\"$(datadir)/xdx\" \ -DPACKAGE_LOCALE_DIR=\"$(datadir)/locale\" \ -DPACKAGE_SOURCE_DIR=\"$(srcdir)\" \ -DG_DISABLE_DEPRECATED ## -DGDK_DISABLE_DEPRECATED \ ## -DGDK_PIXBUF_DISABLE_DEPRECATED ## -DGTK_DISABLE_DEPRECATED bin_PROGRAMS = xdx xdx_SOURCES = \ cmd_opts.c \ cmd_opts.h \ gtksourceiter.c \ gtksourceiter.h \ gui.c \ gui.h \ gui_aboutdialog.c \ gui_aboutdialog.h \ gui_closedialog.c \ gui_closedialog.h \ gui_exitdialog.c \ gui_exitdialog.h \ gui_logdialog.c \ gui_logdialog.h \ gui_manualdialog.c \ gui_manualdialog.h \ gui_opendialog.c \ gui_opendialog.h \ gui_settingsdialog.c \ gui_settingsdialog.h \ history.c \ history.h \ hyperlink.c \ hyperlink.h \ main.c \ net.c \ net.h \ preferences.c \ preferences.h \ save.c \ save.h \ text.c \ text.h \ types.h \ utils.c \ utils.h xdx_LDADD = $(GTK_LIBS) xdx-2.91/src/Makefile.in0000644000175000017500000005526314224024370012036 00000000000000# Makefile.in generated by automake 1.16.3 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2020 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = xdx$(EXEEXT) subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_append_flag.m4 \ $(top_srcdir)/m4/ax_cflags_warn_all.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/host-cpu-c-abi.m4 \ $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \ $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/nls.m4 \ $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/progtest.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_xdx_OBJECTS = cmd_opts.$(OBJEXT) gtksourceiter.$(OBJEXT) \ gui.$(OBJEXT) gui_aboutdialog.$(OBJEXT) \ gui_closedialog.$(OBJEXT) gui_exitdialog.$(OBJEXT) \ gui_logdialog.$(OBJEXT) gui_manualdialog.$(OBJEXT) \ gui_opendialog.$(OBJEXT) gui_settingsdialog.$(OBJEXT) \ history.$(OBJEXT) hyperlink.$(OBJEXT) main.$(OBJEXT) \ net.$(OBJEXT) preferences.$(OBJEXT) save.$(OBJEXT) \ text.$(OBJEXT) utils.$(OBJEXT) xdx_OBJECTS = $(am_xdx_OBJECTS) am__DEPENDENCIES_1 = xdx_DEPENDENCIES = $(am__DEPENDENCIES_1) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp am__maybe_remake_depfiles = depfiles am__depfiles_remade = ./$(DEPDIR)/cmd_opts.Po \ ./$(DEPDIR)/gtksourceiter.Po ./$(DEPDIR)/gui.Po \ ./$(DEPDIR)/gui_aboutdialog.Po ./$(DEPDIR)/gui_closedialog.Po \ ./$(DEPDIR)/gui_exitdialog.Po ./$(DEPDIR)/gui_logdialog.Po \ ./$(DEPDIR)/gui_manualdialog.Po ./$(DEPDIR)/gui_opendialog.Po \ ./$(DEPDIR)/gui_settingsdialog.Po ./$(DEPDIR)/history.Po \ ./$(DEPDIR)/hyperlink.Po ./$(DEPDIR)/main.Po \ ./$(DEPDIR)/net.Po ./$(DEPDIR)/preferences.Po \ ./$(DEPDIR)/save.Po ./$(DEPDIR)/text.Po ./$(DEPDIR)/utils.Po am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(xdx_SOURCES) DIST_SOURCES = $(xdx_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in \ $(top_srcdir)/build-aux/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_CFLAGS = @AM_CFLAGS@ AM_CPPFLAGS = \ $(GTK_CFLAGS) -I.. \ -DPACKAGE_DATA_DIR=\"$(datadir)/xdx\" \ -DPACKAGE_LOCALE_DIR=\"$(datadir)/locale\" \ -DPACKAGE_SOURCE_DIR=\"$(srcdir)\" \ -DG_DISABLE_DEPRECATED AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ GMSGFMT = @GMSGFMT@ GMSGFMT_015 = @GMSGFMT_015@ GREP = @GREP@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INTLLIBS = @INTLLIBS@ INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ LDFLAGS = @LDFLAGS@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POSUB = @POSUB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ XGETTEXT_015 = @XGETTEXT_015@ XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ xdx_SOURCES = \ cmd_opts.c \ cmd_opts.h \ gtksourceiter.c \ gtksourceiter.h \ gui.c \ gui.h \ gui_aboutdialog.c \ gui_aboutdialog.h \ gui_closedialog.c \ gui_closedialog.h \ gui_exitdialog.c \ gui_exitdialog.h \ gui_logdialog.c \ gui_logdialog.h \ gui_manualdialog.c \ gui_manualdialog.h \ gui_opendialog.c \ gui_opendialog.h \ gui_settingsdialog.c \ gui_settingsdialog.h \ history.c \ history.h \ hyperlink.c \ hyperlink.h \ main.c \ net.c \ net.h \ preferences.c \ preferences.h \ save.c \ save.h \ text.c \ text.h \ types.h \ utils.c \ utils.h xdx_LDADD = $(GTK_LIBS) all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) xdx$(EXEEXT): $(xdx_OBJECTS) $(xdx_DEPENDENCIES) $(EXTRA_xdx_DEPENDENCIES) @rm -f xdx$(EXEEXT) $(AM_V_CCLD)$(LINK) $(xdx_OBJECTS) $(xdx_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmd_opts.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gtksourceiter.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_aboutdialog.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_closedialog.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_exitdialog.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_logdialog.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_manualdialog.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_opendialog.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_settingsdialog.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/history.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hyperlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preferences.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/save.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utils.Po@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @echo '# dummy' >$@-t && $(am__mv) $@-t $@ am--depfiles: $(am__depfiles_remade) .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -f ./$(DEPDIR)/cmd_opts.Po -rm -f ./$(DEPDIR)/gtksourceiter.Po -rm -f ./$(DEPDIR)/gui.Po -rm -f ./$(DEPDIR)/gui_aboutdialog.Po -rm -f ./$(DEPDIR)/gui_closedialog.Po -rm -f ./$(DEPDIR)/gui_exitdialog.Po -rm -f ./$(DEPDIR)/gui_logdialog.Po -rm -f ./$(DEPDIR)/gui_manualdialog.Po -rm -f ./$(DEPDIR)/gui_opendialog.Po -rm -f ./$(DEPDIR)/gui_settingsdialog.Po -rm -f ./$(DEPDIR)/history.Po -rm -f ./$(DEPDIR)/hyperlink.Po -rm -f ./$(DEPDIR)/main.Po -rm -f ./$(DEPDIR)/net.Po -rm -f ./$(DEPDIR)/preferences.Po -rm -f ./$(DEPDIR)/save.Po -rm -f ./$(DEPDIR)/text.Po -rm -f ./$(DEPDIR)/utils.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f ./$(DEPDIR)/cmd_opts.Po -rm -f ./$(DEPDIR)/gtksourceiter.Po -rm -f ./$(DEPDIR)/gui.Po -rm -f ./$(DEPDIR)/gui_aboutdialog.Po -rm -f ./$(DEPDIR)/gui_closedialog.Po -rm -f ./$(DEPDIR)/gui_exitdialog.Po -rm -f ./$(DEPDIR)/gui_logdialog.Po -rm -f ./$(DEPDIR)/gui_manualdialog.Po -rm -f ./$(DEPDIR)/gui_opendialog.Po -rm -f ./$(DEPDIR)/gui_settingsdialog.Po -rm -f ./$(DEPDIR)/history.Po -rm -f ./$(DEPDIR)/hyperlink.Po -rm -f ./$(DEPDIR)/main.Po -rm -f ./$(DEPDIR)/net.Po -rm -f ./$(DEPDIR)/preferences.Po -rm -f ./$(DEPDIR)/save.Po -rm -f ./$(DEPDIR)/text.Po -rm -f ./$(DEPDIR)/utils.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \ clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ distclean distclean-compile distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-binPROGRAMS install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: xdx-2.91/src/gui_exitdialog.h0000644000175000017500000000212612646316272013140 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * Copyright (C) 2014 Nate Bargmann * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_exitdialog.h */ #ifndef XDX_GUI_EXITDIALOG_H #define XDX_GUI_EXITDIALOG_H gboolean on_exit_dialog(GtkMenuItem *menuitem, gpointer user_data); #endif /* XDX_GUI_EXITDIALOG_H */ xdx-2.91/src/hyperlink.h0000644000175000017500000000300012646316272012140 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * hyperlink.h */ #ifndef XDX_HYPERLINK_H #define XDX_HYPERLINK_H gboolean on_maintext_visibility_notify_event(GtkWidget *widget, GdkEventVisibility *event, gpointer user_data); gboolean on_maintext_motion_notify_event(GtkWidget *widget, GdkEventMotion *event, gpointer user_data); gboolean on_maintext_event_after(GtkWidget *widget, GdkEventKey *event, gpointer user_data); #endif /* XDX_HYPERLINK_H */ xdx-2.91/src/gui_logdialog.c0000644000175000017500000001071014223300630012721 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_logdialog.c - dialog for opening the connection log */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include #include "gui.h" #include "gui_logdialog.h" #include "utils.h" /* * called from the menu */ void on_log_activate(GtkMenuItem *menuitem, gpointer user_data) { GtkWidget *logdialog, *box, *logdialog_scrolledwindow, *logdialog_textview; gint response; FILE *fd; gchar *filename; GtkTextBuffer *buffer; GtkTextIter start, end; GtkTextMark *mark; gint numread = 0; gchar buf[1025]; logdialog = gtk_dialog_new_with_buttons(_("Xdx - Connection log"), GTK_WINDOW(gui->window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, _("Clear"), GTK_RESPONSE_CANCEL, _("Close"), GTK_RESPONSE_CLOSE, NULL); gtk_widget_set_size_request(logdialog, 600, 300); box = gtk_dialog_get_content_area(GTK_DIALOG(logdialog)); logdialog_scrolledwindow = gtk_scrolled_window_new(NULL, NULL); gtk_widget_set_margin_start(GTK_WIDGET(logdialog_scrolledwindow), 5); gtk_widget_set_margin_end(GTK_WIDGET(logdialog_scrolledwindow), 5); gtk_widget_set_margin_top(GTK_WIDGET(logdialog_scrolledwindow), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(logdialog_scrolledwindow), 8); gtk_box_pack_start(GTK_BOX(box), logdialog_scrolledwindow, TRUE, TRUE, 0); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(logdialog_scrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); logdialog_textview = gtk_text_view_new(); gtk_text_view_set_editable(GTK_TEXT_VIEW(logdialog_textview), FALSE); gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(logdialog_textview), FALSE); gtk_container_add(GTK_CONTAINER(logdialog_scrolledwindow), logdialog_textview); filename = g_strdup_printf("%s/log.txt", gui->preferencesdir); buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(logdialog_textview)); gtk_text_buffer_get_bounds(buffer, &start, &end); fd = fopen(filename, "r"); if (fd != NULL) { while (!feof(fd)) { numread = fread(buf, 1, 1024, fd); gtk_text_buffer_insert(buffer, &end, buf, numread); mark = gtk_text_buffer_get_mark(buffer, "insert"); gtk_text_view_scroll_to_mark(GTK_TEXT_VIEW(logdialog_textview), mark, 0.0, FALSE, 0.0, 1.0); } fclose(fd); } gtk_widget_show_all(logdialog); response = gtk_dialog_run(GTK_DIALOG(logdialog)); if (response == GTK_RESPONSE_CANCEL) { gtk_text_buffer_set_text(buffer, "", -1); unlink(filename); response = gtk_dialog_run(GTK_DIALOG(logdialog)); } gtk_widget_destroy(logdialog); } xdx-2.91/src/gui_closedialog.h0000644000175000017500000000204512646316272013274 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_closedialog.h */ #ifndef XDX_GUI_CLOSEDIALOG_H #define XDX_GUI_CLOSEDIALOG_H void on_close_activate(GtkMenuItem *menuitem, gpointer user_data); #endif /* XDX_GUI_CLOSEDIALOG_H */ xdx-2.91/src/gui_opendialog.h0000644000175000017500000000204112646316272013124 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_opendialog.h */ #ifndef XDX_GUI_OPENDIALOG_H #define XDX_GUI_OPENDIALOG_H void on_open_activate(GtkMenuItem *menuitem, gpointer user_data); #endif /* XDX_GUI_OPENDIALOG_H */ xdx-2.91/src/gui.c0000644000175000017500000017101214223666670010726 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui.c - where the main window is created */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include #include #include #include "gui.h" #include "gui_aboutdialog.h" #include "gui_closedialog.h" #include "gui_exitdialog.h" #include "gui_logdialog.h" #include "gui_manualdialog.h" #include "gui_opendialog.h" #include "gui_settingsdialog.h" #include "history.h" #include "hyperlink.h" #include "net.h" #include "preferences.h" #include "text.h" #include "types.h" #include "utils.h" extern preferencestype preferences; static void on_highcheck_toggled(GtkToggleButton *togglebutton, gpointer user_data); static void on_soundcheck_toggled(GtkToggleButton *togglebutton, gpointer user_data); /**********************************MAIN WINDOW********************************/ guitype * new_gui(void) { guitype *gui = g_new0(guitype, 1); gui->window = NULL; gui->hostnamehistory = NULL; gui->porthistory = NULL; gui->txhistory = NULL; gui->preferencesdir = NULL; gui->updown = 0; gui->txitem = 0; gui->statusbartimer = -1; gui->statusbarmessage = NULL; gui->prompttagname = NULL; gui->calltagname = NULL; gui->senttagname = NULL; gui->wwvtagname = NULL; gui->wxtagname = NULL; gui->high1tagname = NULL; gui->high2tagname = NULL; gui->high3tagname = NULL; gui->high4tagname = NULL; gui->high5tagname = NULL; gui->high6tagname = NULL; gui->high7tagname = NULL; gui->high8tagname = NULL; return (gui); } static void get_main_menu(void) { GtkAccelGroup *accel_group; GtkWidget *main_menu, *program_item, *host_item, *settings_item, *help_item, *program_menu, *host_menu, *settings_menu, *help_menu, *showlog_item, *quit_item, *open_item, *close_item, *keybar_item, *reconnect_item, *sidebar_item, *separator_item, *preferences_item, *manual_item, *about_item; /* Main menu bar. Always shown. */ main_menu = gtk_menu_bar_new(); gtk_widget_set_name(GTK_WIDGET(main_menu), "main_menu"); program_item = gtk_menu_item_new_with_mnemonic(_("_Program")); host_item = gtk_menu_item_new_with_mnemonic(_("_Host")); settings_item = gtk_menu_item_new_with_mnemonic(_("_Settings")); help_item = gtk_menu_item_new_with_mnemonic(_("H_elp")); gtk_menu_shell_append(GTK_MENU_SHELL(main_menu), program_item); gtk_menu_shell_append(GTK_MENU_SHELL(main_menu), host_item); gtk_menu_shell_append(GTK_MENU_SHELL(main_menu), settings_item); gtk_menu_shell_append(GTK_MENU_SHELL(main_menu), help_item); gtk_widget_set_name(GTK_WIDGET(program_item), "program_item"); gtk_widget_set_name(GTK_WIDGET(host_item), "host_item"); gtk_widget_set_name(GTK_WIDGET(settings_item), "settings_item"); gtk_widget_set_name(GTK_WIDGET(help_item), "help_item"); /* Menus containing the menu items. */ program_menu = gtk_menu_new(); host_menu = gtk_menu_new(); settings_menu = gtk_menu_new(); help_menu = gtk_menu_new(); gtk_menu_item_set_submenu(GTK_MENU_ITEM(program_item), program_menu); gtk_menu_item_set_submenu(GTK_MENU_ITEM(host_item), host_menu); gtk_menu_item_set_submenu(GTK_MENU_ITEM(settings_item), settings_menu); gtk_menu_item_set_submenu(GTK_MENU_ITEM(help_item), help_menu); gtk_widget_set_name(GTK_WIDGET(program_menu), "program_menu"); gtk_widget_set_name(GTK_WIDGET(host_menu), "host_menu"); gtk_widget_set_name(GTK_WIDGET(settings_menu), "settings_menu"); gtk_widget_set_name(GTK_WIDGET(help_menu), "help_menu"); /* Program menu */ showlog_item = gtk_menu_item_new_with_mnemonic(_("_Connection Log")); quit_item = gtk_menu_item_new_with_mnemonic(_("_Quit")); gtk_menu_shell_append(GTK_MENU_SHELL(program_menu), showlog_item); gtk_menu_shell_append(GTK_MENU_SHELL(program_menu), quit_item); gtk_widget_set_name(GTK_WIDGET(showlog_item), "showlog_item"); gtk_widget_set_name(GTK_WIDGET(quit_item), "quit_item"); g_signal_connect(G_OBJECT(showlog_item), "activate", G_CALLBACK(on_log_activate), NULL); g_signal_connect(G_OBJECT(quit_item), "activate", G_CALLBACK(on_exit_dialog), NULL); /* Host menu */ open_item = gtk_menu_item_new_with_mnemonic(_("_Connect...")); close_item = gtk_menu_item_new_with_mnemonic(_("_Disconnect")); gtk_menu_shell_append(GTK_MENU_SHELL(host_menu), open_item); gtk_menu_shell_append(GTK_MENU_SHELL(host_menu), close_item); gtk_widget_set_name(GTK_WIDGET(open_item), "open_item"); gtk_widget_set_name(GTK_WIDGET(close_item), "close_item"); /* Add a name association to these menu items in the main window. */ g_object_set_data(G_OBJECT(gui->window), "open_item", open_item); g_object_set_data(G_OBJECT(gui->window), "close_item", close_item); g_signal_connect(G_OBJECT(open_item), "activate", G_CALLBACK(on_open_activate), NULL); g_signal_connect(G_OBJECT(close_item), "activate", G_CALLBACK(on_close_activate), NULL); /* Settings menu */ keybar_item = gtk_check_menu_item_new_with_mnemonic(_("_Function keys bar")); reconnect_item = gtk_check_menu_item_new_with_mnemonic(_("_Auto Reconnect")); sidebar_item = gtk_check_menu_item_new_with_mnemonic(_("_Chat sidebar")); separator_item = gtk_separator_menu_item_new(); preferences_item = gtk_menu_item_new_with_mnemonic(_("_Preferences...")); gtk_menu_shell_append(GTK_MENU_SHELL(settings_menu), keybar_item); gtk_menu_shell_append(GTK_MENU_SHELL(settings_menu), reconnect_item); gtk_menu_shell_append(GTK_MENU_SHELL(settings_menu), sidebar_item); gtk_menu_shell_append(GTK_MENU_SHELL(settings_menu), separator_item); gtk_menu_shell_append(GTK_MENU_SHELL(settings_menu), preferences_item); gtk_widget_set_name(GTK_WIDGET(keybar_item), "keybar_item"); gtk_widget_set_name(GTK_WIDGET(reconnect_item), "reconnect_item"); gtk_widget_set_name(GTK_WIDGET(sidebar_item), "sidebar_item"); gtk_widget_set_name(GTK_WIDGET(preferences_item), "preferences_item"); /* Add a name association to these check buttons in the main window. */ g_object_set_data(G_OBJECT(gui->window), "keybar_item", keybar_item); g_object_set_data(G_OBJECT(gui->window), "reconnect_item", reconnect_item); g_object_set_data(G_OBJECT(gui->window), "sidebar_item", sidebar_item); g_signal_connect(G_OBJECT(keybar_item), "activate", G_CALLBACK(on_fkeys_activate), keybar_item); g_signal_connect(G_OBJECT(reconnect_item), "activate", G_CALLBACK(on_reconnect_activate), reconnect_item); g_signal_connect(G_OBJECT(sidebar_item), "activate", G_CALLBACK(on_sidebar_activate), sidebar_item); g_signal_connect(G_OBJECT(preferences_item), "activate", G_CALLBACK(on_settings_activate), NULL); /* Help menu */ manual_item = gtk_menu_item_new_with_mnemonic(_("_Manual")); about_item = gtk_menu_item_new_with_mnemonic(_("_About")); gtk_menu_shell_append(GTK_MENU_SHELL(help_menu), manual_item); gtk_menu_shell_append(GTK_MENU_SHELL(help_menu), about_item); gtk_widget_set_name(GTK_WIDGET(manual_item), "manual_item"); gtk_widget_set_name(GTK_WIDGET(about_item), "about_item"); g_signal_connect(G_OBJECT(manual_item), "activate", G_CALLBACK(on_manual_activate), NULL); g_signal_connect(G_OBJECT(about_item), "activate", G_CALLBACK(on_about_activate), NULL); g_object_set_data(G_OBJECT(gui->window), "main_menu", main_menu); /* Submenu item accelerators. The main menubar items automatically * have the Alt-key accelerators implemented. */ accel_group = gtk_accel_group_new(); gtk_window_add_accel_group(GTK_WINDOW(gui->window), accel_group); gtk_widget_add_accelerator(showlog_item, "activate", accel_group, GDK_KEY_L, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(quit_item, "activate", accel_group, GDK_KEY_Q, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(open_item, "activate", accel_group, GDK_KEY_O, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(close_item, "activate", accel_group, GDK_KEY_C, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(keybar_item, "activate", accel_group, GDK_KEY_K, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(reconnect_item, "activate", accel_group, GDK_KEY_R, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(sidebar_item, "activate", accel_group, GDK_KEY_S, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(preferences_item, "activate", accel_group, GDK_KEY_P, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(manual_item, "activate", accel_group, GDK_KEY_H, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); gtk_widget_add_accelerator(about_item, "activate", accel_group, GDK_KEY_A, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); } void create_mainwindow(void) { GtkWidget *gui_vbox, *mainvbox, *menu_box, *vpaned, *clistscrolledwindow, *mainscrolledwindow, *maintext, *mainentry, *mainstatusbar, *treeview, *frame, *chathbox, *chat_grid, *highframe, *mainhbox, *highentry1, *highentry2, *highentry3, *highentry4, *highentry5, *highentry6, *highentry7, *highentry8, *highcheck1, *highcheck2, *highcheck3, *highcheck4, *highcheck5, *highcheck6, *highcheck7, *highcheck8, *soundcheck, *f1button, *f2button, *f3button, *f4button, *f5button, *f6button, *f7button, *f8button, *func_grid; GtkCellRenderer *renderer, *boldrenderer, *greyrenderer; GtkTreeViewColumn *column; GtkTextBuffer *buffer, *entrybuffer; GtkTreeStore *model; GdkPixbuf *icon = NULL; GError *err = NULL; servertype *cluster; PangoFontDescription *font_description; gint pango_size; GtkAccelGroup *key_toggle, *grab_focus; gchar *str; gui = new_gui(); gui->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_set_name(GTK_WIDGET(gui->window), "gui_window"); icon = gdk_pixbuf_new_from_file(PACKAGE_DATA_DIR "/pixmaps/xdx.png", &err); if (err) { g_warning(_("Error loading icon: %s"), err->message); g_error_free(err); err = NULL; } if (icon) { gtk_window_set_icon(GTK_WINDOW(gui->window), icon); g_object_unref(icon); } gui_vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_name(GTK_WIDGET(gui_vbox), "gui_vbox"); gtk_container_add(GTK_CONTAINER(gui->window), gui_vbox); menu_box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_name(GTK_WIDGET(menu_box), "menu_box"); gtk_box_pack_start(GTK_BOX(gui_vbox), menu_box, FALSE, FALSE, 0); get_main_menu(); gtk_container_add(GTK_CONTAINER(menu_box), g_object_get_data(G_OBJECT(gui->window), "main_menu")); mainhbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name(GTK_WIDGET(mainhbox), "mainhbox"); gtk_box_pack_start(GTK_BOX(gui_vbox), mainhbox, TRUE, TRUE, 0); mainvbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); gtk_widget_set_name(GTK_WIDGET(mainvbox), "mainvbox"); gtk_box_pack_start(GTK_BOX(mainhbox), mainvbox, TRUE, TRUE, 0); /* Use the Gtk grid container for the function keys. * * The grid is laid out in two rows of four key buttons each. */ func_grid = gtk_grid_new(); gtk_widget_set_name(GTK_WIDGET(func_grid), "func_grid"); g_object_set_property(G_OBJECT(func_grid), "column_spacing", &grid_spacing); g_object_set_property(G_OBJECT(func_grid), "row_spacing", &grid_spacing); gtk_widget_set_margin_start(GTK_WIDGET(func_grid), 5); gtk_widget_set_margin_end(GTK_WIDGET(func_grid), 5); gtk_widget_set_margin_top(GTK_WIDGET(func_grid), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(func_grid), 8); f1button = gtk_button_new_with_label(""); gtk_widget_set_name(GTK_WIDGET(f1button), "f1button"); gtk_grid_attach(GTK_GRID(func_grid), f1button, 0, 0, 1, 1); f2button = gtk_button_new_with_label(""); gtk_widget_set_name(GTK_WIDGET(f2button), "f2button"); gtk_grid_attach(GTK_GRID(func_grid), f2button, 1, 0, 1, 1); f3button = gtk_button_new_with_label(""); gtk_widget_set_name(GTK_WIDGET(f3button), "f3button"); gtk_grid_attach(GTK_GRID(func_grid), f3button, 2, 0, 1, 1); f4button = gtk_button_new_with_label(""); gtk_widget_set_name(GTK_WIDGET(f4button), "f4button"); gtk_grid_attach(GTK_GRID(func_grid), f4button, 3, 0, 1, 1); f5button = gtk_button_new_with_label(""); gtk_widget_set_name(GTK_WIDGET(f5button), "f5button"); gtk_grid_attach(GTK_GRID(func_grid), f5button, 0, 1, 1, 1); f6button = gtk_button_new_with_label(""); gtk_widget_set_name(GTK_WIDGET(f6button), "f6button"); gtk_grid_attach(GTK_GRID(func_grid), f6button, 1, 1, 1, 1); f7button = gtk_button_new_with_label(""); gtk_widget_set_name(GTK_WIDGET(f7button), "f7button"); gtk_grid_attach(GTK_GRID(func_grid), f7button, 2, 1, 1, 1); f8button = gtk_button_new_with_label(""); gtk_widget_set_name(GTK_WIDGET(f8button), "f8button"); gtk_grid_attach(GTK_GRID(func_grid), f8button, 3, 1, 1, 1); gtk_box_pack_start(GTK_BOX(gui_vbox), func_grid, FALSE, TRUE, 0); gtk_box_reorder_child(GTK_BOX(gui_vbox), func_grid,1); clistscrolledwindow = gtk_scrolled_window_new(NULL, NULL); gtk_widget_set_name(GTK_WIDGET(clistscrolledwindow), "clistscrolledwindow"); gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW(clistscrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); model = gtk_tree_store_new(N_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, GDK_TYPE_RGBA); treeview = gtk_tree_view_new_with_model(GTK_TREE_MODEL(model)); g_object_unref(G_OBJECT(model)); renderer = gtk_cell_renderer_text_new(); boldrenderer = gtk_cell_renderer_text_new(); greyrenderer = gtk_cell_renderer_text_new(); g_object_set(G_OBJECT(boldrenderer), "weight", PANGO_WEIGHT_BOLD, NULL); column = gtk_tree_view_column_new_with_attributes(_("Spotter"), renderer, "text", FROM_COLUMN, NULL); gtk_tree_view_column_set_sizing(GTK_TREE_VIEW_COLUMN(column), GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_resizable(GTK_TREE_VIEW_COLUMN(column), TRUE); gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); column = gtk_tree_view_column_new_with_attributes("QRG", renderer, "text", FREQ_COLUMN, NULL); gtk_tree_view_column_set_sizing(GTK_TREE_VIEW_COLUMN(column), GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_resizable(GTK_TREE_VIEW_COLUMN(column), TRUE); gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); column = gtk_tree_view_column_new_with_attributes("DX", boldrenderer, "text", DX_COLUMN, NULL); gtk_tree_view_column_set_sizing(GTK_TREE_VIEW_COLUMN(column), GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_resizable(GTK_TREE_VIEW_COLUMN(column), TRUE); gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); column = gtk_tree_view_column_new_with_attributes(_("Remarks"), renderer, "text", REM_COLUMN, NULL); gtk_tree_view_column_set_sizing(GTK_TREE_VIEW_COLUMN(column), GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_resizable(GTK_TREE_VIEW_COLUMN(column), TRUE); gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); column = gtk_tree_view_column_new_with_attributes(_("Time"), renderer, "text", TIME_COLUMN, NULL); gtk_tree_view_column_set_sizing(GTK_TREE_VIEW_COLUMN(column), GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_resizable(GTK_TREE_VIEW_COLUMN(column), TRUE); gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); column = gtk_tree_view_column_new_with_attributes(_("Info"), renderer, "text", INFO_COLUMN, NULL); gtk_tree_view_column_set_sizing(GTK_TREE_VIEW_COLUMN(column), GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_resizable(GTK_TREE_VIEW_COLUMN(column), TRUE); gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); column = gtk_tree_view_column_new_with_attributes(_("Country"), greyrenderer, "text", COUNTRY_COLUMN, "background-rgba", RGBA_COLUMN, NULL); g_object_set(G_OBJECT(greyrenderer), "cell-background", "grey", NULL); gtk_tree_view_column_set_sizing(GTK_TREE_VIEW_COLUMN(column), GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_column_set_resizable(GTK_TREE_VIEW_COLUMN(column), TRUE); gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column); gtk_container_add(GTK_CONTAINER(clistscrolledwindow), treeview); mainscrolledwindow = gtk_scrolled_window_new(NULL, NULL); gtk_widget_set_name(GTK_WIDGET(mainscrolledwindow), "mainscrolledwindow"); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(mainscrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); maintext = gtk_text_view_new(); gtk_widget_set_name(GTK_WIDGET(maintext), "maintext"); gtk_container_add(GTK_CONTAINER(mainscrolledwindow), maintext); gtk_text_view_set_editable(GTK_TEXT_VIEW(maintext), FALSE); buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(maintext)); gtk_text_buffer_create_tag(buffer, "url", "foreground", "blue", "underline", PANGO_UNDERLINE_SINGLE, NULL); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(maintext), GTK_WRAP_WORD); chathbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); gtk_widget_set_name(GTK_WIDGET(chathbox), "chathbox"); gtk_box_pack_start(GTK_BOX(chathbox), mainscrolledwindow, TRUE, TRUE, 0); /* Use the Gtk grid container for the highlight entries and active * checkbutton. * * The grid is laid out in eight rows of one entry and one checkbutton * each and a final row of one checkbutton in the second cell. */ chat_grid = gtk_grid_new(); g_object_set_property(G_OBJECT(chat_grid), "column_spacing", &grid_spacing); g_object_set_property(G_OBJECT(chat_grid), "row_spacing", &grid_spacing); gtk_widget_set_name(GTK_WIDGET(chat_grid), "chat_grid"); gtk_widget_set_margin_start(GTK_WIDGET(chat_grid ), 5); gtk_widget_set_margin_end(GTK_WIDGET(chat_grid ), 5); gtk_widget_set_margin_top(GTK_WIDGET(chat_grid ), 4); gtk_widget_set_margin_bottom(GTK_WIDGET(chat_grid ), 8); highframe = gtk_frame_new(_("Text highlighting")); gtk_widget_set_name(GTK_WIDGET(highframe), "highframe"); gtk_widget_set_margin_end(GTK_WIDGET(highframe), 5); gtk_widget_set_margin_top(GTK_WIDGET(highframe), 4); gtk_box_pack_start(GTK_BOX(mainhbox), highframe, FALSE, FALSE, 0); gtk_container_add(GTK_CONTAINER(highframe), chat_grid); highentry1 = gtk_entry_new(); gtk_widget_set_name(GTK_WIDGET(highentry1), "highentry1"); gtk_widget_set_size_request(highentry1, 60, -1); gtk_entry_set_placeholder_text(GTK_ENTRY(highentry1), _("Color 1")); gtk_grid_attach(GTK_GRID(chat_grid), highentry1, 0, 0, 1, 1); highcheck1 = gtk_check_button_new_with_label(_("Active")); gtk_widget_set_name(GTK_WIDGET(highcheck1), "highcheck1"); gtk_grid_attach(GTK_GRID(chat_grid), highcheck1, 1, 0, 1, 1); highentry2 = gtk_entry_new(); gtk_widget_set_name(GTK_WIDGET(highentry2), "highentry2"); gtk_widget_set_size_request(highentry2, 60, -1); gtk_entry_set_placeholder_text(GTK_ENTRY(highentry2), _("Color 2")); gtk_grid_attach(GTK_GRID(chat_grid), highentry2, 0, 1, 1, 1); highcheck2 = gtk_check_button_new_with_label(_("Active")); gtk_widget_set_name(GTK_WIDGET(highcheck2), "highcheck2"); gtk_grid_attach(GTK_GRID(chat_grid), highcheck2, 1, 1, 1, 1); highentry3 = gtk_entry_new(); gtk_widget_set_name(GTK_WIDGET(highentry3), "highentry3"); gtk_widget_set_size_request(highentry3, 60, -1); gtk_entry_set_placeholder_text(GTK_ENTRY(highentry3), _("Color 3")); gtk_grid_attach(GTK_GRID(chat_grid), highentry3, 0, 2, 1, 1); highcheck3 = gtk_check_button_new_with_label(_("Active")); gtk_widget_set_name(GTK_WIDGET(highcheck3), "highcheck3"); gtk_grid_attach(GTK_GRID(chat_grid), highcheck3, 1, 2, 1, 1); highentry4 = gtk_entry_new(); gtk_widget_set_name(GTK_WIDGET(highentry4), "highentry4"); gtk_widget_set_size_request(highentry4, 60, -1); gtk_entry_set_placeholder_text(GTK_ENTRY(highentry4), _("Color 4")); gtk_grid_attach(GTK_GRID(chat_grid), highentry4, 0, 3, 1, 1); highcheck4 = gtk_check_button_new_with_label(_("Active")); gtk_widget_set_name(GTK_WIDGET(highcheck4), "highcheck4"); gtk_grid_attach(GTK_GRID(chat_grid), highcheck4, 1, 3, 1, 1); highentry5 = gtk_entry_new(); gtk_widget_set_name(GTK_WIDGET(highentry5), "highentry5"); gtk_widget_set_size_request(highentry5, 60, -1); gtk_entry_set_placeholder_text(GTK_ENTRY(highentry5), _("Color 5")); gtk_grid_attach(GTK_GRID(chat_grid), highentry5, 0, 4, 1, 1); highcheck5 = gtk_check_button_new_with_label(_("Active")); gtk_widget_set_name(GTK_WIDGET(highcheck5), "highcheck5"); gtk_grid_attach(GTK_GRID(chat_grid), highcheck5, 1, 4, 1, 1); highentry6 = gtk_entry_new(); gtk_widget_set_name(GTK_WIDGET(highentry6), "highentry6"); gtk_widget_set_size_request(highentry6, 60, -1); gtk_entry_set_placeholder_text(GTK_ENTRY(highentry6), _("Color 6")); gtk_grid_attach(GTK_GRID(chat_grid), highentry6, 0, 5, 1, 1); highcheck6 = gtk_check_button_new_with_label(_("Active")); gtk_widget_set_name(GTK_WIDGET(highcheck6), "highcheck6"); gtk_grid_attach(GTK_GRID(chat_grid), highcheck6, 1, 5, 1, 1); highentry7 = gtk_entry_new(); gtk_widget_set_name(GTK_WIDGET(highentry7), "highentry7"); gtk_widget_set_size_request(highentry7, 60, -1); gtk_entry_set_placeholder_text(GTK_ENTRY(highentry7), _("Color 7")); gtk_grid_attach(GTK_GRID(chat_grid), highentry7, 0, 6, 1, 1); highcheck7 = gtk_check_button_new_with_label(_("Active")); gtk_widget_set_name(GTK_WIDGET(highcheck7), "highcheck7"); gtk_grid_attach(GTK_GRID(chat_grid), highcheck7, 1, 6, 1, 1); highentry8 = gtk_entry_new(); gtk_widget_set_name(GTK_WIDGET(highentry8), "highentry8"); gtk_widget_set_size_request(highentry8, 60, -1); gtk_entry_set_placeholder_text(GTK_ENTRY(highentry8), _("Color 8")); gtk_grid_attach(GTK_GRID(chat_grid), highentry8, 0, 7, 1, 1); highcheck8 = gtk_check_button_new_with_label(_("Active")); gtk_widget_set_name(GTK_WIDGET(highcheck8), "highcheck8"); gtk_grid_attach(GTK_GRID(chat_grid), highcheck8, 1, 7, 1, 1); soundcheck = gtk_check_button_new_with_label(_("Sound")); gtk_widget_set_name(GTK_WIDGET(soundcheck), "soundcheck"); gtk_grid_attach(GTK_GRID(chat_grid), soundcheck, 1, 8, 1, 1); /* Ctrl-1 through Ctrl-8 and Ctrl-0 */ key_toggle = gtk_accel_group_new(); gtk_window_add_accel_group(GTK_WINDOW(gui->window), key_toggle); gtk_widget_add_accelerator(highcheck1, "clicked", key_toggle, GDK_KEY_1, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck2, "clicked", key_toggle, GDK_KEY_2, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck3, "clicked", key_toggle, GDK_KEY_3, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck4, "clicked", key_toggle, GDK_KEY_4, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck5, "clicked", key_toggle, GDK_KEY_5, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck6, "clicked", key_toggle, GDK_KEY_6, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck7, "clicked", key_toggle, GDK_KEY_7, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(highcheck8, "clicked", key_toggle, GDK_KEY_8, GDK_CONTROL_MASK, 0); gtk_widget_add_accelerator(soundcheck, "clicked", key_toggle, GDK_KEY_0, GDK_CONTROL_MASK, 0); /* Alt-1 through Alt-8 */ grab_focus = gtk_accel_group_new(); gtk_window_add_accel_group(GTK_WINDOW(gui->window), grab_focus); gtk_widget_add_accelerator(highentry1, "grab-focus", grab_focus, GDK_KEY_1, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry2, "grab-focus", grab_focus, GDK_KEY_2, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry3, "grab-focus", grab_focus, GDK_KEY_3, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry4, "grab-focus", grab_focus, GDK_KEY_4, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry5, "grab-focus", grab_focus, GDK_KEY_5, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry6, "grab-focus", grab_focus, GDK_KEY_6, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry7, "grab-focus", grab_focus, GDK_KEY_7, GDK_MOD1_MASK, 0); gtk_widget_add_accelerator(highentry8, "grab-focus", grab_focus, GDK_KEY_8, GDK_MOD1_MASK, 0); vpaned = gtk_paned_new(GTK_ORIENTATION_VERTICAL); gtk_widget_set_name(GTK_WIDGET(vpaned), "vpaned"); gtk_widget_set_margin_start(GTK_WIDGET(vpaned), 4); gtk_widget_set_margin_end(GTK_WIDGET(vpaned), 4); gtk_paned_add1(GTK_PANED(vpaned), clistscrolledwindow); gtk_paned_add2(GTK_PANED(vpaned), chathbox); gtk_box_pack_start(GTK_BOX(mainvbox), vpaned, TRUE, TRUE, 0); gtk_widget_set_tooltip_text(highentry1, _("Enter a word to highlight")); gtk_widget_set_tooltip_text(highentry2, _("Enter a word to highlight")); gtk_widget_set_tooltip_text(highentry3, _("Enter a word to highlight")); gtk_widget_set_tooltip_text(highentry4, _("Enter a word to highlight")); gtk_widget_set_tooltip_text(highentry5, _("Enter a word to highlight")); gtk_widget_set_tooltip_text(highentry6, _("Enter a word to highlight")); gtk_widget_set_tooltip_text(highentry7, _("Enter a word to highlight")); gtk_widget_set_tooltip_text(highentry8, _("Enter a word to highlight")); str = g_strdup_printf(_("Include prompt [Ctrl+%d]"), 1); gtk_widget_set_tooltip_text(highcheck1, str); str = g_strdup_printf(_("Include prompt [Ctrl+%d]"), 2); gtk_widget_set_tooltip_text(highcheck2, str); str = g_strdup_printf(_("Include prompt [Ctrl+%d]"), 3); gtk_widget_set_tooltip_text(highcheck3, str); str = g_strdup_printf(_("Include prompt [Ctrl+%d]"), 4); gtk_widget_set_tooltip_text(highcheck4, str); str = g_strdup_printf(_("Include prompt [Ctrl+%d]"), 5); gtk_widget_set_tooltip_text(highcheck5, str); str = g_strdup_printf(_("Include prompt [Ctrl+%d]"), 6); gtk_widget_set_tooltip_text(highcheck6, str); str = g_strdup_printf(_("Include prompt [Ctrl+%d]"), 7); gtk_widget_set_tooltip_text(highcheck7, str); str = g_strdup_printf(_("Include prompt [Ctrl+%d]"), 8); gtk_widget_set_tooltip_text(highcheck8, str); str = g_strdup_printf(_("Enable/disable sound [Ctrl+%d]"), 0); gtk_widget_set_tooltip_text(soundcheck, str); gtk_widget_set_tooltip_text(f1button, _("Right click to edit")); gtk_widget_set_tooltip_text(f2button, _("Right click to edit")); gtk_widget_set_tooltip_text(f3button, _("Right click to edit")); gtk_widget_set_tooltip_text(f4button, _("Right click to edit")); gtk_widget_set_tooltip_text(f5button, _("Right click to edit")); gtk_widget_set_tooltip_text(f6button, _("Right click to edit")); gtk_widget_set_tooltip_text(f7button, _("Right click to edit")); gtk_widget_set_tooltip_text(f8button, _("Right click to edit")); mainentry = gtk_text_view_new(); gtk_widget_set_name(GTK_WIDGET(mainentry), "mainentry"); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(mainentry), GTK_WRAP_WORD); frame = gtk_frame_new(NULL); gtk_widget_set_name(GTK_WIDGET(frame), "mainentry_frame"); gtk_widget_set_margin_start(GTK_WIDGET(frame), 3); gtk_widget_set_margin_end(GTK_WIDGET(frame), 3); gtk_widget_set_margin_top(GTK_WIDGET(frame), 2); gtk_box_pack_start(GTK_BOX(gui_vbox), frame, FALSE, TRUE, 0); gtk_container_add(GTK_CONTAINER(frame), mainentry); /* Alt-0 */ gtk_widget_add_accelerator(mainentry, "grab-focus", grab_focus, GDK_KEY_0, GDK_MOD1_MASK, 0); /* height of the frame is 2 times font size */ font_description = pango_context_get_font_description( gtk_widget_get_pango_context( GTK_WIDGET(mainentry))); pango_size = pango_font_description_get_size(font_description); gtk_widget_set_size_request(frame, -1, 4 * PANGO_PIXELS(pango_size)); mainstatusbar = gtk_statusbar_new(); gtk_box_pack_start(GTK_BOX(gui_vbox), mainstatusbar, FALSE, TRUE, 0); g_signal_connect(G_OBJECT(gui->window), "destroy", G_CALLBACK(on_mainwindow_destroy_event), NULL); g_signal_connect(G_OBJECT(gui->window), "delete_event", G_CALLBACK(on_mainwindow_delete_event), NULL); entrybuffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(mainentry)); g_signal_connect(G_OBJECT(entrybuffer), "changed", G_CALLBACK(on_mainentry_activate), NULL); g_signal_connect(G_OBJECT(gui->window), "key_press_event", G_CALLBACK(on_mainwindow_key_press_event), NULL); g_signal_connect(G_OBJECT(maintext), "motion_notify_event", G_CALLBACK(on_maintext_motion_notify_event), NULL); g_signal_connect(G_OBJECT(maintext), "event-after", G_CALLBACK(on_maintext_event_after), NULL); g_signal_connect(G_OBJECT(treeview), "button-press-event", G_CALLBACK(double_click), NULL); g_signal_connect((gpointer) highcheck1, "toggled", G_CALLBACK(on_highcheck_toggled), GINT_TO_POINTER(1)); g_signal_connect((gpointer) highcheck2, "toggled", G_CALLBACK(on_highcheck_toggled), GINT_TO_POINTER(2)); g_signal_connect((gpointer) highcheck3, "toggled", G_CALLBACK(on_highcheck_toggled), GINT_TO_POINTER(3)); g_signal_connect((gpointer) highcheck4, "toggled", G_CALLBACK(on_highcheck_toggled), GINT_TO_POINTER(4)); g_signal_connect((gpointer) highcheck5, "toggled", G_CALLBACK(on_highcheck_toggled), GINT_TO_POINTER(5)); g_signal_connect((gpointer) highcheck6, "toggled", G_CALLBACK(on_highcheck_toggled), GINT_TO_POINTER(6)); g_signal_connect((gpointer) highcheck7, "toggled", G_CALLBACK(on_highcheck_toggled), GINT_TO_POINTER(7)); g_signal_connect((gpointer) highcheck8, "toggled", G_CALLBACK(on_highcheck_toggled), GINT_TO_POINTER(8)); g_signal_connect((gpointer) soundcheck, "toggled", G_CALLBACK(on_soundcheck_toggled), NULL); g_signal_connect(G_OBJECT(highentry1), "changed", G_CALLBACK(on_highentry_changed), GINT_TO_POINTER(1)); g_signal_connect(G_OBJECT(highentry2), "changed", G_CALLBACK(on_highentry_changed), GINT_TO_POINTER(2)); g_signal_connect(G_OBJECT(highentry3), "changed", G_CALLBACK(on_highentry_changed), GINT_TO_POINTER(3)); g_signal_connect(G_OBJECT(highentry4), "changed", G_CALLBACK(on_highentry_changed), GINT_TO_POINTER(4)); g_signal_connect(G_OBJECT(highentry5), "changed", G_CALLBACK(on_highentry_changed), GINT_TO_POINTER(5)); g_signal_connect(G_OBJECT(highentry6), "changed", G_CALLBACK(on_highentry_changed), GINT_TO_POINTER(6)); g_signal_connect(G_OBJECT(highentry7), "changed", G_CALLBACK(on_highentry_changed), GINT_TO_POINTER(7)); g_signal_connect(G_OBJECT(highentry8), "changed", G_CALLBACK(on_highentry_changed), GINT_TO_POINTER(8)); g_signal_connect(G_OBJECT(highentry1), "button_press_event", G_CALLBACK(on_highentry_clicked), NULL); g_signal_connect(G_OBJECT(highentry2), "button_press_event", G_CALLBACK(on_highentry_clicked), NULL); g_signal_connect(G_OBJECT(highentry3), "button_press_event", G_CALLBACK(on_highentry_clicked), NULL); g_signal_connect(G_OBJECT(highentry4), "button_press_event", G_CALLBACK(on_highentry_clicked), NULL); g_signal_connect(G_OBJECT(highentry5), "button_press_event", G_CALLBACK(on_highentry_clicked), NULL); g_signal_connect(G_OBJECT(highentry6), "button_press_event", G_CALLBACK(on_highentry_clicked), NULL); g_signal_connect(G_OBJECT(highentry7), "button_press_event", G_CALLBACK(on_highentry_clicked), NULL); g_signal_connect(G_OBJECT(highentry8), "button_press_event", G_CALLBACK(on_highentry_clicked), NULL); g_signal_connect(G_OBJECT(f1button), "clicked", G_CALLBACK(on_fbutton_clicked), GINT_TO_POINTER(1)); g_signal_connect(G_OBJECT(f2button), "clicked", G_CALLBACK(on_fbutton_clicked), GINT_TO_POINTER(2)); g_signal_connect(G_OBJECT(f3button), "clicked", G_CALLBACK(on_fbutton_clicked), GINT_TO_POINTER(3)); g_signal_connect(G_OBJECT(f4button), "clicked", G_CALLBACK(on_fbutton_clicked), GINT_TO_POINTER(4)); g_signal_connect(G_OBJECT(f5button), "clicked", G_CALLBACK(on_fbutton_clicked), GINT_TO_POINTER(5)); g_signal_connect(G_OBJECT(f6button), "clicked", G_CALLBACK(on_fbutton_clicked), GINT_TO_POINTER(6)); g_signal_connect(G_OBJECT(f7button), "clicked", G_CALLBACK(on_fbutton_clicked), GINT_TO_POINTER(7)); g_signal_connect(G_OBJECT(f8button), "clicked", G_CALLBACK(on_fbutton_clicked), GINT_TO_POINTER(8)); g_signal_connect(G_OBJECT(f1button), "button-press-event", G_CALLBACK(on_fbutton_press), GINT_TO_POINTER(1)); g_signal_connect(G_OBJECT(f2button), "button-press-event", G_CALLBACK(on_fbutton_press), GINT_TO_POINTER(2)); g_signal_connect(G_OBJECT(f3button), "button-press-event", G_CALLBACK(on_fbutton_press), GINT_TO_POINTER(3)); g_signal_connect(G_OBJECT(f4button), "button-press-event", G_CALLBACK(on_fbutton_press), GINT_TO_POINTER(4)); g_signal_connect(G_OBJECT(f5button), "button-press-event", G_CALLBACK(on_fbutton_press), GINT_TO_POINTER(5)); g_signal_connect(G_OBJECT(f6button), "button-press-event", G_CALLBACK(on_fbutton_press), GINT_TO_POINTER(6)); g_signal_connect(G_OBJECT(f7button), "button-press-event", G_CALLBACK(on_fbutton_press), GINT_TO_POINTER(7)); g_signal_connect(G_OBJECT(f8button), "button-press-event", G_CALLBACK(on_fbutton_press), GINT_TO_POINTER(8)); g_object_set_data(G_OBJECT(gui->window), "maintext", maintext); g_object_set_data(G_OBJECT(gui->window), "treeview", treeview); g_object_set_data(G_OBJECT(gui->window), "mainstatusbar", mainstatusbar); g_object_set_data(G_OBJECT(gui->window), "mainentry", mainentry); g_object_set_data(G_OBJECT(gui->window), "model", model); g_object_set_data(G_OBJECT(gui->window), "buffer", buffer); g_object_set_data(G_OBJECT(gui->window), "vpaned", vpaned); g_object_set_data(G_OBJECT(gui->window), "highcheck1", highcheck1); g_object_set_data(G_OBJECT(gui->window), "highcheck2", highcheck2); g_object_set_data(G_OBJECT(gui->window), "highcheck3", highcheck3); g_object_set_data(G_OBJECT(gui->window), "highcheck4", highcheck4); g_object_set_data(G_OBJECT(gui->window), "highcheck5", highcheck5); g_object_set_data(G_OBJECT(gui->window), "highcheck6", highcheck6); g_object_set_data(G_OBJECT(gui->window), "highcheck7", highcheck7); g_object_set_data(G_OBJECT(gui->window), "highcheck8", highcheck8); g_object_set_data(G_OBJECT(gui->window), "soundcheck", soundcheck); g_object_set_data(G_OBJECT(gui->window), "highentry1", highentry1); g_object_set_data(G_OBJECT(gui->window), "highentry2", highentry2); g_object_set_data(G_OBJECT(gui->window), "highentry3", highentry3); g_object_set_data(G_OBJECT(gui->window), "highentry4", highentry4); g_object_set_data(G_OBJECT(gui->window), "highentry5", highentry5); g_object_set_data(G_OBJECT(gui->window), "highentry6", highentry6); g_object_set_data(G_OBJECT(gui->window), "highentry7", highentry7); g_object_set_data(G_OBJECT(gui->window), "highentry8", highentry8); g_object_set_data(G_OBJECT(gui->window), "highframe", highframe); g_object_set_data(G_OBJECT(gui->window), "func_grid", func_grid); g_object_set_data(G_OBJECT(gui->window), "f1button", f1button); g_object_set_data(G_OBJECT(gui->window), "f2button", f2button); g_object_set_data(G_OBJECT(gui->window), "f3button", f3button); g_object_set_data(G_OBJECT(gui->window), "f4button", f4button); g_object_set_data(G_OBJECT(gui->window), "f5button", f5button); g_object_set_data(G_OBJECT(gui->window), "f6button", f6button); g_object_set_data(G_OBJECT(gui->window), "f7button", f7button); g_object_set_data(G_OBJECT(gui->window), "f8button", f8button); cluster = new_cluster(); g_object_set_data(G_OBJECT(gui->window), "cluster", cluster); gtk_widget_grab_focus(mainentry); return; } static gchar * gtk_textbuffer_get_chars(GtkTextBuffer *b) { GtkTextIter start, end; gtk_text_buffer_get_start_iter(b, &start); gtk_text_buffer_get_end_iter(b, &end); return gtk_text_buffer_get_text(b, &start, &end, FALSE); } /* * hit in the entry widget */ void on_mainentry_activate(GtkTextBuffer *buffer, gpointer user_data) { gchar *entry, *p; GString *str = g_string_new(""); GtkWidget *mainentry; entry = gtk_textbuffer_get_chars(buffer); if ((p = g_strrstr(entry, "\n"))) { entry = my_strreplace(entry, "\n", ""); str = g_string_new(entry); tx(str); g_string_free(str, TRUE); gtk_text_buffer_set_text(buffer, "", 0); mainentry = g_object_get_data(G_OBJECT(gui->window), "mainentry"); gtk_widget_grab_focus(GTK_WIDGET(mainentry)); } g_free(entry); } static void syncprefs(void) { GtkWidget *treeview, *vpaned; GList *columns; gint i, length, width; servertype *cluster; GString *w = g_string_new(""); cluster = g_object_get_data(G_OBJECT(gui->window), "cluster"); if (cluster->sockethandle != -1) cldisconnect(NULL, FALSE); gtk_window_get_position(GTK_WINDOW(gui->window), &preferences.x, &preferences.y); gtk_window_get_size(GTK_WINDOW(gui->window), &preferences.width, &preferences.height); vpaned = g_object_get_data(G_OBJECT(gui->window), "vpaned"); preferences.handlebarpos = gtk_paned_get_position(GTK_PANED(vpaned)); treeview = g_object_get_data(G_OBJECT(gui->window), "treeview"); columns = gtk_tree_view_get_columns(GTK_TREE_VIEW(treeview)); length = g_list_length(columns); for (i = 0; i < length; i++) { width = gtk_tree_view_column_get_width (gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), i)); if (width == 0) { if (i == 0) width = COL0WIDTH; else if (i == 1) width = COL1WIDTH; else if (i == 2) width = COL2WIDTH; else if (i == 3) width = COL3WIDTH; else if (i == 4) width = COL4WIDTH; else if (i == 5) width = COL5WIDTH; else if (i == 6) width = COL6WIDTH; } g_string_append_printf(w, "%d,", width); } g_list_free(columns); preferences.columnwidths = g_strdup(w->str); g_string_free(w, TRUE); savehistory(); savepreferences(); } static void cleanup(void) { GList *link; servertype *cluster; cluster = g_object_get_data(G_OBJECT(gui->window), "cluster"); if (cluster->host) g_free(cluster->host); if (cluster->port) g_free(cluster->port); if (cluster->lastcommand) g_free(cluster->lastcommand); g_free(cluster); gui->window = NULL; g_free(preferences.columnwidths); g_free(preferences.callsign); g_free(preferences.commands); g_free(preferences.rigctl); g_free(preferences.dxfont); g_free(preferences.allfont); link = gui->hostnamehistory; while (link) { g_free(link->data); link = link->next; } g_list_free(gui->hostnamehistory); gui->hostnamehistory = NULL; link = gui->porthistory; while (link) { g_free(link->data); link = link->next; } g_list_free(gui->porthistory); gui->porthistory = NULL; link = gui->txhistory; while (link) { g_free(link->data); link = link->next; } g_list_free(gui->txhistory); gui->txhistory = NULL; g_free(gui->preferencesdir); gui->preferencesdir = NULL; g_free(gui->statusbarmessage); gui->statusbarmessage = NULL; g_free(gui->url); gui->url = NULL; g_free(gui->prompttagname); gui->prompttagname = NULL; g_free(gui->calltagname); gui->calltagname = NULL; g_free(gui->senttagname); gui->senttagname = NULL; g_free(gui->wwvtagname); gui->wwvtagname = NULL; g_free(gui->wxtagname); gui->wxtagname = NULL; g_free(gui->high1tagname); gui->high1tagname = NULL; g_free(gui->high2tagname); gui->high2tagname = NULL; g_free(gui->high3tagname); gui->high3tagname = NULL; g_free(gui->high4tagname); gui->high4tagname = NULL; g_free(gui->high5tagname); gui->high5tagname = NULL; g_free(gui->high6tagname); gui->high6tagname = NULL; g_free(gui->high7tagname); gui->high7tagname = NULL; g_free(gui->high8tagname); gui->high8tagname = NULL; g_free(gui); } void on_quit_activate(GtkMenuItem *menuitem, gpointer user_data) { syncprefs(); cleanup_dxcc(); cleanup(); gtk_main_quit(); } void on_fkeys_activate(GtkAction *action, gpointer keybar_item) { GtkWidget *func_grid;; gboolean state; state = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(keybar_item)); func_grid = g_object_get_data(G_OBJECT(gui->window), "func_grid"); if (state) { preferences.fbox = 1; gtk_widget_show(func_grid); } else { preferences.fbox = 0; gtk_widget_hide(func_grid); } } void on_reconnect_activate(GtkAction *action, gpointer reconnect_item) { gboolean state; servertype *cluster; state = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(reconnect_item)); cluster = g_object_get_data(G_OBJECT(gui->window), "cluster"); if (state) preferences.reconnect = 1; else { preferences.reconnect = 0; cluster->reconnect = FALSE; } } void on_sidebar_activate(GtkAction *action, gpointer sidebar_item) { GtkWidget *highframe; gboolean state; highframe = g_object_get_data(G_OBJECT(gui->window), "highframe"); state = gtk_check_menu_item_get_active(GTK_CHECK_MENU_ITEM(sidebar_item)); if (state) { preferences.sidebar = 1; gtk_widget_show(highframe); } else { preferences.sidebar = 0; gtk_widget_hide(highframe); } } static void on_soundcheck_toggled(GtkToggleButton *togglebutton, gpointer user_data) { gboolean state = gtk_toggle_button_get_active(togglebutton); if (state) preferences.playsound = 1; else preferences.playsound = 0; } static void on_highcheck_toggled(GtkToggleButton *togglebutton, gpointer user_data) { gboolean state = gtk_toggle_button_get_active(togglebutton); if (state) preferences.highmenu[GPOINTER_TO_INT(user_data) - 1] = '1'; else preferences.highmenu[GPOINTER_TO_INT(user_data) - 1] = '0'; } void on_highentry_changed(GtkEditable *editable, gpointer user_data) { gchar *high = gtk_editable_get_chars(GTK_EDITABLE(editable), 0, -1); if (g_utf8_strlen(high, -1) < 2) high = g_strdup("?"); if (GPOINTER_TO_INT(user_data) == 1) preferences.highword1 = g_utf8_strdown(high, -1); else if (GPOINTER_TO_INT(user_data) == 2) preferences.highword2 = g_utf8_strdown(high, -1); else if (GPOINTER_TO_INT(user_data) == 3) preferences.highword3 = g_utf8_strdown(high, -1); else if (GPOINTER_TO_INT(user_data) == 4) preferences.highword4 = g_utf8_strdown(high, -1); else if (GPOINTER_TO_INT(user_data) == 5) preferences.highword5 = g_utf8_strdown(high, -1); else if (GPOINTER_TO_INT(user_data) == 6) preferences.highword6 = g_utf8_strdown(high, -1); else if (GPOINTER_TO_INT(user_data) == 7) preferences.highword7 = g_utf8_strdown(high, -1); else if (GPOINTER_TO_INT(user_data) == 8) preferences.highword8 = g_utf8_strdown(high, -1); g_free(high); } /* Retrieve the associated F button command string from the preferences * and pass it to the socket if there is a cluster connection. */ void on_fbutton_clicked(GtkButton *button, gpointer user_data) { GString *txstr = g_string_new(""); servertype *cluster; cluster = g_object_get_data(G_OBJECT(gui->window), "cluster"); if (cluster->connected) { if (GPOINTER_TO_INT(user_data) == 1 && strcmp(preferences.f1command, "^")) { g_string_printf(txstr, "%s", preferences.f1command); } if (GPOINTER_TO_INT(user_data) == 2 && strcmp(preferences.f2command, "^")) { g_string_printf(txstr, "%s", preferences.f2command); } if (GPOINTER_TO_INT(user_data) == 3 && strcmp(preferences.f3command, "^")) { g_string_printf(txstr, "%s", preferences.f3command); } if (GPOINTER_TO_INT(user_data) == 4 && strcmp(preferences.f4command, "^")) { g_string_printf(txstr, "%s", preferences.f4command); } if (GPOINTER_TO_INT(user_data) == 5 && strcmp(preferences.f5command, "^")) { g_string_printf(txstr, "%s", preferences.f5command); } if (GPOINTER_TO_INT(user_data) == 6 && strcmp(preferences.f6command, "^")) { g_string_printf(txstr, "%s", preferences.f6command); } if (GPOINTER_TO_INT(user_data) == 7 && strcmp(preferences.f7command, "^")) { g_string_printf(txstr, "%s", preferences.f7command); } if (GPOINTER_TO_INT(user_data) == 8 && strcmp(preferences.f8command, "^")) { g_string_printf(txstr, "%s", preferences.f8command); } tx(txstr); g_string_free(txstr, TRUE); } } gboolean on_highentry_clicked(GtkEditable *entry, GdkEventButton *event, gpointer user_data) { if (event->type == GDK_2BUTTON_PRESS) { gtk_editable_select_region(entry, 0, -1); return TRUE; } return FALSE; } /* * called at program exit */ gboolean on_mainwindow_delete_event(GtkWidget *widget, GdkEvent *event, gpointer user_data) { syncprefs(); return FALSE; } gboolean on_mainwindow_destroy_event(GtkWidget *widget, GdkEvent *event, gpointer user_data) { cleanup(); gtk_main_quit(); return FALSE; } /* * history of the entry widget */ gboolean on_mainwindow_key_press_event(GtkWidget *widget, GdkEventKey *event, gpointer user_data) { GtkWidget *mainentry, *f1button, *f2button, *f3button, *f4button, *f5button, *f6button, *f7button, *f8button; mainentry = g_object_get_data(G_OBJECT(gui->window), "mainentry"); if (gtk_widget_has_focus(mainentry)) { switch (event->keyval) { case GDK_KEY_Up: g_signal_stop_emission_by_name(G_OBJECT(widget), "key_press_event"); tx_previous(); break; case GDK_KEY_Down: g_signal_stop_emission_by_name(G_OBJECT(widget), "key_press_event"); tx_next(); break; default: break; } } switch (event->keyval) { case GDK_KEY_F1: f1button = g_object_get_data(G_OBJECT(gui->window), "f1button"); g_signal_emit_by_name(G_OBJECT(f1button), "activate"); break; case GDK_KEY_F2: f2button = g_object_get_data(G_OBJECT(gui->window), "f2button"); g_signal_emit_by_name(G_OBJECT(f2button), "activate"); break; case GDK_KEY_F3: f3button = g_object_get_data(G_OBJECT(gui->window), "f3button"); g_signal_emit_by_name(G_OBJECT(f3button), "activate"); break; case GDK_KEY_F4: f4button = g_object_get_data(G_OBJECT(gui->window), "f4button"); g_signal_emit_by_name(G_OBJECT(f4button), "activate"); break; case GDK_KEY_F5: f5button = g_object_get_data(G_OBJECT(gui->window), "f5button"); g_signal_emit_by_name(G_OBJECT(f5button), "activate"); break; case GDK_KEY_F6: f6button = g_object_get_data(G_OBJECT(gui->window), "f6button"); g_signal_emit_by_name(G_OBJECT(f6button), "activate"); break; case GDK_KEY_F7: f7button = g_object_get_data(G_OBJECT(gui->window), "f7button"); g_signal_emit_by_name(G_OBJECT(f7button), "activate"); break; case GDK_KEY_F8: f8button = g_object_get_data(G_OBJECT(gui->window), "f8button"); g_signal_emit_by_name(G_OBJECT(f8button), "activate"); break; default: break; } return FALSE; } gboolean on_fbutton_press(GtkButton *button, GdkEventButton *event, gpointer user_data) { GtkWidget *editdialog, *editvbox, *editlabel, *editentry, *vbox, *f1button, *f2button, *f3button, *f4button, *f5button, *f6button, *f7button, *f8button; gchar *temp, *str; gint response; if (event->button == 3) { editdialog = gtk_dialog_new_with_buttons(_("Xdx - Edit function key"), GTK_WINDOW(gui->window), GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, _("Cancel"), GTK_RESPONSE_CANCEL, _("OK"), GTK_RESPONSE_OK, NULL); editvbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0); /* This function returns a pointer to the dialog's content area * as setting the member directly as in (GTK_DIALOG(editdialog)->vbox * is deprecated in the GTK+3 API. Running make with the * CFLAGS+="-DGSEAL_ENABLE" environment variable will cause a * compiler error when attempting to set the member directly. */ vbox = gtk_dialog_get_content_area(GTK_DIALOG(editdialog)); gtk_box_pack_start(GTK_BOX(vbox), editvbox, TRUE, TRUE, 0); temp = g_strdup_printf(_("Command to be used for F%d"), GPOINTER_TO_INT(user_data)); editlabel = gtk_label_new_with_mnemonic(temp); g_free(temp); gtk_box_pack_start(GTK_BOX(editvbox), editlabel, TRUE, TRUE, 0); editentry = gtk_entry_new(); gtk_box_pack_start(GTK_BOX(editvbox), editentry, TRUE, TRUE, 0); if (GPOINTER_TO_INT(user_data) == 1 && strcmp(preferences.f1command, "^")) gtk_entry_set_text(GTK_ENTRY(editentry), preferences.f1command); if (GPOINTER_TO_INT(user_data) == 2 && strcmp(preferences.f2command, "^")) gtk_entry_set_text(GTK_ENTRY(editentry), preferences.f2command); if (GPOINTER_TO_INT(user_data) == 3 && strcmp(preferences.f3command, "^")) gtk_entry_set_text(GTK_ENTRY(editentry), preferences.f3command); if (GPOINTER_TO_INT(user_data) == 4 && strcmp(preferences.f4command, "^")) gtk_entry_set_text(GTK_ENTRY(editentry), preferences.f4command); if (GPOINTER_TO_INT(user_data) == 5 && strcmp(preferences.f5command, "^")) gtk_entry_set_text(GTK_ENTRY(editentry), preferences.f5command); if (GPOINTER_TO_INT(user_data) == 6 && strcmp(preferences.f6command, "^")) gtk_entry_set_text(GTK_ENTRY(editentry), preferences.f6command); if (GPOINTER_TO_INT(user_data) == 7 && strcmp(preferences.f7command, "^")) gtk_entry_set_text(GTK_ENTRY(editentry), preferences.f7command); if (GPOINTER_TO_INT(user_data) == 8 && strcmp(preferences.f8command, "^")) gtk_entry_set_text(GTK_ENTRY(editentry), preferences.f8command); gtk_widget_show_all(editdialog); response = gtk_dialog_run(GTK_DIALOG(editdialog)); if (response == GTK_RESPONSE_OK) { temp = gtk_editable_get_chars(GTK_EDITABLE(editentry), 0, -1); if (strlen(temp) > 0) { if (GPOINTER_TO_INT(user_data) == 1) { f1button = g_object_get_data(G_OBJECT(gui->window), "f1button"); preferences.f1command = g_strdup(temp); str = g_strdup_printf("F1: %s", preferences.f1command); gtk_button_set_label(GTK_BUTTON(f1button), str); g_free(str); } if (GPOINTER_TO_INT(user_data) == 2) { f2button = g_object_get_data(G_OBJECT(gui->window), "f2button"); preferences.f2command = g_strdup(temp); str = g_strdup_printf("F2: %s", preferences.f2command); gtk_button_set_label(GTK_BUTTON(f2button), str); g_free(str); } if (GPOINTER_TO_INT(user_data) == 3) { f3button = g_object_get_data(G_OBJECT(gui->window), "f3button"); preferences.f3command = g_strdup(temp); str = g_strdup_printf("F3: %s", preferences.f3command); gtk_button_set_label(GTK_BUTTON(f3button), str); g_free(str); } if (GPOINTER_TO_INT(user_data) == 4) { f4button = g_object_get_data(G_OBJECT(gui->window), "f4button"); preferences.f4command = g_strdup(temp); str = g_strdup_printf("F4: %s", preferences.f4command); gtk_button_set_label(GTK_BUTTON(f4button), str); g_free(str); } if (GPOINTER_TO_INT(user_data) == 5) { f5button = g_object_get_data(G_OBJECT(gui->window), "f5button"); preferences.f5command = g_strdup(temp); str = g_strdup_printf("F5: %s", preferences.f5command); gtk_button_set_label(GTK_BUTTON(f5button), str); g_free(str); } if (GPOINTER_TO_INT(user_data) == 6) { f6button = g_object_get_data(G_OBJECT(gui->window), "f6button"); preferences.f6command = g_strdup(temp); str = g_strdup_printf("F6: %s", preferences.f6command); gtk_button_set_label(GTK_BUTTON(f6button), str); g_free(str); } if (GPOINTER_TO_INT(user_data) == 7) { f7button = g_object_get_data(G_OBJECT(gui->window), "f7button"); preferences.f7command = g_strdup(temp); str = g_strdup_printf("F7: %s", preferences.f7command); gtk_button_set_label(GTK_BUTTON(f7button), str); g_free(str); } if (GPOINTER_TO_INT(user_data) == 8) { f8button = g_object_get_data(G_OBJECT(gui->window), "f8button"); preferences.f8command = g_strdup(temp); str = g_strdup_printf("F8: %s", preferences.f8command); gtk_button_set_label(GTK_BUTTON(f8button), str); g_free(str); } } g_free(temp); } gtk_widget_destroy(editdialog); return TRUE; } return FALSE; } gboolean double_click(GtkWidget *widget, GdkEventButton *event, gpointer user_data) { GtkTreeIter selected; GtkTreeModel *model; gchar *getf, **fsplit, *hamlibstr; gint setf; if ((preferences.hamlib == 1) && (event->type == GDK_2BUTTON_PRESS)) { if (gtk_tree_selection_get_selected (gtk_tree_view_get_selection(GTK_TREE_VIEW(widget)), &model, &selected)) { gtk_tree_model_get(model, &selected, 1, &getf, -1); fsplit = g_strsplit(getf, ".", -1); setf = atoi(fsplit[0]) * 1000 + atoi(fsplit[1]) * 100; if (g_strrstr(preferences.rigctl, "%d")) { hamlibstr = g_strdup_printf(preferences.rigctl, setf); system(hamlibstr); g_free(hamlibstr); } g_strfreev(fsplit); } } return FALSE; } xdx-2.91/src/net.h0000644000175000017500000000315112646316272010730 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * net.h */ #ifndef XDX_NET_H #define XDX_NET_H #define MESSAGE_RX 1 #define MESSAGE_TX 2 typedef struct servertype { gchar *host; gchar *port; GIOChannel *rxchannel; guint source_id; gint sockethandle; gboolean connected; gint reconnecttimer; gboolean reconnect; gchar *lastcommand; gint keepalivetimer; } servertype; servertype *new_cluster(void); gboolean clresolve(servertype *cluster); void cldisconnect(GString *msg, gboolean timeout); gboolean rx(GIOChannel *channel, GIOCondition cond, gpointer data); void tx(GString *message); gint reconnect(gpointer data); gint send_keepalivepacket(gpointer data); #endif /* XDX_NET_H */ xdx-2.91/src/gui_settingsdialog.h0000644000175000017500000000207112646316272014026 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_settingsdialog.h */ #ifndef XDX_GUI_SETTINGSDIALOG_H #define XDX_GUI_SETTINGSDIALOG_H void on_settings_activate(GtkMenuItem *menuitem, gpointer user_data); #endif /* XDX_GUI_SETTINGSDIALOG_H */ xdx-2.91/src/main.c0000644000175000017500000004573014220735404011062 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * main.c - start of gtk loop. */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include #include #include #include "cmd_opts.h" #include "gui.h" #include "history.h" #include "locale.h" #include "preferences.h" #include "text.h" #include "utils.h" extern preferencestype preferences; GdkVisual *visual; gchar *prompttagname, *calltagname; gchar *opt_cty_path = NULL; /* For -c or --cty_path options. */ guitype *gui; GValue grid_spacing = G_VALUE_INIT; int main(int argc, char *argv[]) { GtkWidget *treeview, *maintext, *vpaned, *sidemenu, *reconnectmenu, *highframe, *fkeysmenu, *func_grid, *highcheck1, *highcheck2, *highcheck3, *highcheck4, *highcheck5, *highcheck6, *highcheck7, *highcheck8, *soundcheck, *highentry1, *highentry2, *highentry3, *highentry4, *highentry5, *highentry6, *highentry7, *highentry8, *f1button, *f2button, *f3button, *f4button, *f5button, *f6button, *f7button, *f8button; GtkTreeViewColumn *column; gchar **wsplit, *str; GString *greeting = g_string_new(""); PangoFontDescription *font_description; gint pango_size; GtkTextBuffer *buffer; #ifdef ENABLE_NLS bindtextdomain(PACKAGE, PACKAGE_LOCALE_DIR); bind_textdomain_codeset(PACKAGE, "UTF-8"); textdomain(PACKAGE); #endif putenv("TZ=GMT"); tzset(); add_pixmap_directory(PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "pixmaps"); add_pixmap_directory(PACKAGE_SOURCE_DIR G_DIR_SEPARATOR_S "pixmaps"); gtk_init(&argc, &argv); setlocale(LC_NUMERIC, "C"); parse_opts(&argc, &argv); /* Application default spacing in pixels between children in grids. */ g_value_init(&grid_spacing, G_TYPE_INT); g_value_set_int(&grid_spacing, 8); visual = gdk_screen_get_system_visual(gdk_screen_get_default()); create_mainwindow(); dircheck(); loadpreferences(); loadhistory(); readctydata(); maintext = g_object_get_data(G_OBJECT(gui->window), "maintext"); buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(maintext)); /* most of the tagnames are randomised when changed, so we can keep on * using the old tags without having to remove them from the tagtable */ gui->high1tagname = g_strdup("highcolor1"); gui->high2tagname = g_strdup("highcolor2"); gui->high3tagname = g_strdup("highcolor3"); gui->high4tagname = g_strdup("highcolor4"); gui->high5tagname = g_strdup("highcolor5"); gui->high6tagname = g_strdup("highcolor6"); gui->high7tagname = g_strdup("highcolor7"); gui->high8tagname = g_strdup("highcolor8"); /* User selected colors for user defined word highlighting. */ gtk_text_buffer_create_tag(buffer, gui->high1tagname, "foreground-rgba", &preferences.highcolor1, NULL); gtk_text_buffer_create_tag(buffer, gui->high2tagname, "foreground-rgba", &preferences.highcolor2, NULL); gtk_text_buffer_create_tag(buffer, gui->high3tagname, "foreground-rgba", &preferences.highcolor3, NULL); gtk_text_buffer_create_tag(buffer, gui->high4tagname, "foreground-rgba", &preferences.highcolor4, NULL); gtk_text_buffer_create_tag(buffer, gui->high5tagname, "foreground-rgba", &preferences.highcolor5, NULL); gtk_text_buffer_create_tag(buffer, gui->high6tagname, "foreground-rgba", &preferences.highcolor6, NULL); gtk_text_buffer_create_tag(buffer, gui->high7tagname, "foreground-rgba", &preferences.highcolor7, NULL); gtk_text_buffer_create_tag(buffer, gui->high8tagname, "foreground-rgba", &preferences.highcolor8, NULL); gui->prompttagname = g_strdup("prompt"); gui->calltagname = g_strdup("call"); gui->wwvtagname = g_strdup("wwv"); gui->senttagname = g_strdup("sent"); gui->wxtagname = g_strdup("wx"); /* User selected colors for Xdx defined string highlighting. */ gtk_text_buffer_create_tag(buffer, gui->prompttagname, "foreground-rgba", &preferences.promptcolor, NULL); gtk_text_buffer_create_tag(buffer, gui->calltagname, "foreground-rgba", &preferences.promptcolor, "weight", PANGO_WEIGHT_BOLD, NULL); gtk_text_buffer_create_tag(buffer, gui->wwvtagname, "foreground-rgba", &preferences.wwvcolor, NULL); gtk_text_buffer_create_tag(buffer, gui->wxtagname, "foreground-rgba", &preferences.wxcolor, NULL); gtk_text_buffer_create_tag(buffer, gui->senttagname, "foreground-rgba", &preferences.sentcolor, NULL); highcheck1 = g_object_get_data(G_OBJECT(gui->window), "highcheck1"); highcheck2 = g_object_get_data(G_OBJECT(gui->window), "highcheck2"); highcheck3 = g_object_get_data(G_OBJECT(gui->window), "highcheck3"); highcheck4 = g_object_get_data(G_OBJECT(gui->window), "highcheck4"); highcheck5 = g_object_get_data(G_OBJECT(gui->window), "highcheck5"); highcheck6 = g_object_get_data(G_OBJECT(gui->window), "highcheck6"); highcheck7 = g_object_get_data(G_OBJECT(gui->window), "highcheck7"); highcheck8 = g_object_get_data(G_OBJECT(gui->window), "highcheck8"); soundcheck = g_object_get_data(G_OBJECT(gui->window), "soundcheck"); if (preferences.highmenu[0] == '1') gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(highcheck1), TRUE); if (preferences.highmenu[1] == '1') gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(highcheck2), TRUE); if (preferences.highmenu[2] == '1') gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(highcheck3), TRUE); if (preferences.highmenu[3] == '1') gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(highcheck4), TRUE); if (preferences.highmenu[4] == '1') gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(highcheck5), TRUE); if (preferences.highmenu[5] == '1') gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(highcheck6), TRUE); if (preferences.highmenu[6] == '1') gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(highcheck7), TRUE); if (preferences.highmenu[7] == '1') gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(highcheck8), TRUE); if (preferences.playsound == 1) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(soundcheck), TRUE); highentry1 = g_object_get_data(G_OBJECT(gui->window), "highentry1"); highentry2 = g_object_get_data(G_OBJECT(gui->window), "highentry2"); highentry3 = g_object_get_data(G_OBJECT(gui->window), "highentry3"); highentry4 = g_object_get_data(G_OBJECT(gui->window), "highentry4"); highentry5 = g_object_get_data(G_OBJECT(gui->window), "highentry5"); highentry6 = g_object_get_data(G_OBJECT(gui->window), "highentry6"); highentry7 = g_object_get_data(G_OBJECT(gui->window), "highentry7"); highentry8 = g_object_get_data(G_OBJECT(gui->window), "highentry8"); if (g_ascii_strcasecmp(preferences.highword1, "?")) gtk_entry_set_text(GTK_ENTRY(highentry1), preferences.highword1); if (g_ascii_strcasecmp(preferences.highword2, "?")) gtk_entry_set_text(GTK_ENTRY(highentry2), preferences.highword2); if (g_ascii_strcasecmp(preferences.highword3, "?")) gtk_entry_set_text(GTK_ENTRY(highentry3), preferences.highword3); if (g_ascii_strcasecmp(preferences.highword4, "?")) gtk_entry_set_text(GTK_ENTRY(highentry4), preferences.highword4); if (g_ascii_strcasecmp(preferences.highword5, "?")) gtk_entry_set_text(GTK_ENTRY(highentry5), preferences.highword5); if (g_ascii_strcasecmp(preferences.highword6, "?")) gtk_entry_set_text(GTK_ENTRY(highentry6), preferences.highword6); if (g_ascii_strcasecmp(preferences.highword7, "?")) gtk_entry_set_text(GTK_ENTRY(highentry7), preferences.highword7); if (g_ascii_strcasecmp(preferences.highword8, "?")) gtk_entry_set_text(GTK_ENTRY(highentry8), preferences.highword8); /* Suppress deprecated warnings until a solution using pango attributes is * developed. */ #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_override_color(highentry1, GTK_STATE_FLAG_NORMAL, &preferences.highcolor1); gtk_widget_override_color(highentry2, GTK_STATE_FLAG_NORMAL, &preferences.highcolor2); gtk_widget_override_color(highentry3, GTK_STATE_FLAG_NORMAL, &preferences.highcolor3); gtk_widget_override_color(highentry4, GTK_STATE_FLAG_NORMAL, &preferences.highcolor4); gtk_widget_override_color(highentry5, GTK_STATE_FLAG_NORMAL, &preferences.highcolor5); gtk_widget_override_color(highentry6, GTK_STATE_FLAG_NORMAL, &preferences.highcolor6); gtk_widget_override_color(highentry7, GTK_STATE_FLAG_NORMAL, &preferences.highcolor7); gtk_widget_override_color(highentry8, GTK_STATE_FLAG_NORMAL, &preferences.highcolor8); #pragma GCC diagnostic pop treeview = g_object_get_data(G_OBJECT(gui->window), "treeview"); vpaned = g_object_get_data(G_OBJECT(gui->window), "vpaned"); font_description = pango_font_description_from_string(preferences.dxfont); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_modify_font(GTK_WIDGET(treeview), font_description); #pragma GCC diagnostic pop pango_font_description_free(font_description); font_description = pango_font_description_from_string(preferences.allfont); #pragma GCC diagnostic ignored "-Wdeprecated-declarations" gtk_widget_modify_font(GTK_WIDGET(maintext), font_description); #pragma GCC diagnostic pop pango_size = pango_font_description_get_size(font_description); /* line spacing is half character size */ g_object_set(G_OBJECT(maintext), "pixels-below-lines", PANGO_PIXELS(pango_size) / 2, NULL); pango_font_description_free(font_description); wsplit = g_strsplit(preferences.columnwidths, ",", 0); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 0); if (!preferences.col0visible) gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); else gtk_tree_view_column_set_fixed_width(column, atoi(wsplit[0])); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 1); if (!preferences.col1visible) gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); else gtk_tree_view_column_set_fixed_width(column, atoi(wsplit[1])); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 2); if (!preferences.col2visible) gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); else gtk_tree_view_column_set_fixed_width(column, atoi(wsplit[2])); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 3); if (!preferences.col3visible) gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); else gtk_tree_view_column_set_fixed_width(column, atoi(wsplit[3])); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 4); if (!preferences.col4visible) gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); else gtk_tree_view_column_set_fixed_width(column, atoi(wsplit[4])); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 5); if (!preferences.col5visible) gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); else gtk_tree_view_column_set_fixed_width(column, atoi(wsplit[5])); column = gtk_tree_view_get_column(GTK_TREE_VIEW(treeview), 6); if (!preferences.col6visible) gtk_tree_view_column_set_visible(GTK_TREE_VIEW_COLUMN(column), FALSE); else gtk_tree_view_column_set_fixed_width(column, atoi(wsplit[6])); g_strfreev(wsplit); f1button = g_object_get_data(G_OBJECT(gui->window), "f1button"); f2button = g_object_get_data(G_OBJECT(gui->window), "f2button"); f3button = g_object_get_data(G_OBJECT(gui->window), "f3button"); f4button = g_object_get_data(G_OBJECT(gui->window), "f4button"); f5button = g_object_get_data(G_OBJECT(gui->window), "f5button"); f6button = g_object_get_data(G_OBJECT(gui->window), "f6button"); f7button = g_object_get_data(G_OBJECT(gui->window), "f7button"); f8button = g_object_get_data(G_OBJECT(gui->window), "f8button"); if (strcmp(preferences.f1command, "^")) str = g_strdup_printf("F1: %s", preferences.f1command); else str = g_strdup("F1:"); gtk_button_set_label(GTK_BUTTON(f1button), str); if (strcmp(preferences.f2command, "^")) str = g_strdup_printf("F2: %s", preferences.f2command); else str = g_strdup("F2:"); gtk_button_set_label(GTK_BUTTON(f2button), str); if (strcmp(preferences.f3command, "^")) str = g_strdup_printf("F3: %s", preferences.f3command); else str = g_strdup("F3:"); gtk_button_set_label(GTK_BUTTON(f3button), str); if (strcmp(preferences.f4command, "^")) str = g_strdup_printf("F4: %s", preferences.f4command); else str = g_strdup("F4:"); gtk_button_set_label(GTK_BUTTON(f4button), str); if (strcmp(preferences.f5command, "^")) str = g_strdup_printf("F5: %s", preferences.f5command); else str = g_strdup("F5:"); gtk_button_set_label(GTK_BUTTON(f5button), str); if (strcmp(preferences.f6command, "^")) str = g_strdup_printf("F6: %s", preferences.f6command); else str = g_strdup("F6:"); gtk_button_set_label(GTK_BUTTON(f6button), str); if (strcmp(preferences.f7command, "^")) str = g_strdup_printf("F7: %s", preferences.f7command); else str = g_strdup("F7:"); gtk_button_set_label(GTK_BUTTON(f7button), str); if (strcmp(preferences.f8command, "^")) str = g_strdup_printf("F8: %s", preferences.f8command); else str = g_strdup("F8:"); gtk_button_set_label(GTK_BUTTON(f8button), str); g_free(str); gtk_widget_show_all(gui->window); gtk_window_move(GTK_WINDOW(gui->window), preferences.x, preferences.y); gtk_window_resize(GTK_WINDOW(gui->window), preferences.width, preferences.height); gtk_paned_set_position(GTK_PANED(vpaned), preferences.handlebarpos); func_grid = g_object_get_data(G_OBJECT(gui->window), "func_grid"); fkeysmenu = g_object_get_data(G_OBJECT(gui->window), "keybar_item"); if (preferences.fbox == 0) { gtk_widget_hide(func_grid); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(fkeysmenu), FALSE); } else { gtk_widget_show(func_grid); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(fkeysmenu), TRUE); } highframe = g_object_get_data(G_OBJECT(gui->window), "highframe"); sidemenu = g_object_get_data(G_OBJECT(gui->window), "sidebar_item"); if (preferences.sidebar == 0) { gtk_widget_hide(highframe); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(sidemenu), FALSE); } else { gtk_widget_show(highframe); gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(sidemenu), TRUE); } reconnectmenu = g_object_get_data(G_OBJECT(gui->window), "reconnect_item"); if (preferences.reconnect == 0) { gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(reconnectmenu), FALSE); } else { gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(reconnectmenu), TRUE); } gtk_widget_set_sensitive(GTK_WIDGET( g_object_get_data(G_OBJECT(gui->window), "close_item")), FALSE); g_string_printf(greeting, _("Welcome to %s"), PACKAGE); updatestatusbar(greeting, FALSE); g_string_free(greeting, TRUE); gtk_main(); return 0; } xdx-2.91/src/utils.h0000644000175000017500000000265214220735571011304 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * utils.h */ #ifndef XDX_UTILS_H #define XDX_UTILS_H void add_pixmap_directory(const gchar *directory); void updatestatusbar(GString *statusmessage, gboolean timeout); gboolean openurl(const char *url); gboolean openmail(const char *url); void opensound(const char *file); gchar *try_utf8(const gchar *str); gchar *xdxgetdate(gboolean formatted); gchar *xdxgettime(gboolean formatted); void logconnection(GString *logstr); gchar *my_strreplace(const char *str, const char *delimiter, const char *replacement); #endif /* XDX_UTILS_H */ xdx-2.91/src/text.c0000644000175000017500000011546714210407544011127 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * text.c - private functions for looking up and displaying text, either in a * treeview or a textview */ #ifdef HAVE_CONFIG_H # include #endif /* * Standard gettext macros. */ #ifdef ENABLE_NLS # include # undef _ # define _(String) dgettext (PACKAGE, String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define textdomain(String) (String) # define gettext(String) (String) # define dgettext(Domain,Message) (Message) # define dcgettext(Domain,Message,Type) (Message) # define bindtextdomain(Domain,Directory) (Domain) # define _(String) (String) # define N_(String) (String) #endif #include #include #include #include #include #include "gui.h" #include "gtksourceiter.h" #include "net.h" #include "preferences.h" #include "save.h" #include "text.h" #include "types.h" #include "utils.h" GPtrArray *dxcc; GHashTable *prefixes; gint excitu, exccq, countries; extern preferencestype preferences; typedef struct dxinfo { gchar *spotter; gchar *freq; gchar *dxcall; gchar *remark; gchar *time; gchar *info; gchar *country; gchar *toall; gboolean dx; gboolean nodx; } dxinfo; typedef struct { gchar *str; gchar *file; } smiley; static dxinfo *dx; GSList *smileylist = NULL; /* * create a new smiley struct containing text appearance and path to the pixmap */ smiley *new_smiley(void) { smiley *sm = g_new0(smiley, 1); sm->str = NULL; sm->file = NULL; return (sm); } /* * create a list of supported smileys */ static void create_smiley_list(void) { smiley *s; s = new_smiley(); s->str = ":-(("; s->file = PACKAGE_DATA_DIR "/pixmaps/cry.png"; smileylist = g_slist_append(smileylist, s); s = new_smiley(); s->str = ":(("; s->file = PACKAGE_DATA_DIR "/pixmaps/cry.png"; smileylist = g_slist_append(smileylist, s); s = new_smiley(); s->str = ":))"; s->file = PACKAGE_DATA_DIR "/pixmaps/bigsmile.png"; smileylist = g_slist_append(smileylist, s); s->str = ":-))"; s->file = PACKAGE_DATA_DIR "/pixmaps/bigsmile.png"; smileylist = g_slist_append(smileylist, s); s = new_smiley(); s->str = ":)"; s->file = PACKAGE_DATA_DIR "/pixmaps/smile.png"; smileylist = g_slist_append(smileylist, s); s = new_smiley(); s->str = ":-)"; s->file = PACKAGE_DATA_DIR "/pixmaps/smile.png"; smileylist = g_slist_append(smileylist, s); s = new_smiley(); s->str = ";)"; s->file = PACKAGE_DATA_DIR "/pixmaps/wink.png"; smileylist = g_slist_append(smileylist, s); s = new_smiley(); s->str = ";-)"; s->file = PACKAGE_DATA_DIR "/pixmaps/wink.png"; smileylist = g_slist_append(smileylist, s); s = new_smiley(); s->str = ":("; s->file = PACKAGE_DATA_DIR "/pixmaps/sad.png"; smileylist = g_slist_append(smileylist, s); s = new_smiley(); s->str = ":-("; s->file = PACKAGE_DATA_DIR "/pixmaps/sad.png"; smileylist = g_slist_append(smileylist, s); // s = new_smiley (); s->str = "is"; s->file = PACKAGE_DATA_DIR "/pixmaps/sad.png"; smileylist = g_slist_append(smileylist, s); } /* * extract call from dxmessage and return call and length of call */ static gchar * findcall(gchar *str, gint *spotterlen) { gchar *end, *j; gboolean found = FALSE; end = str + strlen(str); *spotterlen = 0; for (j = str; j < end; ++j) { *spotterlen = *spotterlen + 1; switch (*j) { case ':': case ' ': /* bug in dx-spider for calls > 6 ? */ *j = '\0'; found = TRUE; break; } if (found) break; } return (str); } /* * find the end of frequency and DX-call field */ static gchar * findspace(gchar *str) { gchar *end, *j; gboolean found = FALSE; end = str + strlen(str); for (j = str; j < end; ++j) { switch (*j) { case ' ': *j = '\0'; found = TRUE; break; } if (found) break; } return (str); } /* * find the end of frequency field */ static gchar * findfreq(gchar *str) { gchar *end, *j; gboolean found = FALSE; end = str + strlen(str); for (j = str; j < end; ++j) { switch (*j) { case '.': *(j + 2) = '\0'; found = TRUE; break; } if (found) break; } return (str); } /* * end of remarks field found if there is a space * and the next 2 characters are digits */ static gchar * findrem(gchar *str, gint *remlen) { gchar *end, *j; gboolean found = FALSE; end = str + strlen(str); *remlen = 0; for (j = str; j < end; ++j) { *remlen = *remlen + 1; switch (*j) { case ' ': if ((j > str + 28) && g_ascii_isdigit(*(j + 1)) && g_ascii_isdigit(*(j + 2))) { *j = '\0'; found = TRUE; } break; } if (found) break; } return (str); } /* * search for the end of time field */ static gchar * findtime(gchar *str) { gchar *end, *j; gboolean found = FALSE; end = str + strlen(str); for (j = str; j < end; ++j) { switch (*j) { case 'Z': *(j + 1) = '\0'; found = TRUE; break; } if (found) break; } return (str); } /* * search for the end of the locator field */ static gchar * findinfo(gchar *str) { gchar *end, *j; gboolean found = FALSE; gint len = 0; end = str + strlen(str); for (j = str; j < end; ++j) { len++; switch (*j) { case '\r': *j = '\0'; found = TRUE; break; } if (found) break; } if (len < 2) str = NULL; return (str); } /* * create a new dxinfo struct */ dxinfo *new_dx(void) { dxinfo *dx = g_new0(dxinfo, 1); dx->spotter = NULL; dx->freq = NULL; dx->dxcall = NULL; dx->remark = NULL; dx->time = NULL; dx->info = NULL; dx->country = NULL; dx->toall = NULL; dx->dx = FALSE; dx->nodx = FALSE; return (dx); } /* * DX~de~JA0AOQ:~~~~~1822.5~~RA3DOX~~~~~~~cq..~loud~~~~~~~~~~~~~~~~~~~~~~1923Z * 01234567890123456789012345678901234567890123456789012345678901234567890123456789 * - - - <-- fixed positions */ static gchar * extractinfo(gchar *msg) { gchar *dxmsg, *info, *ret; gint l; struct info lookup; dx = new_dx(); info = g_strdup(msg); if ((dxmsg = strstr(info, "DX de ")) && (info[0] == 'D')) { if (preferences.savedx) savedx(msg); dx->spotter = g_strdup(findcall(dxmsg + 6, &l)); dx->freq = g_strdup(findfreq(dxmsg + 6 + l)); dx->dxcall = g_strdup(findspace(dxmsg + 26)); dx->remark = g_strdup(findrem(dxmsg + 39, &l)); dx->time = g_strdup(findtime(dxmsg + 39 + l)); dx->info = g_strdup(findinfo(dxmsg + 45 + l)); lookup = lookupcountry_by_callsign(dx->dxcall); dxcc_data *d = g_ptr_array_index(dxcc, lookup.country); dx->country = g_strdup(d->countryname); dx->toall = NULL; dx->dx = TRUE; dx->nodx = FALSE; } else { dx->spotter = NULL; dx->freq = NULL; dx->dxcall = NULL; dx->remark = NULL; dx->time = NULL; dx->info = NULL; dx->country = NULL; dx->toall = g_strdup(msg); ret = strstr(dx->toall, "\n"); if (ret) *ret = '\0'; dx->dx = FALSE; dx->nodx = TRUE; } g_free(info); ret = strstr(msg, "\n"); if (ret) return (ret + 1); else return NULL; } /* * check for any of the supported smileys */ static gboolean contains_smileys(gchar *str) { if (g_strrstr(str, ":)")) return TRUE; else if (g_strrstr(str, ":-)")) return TRUE; else if (g_strrstr(str, ":(")) return TRUE; else if (g_strrstr(str, ":-(")) return TRUE; else if (g_strrstr(str, ";)")) return TRUE; else if (g_strrstr(str, ";-)")) return TRUE; // else if (g_strrstr (str, "is")) return TRUE; return FALSE; } /* * check if there is something to highlight */ static gchar * contains_highlights(gchar *str) { gchar *ret = g_strdup("00000000"); if (g_ascii_strcasecmp(preferences.highword1, "?") && g_utf8_strcasestr(str, preferences.highword1)) ret[0] = '1'; if (g_ascii_strcasecmp(preferences.highword2, "?") && g_utf8_strcasestr(str, preferences.highword2)) ret[1] = '1'; if (g_ascii_strcasecmp(preferences.highword3, "?") && g_utf8_strcasestr(str, preferences.highword3)) ret[2] = '1'; if (g_ascii_strcasecmp(preferences.highword4, "?") && g_utf8_strcasestr(str, preferences.highword4)) ret[3] = '1'; if (g_ascii_strcasecmp(preferences.highword5, "?") && g_utf8_strcasestr(str, preferences.highword5)) ret[4] = '1'; if (g_ascii_strcasecmp(preferences.highword6, "?") && g_utf8_strcasestr(str, preferences.highword6)) ret[5] = '1'; if (g_ascii_strcasecmp(preferences.highword7, "?") && g_utf8_strcasestr(str, preferences.highword7)) ret[6] = '1'; if (g_ascii_strcasecmp(preferences.highword8, "?") && g_utf8_strcasestr(str, preferences.highword8)) ret[7] = '1'; return ret; } /* used when colorizing DX-cluster prompt */ static gboolean findcolonprompt(gunichar ch, gpointer user_data) { switch (ch) { case ':': /* marks end of prompt */ return TRUE; default: return FALSE; } } /* used when colorizing ON4KST chat prompt */ static gboolean findrightarrowprompt(gunichar ch, gpointer user_data) { switch (ch) { case '>': /* marks end of prompt */ return TRUE; default: return FALSE; } } /* used when colorizing all prompts */ static gboolean findpromptspace(gunichar ch, gpointer user_data) { switch (ch) { case ' ': return TRUE; default: return FALSE; } } /* play a sound when there is a highlight */ static void playsound(void) { gchar *path = g_build_filename (PACKAGE_DATA_DIR, "sounds", "attention.wav", NULL); opensound(path); g_free(path); } /* prompt types */ #define NOTFOUND 0 #define DXCLUSTERNORMALPROMPT 1 #define DXCLUSTERPUBLICPROMPT 2 #define ON4KSTPROMPT 3 /* * add text to the text widget and dx messages to the list */ void maintext_add(gchar msg[], gint len, gint messagetype) { GtkWidget *maintext, *treeview; GtkTextIter start, end, smatch, ematch; GtkTextMark *startmark, *endmark, *promptmark; GtkTreeIter iter; GtkTreePath *path; GtkTreeStore *model; GtkTextBuffer *buffer; GtkTextChildAnchor *anchor; GtkWidget *swidget; GdkDisplay *display; smiley *s; gchar *utf8, *high, *tagname, *p, *temp, *mycall; guint i, prompttype = NOTFOUND; if (len < 1024) msg[len] = '\0'; maintext = (GtkWidget *)g_object_get_data(G_OBJECT(gui->window), "maintext"); model = (GtkTreeStore *)g_object_get_data(G_OBJECT(gui->window), "model"); treeview = (GtkWidget *)g_object_get_data(G_OBJECT(gui->window), "treeview"); buffer = (GtkTextBuffer *)g_object_get_data(G_OBJECT(gui->window), "buffer"); gtk_text_buffer_get_bounds(buffer, &start, &end); display = gdk_display_get_default(); if (messagetype == MESSAGE_RX) { /* beep if there is a bell */ if (g_strrstr(msg, "\a")) { gdk_display_beep(display); g_strdelimit(msg, "\a", ' '); } while ((msg = extractinfo(msg))) { if (dx->dx) { g_strstrip(dx->freq); g_strstrip(dx->remark); gtk_tree_store_append(model, &iter, NULL); gtk_tree_store_set(model, &iter, FROM_COLUMN, dx->spotter, FREQ_COLUMN, dx->freq, DX_COLUMN, dx->dxcall, TIME_COLUMN, dx->time, INFO_COLUMN, dx->info, COUNTRY_COLUMN, dx->country, -1); /* remark field may contain foreign language characters */ if (dx->remark && dx->remark[0] && (utf8 = try_utf8(dx->remark))) { gtk_tree_store_set(model, &iter, REM_COLUMN, dx->remark, -1); g_free(utf8); } /* focusing the treeview will stop scrolling */ if (!gtk_widget_has_focus(treeview)) { path = gtk_tree_model_get_path(GTK_TREE_MODEL(model), &iter); gtk_tree_view_set_cursor(GTK_TREE_VIEW(treeview), path, NULL, FALSE); gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(treeview), path, NULL, TRUE, 0.0, 1.0); gtk_tree_path_free(path); } g_free(dx->spotter); g_free(dx->freq); g_free(dx->dxcall); g_free(dx->remark); g_free(dx->time); g_free(dx->country); g_free(dx->info); } if (dx->nodx) { if ((!g_ascii_strncasecmp(dx->toall, "WWV de ", 6) || !g_ascii_strncasecmp(dx->toall, "WCY de ", 6)) && (utf8 = try_utf8(dx->toall))) { gtk_text_buffer_insert_with_tags_by_name (buffer, &end, utf8, -1, gui->wwvtagname, NULL); if (preferences.savewwv) savewwv(dx->toall); } else if (!g_ascii_strncasecmp(dx->toall, "WX de ", 5) && (utf8 = try_utf8(dx->toall))) { gtk_text_buffer_insert_with_tags_by_name (buffer, &end, utf8, -1, gui->wxtagname, NULL); if (preferences.savewx) savewx(dx->toall); } else { if (dx->toall && dx->toall[0] && (utf8 = try_utf8(dx->toall))) { if (preferences.savetoall) savetoall(dx->toall); /* use textmark to find begin and end of added line */ startmark = gtk_text_buffer_create_mark(buffer, NULL, &end, TRUE); promptmark = gtk_text_buffer_create_mark(buffer, NULL, &end, TRUE); gtk_text_buffer_insert(buffer, &end, utf8, -1); gtk_text_buffer_get_bounds(buffer, &start, &end); endmark = gtk_text_buffer_create_mark(buffer, NULL, &end, TRUE); /* check for 'To ALL de PG4I:' DX-cluster prompt and colorize it */ if (g_utf8_strlen(utf8, -1) > 10) { temp = g_strdup(utf8); *(temp + 10) = '\0'; if (!strcmp(temp, "To ALL de ") || !strcmp(temp, "To LOCAL d")) { prompttype = DXCLUSTERPUBLICPROMPT; gtk_text_buffer_get_iter_at_mark(buffer, &start, startmark); gtk_text_buffer_get_iter_at_mark(buffer, &end, startmark); if (gtk_text_iter_forward_find_char(&end, findpromptspace, NULL, NULL)) if (gtk_text_iter_forward_find_char(&end, findpromptspace, NULL, NULL)) if (gtk_text_iter_forward_find_char(&end, findpromptspace, NULL, NULL)) { gtk_text_buffer_apply_tag_by_name(buffer, gui->prompttagname, &start, &end); start = end; } /* locally announce DX-spots have time in prompt between brackets */ if (index(utf8, '(') && strstr(utf8, "):")) { if (gtk_text_iter_forward_find_char(&end, findpromptspace, NULL, NULL)) { gtk_text_buffer_apply_tag_by_name(buffer, gui->calltagname, &start, &end); start = end; } if (gtk_text_iter_forward_find_char(&end, findcolonprompt, NULL, NULL)) { gtk_text_iter_forward_char(&end); /* forward to colon */ gtk_text_buffer_apply_tag_by_name(buffer, gui->prompttagname, &start, &end); /* in case highlighting starts at prompt */ promptmark = gtk_text_buffer_create_mark(buffer, NULL, &end, TRUE); } } else if (gtk_text_iter_forward_find_char(&end, findcolonprompt, NULL, NULL)) { gtk_text_buffer_apply_tag_by_name(buffer, gui->calltagname, &start, &end); start = end; gtk_text_iter_forward_char(&end); /* forward to colon */ gtk_text_buffer_apply_tag_by_name(buffer, gui->prompttagname, &start, &end); /* in case highlighting starts at prompt */ promptmark = gtk_text_buffer_create_mark(buffer, NULL, &end, TRUE); } } g_free(temp); } /* normal DX-cluster prompt is something like: PG4I de PI5EHV-8 27-Feb-2006 1709Z > so we look for 'mycall de ' here... */ if (prompttype == NOTFOUND) { mycall = g_strdup_printf("%s de ", preferences.callsign); temp = g_strdup(utf8); if (g_utf8_strlen(temp, -1) > strlen(preferences.callsign) + 4) { *(temp + strlen(preferences.callsign) + 4) = '\0'; if (strcasecmp(temp, mycall) == 0) { prompttype = DXCLUSTERNORMALPROMPT; gtk_text_buffer_get_iter_at_mark(buffer, &start, startmark); gtk_text_buffer_get_iter_at_mark(buffer, &end, startmark); if (gtk_text_iter_forward_find_char(&end, findrightarrowprompt, NULL, NULL)) { gtk_text_iter_forward_char(&end); gtk_text_buffer_apply_tag_by_name(buffer, gui->prompttagname, &start, &end); promptmark = gtk_text_buffer_create_mark(buffer, NULL, &end, TRUE); } } } g_free(temp); g_free(mycall); } /* check for ON4KST prompt (starts with "1213Z ", * where 1213 is current time) and colorize it */ if (prompttype == NOTFOUND) { if (g_utf8_strlen(utf8, -1) > 5) { temp = g_strdup(utf8); if ((*(temp + 5) == ' ') && (*(temp + 4) == 'Z')) { *(temp + 4) = '\0'; if ((atoi(temp) != 0) || (!strcmp(temp, "0000"))) { prompttype = ON4KSTPROMPT; gtk_text_buffer_get_iter_at_mark(buffer, &start, startmark); gtk_text_buffer_get_iter_at_mark(buffer, &end, startmark); if (gtk_text_iter_forward_find_char(&end, findpromptspace, NULL, NULL)) { gtk_text_buffer_apply_tag_by_name(buffer, gui->prompttagname, &start, &end); start = end; } if (gtk_text_iter_forward_find_char(&end, findpromptspace, NULL, NULL)) { gtk_text_buffer_apply_tag_by_name(buffer, gui->calltagname, &start, &end); start = end; } if (gtk_text_iter_forward_find_char(&end, findrightarrowprompt, NULL, NULL)) { gtk_text_iter_forward_char(&end); gtk_text_buffer_apply_tag_by_name(buffer, gui->prompttagname, &start, &end); promptmark = gtk_text_buffer_create_mark(buffer, NULL, &end, TRUE); } } } g_free(temp); } } /* check for highlights, before or after the prompt */ gtk_text_buffer_get_iter_at_mark(buffer, &start, startmark); gtk_text_buffer_get_iter_at_mark(buffer, &end, endmark); high = contains_highlights (gtk_text_buffer_get_text(buffer, &start, &end, FALSE)); if (g_ascii_strcasecmp(high, "00000000")) { for (i = 0; i < 8; i++) { if (high[i] == '1') { /* lookup name of tag and word to be highlighted */ if (i == 0) { tagname = g_strdup(gui->high1tagname); p = g_strdup(preferences.highword1); } else if (i == 1) { tagname = g_strdup(gui->high2tagname); p = g_strdup(preferences.highword2); } else if (i == 2) { tagname = g_strdup(gui->high3tagname); p = g_strdup(preferences.highword3); } else if (i == 3) { tagname = g_strdup(gui->high4tagname); p = g_strdup(preferences.highword4); } else if (i == 4) { tagname = g_strdup(gui->high5tagname); p = g_strdup(preferences.highword5); } else if (i == 5) { tagname = g_strdup(gui->high6tagname); p = g_strdup(preferences.highword6); } else if (i == 6) { tagname = g_strdup(gui->high7tagname); p = g_strdup(preferences.highword7); } else if (i == 7) { tagname = g_strdup(gui->high8tagname); p = g_strdup(preferences.highword8); } else { p = g_strdup("???"); tagname = g_strdup("???"); } /* set starting point for search */ if (preferences.highmenu[i] == '0') gtk_text_buffer_get_iter_at_mark(buffer, &start, promptmark); else gtk_text_buffer_get_iter_at_mark(buffer, &start, startmark); /* search for highlights and apply tag */ while (gtk_source_iter_forward_search(&start, p, GTK_SOURCE_SEARCH_CASE_INSENSITIVE, &smatch, &ematch, NULL)) { /* we can't tag an already tagged textpart */ gtk_text_buffer_remove_all_tags(buffer, &smatch, &ematch); gtk_text_buffer_apply_tag_by_name(buffer, tagname, &smatch, &ematch); start = ematch; if (preferences.playsound == 1) playsound(); } g_free(p); g_free(tagname); } } } g_free(high); /* search backward for smileys, so we don't go past the end of buffer */ if (contains_smileys(utf8)) { if (!smileylist) create_smiley_list(); while (smileylist) { s = (smiley *) smileylist->data; gtk_text_buffer_get_iter_at_mark(buffer, &end, endmark); while (gtk_text_iter_backward_search(&end, s->str, GTK_TEXT_SEARCH_VISIBLE_ONLY | GTK_TEXT_SEARCH_TEXT_ONLY, &smatch, &ematch, NULL)) { swidget = gtk_image_new_from_file(s->file); gtk_text_buffer_delete(buffer, &smatch, &ematch); anchor = gtk_text_buffer_create_child_anchor(buffer, &smatch); gtk_text_view_add_child_at_anchor(GTK_TEXT_VIEW(maintext), GTK_WIDGET(swidget), anchor); gtk_widget_show(swidget); end = smatch; } smileylist = smileylist->next; } } gtk_text_buffer_delete_mark(buffer, startmark); gtk_text_buffer_delete_mark(buffer, promptmark); gtk_text_buffer_delete_mark(buffer, endmark); g_free(utf8); } } /* focusing (clicking) the textview will stop scrolling */ if (!gtk_widget_has_focus(maintext)) { gtk_text_buffer_get_bounds(buffer, &start, &end); gtk_text_buffer_place_cursor(buffer, &end); endmark = gtk_text_buffer_create_mark(buffer, NULL, &end, TRUE); gtk_text_view_scroll_to_mark (GTK_TEXT_VIEW(maintext), endmark, 0.0, FALSE, 0.0, 1.0); } g_free(dx->toall); } g_free(dx); } } else if (messagetype == MESSAGE_TX) { if (msg && msg[0] && (utf8 = try_utf8(msg))) { gtk_text_buffer_insert_with_tags_by_name (buffer, &end, utf8, len, gui->senttagname, NULL); g_free(utf8); } } } /* ---- */ /* replace callsign area (K0AR/2 -> K2AR) so we can do correct lookups */ static gchar * change_area(gchar *callsign, gint area) { gchar *end, *j; end = callsign + strlen(callsign); for (j = callsign; j < end; ++j) { switch (*j) { case '0' ... '9': if ((j - callsign) > 1) *j = area + 48; break; } } return (g_strdup(callsign)); } /* extract prefix from a callsign with a forward slash: - check if callsign has a '/' - replace callsign area's (K0AR/2 -> K2AR) - skip /mm, /am and /qrp - return string after slash if it is shorter than string before */ static gchar * getpx(gchar *checkcall) { gchar *pxstr = NULL, **split; /* characters after '/' might contain a country */ if (strchr(checkcall, '/')) { split = g_strsplit(checkcall, "/", 2); if (split[1]) { /* we might be typing */ if ((strlen(split[1]) > 1) && (strlen(split[1]) < strlen(split[0]))) /* this might be a candidate */ { if ((g_ascii_strcasecmp(split[1], "AM") == 0) || (g_ascii_strcasecmp(split[1], "MM") == 0)) pxstr = NULL; /* don't know location */ else if (g_ascii_strcasecmp(split[1], "QRP") == 0) pxstr = g_strdup(split[0]); else pxstr = g_strdup(split[1]); } else if ((strlen(split[1]) == 1) && split[1][0] >= '0' && split[1][0] <= '9') /* callsign area changed */ { pxstr = change_area(split[0], atoi(split[1])); } else pxstr = g_strdup(split[0]); } else pxstr = g_strdup(split[0]); g_strfreev(split); } else pxstr = g_strdup(checkcall); return (pxstr); } /* parse an exception and extract the CQ and ITU zone */ static gchar * findexc(gchar *exception) { gchar *end, *j; excitu = 0; exccq = 0; end = exception + strlen(exception); for (j = exception; j < end; ++j) { switch (*j) { case '(': if (*(j + 2) == 41) exccq = *(j + 1) - 48; else if (*(j + 3) == 41) exccq = ((*(j + 1) - 48) * 10) + (*(j + 2) - 48); case '[': if (*(j + 2) == 93) excitu = *(j + 1) - 48; else if (*(j + 3) == 93) excitu = ((*(j + 1) - 48) * 10) + (*(j + 2) - 48); case ';': *j = '\0'; break; } } return (exception); } /* * go through exception string and stop when end of prefix * is reached (BT3L(23)[33] -> BT3L) */ static gchar * findpfx_in_exception(gchar *pfx) { gchar *end, *j; g_strstrip(pfx); end = pfx + strlen(pfx); for (j = pfx; j < end; ++j) { switch (*j) { case '(': case '[': case ';': *j = '\0'; break; } } return pfx; } /* * go through the hashtable with the current callsign and return the country number * cq zone and itu zone - this also goes through the exceptionlist */ struct info lookupcountry_by_callsign(gchar *callsign) { gint ipx, iexc; gchar *px; gchar **excsplit, *exc; gchar *searchpx = NULL; struct info lookup; lookup.country = 0; /* first check complete callsign */ lookup.country = GPOINTER_TO_INT(g_hash_table_lookup(prefixes, callsign)); if (lookup.country == 0 && (px = getpx(callsign))) { /* start with full callsign and truncate it until a correct lookup */ for (ipx = strlen(px); ipx > 0; ipx--) { searchpx = g_strndup(px, ipx); lookup.country = GPOINTER_TO_INT (g_hash_table_lookup(prefixes, searchpx)); if (lookup.country > 0) break; } g_free(px); } else searchpx = g_strdup(callsign); dxcc_data *d = g_ptr_array_index(dxcc, lookup.country); lookup.itu = d -> itu; lookup.cq = d -> cq; /* look for CQ/ITU zone exceptions */ if (strchr(d->exceptions, '(') || strchr(d->exceptions, '[')) { excsplit = g_strsplit(d->exceptions, ",", -1); for (iexc = 0 ;; iexc++) { if (!excsplit[iexc]) break; exc = findexc(excsplit[iexc]); if (g_ascii_strcasecmp(searchpx, exc) == 0) { if (excitu > 0) lookup.itu = excitu; if (exccq > 0) lookup.cq = exccq; } } g_strfreev(excsplit); } return lookup; } /* add an item from cty.dat to the dxcc array */ static void dxcc_add(gchar *c, gint w, gint i, gchar *cont, gint lat, gint lon, gint tz, gchar *p, gchar *e) { dxcc_data *new_dxcc = g_new(dxcc_data, 1); new_dxcc -> countryname = g_strdup(c); new_dxcc -> cq = w; new_dxcc -> itu = i; new_dxcc -> continent = g_strdup(cont); new_dxcc -> latitude = lat; new_dxcc -> longitude = lon; new_dxcc -> timezone = tz; new_dxcc -> px = g_strdup(p); new_dxcc -> exceptions = g_strdup(e); g_ptr_array_add(dxcc, new_dxcc); } /* fill the hashtable with all of the prefixes from cty.dat * * Country file format: * http://www.country-files.com/cty/backup/format.htm * */ gint readctydata(void) { gchar buf[MAX_RECORD_SIZE], *cty_location, *pfx, **split, **pfxsplit, *excstr, *cty_env; gint ichar = 0, dxccitem = 0, ipfx = 0, ch = 0, errsv; extern gchar *opt_cty_path; FILE *fp; GStatBuf statcty; /* Check for user specification of the location of the country file * "cty.dat" in the following order: * 1. via command line with the -c or --cty_dat options * 2. via the environment with the XDX_CTY variable * * Fall back to: * 1. preferencesdir/cty.dat * 2. installed version of cty.dat */ /* Check if user passed cty.dat path on command line.*/ if (opt_cty_path != NULL && g_str_has_suffix(opt_cty_path, "cty.dat")) { cty_location = g_strdup_printf("%s", opt_cty_path); g_free(opt_cty_path); } else { /* Support user setting of environment variable XDX_CTY for * specific location of cty.dat. */ cty_env = getenv("XDX_CTY"); /* It's most likely that XDX_CTY will not be set. */ if (cty_env != NULL && g_str_has_suffix(cty_env, "cty.dat")) { cty_location = g_strdup_printf("%s", cty_env); } else { /* $HOME/.xdx/cty.dat */ cty_location = g_strdup_printf("%s%s%s", gui->preferencesdir, G_DIR_SEPARATOR_S, "cty.dat"); } } errsv = g_stat(cty_location, &statcty); /* Check if --cty_dat, XDX_CTY, or $HOME/.xdx/cty.dat exists. */ if (!S_ISREG(statcty.st_mode)) { if (errsv == -1) { g_printerr(_("%s: %s\n"), g_strerror(errno), cty_location); } g_free(cty_location); /* Fall back to installed cty.dat */ cty_location = g_strdup_printf("%s%s%s", PACKAGE_DATA_DIR, G_DIR_SEPARATOR_S, "cty.dat"); } if ((fp = fopen(cty_location, "r")) == NULL) { g_printerr(_("Cannot read cty.dat in %s\n"), cty_location); g_free(cty_location); return (1); } g_print(_("Loading %s\n"), cty_location); dxcc = g_ptr_array_new(); prefixes = g_hash_table_new_full(g_str_hash, g_str_equal, (GDestroyNotify)g_free, NULL); /* first field in case hash_table_lookup returns NULL */ dxcc_add("Unknown", 0, 0, "--", 0, 0, 0, "", ""); countries = 1; /* Read the CTY.DAT file. */ while (!feof(fp)) { /* Check for ';' record terminator. * Avoid buffer overrun of any single record. */ while (ch != 59 && ichar < MAX_RECORD_SIZE) { ch = fgetc(fp); if (ch == EOF) break; buf[ichar++] = ch; } if (ch == EOF) break; buf[ichar] = '\0'; ichar = 0; ch = 0; /* split up the first line */ split = g_strsplit(buf, ":", 9); if (!g_strrstr(split[7], "*")) { /* ignore WAE countries */ for (dxccitem = 0; dxccitem < 9; dxccitem++) g_strstrip(split[dxccitem]); /* split up the second line */ excstr = my_strreplace(split[8], "\r\n", ""); excstr = my_strreplace(excstr, " ", ""); excstr = my_strreplace(excstr, ";", ""); pfxsplit = g_strsplit(excstr, ",", 0); dxcc_add(split[0], atoi(split[1]), atoi(split[2]), split[3], (gint)(strtod(split[4], NULL) * 100), (gint)(strtod(split[5], NULL) * 100), (gint)(strtod(split[6], NULL) * 10), split[7], excstr); g_free(excstr); /* official prefix */ g_hash_table_insert(prefixes, g_strdup(split[7]), GINT_TO_POINTER(countries)); /* exception list */ for (ipfx = 0;; ipfx++) { if (!pfxsplit[ipfx]) break; pfx = findpfx_in_exception(pfxsplit[ipfx]); if (g_ascii_strcasecmp(pfx, split[7]) != 0) g_hash_table_insert(prefixes, g_strdup(pfx), GINT_TO_POINTER(countries)); } g_strfreev(pfxsplit); g_strfreev(split); countries++; } } fclose(fp); g_free(cty_location); return (0); } /* free memory used by the dxcc array */ void cleanup_dxcc(void) { gint i; /* free the dxcc array */ if (dxcc) { for (i = 0; i < dxcc->len; i++) { dxcc_data *d = g_ptr_array_index(dxcc, i); g_free(d->countryname); g_free(d->continent); g_free(d->px); g_free(d->exceptions); g_free(d); } g_ptr_array_free(dxcc, TRUE); } if (prefixes) g_hash_table_destroy(prefixes); } xdx-2.91/src/hyperlink.c0000644000175000017500000001731214210462221012127 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * hyperlink.c - clicking on links */ #include #include #include #include "gui.h" #include "hyperlink.h" #include "utils.h" /* * count number of dots in a link */ static gboolean linkcontains2dots(gchar *link) { gint dots = 0, i = 0; gchar *linktocheck, *end, *j, **split; gboolean toshort = FALSE; linktocheck = g_strdup(link); end = linktocheck + strlen(linktocheck); for (j = linktocheck; j < end; ++j) { switch (*j) { case '.': case '@': case '/': dots++; break; } } g_free(linktocheck); if (dots < 1) return FALSE; split = g_strsplit(link, ".", -1); for (;;) { if (split[i] == NULL) break; if (strlen(split[i]) < 2) toshort = TRUE; i++; } if (toshort) return FALSE; return TRUE; } /* * check if link */ static gboolean islink(gchar *link) { if (g_strrstr(link, "\r")) return FALSE; if (g_strrstr(link, " ")) return FALSE; else if (!g_strrstr(link, ".")) return FALSE; else if (g_strrstr(link, "..")) return FALSE; else if (!g_ascii_strncasecmp(link, "http://", 7)) return TRUE; else if (!g_ascii_strncasecmp(link, "www.", 4)) return TRUE; else if (!g_ascii_strncasecmp(link, "ftp://", 7)) return TRUE; else if (!g_ascii_strncasecmp(link, "ftp.", 7)) return TRUE; else if (linkcontains2dots(link)) return TRUE; return FALSE; } /* * used by set_cursor to find begin/end of a word */ static gboolean findw(gunichar ch, gpointer user_data) { switch (ch) { case ' ': case ',': case ';': case '\n': case '\r': return TRUE; default: return FALSE; } } /* * change cursor depending on whether we have a link or not */ static void set_cursor(GtkTextView *text_view, gint x, gint y) { GtkTextBuffer *buffer; GtkTextIter iter, startword, endword, start, end; GdkCursor *hand_cursor, *normal_cursor; GdkDisplay *display; gchar *word; buffer = gtk_text_view_get_buffer(text_view); gtk_text_view_get_iter_at_location(text_view, &iter, x, y); display = gdk_display_get_default(); hand_cursor = gdk_cursor_new_from_name(display, "pointer"); normal_cursor = gdk_cursor_new_from_name(display, "text"); startword = iter; endword = iter; if (gtk_text_iter_forward_find_char(&endword, findw, NULL, NULL) && gtk_text_iter_backward_find_char(&startword, findw, NULL, NULL)) { gtk_text_iter_forward_char(&startword); /* advance one char */ word = gtk_text_buffer_get_slice(buffer, &startword, &endword, FALSE); if (word && islink(word)) { gdk_window_set_cursor(gtk_text_view_get_window (text_view, GTK_TEXT_WINDOW_TEXT), hand_cursor); gtk_text_buffer_apply_tag_by_name(buffer, "url", &startword, &endword); gui->url = g_strdup(word); g_object_unref(hand_cursor); } else { gdk_window_set_cursor(gtk_text_view_get_window(text_view, GTK_TEXT_WINDOW_TEXT), normal_cursor); gtk_text_buffer_get_bounds(buffer, &start, &end); gtk_text_buffer_remove_tag_by_name(buffer, "url", &start, &end); gui->url = g_strdup(""); g_object_unref(normal_cursor); } if (word) g_free(word); } } /* * check if this tag is a url tag */ static GtkTextTag * get_link_tag(GtkTextIter *iter) { GtkTextTag *link_tag = NULL; GSList *list; GSList *tag_list = gtk_text_iter_get_tags(iter); for (list = tag_list; list; list = g_slist_next(list)) { GtkTextTag *tag = list->data; gchar *name; g_object_get(G_OBJECT(tag), "name", &name, NULL); if (!strncmp(name, "url", 3)) link_tag = tag_list->data; g_free(name); } g_slist_free(tag_list); return link_tag; } /* * click on a link */ gboolean on_maintext_event_after(GtkWidget *widget, GdkEventKey *event, gpointer user_data) { GtkTextIter start, end, iter; GtkTextBuffer *buffer; GdkEventButton *ev; gint x, y; gboolean ret; if (event->type != GDK_BUTTON_RELEASE) return FALSE; ev = (GdkEventButton *)event; if (ev->button == 1) { buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(widget)); /* we shouldn't follow a link if the user has selected something */ gtk_text_buffer_get_selection_bounds(buffer, &start, &end); if (gtk_text_iter_get_offset(&start) != gtk_text_iter_get_offset(&end)) return FALSE; gtk_text_view_window_to_buffer_coords(GTK_TEXT_VIEW(widget), GTK_TEXT_WINDOW_WIDGET, ev->x, ev->y, &x, &y); gtk_text_view_get_iter_at_location(GTK_TEXT_VIEW(widget), &iter, x, y); if (get_link_tag(&iter)) { if (g_strrstr(gui->url, "@")) ret = openmail(gui->url); else ret = openurl(gui->url); /* When ret is FALSE, the link was not handled by openmail or openurl * so call gtk_show_uri to have the desktop defined default app handle * the link. */ if (ret == FALSE) gtk_show_uri_on_window(GTK_WINDOW(gui->window), gui->url, GDK_CURRENT_TIME, NULL); } } return FALSE; } /* * grab mouse coordinates and modify cursor */ gboolean on_maintext_motion_notify_event(GtkWidget *widget, GdkEventMotion *event, gpointer user_data) { GdkDisplay *display; GdkSeat *seat; GdkDevice *pointer; gint x, y; GdkModifierType state; /* Setting the display, seat, and pointer variables from: * https://stackoverflow.com/a/24847120 * https://stackoverflow.com/a/62962920 */ display = gdk_display_get_default(); seat = gdk_display_get_default_seat(display); pointer = gdk_seat_get_pointer(seat); if (event->is_hint){ gdk_window_get_device_position(event->window, pointer, &x, &y, &state); } else { x = event->x; y = event->y; state = event->state; } gtk_text_view_window_to_buffer_coords(GTK_TEXT_VIEW(widget), GTK_TEXT_WINDOW_WIDGET, event->x, event->y, &x, &y); set_cursor(GTK_TEXT_VIEW(widget), x, y); return FALSE; } xdx-2.91/src/gui_aboutdialog.h0000644000175000017500000000204512646316272013301 00000000000000/* * xdx - GTK+ DX-cluster client for amateur radio * Copyright (C) 2002-2006 Joop Stakenborg * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* * gui_aboutdialog.h */ #ifndef XDX_GUI_ABOUTDIALOG_H #define XDX_GUI_ABOUTDIALOG_H void on_about_activate(GtkMenuItem *menuitem, gpointer user_data); #endif /* XDX_GUI_ABOUTDIALOG_H */ xdx-2.91/xdx.1.in0000644000175000017500000000726713621127455010505 00000000000000.\" .TH XDX 1 "@PACKAGE_STRING@" "Joop Stakenborg" "Ham radio" . .SH NAME @PACKAGE_NAME@ \- TCP/IP DX-cluster client for Amateur Radio . .SH SYNOPSIS .B @PACKAGE@ .RB [\| \-c .IR cty.dat \|] .RB [\| \-h \|] .RB [\| \-V \|] . .\" -------------------------------------------------------------------- .SH DESCRIPTION .\" -------------------------------------------------------------------- . @PACKAGE_NAME@ is a DX-cluster client for the X Window System which shows a list of DX announcements and a separate list of WWV, WCY, \*(lqTo ALL\*(rq and other server messages in a single X11 window. . @PACKAGE_NAME@ uses the telnet protocol to connect to a DX-Cluster host via TCP/IP. . While host connections are most commonly made via the Internet, any medium capable of carrying TCP/IP, such as packet radio, may be used. . Host connection details are saved between sessions. . . .\" -------------------------------------------------------------------- .SH OPTIONS .\" -------------------------------------------------------------------- . The following options are recognized by @PACKAGE_NAME@. .TP .BI \-c\ cty.dat \fR,\ \fB\-\-cty_dat= cty.dat Load a desired country data file. . .IP Country data files are used to determine the DX Century Club (DXCC) entity shown in the Country column. . Updated country files are available from .UR http://\:www.country\-files.com/\:cty/\:cty.dat country\-files.com .UE . Although a country file is installed as a part of @PACKAGE_NAME@, it will quickly become out of date as updates are made available frequently. . Announcements of updated country files are sent to the @PACKAGE_NAME@ mailing list. . See the .B BUGS section below for the mailing list address. . .IP See the .B ENVIRONMENT and .B FILES sections below for other methods of loading an updated country file. . .TP .BR \-h ", " \-\-help Print short @PACKAGE_NAME@ usage message detailing available options and exit. . .TP .BR \-V ", " \-\-version Print @PACKAGE_NAME@ version and short copyright information then exit. . . .\" -------------------------------------------------------------------- .SH ENVIRONMENT .\" -------------------------------------------------------------------- . .TP .B XDX_CTY If .RB $ XDX_CTY is set, its value is the location of the .I cty.dat file. . Using the .B \-c option overrides this environment variable. . . .\" -------------------------------------------------------------------- .SH FILES .\" -------------------------------------------------------------------- . .TP $\fBHOME\fI/.@PACKAGE@/cty.dat . @PACKAGE_NAME@ will load the country file found in the preferences directory, normally $\fBHOME\fI/.@PACKAGE@\fR, if the .B \-c option is not given or the .B XDX_CTY environment variable is not set. . This is a convenient way to keep an up-to-date or custom .I cty.dat for use just with @PACKAGE_NAME@. . . . .\" -------------------------------------------------------------------- .SH NOTES .\" -------------------------------------------------------------------- . @PACKAGE_NAME@ has a new maintainer, Nate Bargmann, N0NB. . .PP Development is currently hosted at .UR @PACKAGE_URL@ GitHUb .UE . .PP @PACKAGE_NAME@ has been translated into several languages. . More translations are welcome. . Please contact the maintainer to contribute. . . .\" -------------------------------------------------------------------- .SH BUGS .\" -------------------------------------------------------------------- . Please report bugs to .UR @PACKAGE_BUGREPORT@ xdxcluster\-client\-discuss .UE . . .\" -------------------------------------------------------------------- .SH SEE ALSO .\" -------------------------------------------------------------------- . From the menu, select Help\->Manual after starting @PACKAGE_NAME@ for a full manual.